/* Someday styles. Loaded by index.html. */
/* Direction: a day at the beach with friends. Warm sand paper, sea-glass light at the top, harbor navy type,
   matcha and pistachio greens for anything happening. Soft editorial serif for names, clean sans for everything else. */
:root {
  --paper: #F7F3EC; --card: #FFFFFF; --mist: #EEF2F0; --ink: #13243A; --body: #3A4656; --soft: #5A6371; --faint: #6A7280; --line: #E4DED3;
  --navy: #1B2F4B; --navy-soft: #E6ECF3; --matcha: #4A6A30; --pistachio: #DCE8C6; --pistachio-deep: #A9C78A; --sea: #4A6A30; --sea-soft: #E4EFDA;
  --seaglass: #CFE3E4; --sand: #ECE6DB;
  --display: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --hand: var(--sans);
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Jost", "Avenir Next", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent }
[hidden] { display: none !important }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper) linear-gradient(180deg, #E3EEEE 0%, rgba(247, 243, 236, 0) 360px) no-repeat; color: var(--body); font-family: var(--sans); font-size: 16px; line-height: 1.55;
  padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px));
  padding-top: calc(18px + env(safe-area-inset-top, 0px)); padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) }
.wrap { max-width: 560px; margin: 0 auto }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.02;  color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.01em }
h1 { font-size: clamp(40px, 11vw, 58px); line-height: 1.04; overflow-wrap: anywhere }
.scribble { position: relative; white-space: nowrap; display: inline-block; padding-bottom: .12em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 C 40 3, 70 12, 104 7 S 170 4, 198 8' fill='none' stroke='%239DBF7E' stroke-width='3' stroke-linecap='round'/></svg>") bottom / 100% .32em no-repeat }
p { margin: 0 }
.lede { font-size: 18px; line-height: 1.55; color: var(--body); max-width: 34em }
.label { font-size: 15px; font-weight: 600; color: var(--soft) }
.hand { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--matcha) }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; letter-spacing: inherit }
button:disabled { opacity: .5; cursor: default }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px }
a { color: var(--navy) }

/* top bar */
.top { display: flex; justify-content: space-between; align-items: center; min-height: 44px }
.wordmark { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--ink); text-decoration: none }
.wordmark { display: inline-flex; align-items: center; gap: 7px }
.wordmark .mark { width: 31px; height: 30px; flex: none; margin-top: 2px }
.whoami { font-size: 14px; color: var(--soft) }
.top-right { display: flex; align-items: center; gap: 12px }
.all-lists { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none }
.home-lists { display: grid; gap: 14px; margin-bottom: 18px }
.home-h2 { font-size: 30px; margin-top: 10px }
.home-summary { display: grid; gap: 18px }
.home-summary h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px }
.sum { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--body); min-height: 44px }
.sum + .sum { margin-top: 8px }
.sum:hover { border-color: var(--navy) }
.sum .cal { padding: 5px 0 6px }
.sum .cal b { font-size: 22px }
.sum .dot { width: 52px; height: 52px; border-radius: 12px; background: var(--pistachio); display: grid; place-items: center; font-size: 22px }
.sum b.t { display: block; font-weight: 600; color: var(--ink); font-size: 16px }
.sum span { font-size: 14px; color: var(--soft) }
.sum .cta { color: var(--matcha); font-weight: 600 }
.list-card .go { justify-self: end; font-size: 14px; font-weight: 600; color: var(--navy) }
.whoami button { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; margin-left: 2px; min-height: 44px; padding: 0 6px }

/* buttons + fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: background .15s }
.btn-navy { background: var(--navy); color: #FFFFFF }
.btn-navy:hover { background: var(--ink) }
.btn-quiet { color: var(--soft); font-weight: 500; min-height: 44px; padding: 0 10px }
.btn-wide { width: 100% }
.field { display: grid; gap: 8px }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink) }
input { font: inherit; font-size: 17px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%; min-width: 0; outline: none; transition: border-color .15s, box-shadow .15s }
input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-soft) }
input::placeholder { color: var(--faint) }

/* landing + join */
.intro { display: grid; gap: 40px; padding-top: 36px }
#v-start { gap: 22px; padding-top: 20px }
#v-start .how { margin-top: 30px }
#v-start .note { margin-top: 20px }
#v-start h1 { font-size: clamp(36px, 10vw, 54px) }
.quick { display: flex; gap: 8px 20px; flex-wrap: wrap }
.quick a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; color: var(--navy); text-underline-offset: 4px }
.invited { font-size: 14px; color: var(--soft); background: #F2F7EA; border-radius: 12px; padding: 12px 14px }
.invited b { color: var(--ink) }
.intro-head { display: grid; gap: 18px }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 20px }
.panel h2 { font-size: 26px }
.note { background: #F6FAF0; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; display: grid; gap: 12px; transform: rotate(-.6deg); box-shadow: 0 10px 24px rgba(20, 35, 58, .05) }
.note p { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink) }
.note .sig { font-family: var(--sans); font-size: 14px; color: var(--soft) }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; counter-increment: s }
.steps li::before { content: counter(s) "."; font-family: var(--display); font-size: 22px; line-height: 1.1; color: var(--matcha) }
.steps b { display: block; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 2px }
.steps span { color: var(--soft); font-size: 15px }
.sample { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 12px; box-shadow: 0 12px 30px rgba(20, 35, 58, .06) }
.sample .t { font-family: var(--display); font-size: 22px; color: var(--ink) }
.who { display: flex; flex-wrap: wrap; gap: 8px }
.who button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 15px }
.who button:hover { border-color: var(--navy) }
.fine { font-size: 14px; color: var(--soft) }

/* app header */
.group-head { padding: 18px 0 2px; display: grid; gap: 12px }
.group-head h1 { font-size: clamp(36px, 10vw, 50px) }
.group-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap }
.members { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft) }
.invite { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--navy); color: var(--navy); font-weight: 600; font-size: 15px; background: var(--card) }
.invite:hover { background: var(--navy-soft) }
.helper { margin-top: 18px; background: #F2F7EA; border-radius: 20px; padding: 14px 16px; font-size: 15px; color: var(--body); display: flex; gap: 12px; align-items: flex-start; justify-content: space-between }
.helper b { color: var(--ink) }
.helper button { color: var(--navy); font-weight: 600; font-size: 14px; flex: none; min-height: 44px; min-width: 44px; margin: -12px -8px -12px 0; padding: 0 8px }

/* sections */
section { margin-top: 44px }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 4px; border-bottom: 0 solid var(--ink) }
.sec-head h2 { font-size: 32px; line-height: 1.05 }
.sec-sub { font-size: 15px; font-weight: 500; color: var(--matcha); margin: 2px 0 4px }
.sec-head .label { color: var(--faint) }
.sec-note { font-size: 14px; color: var(--soft); padding-top: 10px }

/* rows */
.row { padding: 18px 18px 16px; margin-top: 12px; background: var(--card); border-radius: 22px; box-shadow: 0 1px 2px rgba(20, 35, 58, .05), 0 10px 26px rgba(20, 35, 58, .05); display: grid; gap: 12px; min-width: 0 }
.row-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px }
.name { font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 1.05; color: var(--ink); overflow-wrap: anywhere; min-width: 0 }
.name a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1px }
.name a:hover { text-decoration-color: var(--navy) }
.meta { font-size: 14px; color: var(--soft); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center }
.tag { font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--body) }
.tag.when { background: var(--sea-soft); color: var(--sea) }
.tag.again { background: var(--navy-soft); color: var(--navy) }
.avatars { display: flex; flex: none; padding-top: 4px }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--pistachio); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 2px var(--paper); margin-left: -7px }
.av:first-child { margin-left: 0 }
.av.me { background: var(--navy); color: #FFFFFF }
.av.maybe { opacity: .45 }
.av.more { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 2px var(--paper); color: var(--soft) }

.acts { display: flex; align-items: center; gap: 6px }
.in { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--navy); color: var(--navy); background: var(--card); font-weight: 600; font-size: 15px; transition: background .15s, color .15s }
.in:hover { background: var(--navy-soft) }
.in[aria-pressed="true"] { background: var(--navy); color: #FFFFFF }
.in.pop { animation: pop .35s cubic-bezier(.2, 1.5, .4, 1) }
@keyframes pop { 0% { transform: scale(.92) } 100% { transform: scale(1) } }
.soft-btn { min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 15px; color: var(--soft); transition: background .15s, color .15s }
.soft-btn:hover { color: var(--ink) }
.soft-btn[aria-pressed="true"] { color: var(--ink); background: var(--mist) }
.pass { margin-left: auto; font-size: 14px }
.nudge { justify-self: start; font-size: 14px; font-weight: 600; color: var(--sea); min-height: 44px; padding: 0 }

/* ready to plan */
.plan { margin-top: 12px; background: #F4F9EE; border: 0; border-radius: 22px; box-shadow: 0 1px 2px rgba(20, 35, 58, .05), 0 10px 26px rgba(20, 35, 58, .06); padding: 22px; display: grid; gap: 16px; box-shadow: 0 12px 30px rgba(20, 35, 58, .05) }
.plan .lead { font-family: var(--serif); font-size: 18px; color: var(--ink) }
.plan .lead b { font-weight: 400; color: var(--sea) }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
.day { min-height: 74px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); display: grid; place-content: center; gap: 2px; text-align: center; color: var(--ink); transition: border-color .15s, background .15s }
.day b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1 }
.day small { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft) }
.day:hover { border-color: var(--navy); background: var(--navy-soft) }
.other { display: grid; gap: 12px }

/* coming up */
.cal-row { padding: 16px 18px; margin-top: 12px; background: var(--card); border-radius: 22px; box-shadow: 0 1px 2px rgba(20, 35, 58, .05), 0 10px 26px rgba(20, 35, 58, .05); display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start }
.cal { text-align: center; line-height: 1.1; border: 1px solid var(--line); border-radius: 12px; padding: 8px 0 9px; background: var(--card) }
.cal small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--matcha) }
.cal b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--ink); margin-top: 2px }
.cal-row .name { font-size: 21px }
.cal-row .acts { margin-top: 6px }

.empty { margin-top: 12px; padding: 22px 20px; color: var(--soft); font-size: 15px; border: 2px dashed var(--line); border-radius: 22px }
.empty b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink); display: block; margin-bottom: 4px }
.foot { margin-top: 36px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center }
.foot button { font-size: 14px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; min-height: 44px }
.made { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft) }
.foot .fb { color: var(--navy) }
.head-btns { display: flex; gap: 8px; flex-wrap: wrap }
.edit-list { min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--body); font-weight: 600; font-size: 15px }
.edit-list:hover { border-color: var(--navy) }
.btn-line { border: 1px solid var(--line); background: var(--card); color: var(--ink) }
.btn-line:hover { border-color: var(--ink) }
.btn-line.armed { background: var(--ink); color: #FFFFFF; border-color: var(--ink) }
.danger { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line) }
.meta-btn { font-size: 14px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 2px }
.meta-btn:hover { color: var(--ink) }
.list-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch }
.list-x { min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--soft); font-size: 14px }
.list-x:hover { color: var(--ink); border-color: var(--ink) }
.qr-wrap { display: grid; justify-items: center; gap: 10px; text-align: center }
#syncQr { padding: 12px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; min-height: 204px; min-width: 204px; display: grid; place-items: center }
#syncQr img, #syncQr canvas { display: block }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 8px }
.copy-row input { font-size: 14px }
.new-badge { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink); background: var(--pistachio); border-radius: 999px; padding: 1px 8px; margin-right: 6px }
.people { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line) }
.people ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.people li { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px }
.people li b { display: block; font-weight: 600; color: var(--ink) } .people li small { font-size: 13px; color: var(--soft) }
.tag.dup { background: #E3E5D5; color: #24392E }
.list-x.armed { background: var(--ink); color: #FFFFFF; border-color: var(--ink) }
.foot a { font-size: 14px; color: var(--soft); min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 3px }
.small .name { font-size: 20px; color: var(--soft) }

/* add button + sheets */
.fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 10;
  min-height: 56px; padding: 0 26px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-weight: 600; font-size: 16px;
  box-shadow: 0 14px 30px rgba(20, 35, 58, .25); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap }
.fab .plus { font-size: 22px; font-weight: 400; line-height: 1 }
.scrim { position: fixed; inset: 0; background: rgba(20, 35, 58, .35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 30 }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; background: var(--paper); border-radius: 24px 24px 0 0;
  padding: 10px max(22px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(22px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -10px 40px rgba(20, 35, 58, .15); max-height: 92vh; overflow-y: auto }
.sheet-inner { max-width: 560px; margin: 0 auto; display: grid; gap: 24px }
.grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 4px }
.sheet h2 { font-size: 32px; line-height: 1.05 }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px }
.seg button { min-height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 15px; color: var(--body); padding: 0 14px; text-align: left; transition: border-color .15s, background .15s }
.seg .went-opt { grid-column: 1 / -1 }
.seg button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy-soft); color: var(--ink); font-weight: 600 }


