@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fbf5ef;
  --blush: #f2c9c4;
  --paper: #fffaf6;
  --ink: #2a2321;
  --ink-2: #5d4f4a;
  --muted: #8b7a73;
  --line: #ecdcd3;
  --terra: #b5533a;
  --terra-d: #9a4430;
  --terra-soft: #f6e1d8;
  --sage: #6f8a74;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(90, 45, 30, .05), 0 18px 40px -18px rgba(120, 60, 40, .28);
  --shadow-lg: 0 2px 4px rgba(60, 30, 20, .06), 0 40px 80px -30px rgba(90, 40, 25, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 640px at 82% 12%, rgba(242, 201, 196, .6), transparent 70%),
    radial-gradient(700px 520px at 8% 96%, rgba(246, 222, 208, .8), transparent 70%),
    linear-gradient(180deg, #fcf7f2, #f9efe8);
}

/* Top bar */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px) 0;
  max-width: 1360px; width: 100%; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; color: var(--terra); }
.brand-name {
  font-family: var(--serif); font-size: 21px; letter-spacing: .18em; text-transform: uppercase;
  font-variation-settings: "opsz" 24; font-weight: 420; line-height: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.brand-name small {
  font-family: var(--sans); font-size: 10px; letter-spacing: .32em; color: var(--muted); font-weight: 600;
}
.pill {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2);
  border: 1px solid var(--line); background: rgba(255, 250, 246, .7);
  padding: 7px 14px; border-radius: 999px;
}

/* Stage */
.stage {
  position: relative; flex: 1;
  width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 72px) 16px;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 340px minmax(330px, 370px);
  grid-template-rows: auto 1fr;
  grid-template-areas: "head phone cards" "body phone cards";
  column-gap: clamp(32px, 3.8vw, 60px);
  align-items: center;
}
.intro-head { grid-area: head; align-self: end; }
.intro-body { grid-area: body; align-self: start; }
.phone-wrap { grid-area: phone; }
.cards { grid-area: cards; }

.eyebrow {
  margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra);
}
h1 {
  margin: 0; font-family: var(--serif); font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(36px, 3.25vw, 50px); line-height: 1.08; letter-spacing: -.02em;
}
h1 span { display: inline-block; white-space: nowrap; }
h1 .l2 { color: var(--ink-2); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0; }
.rule { display: block; width: 64px; height: 2px; background: var(--terra); margin: 28px 0 0; border-radius: 2px; }
.lede { margin: 26px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 30em; }

.guide {
  margin: 30px 0 0; display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; line-height: 1.5; color: var(--ink); font-weight: 500; min-height: 48px;
  max-width: 28em;
}
.guide-dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); margin-top: 7px;
  box-shadow: 0 0 0 0 rgba(181, 83, 58, .45); animation: pulse 2.4s infinite;
}
#guide-text { transition: opacity .35s var(--ease); }
#guide-text.swap { opacity: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(181, 83, 58, .4); } 70% { box-shadow: 0 0 0 10px rgba(181, 83, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(181, 83, 58, 0); } }

.controls { margin-top: 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #e2cfc5; background: rgba(255, 250, 246, .8); border-radius: 999px;
  padding: 11px 20px 11px 16px; font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.btn-ghost svg { width: 18px; height: 18px; color: var(--terra); }
.btn-ghost:hover { background: #fff; border-color: #d6bdb1; }
.btn-ghost:active { transform: scale(.97); }
.btn-link {
  background: none; border: 0; padding: 4px 0; font-size: 15px; font-weight: 600; color: var(--terra-d);
  text-decoration: underline; text-decoration-color: rgba(181, 83, 58, .35); text-underline-offset: 5px;
}
.btn-link:hover { text-decoration-color: currentColor; }
.btn-link[aria-pressed="true"] { color: var(--ink-2); }

/* Phone */
.phone-wrap { position: relative; display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.halo {
  position: absolute; width: 560px; height: 560px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 250, 246, .9) 0%, rgba(255, 250, 246, 0) 62%);
}
.halo::before, .halo::after {
  content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(181, 83, 58, .12);
}
.halo::after { inset: -30px; border-color: rgba(181, 83, 58, .07); }
.ripple {
  position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px;
  border-radius: 50%; border: 2px solid rgba(181, 83, 58, .35); opacity: 0; transform: scale(.4); pointer-events: none;
}
.ripple.go { animation: ripple 1.3s var(--ease); }
@keyframes ripple { 0% { opacity: .9; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.9); } }

