/* Different Day — coming-soon site.
   Same material as the app (src/ui.ts): warm paper, matte ink, one card at a time.
   No gradients, no purple, no tracking scripts. */

@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("fonts/host-grotesk-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("fonts/host-grotesk-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F8F4ED;
  --paper-raised: #FCF9F4;
  --paper-sunk: #F1EBE1;
  --ink: #191917;
  --ink-raised: #292925;
  --ink-line: #41413B;
  --text-2: #57564F;
  --muted: #706F69;
  --line: #E9E2D8;
  --line-strong: #D4D1C8;
  --green: #374C3D;

  --sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --press: 140ms;
  --radius-card: 24px;
  --radius-chip: 13px;
  --gutter: 24px;
  --max: 1200px;

  --shadow-card: 0 9px 22px rgb(25 25 23 / 0.045);
  --shadow-raised: 0 18px 40px -12px rgb(25 25 23 / 0.14), 0 4px 10px rgb(25 25 23 / 0.04);
  --shadow-phone: 0 50px 80px -30px rgb(25 25 23 / 0.32), 0 14px 28px -10px rgb(25 25 23 / 0.16);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 420;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--ink);
  overflow-x: clip;
}
::selection { background: var(--ink); color: var(--paper); }
img, svg { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: var(--line-strong) var(--paper); scrollbar-width: thin; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: fixed; left: var(--gutter); top: 12px; z-index: 50;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 600; transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}
.skip:focus-visible { transform: none; outline-color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 40px; } }

/* ---------- Header: the app's 34pt mark, left aligned ---------- */
.top { position: relative; z-index: 3; padding-top: env(safe-area-inset-top); }
.top-row { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; border-radius: 10px; }
.mark { width: 34px; height: 34px; fill: var(--ink); }
.brand-name { font-weight: 640; font-size: 1.125rem; letter-spacing: -0.02em; padding-left: 12px; border-left: 1px solid var(--line-strong); line-height: 1.1; }
.lang { display: inline-flex; border-radius: 999px; background: var(--paper-sunk); }
.lang-btn {
  min-width: 48px; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; color: var(--text-2); cursor: pointer;
  transition: background-color var(--press) var(--ease-out), color var(--press) var(--ease-out), transform var(--press) var(--ease-out);
}
.lang-btn[aria-pressed="true"] { background: var(--paper-raised); color: var(--ink); box-shadow: inset 0 0 0 3px var(--paper-sunk), 0 1px 2px rgb(25 25 23 / 0.06); }
.lang-btn:active { transform: scale(0.96); }
@media (hover: hover) { .lang-btn[aria-pressed="false"]:hover { color: var(--ink); } }

/* ---------- Background threads (the path motif from the brand art) ---------- */
.threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.threads path { fill: none; stroke: var(--line-strong); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.threads circle { fill: #8C8A83; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; margin-top: -76px; padding-top: 76px; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 56px;
  min-height: calc(min(100svh, 980px) - 76px); padding-block: 32px 56px;
}
.hero-copy { max-width: 600px; }
h1 {
  font-size: clamp(2.75rem, 1.35rem + 4.4vw, 5.25rem);
  line-height: 0.98; letter-spacing: -0.038em; font-weight: 650;
  text-wrap: balance;
}
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cta-note { font-size: 0.9375rem; color: var(--muted); max-width: 18em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform var(--press) var(--ease-out), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 22px -12px rgb(25 25 23 / 0.6); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--ink-raised); box-shadow: 0 14px 26px -12px rgb(25 25 23 / 0.6); }
}

.stores { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-grid; align-content: center; min-height: 56px; padding: 8px 20px 9px;
  border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper-raised);
}
.store-soon { font-size: 0.75rem; line-height: 1.2; color: var(--muted); font-weight: 500; letter-spacing: 0.01em; }
.store-name { font-size: 1.125rem; line-height: 1.2; font-weight: 640; letter-spacing: -0.02em; }
.facts { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }

.hero-device { display: flex; justify-content: center; }

/* ---------- Phone: live app preview ---------- */
.phone {
  position: relative; width: min(340px, 100%); aspect-ratio: 340 / 704;
  padding: 11px; border-radius: 56px; background: var(--ink);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px #3b3b36;
}
.island { position: absolute; z-index: 4; top: 22px; left: 50%; width: 31%; height: 30px; transform: translateX(-50%); border-radius: 999px; background: #0d0d0c; }
.screen { position: relative; height: 100%; border-radius: 45px; overflow: hidden; background: var(--paper); container-type: inline-size; transition: background-color 260ms var(--ease-out); }
.screen[data-view="focus"] { background: var(--ink); }
.screen-in { position: absolute; inset: 0; font-size: clamp(9.5px, 4.25cqw, 14.5px); display: flex; flex-direction: column; }
.status { flex: none; height: 4.1em; padding: 1.25em 2.2em 0 2.6em; display: flex; justify-content: space-between; font-weight: 640; font-size: 0.95em; letter-spacing: -0.01em; transition: color 260ms var(--ease-out); }
.status-icons { display: inline-flex; gap: 0.5em; align-items: center; }
.status-icons svg { height: 0.85em; width: auto; fill: currentColor; }
.screen[data-view="focus"] .status { color: var(--paper); }

.view {
  position: absolute; inset: 4.1em 0 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: scale(0.985); filter: blur(2px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), filter 240ms var(--ease-out), visibility 0s linear 240ms;
}
.screen[data-view="today"] .view-today,
.screen[data-view="focus"] .view-focus,
.screen[data-view="reflect"] .view-reflect { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }

.app-bar { height: 3.6em; padding-inline: 1.7em; display: flex; align-items: center; }
.app-mark { width: 2.35em; height: 2.35em; fill: var(--ink); }
.greet { padding: 0.9em 1.7em 0; }
.greet-title { font-size: 1.95em; font-weight: 660; letter-spacing: -0.035em; line-height: 1.05; }
.greet-sub { margin-top: 0.4em; color: var(--muted); font-size: 1em; line-height: 1.35; }

.pick {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  margin: 1.2em 1.15em 0; padding: 1.35em 1.3em 1.3em; border-radius: 1.75em;
  background: var(--paper-raised); box-shadow: 0 0.7em 1.6em rgb(25 25 23 / 0.06), 0 0 0 1px rgb(25 25 23 / 0.03);
}
.pick-label { font-size: 0.72em; font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.pick-text {
  margin-top: 0.55em; min-height: calc(1.3em * 4); font-family: var(--serif); font-size: 1.42em; line-height: 1.3; letter-spacing: -0.012em;
  transition: opacity 180ms var(--ease-out), filter 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.pick.is-swapping .pick-text, .pick.is-swapping .pick-meta { opacity: 0; filter: blur(3px); transform: translateY(0.25em); }
.pick-meta { margin-top: 0.95em; display: flex; flex-wrap: wrap; gap: 0.4em; transition: opacity 180ms var(--ease-out), filter 180ms var(--ease-out), transform 180ms var(--ease-out); }
.pick-meta li { display: inline-flex; align-items: center; gap: 0.35em; min-height: 2.2em; padding: 0.3em 0.75em; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8em; font-weight: 520; color: var(--text-2); }
.pick-context { margin-top: 1.1em; padding-top: 0.95em; border-top: 1px solid var(--line); display: grid; gap: 0.7em; transition: opacity 180ms var(--ease-out), filter 180ms var(--ease-out); }
.pick.is-swapping .pick-context { opacity: 0; filter: blur(3px); }
.ctx-row { display: grid; gap: 0.15em; }
.ctx-k { font-size: 0.72em; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ctx-v { font-size: 0.95em; line-height: 1.3; color: var(--text-2); }
.pick-actions { margin-top: auto; padding-top: 1.1em; display: flex; gap: 0.55em; }

.hold {
  position: relative; flex: 1; height: 3.6em; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 620; font-size: 1em; letter-spacing: -0.01em; cursor: pointer; overflow: hidden;
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: transform var(--press) var(--ease-out);
}
.hold:active, .hold.is-holding { transform: scale(0.97); }
.hold-fill {
  position: absolute; inset: 0; display: grid; place-items: center; background: var(--green); color: var(--paper);
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path 200ms var(--ease-out);
}
.hold.is-holding .hold-fill { clip-path: inset(0 0 0 0 round 999px); transition: clip-path 1500ms linear; }
.shuffle {
  flex: none; width: 3.6em; height: 3.6em; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  transition: transform var(--press) var(--ease-out), background-color var(--press) var(--ease-out);
}
.shuffle .ico { width: 1.3em; height: 1.3em; }
.shuffle:active { transform: scale(0.94); }
@media (hover: hover) { .shuffle:hover { background: var(--paper-sunk); } }

.toast {
  position: absolute; left: 50%; bottom: calc(100% + 0.6em); white-space: nowrap; translate: -50% 0; padding: 0.55em 1em; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 0.9em; font-weight: 560;
  opacity: 0; transform: translateY(0.4em); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.toast.is-on { opacity: 1; transform: none; }
.week { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.7em; font-size: 0.8em; color: var(--muted); padding: 0.85em 1.2em 0.75em; }
.week-dots { display: inline-flex; gap: 0.32em; }
.week-dots i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--line-strong); transition: background-color 200ms var(--ease-out); }
.week-dots i.on { background: var(--ink); }
.week [data-week] { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 620; }
.tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.55em 0.8em 1.6em; border-top: 1px solid var(--line); background: var(--paper); }
.tab { display: grid; justify-items: center; gap: 0.25em; padding: 0.45em 0; border-radius: 1em; font-size: 0.72em; color: var(--muted); font-weight: 520; }
.tab .ico { width: 1.75em; height: 1.75em; }
.tab.is-on { color: var(--ink); font-weight: 650; }

.view-focus { color: var(--paper); padding: 0.6em 1.4em 1.7em; }
.exit {
  align-self: flex-end; display: inline-flex; align-items: center; gap: 0.4em; min-height: 3.1em; padding: 0 0.95em 0 0.75em;
  border: 1px solid var(--ink-line); border-radius: 999px; background: transparent; color: var(--paper); font-size: 0.9em; font-weight: 560; cursor: pointer;
  transition: transform var(--press) var(--ease-out);
}
.exit:active { transform: scale(0.96); }
.focus-body { margin-block: auto; padding-inline: 0.3em; }
.focus-note { font-size: 0.85em; color: #B5B2AA; letter-spacing: 0.01em; }
.focus-text { margin-top: 0.7em; font-family: var(--serif); font-size: 1.7em; line-height: 1.3; letter-spacing: -0.015em; }
.done {
  height: 3.6em; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 640; cursor: pointer;
  transition: transform var(--press) var(--ease-out);
}
.done:active { transform: scale(0.97); }

.view-reflect { padding: 0.8em 1.4em 1.7em; }
.reflect-body { flex: 1; padding-top: 1.2em; }
.reflect-title { font-size: 1.85em; font-weight: 660; letter-spacing: -0.035em; line-height: 1.05; }
.reflect-sub { margin-top: 0.45em; color: var(--muted); }
.moods { margin-top: 1.4em; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.mood {
  min-height: 3.3em; padding: 0.4em 0.6em; border-radius: 1.1em; border: 1px solid var(--line); background: var(--paper-raised);
  font-size: 0.95em; font-weight: 560; cursor: pointer; line-height: 1.15;
  transition: transform var(--press) var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.mood-wide { grid-column: 1 / -1; }
.mood:active { transform: scale(0.97); }
.mood[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.reflect-dock { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.55em; }
.skip-btn, .save-btn { height: 3.6em; border-radius: 999px; font-weight: 620; cursor: pointer; transition: transform var(--press) var(--ease-out); }
.skip-btn { border: 1px solid var(--line-strong); background: transparent; }
.save-btn { border: 0; background: var(--ink); color: var(--paper); }
.skip-btn:active, .save-btn:active { transform: scale(0.97); }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(88px, 12vw, 160px); }
.sec + .sec { border-top: 1px solid var(--line); }
h2 { font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.6rem); line-height: 1.02; letter-spacing: -0.034em; font-weight: 640; text-wrap: balance; }
.body { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--text-2); text-wrap: pretty; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.split-flip .split-copy { order: 2; }
.split-copy { max-width: 560px; }

.steps { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps strong { font-weight: 640; letter-spacing: -0.015em; }
.steps span { color: var(--text-2); }

/* Path tree: geometry drawn once when it enters the viewport */
.tree { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; margin-inline: auto; container-type: inline-size; }
.tree > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tree path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.t-done { stroke: var(--ink); stroke-width: 2; }
.t-next { stroke: #A8A59D; stroke-width: 1.4; stroke-dasharray: 0.012 0.018; }
.t-ghost { stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 3 5; }
.n-ghost { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 3 4; }
.n-done circle { fill: var(--ink); }
.n-done path { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.n-now circle:first-child { fill: var(--paper-raised); stroke: var(--ink); stroke-width: 2; }
.n-now circle:last-child { fill: var(--ink); }
.n-next { fill: var(--paper); stroke: #A8A59D; stroke-width: 1.4; }
.leaf {
  position: absolute; left: calc(var(--x) / 400 * 100%); top: calc(var(--y) / 500 * 100%);
  transform: translate(clamp(14px, 5cqw, 22px), -50%);
  display: inline-flex; align-items: center; gap: 0.45em; white-space: nowrap;
  padding: 0.5em 0.9em 0.5em 0.75em; border-radius: 999px; background: var(--paper-raised);
  box-shadow: var(--shadow-card), 0 0 0 1px rgb(25 25 23 / 0.04);
  font-size: clamp(11px, 3.5cqw, 15px); font-weight: 560; letter-spacing: -0.01em;
}
.leaf-left { transform: translate(calc(-100% - clamp(12px, 4cqw, 20px)), -50%); }
.leaf-now { background: var(--paper-raised); box-shadow: var(--shadow-raised), 0 0 0 1.5px var(--ink); font-weight: 640; }
.leaf-next { color: var(--muted); background: var(--paper); box-shadow: 0 0 0 1px var(--line-strong); }

/* Solo / together */
.sec-head { max-width: 640px; }
.duo { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.idea {
  display: grid; grid-template-rows: auto 1fr auto; row-gap: 14px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-card); background: var(--paper-raised); box-shadow: var(--shadow-card), 0 0 0 1px rgb(25 25 23 / 0.035);
}
.idea-kind { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.idea-kind .ico { width: 22px; height: 22px; stroke-width: 1.6; color: var(--ink); }
.idea-text { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); line-height: 1.32; letter-spacing: -0.01em; text-wrap: pretty; }
.idea-meta { font-size: 0.9375rem; color: var(--muted); align-self: end; padding-top: 8px; }

/* Privacy */
.promises { margin-top: 32px; display: grid; gap: 14px; }
.promises li { display: flex; align-items: center; gap: 14px; font-weight: 540; }
.promises .ico { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--ink); stroke: var(--paper); stroke-width: 2.2; }
.memory-stage { display: grid; place-items: center; padding: 24px 0; filter: drop-shadow(0 20px 22px rgb(25 25 23 / 0.09)) drop-shadow(0 1px 1.5px rgb(25 25 23 / 0.10)); }
.memory {
  --notch: 13px;
  position: relative; width: min(380px, 100%); padding: 28px 28px 22px; border-radius: 22px; background: var(--paper-raised);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 70%, transparent 98%, #000) , radial-gradient(circle var(--notch) at 100% 70%, transparent 98%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle var(--notch) at 0 70%, transparent 98%, #000), radial-gradient(circle var(--notch) at 100% 70%, transparent 98%, #000);
  mask-composite: intersect;
}
.memory-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.memory-title { font-weight: 650; font-size: 1.125rem; letter-spacing: -0.02em; }
.memory-date { font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.memory-note { margin-top: 18px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; letter-spacing: -0.012em; min-height: 3.9em; }
.memory-tear { margin: 14px -6px 18px; border-top: 1.5px dashed var(--line-strong); }
.memory-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; color: var(--text-2); }
.memory-mood, .memory-lock { display: inline-flex; align-items: center; gap: 8px; }

/* Close */
.close-sec { overflow: hidden; }
.close { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.close-mark { width: 72px; height: 72px; fill: var(--ink); margin-bottom: 32px; }
.close h2 { max-width: 14em; }
.close .body { margin-inline: auto; }
.stores-center { justify-content: center; margin-bottom: 28px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px calc(40px + env(safe-area-inset-bottom)); font-size: 0.9375rem; color: var(--text-2); }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 640; color: var(--ink); letter-spacing: -0.02em; }
.foot-brand .mark { width: 28px; height: 28px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 10px 70%; transition: background-size 200ms var(--ease-out), color 160ms var(--ease-out); }
@media (hover: hover) { .foot-links a:hover { color: var(--ink); background-size: calc(100% - 20px) 1px; } }
.foot-fine { grid-column: 1 / -1; display: grid; gap: 4px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }

/* ---------- Motion: one entrance, one drawn path ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] { animation: enter 900ms var(--ease-out) both; }
  .js .hero-device[data-enter] { animation-delay: 120ms; }
  .js [data-draw] path[pathLength] { stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-out); }
  .js [data-draw] .t-done { stroke-dasharray: 1; }
  .js [data-draw] .t-next { stroke-dasharray: 0.012 0.018; stroke-dashoffset: 0; opacity: 0; transition: opacity 600ms var(--ease-out) calc(500ms + var(--d, 3) * 120ms); }
  .js [data-draw] g, .js [data-draw] circle, .js [data-draw] .leaf { opacity: 0; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--d, 4) * 160ms + 200ms); }
  .js [data-draw] .leaf { transform: translate(clamp(14px, 5cqw, 22px), -30%); }
  .js [data-draw] .leaf-left { transform: translate(calc(-100% - clamp(12px, 4cqw, 20px)), -30%); }
  .js [data-draw].is-drawn path[pathLength] { stroke-dashoffset: 0; }
  .js [data-draw].is-drawn .t-next { opacity: 1; }
  .js [data-draw].is-drawn g, .js [data-draw].is-drawn circle, .js [data-draw].is-drawn .leaf { opacity: 1; }
  .js [data-draw].is-drawn .leaf { transform: translate(clamp(14px, 5cqw, 22px), -50%); }
  .js [data-draw].is-drawn .leaf-left { transform: translate(calc(-100% - clamp(12px, 4cqw, 20px)), -50%); }
}
@keyframes enter { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .hold.is-holding .hold-fill { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; min-height: 0; padding-block: 40px 88px; }
  .hero-copy { max-width: 640px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-flip .split-copy { order: 0; }
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .top-row { height: 64px; }
  .hero { margin-top: -64px; padding-top: 64px; }
  .brand-name { font-size: 1rem; }
  .hero-grid { padding-block: 24px 72px; }
  .cta-row .btn { width: 100%; }
  .cta-note { max-width: none; }
  .stores { display: grid; grid-template-columns: 1fr 1fr; }
  .stores-center { width: 100%; }
  .close .btn { width: 100%; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; margin-left: -10px; }
  .memory { padding: 24px 22px 20px; }
  .memory-note { font-size: 1.4rem; }
}
@media (max-width: 359px) {
  .brand-name { display: none; }
  .store { padding-inline: 14px; }
  .store-name { font-size: 1rem; }
}