/* how-it-works walkthrough */
.how { display: grid; gap: 18px; margin: 0 }
.tour { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: center }
.phone { width: 230px; height: 430px; border-radius: 34px; background: var(--ink); padding: 10px; box-shadow: 0 24px 50px rgba(20, 35, 58, .18) }
.screen { position: relative; width: 100%; height: 100%; border-radius: 26px; background: var(--paper); overflow: hidden }
.scene { position: absolute; inset: 0; padding: 26px 16px 16px; display: grid; align-content: start; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; font-size: 12px; color: var(--body) }
.scene.on { opacity: 1; transform: none }
.p-word { font-family: var(--display); font-size: 15px; color: var(--ink) }
.p-word i { font-style: normal; color: var(--matcha) }
.p-h { font-family: var(--display); font-size: 21px; line-height: 1.1; color: var(--ink); margin-bottom: 4px }
.p-h.small { font-size: 18px }
.p-field { border: 1px solid var(--line); border-radius: 9px; background: var(--card); padding: 7px 9px; display: grid; gap: 1px; min-height: 42px }
.p-field small { font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft) }
.p-field span { font-size: 13px; color: var(--ink); min-height: 17px }
.typed::after { content: ""; display: inline-block; width: 1px; height: 13px; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite }
@keyframes blink { 50% { opacity: 0 } }
.p-btn { margin-top: 4px; background: var(--navy); color: #FFFFFF; border-radius: 9px; text-align: center; padding: 10px; font-weight: 600; font-size: 13px }
.p-chat-head { text-align: center; font-weight: 600; font-size: 12px; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px }
.reel { justify-self: start; width: 64%; border-radius: 14px; overflow: hidden; background: #E9E9EB }
.reel .thumb { height: 92px; background: linear-gradient(150deg, var(--pistachio) 0%, var(--pistachio-deep) 60%, var(--matcha) 100%); display: flex; align-items: flex-end; padding: 8px }
.reel .thumb span { font-size: 10.5px; font-weight: 700; line-height: 1.25; color: #FFFFFF; text-shadow: 0 1px 2px rgba(20, 35, 58, .35) }
.reel small { display: block; padding: 4px 8px 5px; font-size: 9.5px; color: #555555 }
.bubble { max-width: 82%; padding: 8px 11px; border-radius: 16px; font-size: 12px; line-height: 1.35 }
.bubble.me { justify-self: end; background: #2F6FE4; color: #FFFFFF; border-bottom-right-radius: 5px }
.bubble.them { justify-self: start; background: #E9E9EB; color: #111111; border-bottom-left-radius: 5px }
.bubble.link { display: grid; gap: 2px; background: #E9EEF7; color: var(--ink) }
.bubble.link small { color: var(--soft); font-size: 10px }
.p-item { border-bottom: 1px solid var(--line); padding: 10px 0 12px; display: grid; gap: 6px }
.p-item.dim { opacity: .55 }
.p-title { font-family: var(--display); font-size: 16px; color: var(--ink) }
.p-meta { font-size: 11px; color: var(--soft) }
.p-tag { display: inline-block; background: var(--mist); color: var(--body); border-radius: 999px; padding: 1px 7px; font-size: 10px; margin-right: 4px }
.p-note { justify-self: start; background: var(--pistachio); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600 }
.p-row { display: flex; gap: 8px; align-items: center }
.p-in { border: 1px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: 12px; transition: background .2s, color .2s }
.p-soft { color: var(--soft); font-size: 11px }
.p-soft.right { margin-left: auto }
.p-plan { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--sea); border-radius: 12px; padding: 12px; display: grid; gap: 8px }
.p-lead { font-size: 12px; color: var(--ink) }
.p-lead b { font-weight: 500; color: var(--sea) }
.p-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px }
.p-days span { border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 5px 0; font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); display: grid; transition: background .2s, border-color .2s }
.p-days b { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--ink); letter-spacing: 0 }
.p-toast { justify-self: center; margin-top: 10px; background: var(--ink); color: #FFFFFF; border-radius: 9px; padding: 7px 11px; font-size: 11px; opacity: 0; transition: opacity .3s }
.who-b { display: none }
/* scripted moments inside each scene (driven by .act on the scene) */
.scene .tap { position: relative }
.scene.act .p-btn.tap, .scene.act .p-in.tap { background: var(--navy); color: #FFFFFF }
.scene.act .p-in.tap::before { content: "✓ " }
.scene.act .who-a { display: none }
.scene.act .who-b { display: inline }
.scene.act .pick { background: var(--navy-soft); border-color: var(--navy) }
.scene.act .p-toast { opacity: 1 }
.scene .tap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(157, 191, 126, .55); opacity: 0; transform: scale(.4); pointer-events: none }
.scene.act .tap::after { animation: tapdot .7s ease-out }
@keyframes tapdot { 0% { opacity: 0; transform: scale(.4) } 30% { opacity: 1; transform: scale(1) } 100% { opacity: 0; transform: scale(1.5) } }
.bubble.pop-in { opacity: 0; transition: opacity .3s }
.scene.act .bubble.pop-in { opacity: 1 }
.tour-steps { gap: 6px }
.tour-steps li { display: block }
.tour-steps li::before { content: none }
.tour-steps button { width: 100%; text-align: left; display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; color: var(--body); transition: background .2s, border-color .2s }
.tour-steps button b { font-size: 16px }
.tour-steps button span { font-size: 14px; color: var(--soft) }
.tour-steps button[aria-current="step"] { background: var(--card); border-color: var(--line); box-shadow: 0 6px 16px rgba(20, 35, 58, .05) }
.tour-steps button[aria-current="step"] b { color: var(--matcha) }
.tour-steps .bar { display: block; height: 2px; border-radius: 2px; background: var(--line); margin-top: 8px; overflow: hidden }
.tour-steps .bar i { display: block; height: 100%; width: 0; background: var(--matcha) }
.tour-steps button[aria-current="step"] .bar i { animation: fill var(--step-ms, 3600ms) linear forwards }
.tour.paused .tour-steps .bar i { animation-play-state: paused }
@keyframes fill { to { width: 100% } }
.tour-controls { display: flex; gap: 10px; flex-wrap: wrap }
.tour-btn { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none }
.tour-btn:hover { border-color: var(--navy) }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 }
.lists { display: grid; gap: 10px; padding-top: 14px }
.list-card { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--body); min-height: 44px }
.list-card:hover { border-color: var(--navy) }
.list-card b { font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ink) }
.list-card span { font-size: 14px; color: var(--soft) }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--navy); color: #FFFFFF; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 12px }
.demo-bar a { color: #FFFFFF; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center }
@media (max-width: 620px) {
  .tour { grid-template-columns: 1fr; justify-items: center; gap: 18px }
  .tour-steps { width: 100% }
  .tour-steps button span { display: none }
  .tour-steps button[aria-current="step"] span { display: block }
}
@media (prefers-reduced-motion: reduce) {
  .scene { transition: none } .typed::after, .scene.act .tap::after { animation: none } .tour-steps .bar { display: none }
}


/* story intro */
.skip { min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; color: var(--soft) }
.story { margin-top: 8px }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -22px; padding: 0 22px; gap: 44px; scroll-padding: 0 22px }
.slides::-webkit-scrollbar { display: none }
.slide { scroll-snap-align: start; display: grid; align-content: start; gap: 14px; min-height: min(560px, calc(100vh - 210px)); padding-top: 8px }
.slide-h { font-size: clamp(38px, 10.5vw, 54px); line-height: 1 }
.story-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 4px }
.dots { display: flex; gap: 8px }
.dots button { width: 10px; height: 10px; border-radius: 999px; background: var(--line); padding: 0; transition: width .25s, background .25s }
.dots button[aria-selected="true"] { width: 26px; background: var(--navy) }
.dots button::before { content: ""; position: absolute; inset: -17px -8px } .dots button { position: relative }
.art { min-height: 250px; display: grid; align-content: center; gap: 8px; padding: 18px; border-radius: 28px; background: linear-gradient(160deg, #E3EEEE, #F2EEE5); margin-bottom: 6px }
.art .reel { justify-self: start; width: 62%; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 4px 12px rgba(19, 36, 58, .06) }
.art .reel .thumb { height: 86px; background: linear-gradient(150deg, var(--pistachio), var(--pistachio-deep) 60%, var(--matcha)); display: flex; align-items: flex-end; padding: 8px }
.art .reel .thumb span { font-size: 12px; font-weight: 700; color: #FFFFFF; text-shadow: 0 1px 2px rgba(19, 36, 58, .4) }
.art .reel small { display: block; padding: 4px 9px 6px; font-size: 11px; color: #555555 }
.art .bubble { max-width: 75%; padding: 8px 13px; border-radius: 18px; font-size: 15px; line-height: 1.3 }
.art .bubble.them { justify-self: start; background: var(--card); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: 0 4px 12px rgba(19, 36, 58, .05) }
.art .bubble.me { justify-self: end; background: var(--navy); color: #FFFFFF; border-bottom-right-radius: 6px }
.art .bubble.faded { opacity: .55 }
.art .later { justify-self: center; font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--soft); padding: 6px 0 }
.minilist .mini { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; background: var(--card); border-radius: 18px; padding: 12px 14px; box-shadow: 0 6px 16px rgba(19, 36, 58, .06) }
.minilist .mini b { font-weight: 600; color: var(--ink) }
.minilist .mini em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--matcha) }
.faces { display: flex } .faces i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink); margin-left: -6px; box-shadow: 0 0 0 2px #FFFFFF }
.faces i:first-child { margin-left: 0 } .faces i.me { background: var(--navy); color: #FFFFFF }
.ticket .tk { background: var(--card); border-radius: 22px; padding: 16px; display: grid; gap: 8px; box-shadow: 0 10px 24px rgba(19, 36, 58, .08) }
.ticket .tk small { font-size: 13px; font-weight: 600; color: var(--soft) } .ticket .tk > b { font-size: 17px; color: var(--ink) }
.tk-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.tk-days span { border: 1px solid var(--line); border-radius: 14px; text-align: center; padding: 8px 0; font-size: 12px; font-weight: 600; color: var(--soft); line-height: 1.2 }
.tk-days span b { font-family: var(--display); font-size: 22px; color: var(--ink) }
.tk-days .on { background: var(--navy); border-color: var(--navy); color: #DCE8C6 } .tk-days .on b { color: #FFFFFF }
.tk-ok { justify-self: center; background: var(--pistachio); color: var(--ink); font-weight: 600; font-size: 14px; border-radius: 999px; padding: 6px 14px }
.choices { display: grid; gap: 10px; margin-top: 6px }
.choice { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; text-align: left; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: 0 1px 2px rgba(19, 36, 58, .05), 0 10px 26px rgba(19, 36, 58, .06); color: var(--body); text-decoration: none; transition: transform .15s, box-shadow .15s }
.choice:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(19, 36, 58, .05), 0 14px 30px rgba(19, 36, 58, .1) }
.choice .ci { width: 48px; height: 48px; border-radius: 16px; background: var(--pistachio); display: grid; place-items: center; color: var(--navy) }
.choice:nth-child(2) .ci { background: var(--seaglass) } .choice:nth-child(3) .ci { background: var(--sand) }
.choice b { display: block; font-size: 17px; color: var(--ink) } .choice small { font-size: 14px; color: var(--soft) }
.flow { display: grid; gap: 14px; margin-top: 6px }
.flow .step { display: grid; gap: 12px }
.big-q { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1.2 }
.flow input { font-size: 19px; padding: 16px 18px; border-radius: 16px }
.back { justify-self: start; min-height: 44px; color: var(--soft); font-weight: 600 }
.home-h1 { font-size: clamp(38px, 10.5vw, 54px) }
.home-more { display: flex; flex-wrap: wrap; gap: 10px }
@media (prefers-reduced-motion: reduce) { .slides { scroll-behavior: auto } .choice, .dots button { transition: none } }

/* instagram-style dm on the first slide */
.art.dm { gap: 6px; padding: 16px 14px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(19, 36, 58, .07) }
.dm .stamp-t { justify-self: center; font-size: 11px; color: #8E8E8E; padding: 4px 0 2px }
.dm-row { display: flex; align-items: flex-end; gap: 6px }
.dm-av { flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #DCE8C6, #CFE3E4); color: var(--ink); font-size: 11px; font-weight: 600; display: grid; place-items: center }
.dm .bubble { font-family: -apple-system, system-ui, var(--sans); font-size: 15px; padding: 8px 13px; border-radius: 20px; box-shadow: none; max-width: 78% }
.dm .bubble.them { background: #EFEFEF; color: #000000; border-bottom-left-radius: 20px }
.dm .bubble.me { justify-self: end; background: linear-gradient(135deg, #7A5CFA, #3B82F6); color: #FFFFFF; border-bottom-right-radius: 20px }
.dm-reel { width: 132px; border-radius: 16px; overflow: hidden; background: #EFEFEF }
.dm-reel-top { display: flex; align-items: center; gap: 5px; padding: 6px 7px; font-family: -apple-system, system-ui, var(--sans); font-size: 10px; font-weight: 600; color: #000000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.dm-reel-av { flex: none; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #A9C78A, #4A6A30) }
.dm-reel-img { position: relative; height: 170px; background: linear-gradient(170deg, #E9DCC6 0%, #C7A27C 45%, #6E4B33 100%); display: flex; align-items: flex-end; padding: 8px }
.dm-reel-img .play { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 255, 255, .85) }
.dm-reel-img .play::after { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid #222222; border-top: 7px solid transparent; border-bottom: 7px solid transparent }
.dm-reel-img .cap { font-family: -apple-system, system-ui, var(--sans); font-size: 11px; font-weight: 700; line-height: 1.2; color: #FFFFFF; text-shadow: 0 1px 3px rgba(0, 0, 0, .45) }

/* nudges: a soft glow on the one next thing to do */
.nudge-me { animation: glow 2.4s ease-in-out infinite }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(169, 199, 138, 0) } 50% { box-shadow: 0 0 0 7px rgba(169, 199, 138, .55) } }
@media (prefers-reduced-motion: reduce) { .nudge-me { animation: none; box-shadow: 0 0 0 4px rgba(169, 199, 138, .7) } }
.nudge-line { margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--matcha) }

/* tabs + what's new */
.score { margin-top: 18px }
.made-it { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.15 }
.made-it b { font-family: var(--sans); font-weight: 600; font-variant-numeric: lining-nums; color: var(--matcha) }
.drift { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #F2F7EA; color: var(--ink); font-size: 15px; font-weight: 500; text-align: left }
.tabs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; margin: 22px -6px 0; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: rgba(236, 230, 219, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px }
.tabs button { position: relative; min-height: 44px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: .02em; color: var(--body); display: inline-flex; align-items: center; justify-content: center; gap: 6px }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(19, 36, 58, .08), 0 4px 12px rgba(19, 36, 58, .06) }
.tabs .count { font-size: 13px; font-weight: 600; color: var(--soft) }
.tabs button.has-new::after { content: ""; position: absolute; top: 9px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--matcha); box-shadow: 0 0 0 2px var(--sand) }
[role="tabpanel"] { padding-top: 4px }
[role="tabpanel"] section { margin-top: 22px }
.news { margin-top: 18px; background: var(--card); border-radius: 20px; padding: 14px 16px; display: grid; gap: 6px; box-shadow: 0 1px 2px rgba(19, 36, 58, .05), 0 10px 26px rgba(19, 36, 58, .05) }
.news b.h { font-size: 15px; color: var(--ink) }
.news ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: 15px }
.news .meta-btn { justify-self: start }
.tag.new { background: var(--pistachio); color: var(--ink) }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 }

/* memories */
.memories { display: grid; gap: 14px; margin-top: 12px }
.memory { position: relative; background: var(--card); border-radius: 22px; border-top: 6px solid var(--pistachio); padding: 16px 18px 14px; box-shadow: 0 1px 2px rgba(19, 36, 58, .05), 0 10px 26px rgba(19, 36, 58, .06); display: grid; gap: 10px }
.memory:nth-child(3n+2) { border-top-color: var(--seaglass) }
.memory:nth-child(3n) { border-top-color: var(--sand) }
.memory .stamp { font-size: 14px; font-weight: 600; color: var(--matcha) }
.memory .mt { font-family: var(--display); font-size: 28px !important;  font-size: 24px; font-weight: 500; color: var(--ink); line-height: 1.15; overflow-wrap: anywhere }
.take { display: grid; grid-template-columns: 3px 1fr; gap: 12px; align-items: stretch }
.take .r { background: var(--pistachio-deep); border-radius: 2px }
.take .r { font-size: 20px; line-height: 1.3 }
.take .q { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.35; color: var(--ink) }
.take .by { display: block; font-family: var(--sans); font-size: 13px; color: var(--soft) }
.mem-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center }
.small-add { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--navy); font-weight: 600; font-size: 14px }
.react button { font-size: 15px }
/* onboarding */
.starter { margin-top: 18px; background: var(--card); border-radius: 22px; padding: 18px; box-shadow: 0 1px 2px rgba(20, 35, 58, .05), 0 10px 26px rgba(20, 35, 58, .06); display: grid; gap: 12px }
.starter .hand { font-size: 18px; color: var(--ink) }
.steps-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.steps-check li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; min-height: 44px }
.steps-check .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; font-size: 14px; color: #FFFFFF }
.steps-check .done .box { background: var(--matcha); border-color: var(--matcha) }
.steps-check .done span.t { color: var(--soft); text-decoration: line-through }
.steps-check button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--navy); background: var(--card); color: var(--navy); font-weight: 600; font-size: 14px }
.welcome { margin-top: 18px; background: #F2F7EA; border-radius: 22px; padding: 18px; display: grid; gap: 8px }
.welcome .hand { font-size: 18px; color: var(--ink) }
.install { background: var(--card); border-radius: 18px; padding: 14px 16px; border: 1px dashed var(--pistachio-deep); font-size: 15px; display: grid; gap: 6px }

/* feedback */
.dock { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(94px + env(safe-area-inset-bottom, 0px)); z-index: 12;
  width: min(500px, calc(100% - 44px)); background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; gap: 12px;
  box-shadow: 0 18px 40px rgba(20, 35, 58, .16) }
.dock p { font-size: 15px; color: var(--soft) }
.dock p b { font-family: var(--display); font-weight: 400; font-size: 21px; display: block; margin-bottom: 2px; color: var(--ink) }
.dock .acts { gap: 4px }
.dock .btn { min-height: 44px }
.q-block { display: grid; gap: 12px }
.q-block > .qt { font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--ink) }
.q-block > .qh { font-size: 14px; color: var(--soft); margin-top: -6px }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chips button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--body); font-size: 15px; transition: border-color .15s, background .15s; text-align: left }
.chips button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #FFFFFF }
textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; width: 100%; min-height: 96px; resize: vertical; outline: none; transition: border-color .15s, box-shadow .15s }
textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-soft) }
textarea::placeholder { color: var(--faint) }
.anon { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--body); cursor: pointer }
.anon input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; padding: 0; border: 0 }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(94px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  background: var(--ink); color: #FFFFFF; padding: 12px 20px; border-radius: 12px; font-size: 15px; max-width: calc(100% - 44px); text-align: center; box-shadow: 0 10px 30px rgba(20, 35, 58, .25) }
.demo { font-size: 12px; color: var(--soft); letter-spacing: .12em; text-transform: uppercase; text-align: center; padding-top: 24px }
code { font-size: 14px; background: var(--mist); padding: 2px 6px; border-radius: 6px }
@media (prefers-reduced-motion: no-preference) {
  .sheet:not([hidden]) { animation: rise .3s cubic-bezier(.2, .8, .2, 1) }
  @keyframes rise { from { transform: translateY(24px); opacity: 0 } to { transform: none; opacity: 1 } }
}
@media (prefers-reduced-motion: reduce) { .in.pop, .sheet:not([hidden]) { animation: none } }
@media (max-width: 380px) { .acts .soft-btn { padding: 0 8px } .in { padding: 0 16px } }

/* inline add bar, no floating button */
.addbar { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap }
.addbar .btn { flex: 1 1 140px; min-height: 48px; padding: 0 16px }
.addbar .plus { font-size: 18px; line-height: 1 }
.empty .addbar { margin-top: 14px }
.date-time { display: flex; gap: 8px } .date-time input { flex: 1 1 0 }
.row-links { display: inline-flex; gap: 14px; flex-wrap: wrap }
.meta a.meta-btn { display: inline-flex; align-items: center; color: var(--soft) }
.just-added { outline: 2px solid var(--ink); outline-offset: 2px; transition: outline-color 1s }
/* guest page */
.place-view h1 { margin-top: 8px }
.g-who { margin-top: 18px; font-size: 16px; color: var(--body) }
.g-plan { margin-top: 18px; display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--card) }
.g-plan b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink) }
.g-plan .acts { margin-top: 8px }
.place-view > main > .acts, .g-join { margin-top: 22px }
.g-join { display: grid; gap: 14px }
.g-join .acts .btn { flex: 1 }
.g-note { margin-top: 36px }
.share-ctl { display: grid; gap: 10px; padding-top: 4px }
.share-ctl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px }
.share-ctl li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line) }
.share-ctl li b { font-weight: 500; color: var(--ink) }
.tag.shared { background: var(--navy-soft); color: var(--ink) }
/* ===== Someday design layer =====
   High end but approachable, timeless, gender-neutral. One calm sans at gentle weights, a quiet off-white,
   deep matcha for actions and pistachio for the happy moments ("you're in", "it's on"). */