.phone {
  position: relative; width: 336px; height: 694px; border-radius: 54px; padding: 11px;
  background: linear-gradient(150deg, #3a312e, #1f1a18 60%, #2c2522);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -3px; top: 168px; width: 3px; height: 72px; border-radius: 0 3px 3px 0; background: #2a2321;
}
.phone::after {
  content: ""; position: absolute; left: -3px; top: 140px; width: 3px; height: 44px; border-radius: 3px 0 0 3px; background: #2a2321;
  box-shadow: 0 60px 0 #2a2321;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background: linear-gradient(180deg, #fffaf6, #fbf2ec);
  display: flex; flex-direction: column;
}
.status {
  height: 46px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 4px 28px 0 30px; font-size: 13.5px; font-weight: 650; position: relative; z-index: 3;
  transition: color .4s;
}
.cam { position: absolute; left: 50%; top: 13px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #1d1816; }
.sig { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sig i { display: block; width: 3px; background: currentColor; border-radius: 1px; }
.sig i:nth-child(1) { height: 5px; } .sig i:nth-child(2) { height: 8px; } .sig i:nth-child(3) { height: 11px; }
.sig b { display: block; width: 20px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; margin-left: 5px; position: relative; opacity: .9; }
.sig b::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }

.screen { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 4px 22px 18px; }
.scr.enter { animation: scrIn .55s var(--ease) both; }
.scr.enter-back { animation: scrBack .55s var(--ease) both; }
.scr.leave { animation: scrOut .3s ease both; pointer-events: none; }
@keyframes scrIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes scrBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes scrOut { to { opacity: 0; transform: translateX(-16px); } }

.app-bar { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 46px; flex: none; }
.back {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center;
  color: var(--ink-2);
}
.back:hover { background: var(--terra-soft); }
.back svg { width: 20px; height: 20px; }
.app-logo { text-align: center; font-family: var(--serif); letter-spacing: .26em; font-size: 15px; text-transform: uppercase; font-weight: 450; font-variation-settings: "opsz" 24; }
.app-logo small { display: block; font-family: var(--sans); font-size: 8px; letter-spacing: .34em; color: var(--muted); margin-top: 3px; font-weight: 600; }

.q { font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 48; font-size: 25px; line-height: 1.15; margin: 14px 0 4px; letter-spacing: -.01em; }
.q-sub { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }

.list { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: #fff; border: 1.5px solid transparent; border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(90, 45, 30, .06), 0 6px 16px -10px rgba(90, 45, 30, .25);
  transition: border-color .2s, transform .2s var(--ease), background .2s;
}
.opt:hover { border-color: #ead3c8; }
.opt:active { transform: translateY(2px); }
.opt[aria-pressed="true"] { border-color: var(--terra); background: #fff8f4; }
.opt-main { flex: 1; min-width: 0; }
.opt-name { display: block; font-weight: 650; font-size: 15.5px; }
.opt-note { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.opt-side { text-align: right; font-size: 12.5px; color: var(--muted); }
.opt-side strong { display: block; font-size: 15.5px; color: var(--ink); font-weight: 650; }
.avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 19px; color: #fff; font-variation-settings: "opsz" 24;
}

.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 16px; }
.day {
  border: 1.5px solid transparent; background: #fff; border-radius: 16px; padding: 10px 0 9px; text-align: center;
  box-shadow: 0 1px 2px rgba(90, 45, 30, .06), 0 6px 14px -10px rgba(90, 45, 30, .25);
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.day small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.day strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 450; margin-top: 2px; font-variation-settings: "opsz" 24; }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; }
.day[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time {
  border: 1.5px solid #ecdcd3; background: #fff; border-radius: 12px; padding: 10px 0; font-size: 14px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.time:hover:not(:disabled) { border-color: var(--terra); }
.time:disabled { background: transparent; border-color: transparent; color: #c9b9b1; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); cursor: default; }
.time[aria-pressed="true"] { background: var(--terra); border-color: var(--terra); color: #fff; }
.hint { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

.summary {
  margin: 6px 0 0; background: #fff; border-radius: 26px; padding: 26px 22px 20px; text-align: center;
  box-shadow: 0 1px 2px rgba(90, 45, 30, .06), 0 14px 30px -16px rgba(90, 45, 30, .3);
}
.summary .s-day { font-family: var(--serif); font-size: 26px; font-variation-settings: "opsz" 48; }
.summary .s-time { font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--terra); font-weight: 380; font-variation-settings: "opsz" 144; margin: 6px 0 4px; letter-spacing: -.02em; }
.summary .s-with { font-family: var(--serif); font-size: 22px; font-variation-settings: "opsz" 48; }
.summary .s-meta { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.summary .s-face { width: 38px; height: 38px; margin: 0 auto 8px; color: var(--terra); }
.summary .s-face svg path { stroke-width: 1.8; }
.spacer { flex: 1; }
.cta {
  width: 100%; border: 0; border-radius: 18px; padding: 17px 12px; background: var(--terra); color: #fff;
  font-size: 16px; font-weight: 650; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(181, 83, 58, .8);
  transition: background .2s, transform .2s var(--ease);
}
.cta:hover { background: var(--terra-d); }
.cta:active { transform: translateY(2px); box-shadow: 0 4px 10px -8px rgba(181, 83, 58, .8); }
.cta svg { width: 20px; height: 20px; }
.cta.loading { pointer-events: none; }
.cta.loading span { opacity: 0; }
.cta .spin { display: none; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; position: absolute; }
.cta.loading .spin { display: block; }
.cta { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-2 { margin-top: 10px; width: 100%; border: 0; background: transparent; color: var(--terra-d); font-weight: 650; font-size: 14.5px; padding: 10px; border-radius: 14px; }
.cta-2:hover { background: var(--terra-soft); }
.small-print { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; }

.dots { display: flex; justify-content: center; gap: 7px; padding-top: 14px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #e3d0c6; transition: background .3s, width .3s var(--ease); }
.dots i.on { background: var(--terra); width: 18px; border-radius: 4px; }

/* Done screen */
.done { text-align: center; padding-top: 6px; }
.tick { width: 72px; height: 72px; margin: 4px auto 12px; }
.tick circle { fill: var(--terra-soft); }
.tick path { fill: none; stroke: var(--terra); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; font-variation-settings: "opsz" 72; letter-spacing: -.01em; }
.done p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 10px 4px 0; }
.done .summary { margin-top: 20px; padding: 18px; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; }
.mini-date { grid-row: span 2; width: 58px; height: 62px; border-radius: 14px; background: var(--terra-soft); color: var(--terra-d); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mini-date small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mini-date strong { font-family: var(--serif); font-size: 25px; font-weight: 450; line-height: 1; margin-top: 2px; }
.done .summary b { font-size: 16px; }
.done .summary span { font-size: 13px; color: var(--muted); }

/* Lock screen reminder */
.scr.lock { padding: 0 14px 18px; color: #fff; }
.lock-bg { position: absolute; inset: -46px 0 0; background: radial-gradient(120% 80% at 30% 10%, #c98a70 0%, #8e4a36 45%, #3c2620 100%); }
.lock-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 80% 70%, rgba(255, 210, 180, .35), transparent 70%); }
.lock-inner { position: relative; display: flex; flex-direction: column; height: 100%; }
.lock-date { text-align: center; margin-top: 20px; font-size: 15px; font-weight: 600; opacity: .9; }
.lock-time { text-align: center; font-family: var(--serif); font-size: 84px; line-height: 1; font-weight: 340; font-variation-settings: "opsz" 144; letter-spacing: -.03em; margin-top: 4px; }
.notif {
  margin-top: 34px; background: rgba(255, 250, 246, .92); color: var(--ink); border-radius: 24px; padding: 14px 15px 15px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  animation: drop .7s .35s var(--spring) both;
}
@keyframes drop { from { opacity: 0; transform: translateY(-40px) scale(.96); } to { opacity: 1; transform: none; } }
.notif-head { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.notif-head b { color: var(--ink); font-size: 13px; }
.notif-head .when { margin-left: auto; }
.app-ico { width: 24px; height: 24px; border-radius: 7px; background: var(--terra); display: grid; place-items: center; color: #fff; }
.app-ico svg { width: 17px; height: 17px; }
.notif p { margin: 10px 2px 14px; font-size: 14.5px; line-height: 1.45; }
.notif-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.notif-actions button { border: 0; border-radius: 14px; padding: 13px 8px; font-weight: 650; font-size: 14.5px; }
.n-yes { background: var(--terra); color: #fff; }
.n-yes:hover { background: var(--terra-d); }
.n-change { background: #f1e3dc; color: var(--ink); }
.n-change:hover { background: #ead6cd; }
.lock-foot { margin-top: auto; text-align: center; font-size: 12px; opacity: .75; }
.phone-screen.dark .status { color: #fff; }

.slot-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.slot-opt { justify-content: space-between; }
.slot-opt .opt-name { font-size: 16px; }
.slot-opt .go { width: 30px; height: 30px; border-radius: 50%; background: var(--terra-soft); color: var(--terra-d); display: grid; place-items: center; }
.slot-opt .go svg { width: 16px; height: 16px; }

/* Cards */
.cards { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 2; }
.card {
  position: relative; display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper); border-radius: 22px; padding: 16px 20px 16px 18px;
  box-shadow: var(--shadow); border: 1px solid rgba(236, 220, 211, .9);
  transition: opacity .6s var(--ease), transform .7s var(--spring), box-shadow .6s, border-color .6s, background .6s;
  max-width: 360px;
}
.card-mid { margin-left: 44px; }
.card-diary { max-width: 380px; }
.card[data-state="waiting"] { opacity: .78; background: rgba(255, 250, 246, .45); box-shadow: none; border: 1.5px dashed #e3cfc4; transform: translateY(6px); }
.card[data-state="live"] { opacity: 1; transform: none; }
.card.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(181, 83, 58, .35), var(--shadow); } 100% { box-shadow: 0 0 0 16px rgba(181, 83, 58, 0), var(--shadow); } }
.card-icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--terra-soft); color: var(--terra-d); transition: background .5s, color .5s;
}
.card-icon svg { width: 21px; height: 21px; }
.card[data-state="live"] .card-icon { background: var(--terra); color: #fff; }
.card[data-state="waiting"] .card-icon { background: transparent; border: 1.5px dashed #dcc2b6; color: #c29b8b; }
.card-body { flex: 1; min-width: 0; }
.card-title { margin: 8px 0 0; font-family: var(--serif); font-weight: 420; font-size: 20px; line-height: 1.2; font-variation-settings: "opsz" 36; }
.card-title .t-live { display: none; }
.card[data-state="live"] .t-live { display: inline; }
.card[data-state="live"] .t-wait { display: none; }
.card-title em { font-style: normal; color: var(--terra); }
.card-wait { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.card[data-state="live"] .card-wait { display: none; }
.card-live, .diary { display: none; }
.card[data-state="live"] .card-live, .card[data-state="live"] .diary { display: block; animation: fadeUp .6s .1s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.meta { margin: 3px 0 8px; font-size: 12.5px; color: var(--muted); }
.meta b { color: var(--sage); font-weight: 650; }
.bubble {
  background: #f4e7e0; border-radius: 16px 16px 16px 5px; padding: 11px 13px; font-size: 13.5px; line-height: 1.45; color: var(--ink);
}
.bubble-actions { display: flex; gap: 6px; margin-top: 8px; }
.bubble-actions span { font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: background .4s, color .4s, border-color .4s; }
.bubble-actions span.chosen { background: var(--terra); border-color: var(--terra); color: #fff; }

.diary-head { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 10px; font-size: 12.5px; color: var(--muted); }
.diary-head b { color: var(--ink); font-weight: 650; }
.rows { position: relative; display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 8px;
  font-size: 13px; padding: 0 10px 0 0; border-top: 1px solid #f0e3dc; height: 31px; overflow: hidden;
  transition: height .6s var(--ease), opacity .5s, background .5s, padding .5s;
}
.row:first-child { border-top: 0; }
.row .r-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; padding-left: 2px; }
.row .r-who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .r-who small { color: var(--muted); margin-left: 6px; }
.row.lunch .r-who { color: var(--muted); font-style: italic; }
.row.new { background: var(--terra-soft); border-radius: 10px; border-top-color: transparent; }
.row.new + .row { border-top-color: transparent; }
.row.new .r-time { color: var(--terra-d); font-weight: 700; padding-left: 8px; }
.row.new .r-who { font-weight: 650; }
.row.freed { background: repeating-linear-gradient(135deg, rgba(111, 138, 116, .08) 0 6px, transparent 6px 12px); border-radius: 10px; }
.row.freed .r-who { color: var(--sage); font-weight: 600; }
.row.freed .r-time { padding-left: 8px; color: var(--sage); }
.row.enter { animation: rowIn .8s var(--spring) both; }
@keyframes rowIn { 0% { height: 0; opacity: 0; transform: translateY(-14px); } 60% { opacity: 1; } 100% { height: 31px; opacity: 1; transform: none; } }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--terra); color: #fff; }
.tag.ok { background: var(--sage); }
.tag.moved { background: var(--ink); }

/* Connector lines */
.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.links path { fill: none; stroke: rgba(181, 83, 58, .35); stroke-width: 1.4; stroke-dasharray: 3 6; stroke-linecap: round; opacity: 0; transition: opacity .6s; }
.links path.on { opacity: 1; animation: march 1.2s linear infinite; }
.links circle { fill: var(--terra); opacity: 0; transition: opacity .6s; }
.links circle.on { opacity: 1; }
@keyframes march { to { stroke-dashoffset: -18; } }

/* Autoplay finger */
.finger {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(42, 35, 33, .18); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 18px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none; z-index: 10;
  transition: transform .7s var(--ease), opacity .3s;
}
.finger.show { opacity: 1; }
.finger.tap { animation: tap .35s ease; }
@keyframes tap { 50% { background: rgba(181, 83, 58, .45); box-shadow: 0 0 0 10px rgba(181, 83, 58, .12); } }

/* Done checklist */
.checks { list-style: none; margin: 16px 4px 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); animation: fadeUp .5s var(--ease) both; }
.checks li:nth-child(1) { animation-delay: .45s; } .checks li:nth-child(2) { animation-delay: 1.25s; } .checks li:nth-child(3) { animation-delay: 2.05s; } .checks li:nth-child(4) { animation-delay: 2.6s; }
.checks svg { flex: none; width: 20px; height: 20px; }
.checks circle { fill: var(--terra-soft); }
.checks path { fill: none; stroke: var(--terra); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .45s var(--ease) forwards; }
.checks li:nth-child(1) path { animation-delay: .6s; } .checks li:nth-child(2) path { animation-delay: 1.4s; } .checks li:nth-child(3) path { animation-delay: 2.2s; } .checks li:nth-child(4) path { animation-delay: 2.75s; }

.counter { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.counter strong { font-family: var(--serif); font-size: 22px; font-weight: 420; color: var(--ink); font-variation-settings: "opsz" 36; display: inline-block; }
.counter strong.bump { animation: bump .6s var(--spring); color: var(--terra-d); }
@keyframes bump { 0% { transform: translateY(8px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* View transition: the Book it button becomes the confirmation */
.cta#book { view-transition-name: booking; }
.done .summary { view-transition-name: booking; }
::view-transition-group(booking) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .045; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.foot { text-align: center; padding: 10px 20px 24px; font-size: 12.5px; color: var(--muted); }
.foot p { margin: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Static renders */
.no-anim *, .no-anim *::before, .no-anim *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }

/* Medium screens */
@media (max-width: 1180px) {
  .stage {
    grid-template-columns: 1fr 350px;
    grid-template-areas: "head phone" "body phone" "cards cards";
    row-gap: 32px;
  }
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .card, .card-diary { max-width: none; }
  .card-mid { margin-left: 0; }
  .links { display: none; }
}

/* Phones */
@media (max-width: 760px) {
  .top { padding-top: 18px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 17px; }
  .stage {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "phone" "body" "cards";
    row-gap: 0; padding-top: 22px;
  }
  .eyebrow { font-size: 11.5px; margin-bottom: 12px; }
  h1 { font-size: 35px; }
  .rule { margin-top: 18px; width: 48px; }
  .phone-wrap { margin-top: 18px; }
  .halo { width: 420px; height: 420px; }
  .lede { font-size: 16px; margin-top: 14px; }
  .guide { margin-top: 20px; }
  .cards { display: flex; margin-top: 32px; gap: 16px; }
  .card { padding: 18px; }
}
@media (max-width: 420px) {
  .top { padding-top: 14px; }
  .stage { padding-top: 16px; }
  .eyebrow { margin-bottom: 8px; }
  h1 { font-size: 33px; }
  .phone-wrap { margin-top: 6px; }
  .phone { width: 300px; height: 606px; border-radius: 48px; padding: 9px; }
  .status { height: 40px; }
  .app-bar { height: 38px; }
  .opt-name { font-size: 15px; }
  .q-sub { margin-bottom: 12px; }
  .list { gap: 8px; }
  .phone-screen { border-radius: 41px; }
  .scr { padding: 2px 18px 14px; }
  .q { font-size: 23px; margin-top: 8px; }
  .opt { padding: 12px 14px; }
  .summary .s-time { font-size: 52px; }
  .cta { font-size: 15.5px; padding: 16px 12px; }
  .cta svg { display: none; }
  .lock-time { font-size: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .finger { display: none; }
}

/* The counter is made-up sample data, and says so */
.sample-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; border: 1px solid currentColor; font-size: .68em; font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .75; vertical-align: .1em; }