:root {
  --paper: #F6F6F2; --card: #FFFFFF; --mist: #EEEFEA; --ink: #1B211B; --body: #343A34; --soft: #5C625B; --faint: #646A63; --line: #E2E4DD;
  --navy: #2F4A2A; --navy-soft: #EEF3E4; --matcha: #3F5E33; --sea: #3F5E33; --sea-soft: #EEF3E4;
  --lime: #D8E6BF; --lime-soft: #EEF3E4; --pistachio: #EEF3E4; --pistachio-deep: #D8E6BF; --seaglass: #E7EEEA; --sand: #EEEFEA;
  --display: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif; --serif: var(--display);
  --sans: "Instrument Sans", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --r: 16px; --r-sm: 12px;
}
body { background: var(--paper); font-feature-settings: "ss01" }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.06 }
h1, .group-head h1, .slide-h { font-size: clamp(32px, 8.8vw, 46px) }
.slide-h { line-height: 1.06 }
.sec-head h2, .home-h2 { font-size: 24px; letter-spacing: -0.025em }
.name { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -0.015em; line-height: 1.15 }
.cal-row .name { font-size: 20px }
.made-it { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.025em }
.made-it b { font-family: var(--display); font-weight: 500; color: var(--matcha) }
.scribble { background: none; padding-bottom: 0 }
.label, .home-summary h3, .field > span { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--soft) }
.cal small, .day small { letter-spacing: .04em; font-size: 10.5px; font-weight: 600; text-transform: uppercase }
.sec-sub { color: var(--soft); font-weight: 400; margin-top: 4px }
.hand, .nudge-line { color: var(--matcha); font-weight: 500 }

/* wordmark: the name plus a lime dot, like a status light that's on */
.wordmark { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.045em; text-transform: none; color: var(--ink); display: inline-flex; align-items: center; gap: 5px }
.wordmark .mark { display: none }
.wm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--matcha); margin-top: 7px; flex: none }

/* surfaces: white, softly rounded, a hairline, no heavy shadows */
.row, .plan, .cal-row, .panel, .sample, .sum, .list-card, .choice, .starter, .welcome, .helper, .note, .news, .memory, .dock,
.art, .art.dm, .minilist .mini, .ticket .tk, .invited, .empty, .g-plan { border-radius: var(--r); box-shadow: none; transform: none }
.row, .plan, .cal-row, .choice, .news, .starter, .welcome, .helper, .note, .minilist .mini, .ticket .tk, .art, .art.dm, .list-card, .sum, .g-plan { border: 1px solid var(--line); background: var(--card) }
.plan { background: var(--card) }
.invited, .drift { background: var(--pistachio) }
.choice:hover, .list-card:hover, .sum:hover { transform: none; box-shadow: none; border-color: var(--ink) }
.choice .ci, .choice:nth-child(2) .ci, .choice:nth-child(3) .ci { background: var(--mist); border-radius: 12px }
.choice:first-child .ci { background: var(--pistachio); color: var(--matcha) }
.empty { border: 1.5px dashed var(--line); background: transparent }
.art { background: var(--card) }
.art .reel .thumb { background: linear-gradient(150deg, #CFD9C2, #6E8460) }
.cal, .day, .tk-days span, .seg button, #syncQr, .sum .dot { border-radius: var(--r-sm); box-shadow: none }
.cal { background: var(--mist); border: 0 }
.cal small { color: var(--soft) }
.day { background: var(--card) }
.day:hover { border-color: var(--navy); background: var(--pistachio) }
.tk-days .on { background: var(--navy); color: #FFFFFF }

/* controls */
.btn, input, textarea, .seg button, .who button, .chips button, .edit-list, .btn-line, .toast, .demo-bar, .all-lists { border-radius: var(--r-sm) }
.in, .invite, .soft-btn, .tag, .drift { border-radius: 999px }
.btn { font-weight: 500; letter-spacing: 0 }
.btn-navy { background: var(--navy) } .btn-navy:hover { background: #253C21 }
.btn-line { background: var(--card) }
.in, .invite, .edit-list, .all-lists { font-weight: 500 }
.in { border-color: var(--navy); color: var(--navy) }
.in:hover { background: var(--lime-soft) }
.in[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; border-color: var(--navy) }
.soft-btn[aria-pressed="true"] { background: var(--mist) }
.tag { font-size: 12.5px; letter-spacing: 0; padding: 3px 10px; background: var(--mist) }
.tag.when { background: var(--pistachio); color: var(--matcha) }
.tag.shared { background: var(--seaglass); color: #2A3D33 }
.tag.again { background: #F3EEE6; color: #3F5A47 }
.tag.new { background: var(--pistachio); color: var(--matcha) }
input:focus, textarea:focus { box-shadow: 0 0 0 3px var(--pistachio); border-color: var(--navy) }
:focus-visible { outline-color: var(--navy) }
.seg button[aria-pressed="true"] { border-color: var(--navy); background: var(--pistachio) }
.dots button { border-radius: 999px; height: 6px; width: 6px } .dots button[aria-selected="true"] { width: 22px; background: var(--navy) }
.av { background: var(--mist); font-weight: 500; font-size: 11.5px } .av.me { background: var(--navy); color: #FFFFFF }
.made { color: var(--soft) }

/* tabs: a segmented control */
.tabs { background: var(--mist); border: 0; border-radius: 14px; padding: 4px; margin: 22px 0 0; gap: 2px; position: sticky }
.tabs button { border-radius: 11px; min-height: 42px; color: var(--soft); font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 500; border: 0; margin: 0 }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(14, 16, 19, .08) }
.tabs .count { font-size: 12px; color: var(--matcha); background: var(--pistachio); border-radius: 999px; padding: 0 7px; line-height: 18px; letter-spacing: 0 }
.tabs button.has-new::after { top: 9px; right: 10px; width: 7px; height: 7px; background: var(--matcha); box-shadow: 0 0 0 2px var(--mist) }

.tabs button { white-space: nowrap; padding: 0 6px; font-size: 14px; gap: 5px }
@media (max-width: 360px) { .tabs button { font-size: 13px } }
.cal-row .acts { gap: 4px 16px } .cal-row .acts .soft-btn { padding: 0 }
.tabs-wrap { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--paper); margin: 22px -22px 0; padding: 6px 22px 8px }
.tabs-wrap .tabs { position: static; margin: 0 }
.sticky-name { font-size: 13px; font-weight: 500; color: var(--soft); height: 0; overflow: hidden; opacity: 0; transition: height .2s, opacity .2s; white-space: nowrap; text-overflow: ellipsis }
.tabs-wrap.stuck .sticky-name { height: 22px; opacity: 1 }
/* home: one screen, grouped rows */
.home-lists { gap: 0 }
.home-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px }
.home-h1 { font-size: clamp(30px, 8vw, 40px) }
.home-status { color: var(--soft); font-size: 15px; margin-top: 4px }
.home-summary { display: grid; gap: 10px; margin-top: 20px }
.home-sec { margin-top: 26px }
.home-sec .home-h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--soft); margin: 0 0 8px 4px }
.group-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden }
.g-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px 10px 16px; text-decoration: none; color: var(--body); text-align: left; background: none }
.g-row + .g-row { border-top: 1px solid var(--line) }
.g-row:hover { background: var(--paper) }
.g-main { flex: 1; min-width: 0; display: grid; gap: 1px }
.g-main b { font-weight: 500; color: var(--ink); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.g-sub { font-size: 13.5px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.chev { width: 16px; height: 16px; color: var(--faint); flex: none }
.g-pill { flex: none; font-size: 13px; font-weight: 500; color: var(--matcha); background: var(--pistachio); border-radius: 999px; padding: 5px 11px }
.g-new { color: var(--matcha); min-height: 52px }
.g-new b { font-weight: 500; color: var(--matcha) }
.g-plus { width: 22px; text-align: center; font-size: 20px; line-height: 1 }
.next-up { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--navy); color: #FFFFFF; text-decoration: none }
.next-up .cal { background: rgba(255,255,255,.12); color: #FFFFFF; min-width: 52px; text-align: center; padding: 6px 0 7px; border-radius: 12px }
.next-up .cal small { color: #DCE6CC } .next-up .cal b { color: #FFFFFF; font-family: var(--display); font-weight: 500; font-size: 24px; display: block }
.next-up .g-main b { color: #FFFFFF; font-size: 18px; white-space: normal; line-height: 1.2 }
.next-up .g-sub { color: #DCE6CC }
.next-k { font-size: 12.5px; color: #DCE6CC }
.feed-row { gap: 10px }
.feed-row .av { margin: 0; box-shadow: none; flex: none }
.feed-row .g-main { text-decoration: none; color: inherit }
.feed-t { font-size: 15px; color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.feed-t b { font-weight: 500; color: var(--ink); font-size: inherit; display: inline }
.g-pill.done { background: var(--navy); color: #FFFFFF }
button.g-pill { min-height: 32px }
.new-badge { color: var(--matcha); font-weight: 600 }
.install { margin-top: 22px; font-size: 14px }
/* feedback ask: a quiet line in the page, never on top of it */
.dock { position: static; transform: none; left: auto; bottom: auto; width: auto; max-width: none; margin-top: 12px; display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap;
  padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--pistachio); box-shadow: none; border: 0; z-index: auto }
.dock p { flex: 1 1 160px; font-size: 14px; color: var(--ink); margin: 0 }
.dock-go { min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-size: 14px; font-weight: 500 }
.dock-no { min-height: 36px; padding: 0 8px; font-size: 14px; color: var(--soft) }
/* which list you're in */
.list-h1 { margin: 0 }
.list-switch { display: inline-flex; align-items: center; gap: 8px; text-align: left; font: inherit; color: inherit; padding: 0; min-height: 44px; letter-spacing: inherit }
.list-switch .chev-d { width: 22px; height: 22px; flex: none; color: var(--soft); margin-top: 6px }
.list-switch:hover .chev-d { color: var(--ink) }
.sticky-name { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; color: var(--ink); font-size: 15px; font-weight: 500 }
.sticky-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.sticky-name .chev-d { width: 15px; height: 15px; flex: none; color: var(--soft) }
.tabs-wrap.stuck .sticky-name { height: 26px }
.here-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--matcha); flex: none; margin-right: 4px }
#pickSheet h2 { font-size: 22px }
.sheet-list { margin-top: 4px; color: var(--matcha); font-weight: 500; font-size: 15px }
.back-lists { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding-right: 10px; color: var(--matcha); font-weight: 500; font-size: 15px; text-decoration: none }
.back-lists .chev-l { width: 18px; height: 18px; margin-left: -4px }
.members { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 14px; color: var(--soft); min-height: 44px; padding: 0 }
.members .see-all { color: var(--matcha); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap }
.row-links { gap: 12px } .row-links .meta-btn { white-space: nowrap }
#peopleSheet .g-row { min-height: 56px }
#peopleSheet .av { margin: 0; box-shadow: none }
.by { font-size: 13px; color: var(--soft); margin-top: -4px }
.comments { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px }
.cm { font-size: 14.5px; color: var(--body); line-height: 1.4 }
.cm b { font-weight: 500; color: var(--ink) }
.cm-t { font-size: 12px; color: var(--faint) }
.cm-form { display: flex; gap: 8px }
.cm-form input { flex: 1; padding: 10px 14px; font-size: 15px }
.cm-form .btn { min-height: 44px; padding: 0 16px }
.wm-mark { width: 40px; height: 22px; flex: none; margin-right: 4px }
.wordmark { gap: 4px; letter-spacing: -0.02em }
.home-links { display: flex; gap: 18px; justify-content: center; margin-top: 26px; font-size: 14px }
.home-links a, .home-links button { color: var(--soft); text-underline-offset: 3px; text-decoration: underline; font-size: 14px }
.home-links { flex-wrap: wrap }
.home-summary { margin-top: 8px }
.foot { justify-content: center; gap: 4px 22px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line) }
.foot button, .foot a { color: var(--soft); font-size: 14px }
.install { display: grid; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line) }
.install-h { font-weight: 500; color: var(--ink) }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--body); font-size: 15px }
#installBody { display: grid; gap: 14px }
.home-status:empty { display: none }
.install-bar { display: flex; align-items: stretch; margin: 0 0 12px; background: var(--pistachio); border-radius: 14px; overflow: hidden }
.ib-main { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 6px 10px 12px; text-align: left; min-height: 52px; color: var(--ink) }
.ib-icon { font-size: 20px; line-height: 1 }
.ib-text { flex: 1; display: grid; gap: 1px; min-width: 0 }
.ib-text b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.ib-text span { font-size: 13px; color: var(--matcha) }
.ib-main .chev { width: 16px; height: 16px; color: var(--matcha); flex: none }
.ib-x { width: 44px; flex: none; font-size: 20px; color: var(--soft) }
.steps-list li::marker { color: var(--matcha); font-weight: 500 }
.j-preview { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r); background: var(--pistachio) }
.j-who { color: var(--ink) } .j-who b { font-weight: 500 }
.j-ideas { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--ink) }
.when-toggle { justify-self: start; margin-top: -6px }
.tabs .count:empty { display: none }
.tabs button { justify-content: center; text-align: center }
.bring-over { display: grid; gap: 8px; padding: 16px; border-radius: var(--r); background: var(--pistachio); color: var(--ink); margin-top: 10px }
.bring-over b { font-weight: 500 } .bring-over span { font-size: 14.5px; color: var(--body) }
.bring-over .btn { justify-self: start; min-height: 44px }
.ea-badge { display: inline-flex; align-items: center; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--pistachio); color: var(--matcha); font-size: 12px; font-weight: 500; vertical-align: middle; white-space: nowrap }
.top .ea-badge { margin-right: auto }
.intro-head .ea-badge { justify-self: start; margin: -6px 0 0 0 }
.copy { width: 100%; text-align: center; font-size: 12px; color: var(--faint); margin-top: 14px }
.smart { display: grid; gap: 8px }
.smart-row { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); padding-right: 6px }
.smart-row:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px var(--pistachio) }
.smart-row input { border: 0; box-shadow: none !important; background: transparent; font-size: 18px; padding: 16px 14px }
.paste-btn { flex: none; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--pistachio); color: var(--matcha); font-size: 14px; font-weight: 500 }
.link-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 6px 8px 12px; border-radius: 12px; background: var(--pistachio); color: var(--ink); font-size: 14.5px }
.link-chip button { width: 32px; height: 32px; font-size: 18px; color: var(--soft) }
#pasteTip { margin: 0 2px }
.quick-when { display: flex; flex-wrap: wrap; gap: 8px }
.quick-when button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; color: var(--body) }
.quick-when button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #FFFFFF }
.date-time:has(input:not([hidden])) { margin-top: -8px }
.chat-head { justify-self: center; font-size: 12px; font-weight: 500; color: var(--soft); padding-bottom: 2px }
.dm-col { display: grid; gap: 2px; justify-items: start; min-width: 0; flex: 1 }
.dm-col .bubble { max-width: 92%; white-space: nowrap }
.art.dm { gap: 3px }
.art.dm .dm-reel-img { height: clamp(64px, 12dvh, 150px) }
@media (max-height: 700px) { body { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) } .chat-head, .dm-name { font-size: 10.5px } .art.dm .stamp-t { padding: 0 } .art.dm { padding: 10px 12px } }
.dm-name { font-size: 11px; color: var(--soft); padding-left: 10px }
.art.dm .bubble.me { background: var(--navy); color: #FFFFFF; background-image: none }
#faqSheet .sheet-inner { gap: 14px }
.faq-sec h3 { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--soft); margin: 10px 2px 6px }
.faq { border-top: 1px solid var(--line) } .faq-sec .faq:last-child { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; padding: 14px 28px 14px 2px; font-weight: 500; color: var(--ink); position: relative; min-height: 44px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 20px; color: var(--matcha) }
.faq[open] summary::after { content: "–" }
.faq p { margin: -4px 2px 12px; color: var(--body); font-size: 15px; line-height: 1.5 }
.faq-go { margin: 0 2px 14px; min-height: 40px; padding: 0 14px }
.faq-link { justify-self: center; margin-top: 6px; min-height: 44px; font-size: 14px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px }
/* celebrations */
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 80 }
.pop-in { animation: popin .6s cubic-bezier(.2, 1.4, .4, 1) }
@keyframes popin { 0% { transform: scale(.96) } 60% { transform: scale(1.02) } 100% { transform: scale(1) } }
.party { position: fixed; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; justify-content: center; padding: 0 16px; pointer-events: none }
.party-card { pointer-events: auto; width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 6px; text-align: center;
  box-shadow: 0 18px 50px rgba(27, 33, 27, .18); animation: rise .35s ease-out }
.party-emoji { font-size: 40px; line-height: 1 }
.party-card b { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; color: var(--ink) }
.party-card p { color: var(--soft) }
.party-card .acts { justify-content: center; margin-top: 8px }
#alsoLists button[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; border-color: var(--navy) }
@media (prefers-reduced-motion: reduce) { .pop-in, .party-card { animation: none } }
/* intro: warmer, and it fits one screen on any phone */
#v-start { padding-top: 4px; gap: 10px }
.story { margin-top: 2px }
.slide { min-height: 0; gap: 12px; padding-top: 4px }
.slide-h, #slideStart .slide-h { font-size: clamp(28px, min(8.6vw, 5.4dvh), 46px) }
.slide .lede { font-size: clamp(15px, 2.4dvh, 18px) }
.story-nav { padding: 12px 0 0 }
.art { min-height: 0; padding: 14px; border: 0 }
.art.dm { gap: 4px; padding: 12px; background: #EEF3E4; border: 0 }
.art.dm .bubble.them { background: #FFFFFF }
.dm-reel { background: #FFFFFF }
.dm-reel-img { height: clamp(84px, 16dvh, 170px) }
.art.minilist { background: #F3ECE0 }
.art.ticket { background: #E7EEEA }
.minilist .mini { border: 0; padding: 10px 12px }
.mini-e { margin-right: 8px }
.choice .ci { background: #EEF3E4 } .choice:nth-child(2) .ci { background: #F3ECE0 } .choice:nth-child(3) .ci { background: #E7EEEA }
.choice { padding: 14px }
@media (max-height: 700px) { .dm .bubble { font-size: 14px; padding: 6px 11px } .art .later, .dm .stamp-t { padding: 2px 0 } .minilist .mini { padding: 8px 12px } }
/* nudges: a pistachio ring */
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(216, 230, 191, 0) } 50% { box-shadow: 0 0 0 6px rgba(216, 230, 191, 1) } }
@media (prefers-reduced-motion: reduce) { .nudge-me { box-shadow: 0 0 0 4px var(--pistachio-deep) } }
.just-added { outline: 3px solid var(--pistachio-deep); outline-offset: 2px }

/* small details */
.day small { font-size: 10px; letter-spacing: .04em }
.dm-av { background: var(--mist) }
.minilist .faces i[style] { background: var(--mist) !important }
.g-plan b { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em }
.place-view .label { font-weight: 500; color: var(--matcha); display: inline-flex; align-items: center; gap: 6px }
.place-view .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--matcha) }

/* Inside a group: the logo is the way home */
.back-lists.wordmark { color: var(--ink); gap: 4px; padding-right: 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em }

/* Hover an initial to see who it is */
.av[data-name] { position: relative; cursor: default }
.av[data-name]:hover::after { content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #FFFFFF; font-size: 12.5px; font-weight: 500; letter-spacing: 0; line-height: 1.3; padding: 5px 9px; border-radius: 8px;
  white-space: nowrap; pointer-events: none; z-index: 30; box-shadow: 0 4px 14px rgba(0,0,0,.12) }
.avatars:hover .av[data-name]:hover { z-index: 31 }

/* The group name above the tabs while scrolling isn't needed: the header already says where you are */
.sticky-name, .tabs-wrap.stuck .sticky-name { display: none }
/* Keep the name label on screen: cards keep faces on the right, the group header on the left */
.row-top .avatars .av[data-name]:hover::after { left: auto; right: -6px; transform: none }
#memberRow .av[data-name]:hover::after, .meta .av[data-name]:hover::after { left: -6px; transform: none }

/* Slide 1: the looping story video, square, sized so the landing never scrolls */
.art.video { padding: 0; overflow: hidden; background: #111611; border: 0; aspect-ratio: 1; width: min(100%, 46dvh); justify-self: center; align-content: stretch; min-height: 0 }
.art.video video { width: 100%; height: 100%; object-fit: cover; display: block }

/* ---------- Dark mode: follows the phone's setting. Same night green as the landing loop ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #111611; --card: #1A211A; --mist: #222A22; --ink: #F1EEE6; --body: #D9DCD4; --soft: #A8B0A3; --faint: #949C90; --line: #2D372C;
    --navy: #4F7A41; --navy-soft: #1F2B1D; --matcha: #B5D29A; --sea: #B5D29A; --sea-soft: #1F2B1D;
    --lime: #34472E; --lime-soft: #1F2B1D; --pistachio: #1F2B1D; --pistachio-deep: #34472E; --seaglass: #1C2620; --sand: #222A22;
  }
  body { background: var(--paper) }
  .btn-navy:hover { background: #5E8B4E }
  /* surfaces that were a fixed light tint */
  .invited, .helper, .drift, .welcome { background: var(--navy-soft) }
  .note, .art, .art.dm, .art.minilist, .art.ticket { background: var(--card) }
  .plan { background: #1D261C }
  .choice .ci, .choice:nth-child(2) .ci, .choice:nth-child(3) .ci { background: var(--mist) }
  .tag.dup, .tag.again { background: #3A3320; color: #EBD9A6 }
  .art.dm .bubble.them, .dm-reel { background: var(--mist); color: var(--ink) }
  /* initials sit on light pastel circles, so keep their letters dark */
  .av:not(.me):not(.more), .faces i:not(.me), .dm-av { color: #1B211B }
  .av.more { background: var(--card) }
  /* things drawn as light-on-dark flip to dark-on-light */
  .toast, .p-toast, .btn-line.armed, .list-x.armed, .av[data-name]:hover::after { color: #111611 }
  /* green text and outlines use the lighter pistachio green, so they read on the dark background */
  a, .all-lists, .list-card .go, .quick a, .helper button, .tag.again, .foot .fb, .choice .ci, .small-add { color: var(--matcha) }
  .invite, .in, .p-in, .steps-check button { color: var(--matcha); border-color: var(--matcha) }
  :focus-visible { outline-color: var(--matcha) }
  /* the logo */
  .wm-mark path { stroke: var(--ink) } .wm-mark circle { fill: var(--ink) }
}
.art.video { position: relative }
.intro-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; border: 0; z-index: 2;
  background: rgba(246,241,230,.92); color: #111611; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); cursor: pointer }
.intro-play[hidden] { display: none }
.intro-play svg { width: 28px; height: 28px; margin-left: 4px }

/* Add form: name first, optional link second */
.field > label > span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--soft) }
.field .opt { font-weight: 400; color: var(--faint) }
#a-title { font-size: 18px; padding: 16px 14px }
.smart-row input { font-size: 16px; padding: 14px 14px }
#linkHint { margin: 0 }

/* Idea cards: plain title, the idea's own link under it, and one row of actions */
.by .link-btn { color: var(--matcha); font-weight: 500; text-decoration: none; white-space: nowrap }
.by .link-btn:hover { text-decoration: underline }
.acts .tools { margin-left: auto }
.tools { display: inline-flex; align-items: center; gap: 2px }
.meta .tools { margin-left: auto }
.tool { min-width: 44px; min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: 999px; color: var(--soft); font-size: 14px; font-weight: 500; background: transparent }
.tool:hover, .tool[aria-expanded="true"] { background: var(--mist); color: var(--ink) }
.tool svg { width: 20px; height: 20px }
.more-wrap { position: relative; display: inline-flex }
.more-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; min-width: 236px; display: grid; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.14) }
.more-menu > * { display: grid; text-align: left; padding: 11px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; background: transparent }
.more-menu > *:hover, .more-menu > *:focus-visible { background: var(--mist) }
.more-menu small { font-size: 12.5px; font-weight: 400; color: var(--soft) }
.row-top .side { display: grid; justify-items: end; align-content: start; gap: 6px; flex: none }
.row-top .side .tools { margin-right: -8px }
.by .dot { margin: 0 6px; color: var(--faint) }
@media (prefers-color-scheme: dark) { .tag.shared { background: var(--seaglass); color: var(--ink) } }
.g-comments { display: grid; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line) }
.g-comments .cm { margin: 0 }
/* "Your turn" rows: let the who's-in line wrap instead of cutting off */
[aria-labelledby="needsHead"] .g-sub { white-space: normal; overflow: visible; text-overflow: clip }
/* Dark mode: initials on circles without their own color use light text */
@media (prefers-color-scheme: dark) { .av:not(.me):not(.more):not([style*="background"]) { color: var(--ink) } }

/* Notifications prompt */
.push-card { display: grid; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--navy-soft); border: 1px solid var(--line) }
.push-card p { display: grid; gap: 2px; margin: 0 }
.push-card b { color: var(--ink) }
.push-card span { color: var(--soft); font-size: 14.5px }

/* Who's in or going: a row of initials; tap to list names */
.faces-row { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 2px 0; border: 0; background: transparent; color: var(--soft); font: inherit; font-size: 15px; cursor: pointer; justify-self: start; text-align: left }
.faces-row .avatars { padding-top: 0 }
.faces-row:hover .faces-label { color: var(--ink); text-decoration: underline }
.faces-names { margin: 0; color: var(--body); font-size: 14.5px }
.faces-row .av[data-name]:hover::after { left: -6px; transform: none }

/* Calendar link and the add-a-time nudge on set plans */
.cal-add { display: inline-flex; align-items: center; min-height: 40px; font-size: 15px }
.time-nudge { margin: 0; font-size: 14.5px; color: var(--soft) }
.time-nudge .meta-btn { margin-left: 6px }
.time-edit { display: grid; gap: 10px }

/* Start: plan or group */
.how-line { margin: -4px 0 4px; color: var(--soft); font-size: 15px }
.plan-ready { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border-radius: var(--r); background: var(--navy-soft); border: 1px solid var(--line) }
.plan-ready p { display: grid; gap: 4px; margin: 0 }
.plan-ready b { color: var(--ink); font-size: 17px }
.plan-ready span { color: var(--soft); font-size: 14.5px }
.copy .ver { white-space: nowrap }

/* ---------- Warmer: ivory and sand neutrals instead of cool grey, a little rounder. Greens unchanged ---------- */
:root {
  --paper: #F7F2E8; --card: #FFFCF6; --mist: #EFE9DC; --ink: #22261F; --body: #3D4038; --soft: #6B675A; --faint: #757063; --line: #E6DECF;
  --navy-soft: #EEF0E0; --pistachio: #EEF0E0; --pistachio-deep: #DCE3C6; --sand: #EFE9DC; --seaglass: #E6ECE3; --lime-soft: #EEF0E0; --sea-soft: #EEF0E0;
  --r: 20px; --r-sm: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171A14; --card: #22251D; --mist: #2B2E25; --ink: #F3EEE4; --body: #DAD5C9; --soft: #B3AC9C; --faint: #A39C8C; --line: #363A2E;
    --navy: #557A45; --navy-soft: #253021; --matcha: #BCD6A0; --sea: #BCD6A0; --sea-soft: #253021;
    --pistachio: #253021; --pistachio-deep: #35452C; --seaglass: #232A22; --sand: #2B2E25; --lime: #35452C; --lime-soft: #253021;
  }
  .plan { background: #242A1E }
}
.av:not(.me):not(.more):not([style*="background"]) { background: var(--mist) }
.copy { color: var(--soft) }

/* Dark, warmer: a cozy brown-charcoal instead of olive black */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1D1A15; --card: #28241D; --mist: #322D25; --line: #3E382E; --ink: #F5EFE4; --body: #DED6C8; --soft: #B9AF9E; --faint: #A99F8D;
    --navy: #5C7F47; --navy-soft: #2B3023; --matcha: #C3D9A5; --sea: #C3D9A5; --sea-soft: #2B3023;
    --pistachio: #2B3023; --pistachio-deep: #3B4631; --seaglass: #2A2D24; --sand: #322D25; --lime: #3B4631; --lime-soft: #2B3023;
  }
  .plan { background: #2C2A21 }
  .art.video { box-shadow: 0 0 0 1px var(--line) }
}

/* Theme switch in the footers */
.theme-pick { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 6px auto 0; font-size: 14px }
.theme-pick .tp-label { color: var(--soft); margin-right: 6px }
.theme-pick button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--soft); font: inherit; cursor: pointer }
.theme-pick button[aria-pressed="true"] { border-color: var(--line); background: var(--card); color: var(--ink); font-weight: 600 }
.theme-pick button, #foot .theme-pick button { text-decoration: none }

/* Voice notes in feedback */
.rec { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: -16px }
.rec-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer }
.rec-btn[data-rec="stop"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF }
.rec-time { color: var(--soft); font-size: 14px; font-variant-numeric: tabular-nums }
.rec audio { width: 100%; max-width: 320px; height: 40px }

/* Plan path: optional link and set date */
.plan-extra-btn { justify-self: start; min-height: 44px; padding: 0 2px; background: none; border: 0; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.plan-extra-btn span { color: var(--soft); font-weight: 400; text-decoration: none; margin-left: 4px }
.plan-extra { display: grid; gap: 8px }
.plan-extra label, .plan-extra .pe-label { color: var(--ink); font-weight: 600; font-size: 15px }
.plan-extra .pe-label { margin-top: 6px }

/* Guest page: after saying yes, invite them to start their own plan */
.g-own { margin-top: 18px; display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--line) }
.g-own p { display: grid; gap: 2px; margin: 0 }
.g-own b { color: var(--ink) }
.g-own span { color: var(--soft); font-size: 15px }
.g-own .btn { justify-self: start; text-decoration: none }

/* Start screen: two real choices, everything else quiet underneath */
.start-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin: 10px 0 0 }
.start-more a, .start-more button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; background: none; border: 0; font: inherit; font-size: 15px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.start-more a:hover, .start-more button:hover { color: var(--ink) }
.nowrap { white-space: nowrap }

/* What a link can be */
.link-kinds { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px }
.link-kinds[hidden] { display: none }
/* Time: tap a usual time, or Other */
.time-pick { display: grid; gap: 8px; margin-top: 4px }
.time-pick[hidden] { display: none }
.tp-label { color: var(--ink); font-weight: 600; font-size: 15px }
.tp-label .opt { font-weight: 400; color: var(--soft) }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px }
.tp-chip { min-height: 44px; min-width: 56px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer }
.tp-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF }
.tp-other { min-height: 44px }
.plan-extra .pe-label .opt { font-weight: 400; color: var(--soft) }
.link-kinds span { white-space: nowrap }

/* Home: short sections, counts, fold the rest */
.home-h2 .h-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; margin-left: 6px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-size: 12.5px; font-weight: 600; vertical-align: 2px }
.sec-note { margin: -2px 0 8px; color: var(--soft); font-size: 14px }
.up-row .cal { flex: none; width: 44px; display: grid; justify-items: center; line-height: 1.1; padding: 6px 0; border-radius: 10px; background: var(--pistachio); color: var(--ink) }
.up-row .cal small { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--soft) }
.up-row .cal b { font-size: 18px }
.feed-row .feed-ago { flex: none; margin-left: auto }
.more-rows summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--soft); font-size: 14px; text-decoration: underline; text-underline-offset: 3px }
.more-rows summary::-webkit-details-marker { display: none }
.more-rows[open] summary { display: none }

/* Check before inviting more */
.ask-card { margin-top: 12px; display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--pistachio); color: var(--ink) }
.ask-card p { display: grid; gap: 2px; margin: 0 }
.ask-card p span { color: var(--body); font-size: 15px }
.ask-card .acts { margin-top: 0; flex-wrap: wrap }
.ask-note { margin: 10px 0 0; color: var(--soft); font-size: 14.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px }
.ask-note.ok span { color: var(--ink) }
.g-row a.g-main { text-decoration: none; color: inherit; min-width: 0 }

/* Intro: the apps Someday hands off to */
.works-with { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; font-size: 14px; color: var(--soft) }
.works-with span { white-space: nowrap }

/* Front door: the plan question first */
.fd-kicker { margin: 0 0 4px; color: var(--soft); font-size: 15px; line-height: 1.45 }
.story.fd .slides { overflow: hidden }
#fdMore { margin-top: 18px }
.plan-extra label.pe-label { margin-top: 10px }
.g-foot { margin-top: 18px }

/* Plan form: one question per screen */
.when-choices { display: grid; gap: 10px }
.when-pick { display: grid; gap: 10px; margin-top: 6px }
.link-added { color: var(--ink) }
#whenSkip { justify-self: center }

/* "Saved on this phone": why there's no login, and how to carry it over */
.saved-here { margin: 2px 0 0; font-size: 13.5px; color: var(--soft) }
.saved-here button { padding: 0; min-height: 32px; background: none; border: 0; font: inherit; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.g-foot + .saved-here { text-align: center; margin-top: 4px }
.minilist .faces i[style] { color: var(--ink) !important }

/* Home v2: a few glanceable cards, groups as tiles, two columns on a computer */
.home-hi { display: grid; gap: 2px; margin: 4px 0 4px }
.home-hi .hi { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink) }
.home-hi .home-status { margin: 0 }
.home-cols { display: grid; gap: 12px; margin-top: 14px }
.home-summary, .home-side { display: grid; gap: 12px; margin: 0; align-content: start }
.home-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 10px }
.home-card .hc-h { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--soft); letter-spacing: 0 }
.hc-sub { margin: -6px 0 0; font-size: 14px; color: var(--soft) }
.next-hero { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--body) }
.next-hero b { font-size: 18px; color: var(--ink) }
.cal.big { flex: none; width: 54px; display: grid; justify-items: center; line-height: 1.1; padding: 8px 0; border-radius: 12px; background: var(--pistachio); color: var(--ink) }
.cal.big small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--matcha) }
.cal.big b { font-size: 22px }
.hc-rows { display: grid }
.hc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; text-decoration: none; color: var(--body) }
.hc-row + .hc-row { border-top: 1px solid var(--line) }
.hc-row > b { color: var(--ink); font-weight: 500 }
.hc-row > span:not(.g-main):not(.g-pill) { color: var(--soft); font-size: 14px; white-space: nowrap }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--pistachio); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px }
.chip::after { content: "→"; margin-left: 6px; color: var(--matcha) }
.home-card .more-rows summary { justify-content: flex-start; min-height: 36px }
.g-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.g-tiles-in { display: contents }
.g-tile { display: grid; align-content: start; gap: 2px; min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; text-align: left; font: inherit; cursor: pointer }
.g-tile b { font-size: 14.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.g-tile .g-sub { font-size: 12.5px }
.g-tile-new { border-style: dashed; color: var(--matcha) }
.g-tile-new b { font-weight: 500 }
.saved-here#savedHere { text-align: center; margin-top: 18px }
@media (min-width: 900px) {
  .wrap:has(#homeLists:not([hidden])) { max-width: 1000px }
  .home-cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 16px }
}
.home-cols .home-card { margin: 0 }
.hc-row a.g-main { text-decoration: none; color: inherit; min-width: 0 } .hc-row .g-main b { color: var(--ink); font-weight: 500 }
.g-tile .g-sub { justify-self: start }

/* Which days work: tap every day you could do */
.avail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px }
.av-day { position: relative; display: grid; justify-items: center; gap: 0; padding: 8px 0 6px; min-height: 64px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; line-height: 1.15 }
.av-day small { font-size: 11px; color: var(--soft); text-transform: uppercase; letter-spacing: .04em }
.av-day b { font-size: 18px }
.av-day .av-n { min-height: 14px; font-size: 11.5px; font-weight: 600; color: var(--matcha) }
.av-day[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF }
.av-day[aria-pressed="true"] small, .av-day[aria-pressed="true"] .av-n { color: #FFFFFF }
.av-hint { margin: 2px 0 0 }
.av-more { margin-top: 6px }
.av-more .av-other { max-width: 220px }
.av-best, .av-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; color: var(--ink) }
.av-best { padding: 10px 12px; border-radius: 12px; background: var(--pistachio) }
.av-wait { color: var(--soft); font-size: 14px }
.g-plan .avail { margin-top: 6px }
.g-plan .av-best b, .g-plan .av-sum b, .g-plan .av-day b { font-size: inherit; line-height: inherit } .g-plan .av-day b { font-size: 18px }

/* Polish: quieter extras, cleaner chips and footer */
.chip::after { content: none }
.home-card .more-rows summary { text-decoration: none; color: var(--soft); font-size: 14px }
.theme-pick { transform: scale(.92); opacity: .85 }
.copy { font-size: 12.5px; opacity: .8 }
.home-links { row-gap: 2px }

/* One icon style: simple line icons that follow the text color */
.ic { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.17em }
.quick-when .ic, .works-with .ic, .link-kinds .ic { color: var(--matcha) }
.ib-icon .ic { width: 22px; height: 22px }

/* Notifications switch */
.push-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; font: inherit; color: var(--soft); text-decoration: none !important; cursor: pointer }
.push-switch .sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line); transition: background .15s }
.push-switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.25) }
.push-switch[aria-checked="true"] .sw { background: var(--navy) }
.push-switch[aria-checked="true"] .sw::after { transform: translateX(16px) }
.push-switch[aria-checked="true"] span:first-child { color: var(--ink) }
@media (prefers-reduced-motion: reduce) { .push-switch .sw, .push-switch .sw::after { transition: none } }

/* Footer: three calm rows (links, settings, one small line) */
.ft { display: grid; justify-items: center; gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px }
.ft-links > a, .ft-links > button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; background: none; border: 0; font: inherit; font-size: 14.5px; line-height: 1; color: var(--soft); text-decoration: none; cursor: pointer }
.ft-links > a:hover, .ft-links > button:hover { color: var(--ink) }
.ft-settings { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 24px }
.ft .theme-pick { transform: none; opacity: 1; margin: 0 }
.ft .push-switch { font-size: 14px }
.ft-meta { margin: 2px 0 0; font-size: 12.5px; color: var(--soft); line-height: 1.6 }
.ft-meta button { padding: 0; min-height: 0; background: none; border: 0; font: inherit; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }

/* Commit moments: low stakes, quick wins */
.quiet-maybe { font-size: 14.5px; color: var(--soft) }
.low-stakes { margin: 6px 0 0; font-size: 13px }
.in.pop { animation: inPop .45s cubic-bezier(.3, 1.6, .5, 1) }
@keyframes inPop { 0% { transform: scale(1) } 40% { transform: scale(1.08) } 100% { transform: scale(1) } }
.av-day:active { transform: scale(.94) }
/* It's happening */
.happening .party-card { display: grid; gap: 8px; justify-items: center; text-align: center }
.happening #hapTitle { font-size: 26px; letter-spacing: -0.02em }
.hap-acts { display: grid; gap: 8px; width: 100%; margin-top: 10px }
.hap-acts .btn { width: 100%; justify-content: center; gap: 8px; text-decoration: none }
@media (prefers-reduced-motion: reduce) { .in.pop { animation: none } .av-day:active { transform: none } }
.party.happening { top: 0; bottom: 0; align-items: center; background: rgba(20, 16, 10, .45); pointer-events: auto }
.party.happening .party-card { pointer-events: auto; max-width: 360px; width: 100% }
.party-emoji { display: block; min-width: 1.5em; padding: 0 .15em; text-align: center; overflow: visible }

/* Friend's plan page: answer first */
.g-join .acts { flex-wrap: wrap }
.g-teaser { margin-top: 12px }
#placeBody .g-teaser { margin-top: 10px }
.more-menu .danger { color: #C2410C }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .more-menu .danger { color: #F0997B } }
:root[data-theme="dark"] .more-menu .danger { color: #F0997B }

/* Days as calendar weeks */
.avail-cal { display: grid; gap: 4px; margin-top: 8px }
.avail-cal .avail { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 0 }
.av-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--soft) }
.av-wk { margin: 6px 0 2px; font-size: 12.5px; font-weight: 600; color: var(--soft) }
.avail-cal .av-day { min-height: 46px; padding: 6px 0 4px }
.avail-cal .av-day b { font-size: 16px }
.av-day.wkend:not([aria-pressed="true"]) { background: var(--pistachio) }
.av-day.past { display: grid; place-items: center; border-style: dashed; opacity: .35; cursor: default }
/* Times in plain words */
.tp-chip { display: inline-grid; justify-items: center; gap: 0; line-height: 1.15; padding: 6px 14px }
.tp-chip b { font-size: 14.5px; font-weight: 600 }
.tp-chip small { font-size: 11.5px; color: var(--soft) }
.tp-chip[aria-pressed="true"] small { color: #FFFFFF; opacity: .85 }

/* ---------- Brand: editorial wordmark + Someday palette (forest, moss, sage, ivory, espresso) ---------- */
.wordmark, .wordmark:visited { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 31px; letter-spacing: -0.01em; line-height: 1; color: var(--brand) }
.wordmark .wm-mark, .wordmark .mark { display: none }
:root {
  --brand: #24392E; --sage: #929982; --espresso: #49372C;
  --paper: #F2E9DC; --card: #FAF4EA; --mist: #EAE0D0; --line: #DED2BF; --sand: #EAE0D0;
  --ink: #1F2A22; --body: #3B3A32; --soft: #6B6656; --faint: #6F6A5B;
  --navy: #24392E; --matcha: #24392E; --sea: #24392E;
  --pistachio: #E3E5D5; --navy-soft: #E3E5D5; --sea-soft: #E3E5D5; --lime-soft: #E3E5D5; --pistachio-deep: #CDD2BC; --seaglass: #E6E6D8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #F2E9DC;
    --paper: #141A16; --card: #1E2620; --mist: #27302A; --line: #344037; --sand: #27302A;
    --ink: #F2E9DC; --body: #DCD3C4; --soft: #B3A996; --faint: #A69C8A;
    --navy: #5C7464; --matcha: #BCC3A8; --sea: #BCC3A8;
    --pistachio: #2B3128; --navy-soft: #2B3128; --sea-soft: #2B3128; --lime-soft: #2B3128; --pistachio-deep: #3A4334; --seaglass: #262A23; --lime: #3A4334;
  }
  .plan { background: var(--card) }
}
.back-lists.wordmark { font-size: 31px; font-weight: 400; letter-spacing: -0.01em; color: var(--brand); padding-right: 10px }

/* Brand type: condensed athletic headlines for the big moments; the wordmark stays italic serif */
:root { --headline: "Oswald", "Arial Narrow", sans-serif }
.slide-h, .big-q, .home-hi .hi, #hapTitle, .fd-tag {
  font-family: var(--headline); font-weight: 600; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.98;
}
.slide-h { font-size: clamp(34px, 9.5vw, 52px) }
.big-q { font-size: clamp(30px, 8.4vw, 42px) }
.home-hi .hi { font-size: clamp(26px, 7vw, 34px) }
.fd-tag { display: block; font-size: 15px; letter-spacing: 0.06em; color: var(--brand); margin-bottom: 6px }

/* It's set: a date-stamp ticket */
.ticket { display: grid; justify-items: center; gap: 2px; margin: 6px auto 0; padding: 14px 18px 12px; min-width: 210px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); position: relative }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--card); border: 1.5px dashed var(--line) }
.ticket::before { left: -9px; clip-path: inset(0 0 0 50%) } .ticket::after { right: -9px; clip-path: inset(0 50% 0 0) }
.tk-day { font-family: var(--headline); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft) }
.tk-date { font-family: var(--headline); font-weight: 600; font-size: 40px; line-height: 1; text-transform: uppercase; color: var(--brand) }
.tk-what { font-size: 14.5px; color: var(--body) }
.tk-foot { margin-top: 6px; font-family: "Fraunces", Georgia, serif; font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 16px; color: var(--soft) }

/* Primary logo: heavy soft italic serif (Fraunces), per the brand board */
.wordmark, .wordmark:visited, .back-lists.wordmark { font-family: "Fraunces", "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 800; font-variation-settings: "opsz" 144, "SOFT" 40; font-size: 30px; letter-spacing: -0.02em; color: var(--brand) }


/* Quiet logo: medium-weight soft italic, with the aura icon beside it */
.wordmark, .wordmark:visited, .back-lists.wordmark { font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 100; letter-spacing: -0.01em; gap: 10px; align-items: center }
.wordmark .wm-icon { width: 30px; height: 30px; border-radius: 8px; flex: none; display: block }

/* Front door: centered and quiet. Headline, the loop, one line of value, one button. Two typefaces, no emoji. */
.fd-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-top: 4px; max-width: 600px; margin: 0 auto }
.fd-h { margin: 0; font-family: var(--headline); font-weight: 600; text-transform: uppercase; font-size: clamp(36px, 10.4vw, 54px); line-height: 1; letter-spacing: 0.005em; color: var(--brand) }
.fd-h span { display: block }
.fd-sub { margin: 0; max-width: 30ch; font-size: 17px; line-height: 1.45; color: var(--body); text-wrap: balance }
.fd-cta { margin: 0 }
.fd-go { font: inherit; font-size: 16px; font-weight: 600; background: var(--navy); color: #FFFFFF; border: 0; border-radius: 999px; padding: 14px 30px; cursor: pointer; letter-spacing: 0.01em; box-shadow: 0 10px 24px -14px rgba(20, 40, 30, 0.6) }
.fd-go span { display: inline-block; margin-left: 4px; transition: transform .2s }
.fd-go:hover span { transform: translateX(3px) }
.fd-fine { margin: -8px 0 0; font-size: 13px; letter-spacing: 0.02em; color: var(--soft) }
.fd-fine a { color: inherit; text-underline-offset: 3px }
.big-q { text-wrap: balance }

/* Background: warm paper with a soft sage glow and a moss wash, plus fine print grain (moodboard: analog, tactile) */
:root { --glow-1: rgba(142, 154, 126, 0.30); --glow-2: rgba(146, 153, 130, 0.24); --grain: 0.22; --grain-blend: multiply }
@media (prefers-color-scheme: dark) {
  :root { --glow-1: rgba(63, 90, 71, 0.30); --glow-2: rgba(110, 128, 104, 0.16); --grain: 0.16; --grain-blend: soft-light }
}
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none }
body::before {
  background:
    radial-gradient(110% 60% at 95% -5%, var(--glow-1), transparent 62%),
    radial-gradient(90% 55% at -5% 105%, var(--glow-2), transparent 60%);
}
body::after {
  opacity: var(--grain); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Sticky tabs: frosted, so the background glow shows through instead of a solid band */
.tabs-wrap { background: color-mix(in srgb, var(--paper) 72%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px) }
/* The loop on the front door: right under the headline */
.fd-hero .art.video.fd-video { width: min(82%, 34dvh, 340px); margin: 2px auto; border-radius: 28px; justify-self: center; box-shadow: 0 24px 48px -26px rgba(30, 40, 30, 0.55), 0 0 0 1px rgba(30, 40, 30, 0.06); }

/* Logo: "someday" in the wordmark font, filled with the brand greens (forest into sage) */
:root { --logo-grad: linear-gradient(100deg, #1E3328 0%, #3F5A47 55%, #7F8D70 100%) }
@media (prefers-color-scheme: dark) { :root { --logo-grad: linear-gradient(100deg, #C9D3BC 0%, #A9B79A 55%, #8E9A7E 100%) } }
.wordmark, .wordmark:visited, .back-lists.wordmark { background: var(--logo-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: 0.08em 0.1em 0.24em 0; margin-bottom: -0.24em }

/* What time works: one row of four chips under the calendar */
.av-tq { margin-top: 14px }
.av-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px }
.av-time { display: grid; gap: 1px; justify-items: center; padding: 9px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; cursor: pointer }
.av-time b { font-size: 14px; font-weight: 600 }
.av-time small { font-size: 11.5px; color: var(--soft) }
.av-time[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF }
.av-time[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.8) }

/* FAQ: need-to-know first, the rest folded */
.faq-more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px }
.faq-more > summary { cursor: pointer; font-weight: 600; color: var(--soft); padding: 8px 0; list-style: none }
.faq-more > summary::-webkit-details-marker { display: none }
.faq-more > summary::after { content: " +"; }
.faq-more[open] > summary::after { content: " –"; }
/* Move an idea */
.move-new { margin: 16px 0 4px; display: grid; gap: 6px }
.move-new-row { display: flex; gap: 8px }
.move-new-row input { flex: 1; min-width: 0 }
#moveLists { margin-top: 12px }
#moveLists .g-row { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; font: inherit; color: inherit; cursor: pointer }

/* Front door: logo centered, no badge, for a calm first screen */
#v-start:has(.story.fd) > .top { justify-content: center }
#v-start:has(.story.fd) > .top .ea-badge { display: none }

/* ---------- Retro-future layer, kept quiet ----------
   Small split-flap tiles on the front door, a typewriter-mono only for the tiles and the tiniest print,
   over the soft green glow and grain. */
:root { --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace; --tile: #FBF6EC; --tile-line: #E3D8C4; --tile-ink: #24392E; --dots: rgba(36, 57, 46, 0.07) }
@media (prefers-color-scheme: dark) { :root { --tile: #232A23; --tile-line: #333C32; --tile-ink: #E9DDC4 } }

body::before {
  background:
    radial-gradient(110% 60% at 95% -5%, var(--glow-1), transparent 62%),
    radial-gradient(90% 55% at -5% 105%, var(--glow-2), transparent 60%);
}

/* Background: warm ivory paper with the brand greens as a soft gradient (sage glow top-right, moss wash bottom-left), plus print grain. */
:root { --glow-1: rgba(142, 154, 126, 0.46); --glow-2: rgba(63, 90, 71, 0.20) }
@media (prefers-color-scheme: dark) { :root { --glow-1: rgba(63, 90, 71, 0.50); --glow-2: rgba(142, 154, 126, 0.12) } }

.fd-board { display: grid; gap: 7px; justify-items: center; font-family: var(--mono) }
.fb-tiles { display: flex; gap: 3px }
.fl { position: relative; width: 20px; height: 28px; border-radius: 4px; background: var(--tile); border: 1px solid var(--tile-line); display: grid; place-items: center; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) }
.fl::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--tile-line) }
.fl i { font-style: normal; font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--tile-ink) }
.fl.blank { background: transparent; border-color: color-mix(in srgb, var(--tile-line) 60%, transparent) }
.fl.blank::after { opacity: 0.5 }
.fl.flip i { animation: flapIn 0.12s ease-out }
@keyframes flapIn { from { transform: scaleY(0.2) translateY(-30%); opacity: 0.4 } to { transform: none; opacity: 1 } }
.fb-what { font-size: 12px; letter-spacing: 0.14em; color: var(--soft); min-height: 1.3em }
.fb-what.fb-in { animation: fadeUp 0.35s ease-out }
@keyframes fadeUp { from { opacity: 0; transform: translateY(3px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .fl.flip i, .fb-what.fb-in { animation: none } }

/* The mono stays tiny and rare: the front door fine print and the footer meta only */
.fd-fine, .ft-meta { font-family: var(--mono); letter-spacing: 0.06em }
.fd-fine { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em }
.ft-meta { font-size: 11.5px }

/* It's set: an editorial dateline, not a ticket. Hairline rules, small weekday, big day, the plan in italic. */
.setlock { display: grid; justify-items: center; gap: 4px; margin: 10px auto 2px; padding: 14px 8px 12px; min-width: 220px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.sl-wk { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft) }
.sl-day { font-family: var(--headline); font-weight: 600; font-size: 46px; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; color: var(--brand) }
.sl-what { font-family: "Fraunces", Georgia, serif; font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 19px; color: var(--body) }

/* Logo: "some" light and faded, "day" bold. Someday, with the actual day stepping forward. */
:root { --logo-some: #8E9A7E; --logo-day: #1E3328 }
@media (prefers-color-scheme: dark) { :root { --logo-some: #8E9A7E; --logo-day: #F2E9DC } }
.wordmark, .wordmark:visited, .back-lists.wordmark { background: none; -webkit-text-fill-color: initial; color: var(--logo-day); padding: 0; margin-bottom: 0; gap: 0; font-variation-settings: "opsz" 144, "SOFT" 100; letter-spacing: -0.015em }
.wordmark .wm-some { font-weight: 300; color: var(--logo-some) }
.wordmark .wm-day { font-weight: 800; color: var(--logo-day) }

/* Hero: name the moment Someday is for (before anything has a day), and keep "No app · No sign-up" readable */
.fd-when { display: block; font-weight: 600; color: var(--brand); margin-bottom: 2px }
.fd-fine { color: var(--body) }

/* Times that work, per day: one quiet line until you narrow it down, then one scrollable row per day you picked */
.av-day.off { border-style: solid; opacity: .22 }
.av-tsum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; font-size: 14px; color: var(--soft) }
.av-tbox { display: grid; gap: 8px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card) }
.av-tbox .av-wk { margin: 0 }
.av-tbox .opt { font-weight: 400 }
.av-tbox > .meta-btn { justify-self: start }
.av-trow { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: start; gap: 8px }
.av-tday { padding-top: 9px }
.av-tday { font-size: 13.5px; font-weight: 600; color: var(--ink) }
.av-tchips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 }
.av-tchips::-webkit-scrollbar { display: none }
.av-tc { position: relative; flex: none; scroll-snap-align: start; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer }
.av-tc[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF }
.av-tc i { font-style: normal; font-size: 10.5px; font-weight: 700; margin-left: 4px; color: var(--matcha) }
.av-tc[aria-pressed="true"] i { color: #FFFFFF; opacity: .85 }
/* Every week: the weekday, then the time */
.weekly { display: grid; gap: 8px }
.wd-chips { display: flex; gap: 6px }
.wd-chips button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer }
.wd-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF }

/* Calendar: four weeks at a time, with the month and arrows on top */
.av-mhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px }
.av-mhead b { font-size: 15px; font-weight: 600; color: var(--ink) }
.av-mnav { position: relative; width: 40px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 20px; line-height: 1; cursor: pointer }
.av-mnav:disabled { opacity: .3; cursor: default }
.av-mnav.has::after { content: ""; position: absolute; top: 5px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--matcha) }
.avail-cal .av-day small { font-size: 9.5px; line-height: 1; font-weight: 700; color: var(--matcha); text-transform: uppercase }
.avail-cal .av-day[aria-pressed="true"] small { color: #FFFFFF }
.av-later { margin: 2px 0 0; font-size: 12.5px; color: var(--soft) }
.av-tsum b { color: var(--ink); font-weight: 600 }

/* Home: one "What's new" list across groups and plans. A dot marks what changed since you last looked. */
.hc-row.upd { justify-content: flex-start; gap: 10px }
.hc-row.upd .g-main, .hc-row.upd .g-main-link { flex: 1; min-width: 0 }
.hc-row.upd .g-main-link { display: block; text-decoration: none; color: inherit }
.hc-row.upd .g-main { display: grid; gap: 2px }
.hc-row.upd .g-sub { display: block; font-size: 13.5px; color: var(--soft); line-height: 1.35 }
.u-where { font-weight: 600; color: var(--body) }
.u-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--matcha) }
.u-dot.off { visibility: hidden }
.hc-empty { margin: 0; font-size: 14.5px; color: var(--soft) }
.g-new { margin-top: 10px }
.hc-row.upd .g-sub, .hc-row.upd b { white-space: normal; overflow: visible; text-overflow: clip }

/* Notifications: asked once, right after you say you're in, as a small card over the bottom of the page */
.push-card.moment { background: var(--card); position: fixed; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 40; max-width: 520px; margin: 0 auto;
  box-shadow: 0 18px 40px -18px rgba(20, 30, 22, 0.45), 0 0 0 1px var(--line); animation: push-rise .35s ease-out both }
@keyframes push-rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .push-card.moment { animation: none } }
.hc-push { margin-top: 12px; font-size: 13.5px }

/* Celebrations: a short sage rule above the words instead of a big emoji (quiet, editorial) */
.party-mark { width: 36px; height: 2px; margin: 2px auto 8px; border-radius: 2px; background: var(--matcha) }

/* Logo (Brand v2): SOMEDAY in wide, letterspaced capitals. "SOME" light and faded, "DAY" bold:
   the actual day steps forward. Upright, no italics, no soft curls. */
.wordmark, .wordmark:visited, .back-lists.wordmark { font-family: "Archivo", "Instrument Sans", system-ui, sans-serif; font-style: normal; font-stretch: 125%; font-variation-settings: normal;
  text-transform: uppercase; letter-spacing: 0.16em; margin-right: -0.16em; font-size: 17px; line-height: 1 }
.wordmark .wm-some { font-weight: 300 }
.wordmark .wm-day { font-weight: 650 }
/* No italics around the brand: the dateline and ticket lines use the site's upright type */
.tk-foot, .sl-what { font-family: var(--sans); font-style: normal; font-variation-settings: normal }
.sl-what { font-size: 17px; letter-spacing: 0 }
/* Home, first visit on this phone: two quiet placeholder rows where "What's new" will be, so nothing jumps */
.hc-wait .hc-rows { gap: 12px; padding: 6px 0 4px }
.skel { display: block; height: 38px; border-radius: 10px; background: linear-gradient(90deg, var(--line) 0%, color-mix(in srgb, var(--line) 40%, transparent) 50%, var(--line) 100%); background-size: 200% 100%; animation: skel 1.4s ease-in-out infinite; opacity: .7 }
@keyframes skel { from { background-position: 100% 0 } to { background-position: -100% 0 } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none } }
/* "It's set", the match: everyone's initials drift in from the edges and meet, then the day lands under them */
.happening .matched .party-mark { display: none }
.hap-match:empty { display: none }
.match { display: flex; justify-content: center; padding: 6px 0 4px }
.mi { --o: calc(var(--k) - (var(--n) - 1) / 2); width: 46px; height: 46px; border-radius: 50%; margin-left: -9px; display: grid; place-items: center;
  font-family: "Archivo", var(--sans); font-stretch: 125%; font-weight: 650; font-size: 16px; letter-spacing: .04em;
  background: color-mix(in srgb, var(--sage) 30%, var(--card)); color: var(--brand); border: 2px solid var(--card); box-shadow: 0 1px 0 var(--line);
  animation: meet .75s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.08s + var(--k) * .03s) }
.mi:first-child { margin-left: 0 }
.mi.me { background: var(--brand, #1E3328); color: var(--card) }
.mi.more { font-size: 13px; background: var(--card); color: var(--soft); border-color: var(--line) }
@keyframes meet { from { transform: translateX(calc(var(--o) * 52px)) scale(.86); opacity: 0 } 55% { opacity: 1 } to { transform: none; opacity: 1 } }
.matched .match { animation: clink .5s ease-out .78s both }
@keyframes clink { 0% { transform: scale(1) } 35% { transform: scale(1.06) } 100% { transform: scale(1) } }
.matched #hapTitle { font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin-top: 6px; animation: fadeUp .5s ease-out .7s both }
.matched .setlock { animation: fadeUp .55s ease-out .85s both }
.hap-line { display: block; margin-top: 12px; font-size: 15.5px; color: var(--body); animation: fadeUp .5s ease-out 1.05s both }
.matched .hap-acts { animation: fadeUp .5s ease-out 1.15s both }
@media (prefers-reduced-motion: reduce) { .mi, .matched .match, .matched #hapTitle, .matched .setlock, .hap-line, .matched .hap-acts { animation: none } }
.chain-hint { margin: -6px 0 0; color: var(--soft) }

/* ---------- Home, v0.9.76: a note to yourself, not a dashboard ----------
   No boxes. The next plan is told as when, where, who. Everything else is quiet lines under small spaced labels. */
.home-summary { gap: 30px }
.hs { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); background: none; border-radius: 0 }
.hs-l, .home-lists .hs-l { margin: 0 0 4px; font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft) }
.hs-rows { display: grid }
.hs-rows > * + * { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent) }
.hs .hc-row { min-height: 56px }
.hs .g-sub .u-where { color: var(--soft); opacity: .8 }
.hs-groups { gap: 2px }
.hs-groups .group-card { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0 }
.hs-groups .g-row { padding-left: 0; padding-right: 0 }
.hs-groups .g-new { margin-top: 10px }

/* The next plan: when, what, where, who */
.nx { display: grid; gap: 6px; text-decoration: none; color: var(--ink); padding: 4px 0 2px }
.nx-k { font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft) }
.nx-when { font-family: "Archivo", var(--sans); font-stretch: 125%; font-weight: 300; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--body); margin-top: 6px }
.nx-what { font-family: var(--sans); font-weight: 600; font-size: clamp(30px, 8vw, 40px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink) }
.nx-meta { display: grid; gap: 10px; margin-top: 4px }
.nx-where { font-size: 16px; color: var(--body) }
.nx-where.tbd { color: var(--soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px }
.nx-who { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--soft) }
.nx-who .match { padding: 0; justify-content: flex-start; animation: none }
.nx-who .mi { width: 30px; height: 30px; font-size: 11.5px; margin-left: -7px; border-width: 2px; border-color: var(--paper, var(--card)); animation: none }
.nx-who .mi:first-child { margin-left: 0 }
.nx:hover .nx-what { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px }

/* Coming up: an agenda, date on the left */
.ag { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 0; text-decoration: none; color: var(--body) }
.ag-d { width: 40px; flex: none; display: grid; justify-items: center; line-height: 1 }
.ag-d small { font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft) }
.ag-d b { font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 20px; font-weight: 600; color: var(--ink); margin-top: 3px }
.hc-push { justify-self: start }
.skel.tall { height: 120px; margin-bottom: 6px }
.hc-wait { gap: 12px; border-top: 0 }
.home-summary .hs, .home-side .hs { margin: 0 }
.home-summary { gap: 26px }
/* The greeting steps back so the plan can lead */
.home-hi .hi { font-family: var(--sans); text-transform: none; font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--soft); line-height: 1.3 }
.home-hi { margin: 2px 0 14px }
.hs .g-sub .u-where { font-weight: 400 }
.hs-groups .new-badge { background: none; padding: 0; border-radius: 0; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 7px }
.hs-groups .new-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand) }

/* ---------- ILDAN (v0.9.77) ---------- */
/* The name teaches itself once, right above the promise: 일단 · eel-dahn · "let's just go" */
.fd-say { margin: 0 0 -4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft) }
.fd-say .fd-ko { font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", var(--sans); font-stretch: normal; font-size: 15px; letter-spacing: .12em; font-weight: 600; color: var(--brand); text-transform: none }
.fd-say .fd-dot { color: var(--line); letter-spacing: 0 }
.fd-sub b { font-weight: 600; color: var(--brand) }
.wordmark .wm-day { letter-spacing: inherit }
.fd-say { justify-content: center; text-align: center }

/* ---------- Home, v0.9.81: one quiet column ----------
   No greeting. The next plan, what needs you, what's coming, then your groups. Centered, same width on every screen. */
.home-hi { display: none }
.home-lists .home-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 620px; margin: 22px auto 0 }
.home-lists .home-summary, .home-lists .home-side { gap: 34px }
.home-lists .push-card, .home-lists .install, .home-lists .ft { max-width: 620px; margin-left: auto; margin-right: auto }
.g-more > summary { list-style: none; cursor: pointer; padding: 14px 0 4px; font-size: 14.5px; color: var(--soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px }
.g-more > summary::-webkit-details-marker { display: none }
.g-more[open] > summary { display: none }
.nx-what { font-size: clamp(30px, 7vw, 38px) }

/* ---------- Accessibility pass (v0.9.83) ---------- */
/* Logo link: a comfortable tap target without changing how it looks */
.wordmark { display: inline-block; padding: 6px 0; margin-top: -6px; margin-bottom: -6px }
/* Inactive tabs: enough contrast to read (WCAG AA 4.5:1) */
.tabs button { color: var(--body) }
.fd-say .fd-dot { color: var(--soft) }
/* A clear focus ring for keyboard users, everywhere */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px }

/* ---------- "It's a plan": the group's win, felt (v0.9.83) ----------
   Initials meet -> a ring pulses out and a soft glow blooms behind the card -> the date lands like a stamp
   -> "4 schedules · 1 day" -> "You four made it happen." Calm motion, one strong beat. */
.happening .party-card.matched { position: relative; overflow: visible; isolation: isolate }
.happening .party-card.matched::before { content: ""; position: absolute; inset: -30% -20%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--sage) 45%, transparent), transparent 70%); opacity: 0; animation: bloom 1.6s ease-out .72s both; pointer-events: none }
@keyframes bloom { 0% { opacity: 0; transform: scale(.6) } 35% { opacity: 1 } 100% { opacity: .55; transform: scale(1) } }
.matched .match { position: relative }
.matched .match::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  border: 2px solid var(--sage); opacity: 0; animation: ring 1s ease-out .76s both; pointer-events: none }
@keyframes ring { 0% { opacity: .9; transform: scale(.6) } 100% { opacity: 0; transform: scale(3.2) } }
.matched .setlock .sl-day { animation: stamp .5s cubic-bezier(.2, .9, .3, 1.2) .95s both }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.25); letter-spacing: .08em } 100% { opacity: 1; transform: none } }
.hap-proof { display: block; margin-top: 14px; font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); animation: fadeUp .5s ease-out 1.15s both }
.hap-line { margin-top: 6px; font-size: 17px; font-weight: 500; color: var(--ink); animation-delay: 1.3s }
.matched .hap-acts { animation-delay: 1.45s }
@media (prefers-reduced-motion: reduce) { .happening .party-card.matched::before, .matched .match::after, .matched .setlock .sl-day, .hap-proof { animation: none; opacity: 1 } .matched .match::after { display: none } }
/* The last beat of "It's a plan": the name's own words, small. 일단 가자, let's go. */
.hap-ko { display: block; margin-top: 10px; font-family: "Archivo", var(--sans); font-stretch: 125%; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); animation: fadeUp .5s ease-out 1.5s both }
.hap-ko [lang="ko"] { font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", var(--sans); font-stretch: normal; font-size: 14px; letter-spacing: .14em; color: var(--brand); text-transform: none }
.matched .hap-acts { animation-delay: 1.6s }
@media (prefers-reduced-motion: reduce) { .hap-ko { animation: none } }
/* Initials read as faces, not a word: each its own soft tone, stacked with a ring between them */
.mi { margin-left: -13px; border-width: 3px; box-shadow: 0 1px 2px rgba(20, 26, 22, .12) }
.mi:first-child { margin-left: 0 }
.nx-who .mi { margin-left: -9px; border-width: 2px }
.nx-who .mi:first-child { margin-left: 0 }
/* A loose huddle, not a line of letters: every other face sits a little lower */
.hap-match .match { align-items: flex-start; padding-bottom: 10px }
.hap-match .mi { font-size: 14px }
.hap-match .mi:nth-child(even) { margin-top: 12px }
/* The name's meaning, set like a dictionary entry (word · how to say it · what it means), in sentence case and
   spaced well apart from the headline, so it reads as a definition of ILDAN, not of the tagline. */
.fd-def { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-stretch: normal; font-size: 14px; font-weight: 400; gap: 10px; margin-bottom: 14px; color: var(--soft) }
.fd-def .fd-ipa { font-style: normal; letter-spacing: .04em }
.fd-def .fd-ipa::before { content: "/"; opacity: .6 } .fd-def .fd-ipa::after { content: "/"; opacity: .6 }
.fd-def .fd-mean { color: var(--body) }
.fd-def .fd-mean::before { content: "—"; margin-right: 10px; color: var(--soft) }

/* ---------- v0.9.90: simpler, warmer ---------- */
/* Early access stays visible everywhere, the front door included */
#v-start:has(.story.fd) > .top .ea-badge { display: inline-flex }
/* Front door: 일단 /eel-dahn/ sits right on top of "Let's get going." so it reads as the meaning */
.fd-def { margin-bottom: -6px }
/* ⋯ menu: who added it, as a quiet note at the top */
.more-menu .menu-note { font-size: 13px; font-weight: 400; color: var(--soft); padding: 8px 12px 6px; cursor: default }
.more-menu .menu-note:hover { background: transparent }

/* Home: the next plan as one calm card you want to open */
.home-summary .nx { background: var(--card); border-radius: 28px; padding: 26px 24px 24px; gap: 8px;
  box-shadow: 0 1px 1px rgba(20, 26, 22, .04), 0 18px 40px -18px rgba(20, 26, 22, .22); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent) }
.home-summary .nx-k { color: var(--brand) }
.home-summary .nx-when { margin-top: 2px }
.home-summary .nx:hover .nx-what { text-decoration: none }
.home-summary .nx:active { transform: scale(.99) }
/* Your turn: the one action reads as a real button */
.hs .hc-row .g-pill { background: var(--brand); color: var(--card); font-weight: 600 }
.av-compact .av-wait { display: none }
