/* Remi's site.
   Layout: one orb travels down a single page. Pinned scenes are full-screen
   stages it moves through; bands between them are calm, centered reading.
   Two voices: what you say is set in serif italic (New York on Apple
   devices), what Remi says in rounded (SF Pro Rounded). */

:root {
  --canvas: #F4F4F8;
  --surface: #FFFFFF;
  --surface2: #ECECF2;
  --hairline: #DDDDE3;
  --ink: #191A1F;
  --ink2: #61636A;
  --ink3: #6E7078;
  --iris: #6B55DF;
  --iris-soft: #E9E5FC;
  --on-iris: #FFFFFF;
  --sky-top: #E4E0F6;
  --sky-glow: rgba(107, 85, 223, 0.16);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-line: rgba(25, 26, 31, 0.16);
  --glass-shine: rgba(255, 255, 255, 0.9);
  --shade: 34, 26, 90;
  --nav-bg: rgba(244, 244, 248, 0.72);
  --day: #F4F4F8;
  --dusk: #CFC9EC;
  --night: #100F24;
  --orb-dark: 0;

  /* The fourteen jar hues: one lightness and chroma, stepped around the wheel. */
  --k-dates: #CD605A;
  --k-whereabouts: #C66A26;
  --k-ideas: #B17B00;
  --k-recipes: #8F8B00;
  --k-buy: #5E983C;
  --k-tips: #00A06E;
  --k-places: #009F9A;
  --k-details: #0098BF;
  --k-todo: #2D8CD5;
  --k-quotes: #6D7DD9;
  --k-watch: #966FCC;
  --k-moments: #B464AE;
  --k-people: #C65E87;
  --k-notes: #7A7C84;
  --k-pet: #B17B00;

  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Nunito", system-ui, sans-serif;
  --said: "New York", ui-serif, "Newsreader", Georgia, serif;

  --t-hero: min(8.4vw, 11.2vh, 112px);
  --t-h2: clamp(36px, 5.2vw, 68px);
  --t-h3: 19px;
  --t-lede: clamp(17px, 1.45vw, 20px);
  --t-body: 16px;
  --t-small: 13px;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* The page starts in daylight and turns to night at "Quiet by design".
   Everything from there down wears these values. */
.night {
  --canvas: #100F24;
  --surface: #1B1A36;
  --surface2: #24234A;
  --hairline: #302E58;
  --ink: #F3F2EE;
  --ink2: #B9B7D6;
  --ink3: #9C9ABD;
  --iris: #A49DFF;
  --iris-soft: #262350;
  --on-iris: #100F24;
  --sky-top: #16142C;
  --sky-glow: rgba(156, 149, 254, 0.16);
  --glass: rgba(27, 26, 54, 0.55);
  --glass-line: rgba(243, 242, 238, 0.22);
  --glass-shine: rgba(255, 255, 255, 0.35);
  --shade: 0, 0, 0;
  --nav-bg: rgba(16, 15, 36, 0.72);
  --orb-dark: 1;
  --k-dates: #FB9890;
  --k-whereabouts: #F4A16C;
  --k-ideas: #DFAF56;
  --k-recipes: #BFBD5C;
  --k-buy: #94C97A;
  --k-tips: #65CFA2;
  --k-places: #3ECFCA;
  --k-details: #48C9EB;
  --k-todo: #74BEFF;
  --k-quotes: #A0B1FF;
  --k-watch: #C5A5F7;
  --k-moments: #E29BDC;
  --k-people: #F596B8;
  --k-notes: #A9AAB1;
  --k-pet: #DFAF56;
  color: var(--ink);
  color-scheme: dark;
}
section.night:not(.calm), footer.night { background: var(--canvas); }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
.defs { position: absolute; }

:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; border-radius: 10px; }

.ico {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 13px/1 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iris);
}
.kicker-n {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--iris);
  color: var(--on-iris);
  letter-spacing: 0;
  font-size: 13px;
}

h2 { font-size: var(--t-h2); font-weight: 900; line-height: 1.02; letter-spacing: -0.025em; }
.lede { font-size: var(--t-lede); color: var(--ink2); line-height: 1.5; max-width: 34ch; }

/* ---------- The orb's layers ---------- */

.orb-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
}

.orb-fallback {
  position: fixed;
  left: 0; top: 0;
  width: 100px; height: 100px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 40;
  display: none;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.7), transparent 24%),
    radial-gradient(circle at 26% 62%, #E5718F 0, transparent 46%),
    radial-gradient(circle at 76% 50%, #3E9BE0 0, transparent 44%),
    radial-gradient(circle at 50% 40%, #A687FF 0, #7058E6 60%, #5D49D2 100%);
  box-shadow: 0 0 60px rgba(107, 85, 223, .45);
  will-change: transform;
}
.no-gl .orb-fallback { display: block; }

.motes {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.orb-anchor { display: block; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter-r) 12px var(--gutter-l);
  min-height: var(--nav-h);
  transition: background .4s ease, box-shadow .4s ease;
}
.nav.is-solid {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--hairline);
}
@media (min-width: 900px) {
  .nav { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 900 21px/1 var(--display);
  letter-spacing: -0.01em;
}
.brand-tag { font-weight: 800; color: var(--ink2); }
@media (max-width: 599px) { .brand-tag { display: none; } }
/* The real app icon (assets/icon-192.png is AppIcon.png), cut to the iOS rounded square. */
.app-icon { display: block; flex: none; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--hairline); }
.logo-icon { width: 28px; height: 28px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font: 800 14.5px/1 var(--display);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline), 0 4px 14px rgba(var(--shade), .06);
}
.nav-cta-short { display: none; }
@media (max-width: 420px) {
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 8px) 96px;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  isolation: isolate;
}
.sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 46% at 50% 60%, var(--sky-glow), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--canvas) 78%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.hero-title {
  font-size: var(--t-hero);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero-title .line { display: block; }
.hero-title .line + .line { color: var(--iris); }
.hero-sub {
  font-size: var(--t-lede);
  color: var(--ink2);
  max-width: 36ch;
  text-wrap: balance;
}
/* Wide enough, the subtitle sits on one line. */
@media (min-width: 1000px) { .hero-sub { max-width: none; white-space: nowrap; } }

.hero-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
}
.hero-orb {
  width: clamp(150px, min(30vw, 27vh), 270px);
  aspect-ratio: 1;
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}
.no-gl .hero-orb, .no-js .hero-orb { background: radial-gradient(circle at 35% 30%, #fff 0, #A687FF 26%, #6B55DF 62%, #2D8CD5 100%); }

/* What you said, in your voice; folded into Remi once it's kept. */
.said {
  font-family: var(--said);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 30ch;
  text-wrap: balance;
}
.said .w { display: inline-block; white-space: pre; will-change: transform, opacity, filter; }
.hero-said {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
/* Flex drops the spaces between words, so the words keep their own. */
.hero-said .w + .w { margin-left: .26em; }

/* The card that says where something went (SavedCard in the app). */
.saved-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(var(--shade), .1);
  text-align: left;
  min-width: 0;
}
.tile {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--surface2);
  color: var(--ink3);
  transition: background .4s ease, color .4s ease;
}
.tile .glyph {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.tile-ring {
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  border: 2px solid transparent;
  border-top-color: var(--iris);
  border-right-color: color-mix(in srgb, var(--iris) 35%, transparent);
  opacity: 0;
}
.saved-card.is-filing .tile-ring { opacity: 1; animation: ring 0.9s linear infinite; }
.saved-card.is-filing .glyph { opacity: 0; }
@keyframes ring { to { transform: rotate(360deg); } }
.saved-text { display: grid; gap: 2px; min-width: 0; }
.saved-title { font: 800 16px/1.25 var(--display); color: var(--ink); }
.saved-line { font-size: 13.5px; color: var(--ink2); }
.saved-card.is-filing .saved-title { font-family: var(--said); font-style: italic; font-weight: 400; }
.saved-card.is-filing .saved-line {
  background: linear-gradient(90deg, var(--ink3) 0%, var(--ink3) 35%, var(--iris) 50%, var(--ink3) 65%, var(--ink3) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.saved-undo {
  font: 800 14px/1 var(--display);
  color: var(--ink2);
  padding-left: 14px;
  margin-left: 4px;
  border-left: 1px solid var(--hairline);
  align-self: stretch;
  display: grid;
  place-items: center;
}
.hero-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
}
.hero-card[hidden] { display: none !important; }

/* Kind colors on tiles and dots. */
.k-todo { --c: var(--k-todo); } .k-whereabouts { --c: var(--k-whereabouts); } .k-people { --c: var(--k-people); }
.k-watch { --c: var(--k-watch); } .k-places { --c: var(--k-places); } .k-ideas { --c: var(--k-ideas); }
.k-tips { --c: var(--k-tips); } .k-details { --c: var(--k-details); } .k-buy { --c: var(--k-buy); }
.k-dates { --c: var(--k-dates); } .k-quotes { --c: var(--k-quotes); } .k-moments { --c: var(--k-moments); }
.k-recipes { --c: var(--k-recipes); } .k-notes { --c: var(--k-notes); } .k-pet { --c: var(--k-pet); }
.tile[class*="k-"] {
  background: color-mix(in srgb, var(--c) 16%, var(--surface));
  color: var(--c);
}

/* Talk, then the quieter picks: as on Remi's home. */
.capture {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 4px;
}
.talk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--iris);
  color: var(--on-iris);
  font: 800 18px/1 var(--display);
  cursor: pointer;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--iris) 38%, transparent);
  transition: transform .2s var(--ease);
}
.talk .ico { width: 22px; height: 22px; }
.talk:active { transform: scale(.97); }
.level { display: none; gap: 3px; align-items: center; height: 18px; }
.level i { width: 3px; border-radius: 2px; background: currentColor; height: 6px; animation: level .7s ease-in-out infinite alternate; }
.level i:nth-child(2) { animation-delay: -.2s; } .level i:nth-child(3) { animation-delay: -.45s; } .level i:nth-child(4) { animation-delay: -.1s; }
@keyframes level { from { height: 4px; } to { height: 17px; } }
.talk.is-listening .level { display: inline-flex; }
.picks { display: flex; gap: 4px; }
.picks button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink2);
  font: 700 15px/1 var(--display);
  cursor: pointer;
}
.picks button:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); }

/* Whichever way the demo is capturing right now takes the purple, so each button
   reads as a way in, not a decoration. Same size either way, so nothing shifts. */
.talk, .picks button { transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .2s var(--ease); }
.talk:not(.is-on) { background: transparent; color: var(--ink2); box-shadow: none; }
.talk:not(.is-on):hover { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); }
.picks button.is-on { background: var(--iris); color: var(--on-iris); box-shadow: 0 10px 26px color-mix(in srgb, var(--iris) 38%, transparent); }
.talk { min-width: 8.6em; justify-content: center; }
.picks button { font-size: 18px; min-height: 52px; padding: 0 20px 0 16px; gap: 10px; }
.picks button .ico { width: 22px; height: 22px; }
@media (max-width: 480px) {
  /* All four stay on one line, even while Talk says Listening. */
  .capture { flex-wrap: nowrap; gap: 2px; }
  .talk { min-width: 6.9em; padding: 0 10px 0 9px; font-size: 14px; gap: 5px; }
  .talk .level { display: none !important; }
  .picks { gap: 0; }
  .picks button { font-size: 14px; padding: 0 9px 0 8px; gap: 5px; }
  .talk .ico, .picks button .ico { width: 18px; height: 18px; }
}
@media (max-width: 350px) { .capture { flex-wrap: wrap; justify-content: center; } }

/* A small pill at the bottom middle of the hero: tap to go on. */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--iris) 18%, transparent), 0 8px 24px rgba(var(--shade), .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font: 800 14px/1 var(--display);
  letter-spacing: .01em;
  color: var(--ink2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.scroll-cue:hover { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1.5px var(--iris), 0 10px 28px rgba(var(--shade), .12); }
.scroll-cue svg {
  width: 26px; height: 26px; padding: 5px; flex: none;
  border-radius: 50%;
  background: var(--iris);
  color: var(--on-iris);
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateY(3px); } }
@media (max-height: 640px) { .scroll-cue { display: none; } }

/* ---------- Scenes (stacked by default; staged when motion runs) ---------- */

.scene { position: relative; }
.scene .stage {
  position: relative;
  display: grid;
  gap: 32px;
  padding-block: 96px;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  max-width: 1200px;
  margin: 0 auto;
}
.scene-copy { display: grid; gap: 28px; }
/* No one-word last lines under the scene heads. */
.scene-copy .lede { text-wrap: pretty; }
.copy-step { display: grid; gap: 14px; align-content: start; }
.stage-bar { display: none; }

/* Inputs, as cards in your voice. */
.inputs { display: flex; flex-wrap: wrap; gap: 12px; }
.input {
  display: grid;
  gap: 8px;
  padding: 12px 14px 14px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(var(--shade), .1);
  max-width: 300px;
  min-width: 0;
}
.input-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 800 11.5px/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--iris);
}
.input-mode .ico { width: 15px; height: 15px; }
.input-words { font-family: var(--said); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--ink); }
.input-field {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface2);
}
.caret {
  display: inline-block;
  width: 2px; height: 1.1em;
  margin-left: 2px;
  background: var(--iris);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
  flex: none;
}
@keyframes blink { 50% { opacity: 0; } }
.wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.wave i { width: 3px; border-radius: 2px; background: color-mix(in srgb, var(--iris) 70%, transparent); height: 30%; animation: level .8s ease-in-out infinite alternate; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.55s; } .wave i:nth-child(4n) { animation-duration: .6s; }
.shot { display: block; height: 104px; border-radius: 12px; overflow: hidden; background: var(--surface2); }
.shot img, .answer-photo img, .lb-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface2);
  font-size: 14px;
  color: var(--ink2);
  overflow-wrap: anywhere;
}

.filed { display: grid; justify-items: center; gap: 8px; }
.split-note {
  font: 800 12px/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--iris);
  opacity: 0;
}
.filed-card { min-width: 260px; }

/* The shelf. */
.shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px clamp(8px, 2vw, 28px);
  align-items: end;
}
.jar {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  --c: var(--k-notes);
}
.jar[data-kind="whereabouts"] { --c: var(--k-whereabouts); }
.jar[data-kind="people"] { --c: var(--k-people); }
.jar[data-kind="todo"] { --c: var(--k-todo); }
.jar[data-kind="watch"] { --c: var(--k-watch); }
.jar[data-kind="moments"] { --c: var(--k-moments); }
.jar[data-kind="buy"] { --c: var(--k-buy); }
.jar[data-kind="dates"] { --c: var(--k-dates); }
.jar[data-kind="pet"] { --c: var(--k-pet); }
.jar-svg {
  width: 100%;
  max-width: 116px;
  aspect-ratio: 1 / 1.12;
  overflow: visible;
  display: block;
}
.jar .glass {
  fill: var(--glass);
  stroke: var(--glass-line);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}
.jar .lid { fill: var(--c); }
.jar .marbles {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  max-width: 116px;
  aspect-ratio: 1 / 1.12;
  transform: translateX(-50%);
  pointer-events: none;
}
.m {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    color-mix(in srgb, var(--c) 45%, white) 0%,
    color-mix(in srgb, var(--c) 90%, white) 28%,
    var(--c) 62%,
    color-mix(in srgb, var(--c) 88%, black) 100%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--c) 45%, transparent);
  transform: translate(-50%, -50%);
}
.m::after {
  content: "";
  position: absolute;
  left: 20%; top: 18%;
  width: 25%; height: 25%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
}
.m.is-new { box-shadow: 0 0 14px color-mix(in srgb, var(--c) 80%, transparent); }
.jar-label {
  font: 700 13px/1.25 var(--display);
  color: var(--ink2);
  text-align: center;
  text-wrap: balance;
  min-height: 2.5em;
}
.jar.is-hit .jar-svg { animation: breathe .7s var(--ease); }
@keyframes breathe { 40% { transform: scale(1.06, .97); } }

/* Ask. */
.ask-ui { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; max-width: 560px; }
.ask-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 8px 8px 8px 20px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(var(--shade), .1);
}
.ask-text {
  flex: 1;
  min-width: 0;
  position: relative;
  font-family: var(--said);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ask-placeholder { color: var(--ink3); }
.ask-text.has-text .ask-placeholder { display: none; }
.ask-text:not(.has-text) .caret { margin-left: 0; margin-right: 2px; }
.ask-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  min-width: 44px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--iris);
  color: var(--on-iris);
  font: 800 16px/1 var(--display);
  transition: padding .35s var(--ease);
  flex: none;
}
.ask-send .ico { width: 20px; height: 20px; }
.ask-word { display: none; }
.ask-send.is-ask { padding: 0 18px; }
.ask-send.is-ask .up { display: none; }
.ask-send.is-ask .ask-word { display: inline; }
.answers { display: grid; }
.answers { gap: 14px; }
.answer {
  display: grid;
  gap: 14px;
  padding: 20px 20px 16px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(var(--shade), .1);
}
.answer-text { font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.answer-text .w { display: inline-block; white-space: pre; }
.answer-photo { width: min(100%, 200px); aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--surface2); }
.memory-row { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); min-width: 0; }
.memory-row > span:last-child { display: grid; min-width: 0; }
.memory-row b { font: 800 15px/1.3 var(--display); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--iris) 45%, transparent); text-underline-offset: 3px; }
.memory-row b + span { font-size: 13px; color: var(--ink2); }
.ask-qs { display: none; }

/* ---------- Staged scenes (motion on) ---------- */

.motion .scene .stage {
  height: 100svh;
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}
/* The filing and Ask scenes are cards that play themselves. Each is a good
   deal shorter than the screen, with air around it, so the whole card is in
   view over a long stretch of scrolling, not just at one exact spot. */
.motion .files, .motion .ask {
  padding: 28px var(--gutter-r) 28px var(--gutter-l);
}
.motion .files .stage, .motion .ask .stage {
  --stage-top: 64px;
  height: calc(100svh - var(--nav-h) - env(safe-area-inset-top, 0px) - 64px);
  min-height: 500px;
  max-width: 1360px;
  margin: 0 auto;
  border-radius: 32px;
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--iris) 10%, transparent), 0 18px 50px rgba(var(--shade), .07);
  touch-action: pan-y;
}
@media (min-width: 900px) {
  .motion .files, .motion .ask { padding: 48px 24px; }
  .motion .files .stage, .motion .ask .stage { --stage-top: 76px; height: clamp(560px, calc(100svh - var(--nav-h) - 140px), 760px); max-width: 1200px; }
}

/* The parts of a scene, as bars that fill while each plays. Tap one to jump to it; Replay when it's over. */
.motion .stage-bar {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
}
.stage-bar [data-part] {
  display: grid;
  place-items: center;
  width: 40px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.stage-bar [data-part] i { position: relative; width: 32px; height: 4px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--iris) 20%, transparent); }
.stage-bar [data-part] i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--iris); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.stage-bar [data-part]:hover i { background: color-mix(in srgb, var(--iris) 34%, transparent); }
.stage-replay {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--iris);
  color: var(--on-iris);
  font: 800 13px/1 var(--display);
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.stage-replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stage-replay.is-ready { opacity: 1; visibility: visible; }
.stage-bar button:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; border-radius: 8px; }

.motion .scene-copy {
  position: absolute;
  z-index: 2;
  display: grid;
  top: var(--stage-top, 64px);
  left: max(48px, env(safe-area-inset-left, 0px));
  width: min(440px, 36vw);
}
.motion .copy-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.motion .copy-step.is-on { opacity: 1; visibility: visible; }


/* Without the staged scenes, the orb rests in a small spot of its own. */
.files-orb, .ask-orb { width: 96px; aspect-ratio: 1; margin: 8px auto 24px; }
/* Staged, the filing card is three rows that never cover each other: Remi,
   the filed card, the shelf. main.js sizes Remi to the room that's left
   (--orb-y, --orb-size, --filed-y). Wide, the rows sit right of the words. */
.motion .files { --col-x: 64%; }
.motion .files-orb {
  position: absolute;
  margin: 0;
  left: var(--col-x);
  top: var(--orb-y, 33%);
  width: var(--orb-size, 180px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.motion .inputs { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: block; }
.motion .input { position: absolute; left: 0; top: 0; width: min(300px, 76vw); opacity: 0; will-change: transform, opacity; }
.motion .filed {
  position: absolute;
  left: var(--col-x);
  top: var(--filed-y, 55%);
  transform: translateX(-50%);
  z-index: 3;
  width: min(340px, calc(100% - 32px));
}
.motion .filed-card { width: 100%; }
/* One line each, so the card keeps the height Remi was sized around. */
.motion .filed .saved-title, .motion .filed .saved-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.motion .filed-card { opacity: 0; }
.motion .shelf {
  position: absolute;
  left: var(--col-x);
  bottom: 32px;
  width: min(540px, 58%);
  transform: translateX(-50%);
  z-index: 1;
}

/* Ask: words on the left and Remi with the answers on the right when wide;
   stacked and centered when narrow. main.js sets --orb-y, --orb-size and
   --ui-y from the room the card actually has. */
.motion .ask-orb {
  position: absolute;
  margin: 0;
  left: var(--ask-x, 50%);
  top: var(--orb-y, 40%);
  width: var(--orb-size, 120px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.motion .ask-ui {
  position: absolute;
  left: var(--ask-x, 50%);
  top: var(--ui-y, 60%);
  transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
}
@media (min-width: 1000px) {
  .motion .ask { --ask-x: 67%; }
  .motion .ask-ui { width: min(520px, 54%); }
}
.motion .answers { gap: 0; }
.motion .answer { grid-area: 1 / 1; align-self: start; opacity: 0; }
.answer-q { font-size: 17px; color: var(--ink2); }


@media (max-width: 999px) {
  .motion .scene-copy {
    left: var(--gutter-l);
    right: var(--gutter-r);
    width: auto;
    top: var(--stage-top, 56px);
    text-align: center;
    justify-items: center;
  }
  .motion .scene-copy .copy-step { justify-items: center; }
  .motion .scene-copy .lede { max-width: 38ch; margin: 0 auto; }
  .motion .files { --col-x: 50%; }
  .motion .files .stage, .motion .ask .stage { --stage-top: 54px; }
  .motion .stage-bar { top: 10px; }
  .motion .scene-copy .copy-step { gap: 10px; }
  .motion .scene-copy .lede { max-width: 44ch; }
  .motion .shelf {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: 440px;
    margin: 0 auto;
    bottom: 22px;
    transform: none;
  }
}
@media (max-width: 999px) and (max-height: 760px) {
  .motion .scene-copy .lede { font-size: 15px; line-height: 1.42; }
  .motion h2 { font-size: clamp(28px, 7.8vw, 40px); }
}
/* On a short phone the filing card needs the room for Remi and the shelf, so its headline speaks alone. */
@media (max-width: 999px) and (max-height: 700px) {
  .motion .files .lede, .motion .ask .lede, .motion .answer .memory-row { display: none; }
}
@media (max-width: 600px) {
  .shelf .jar-label { font-size: 11.5px; }
  .motion .shelf .jar-svg, .motion .shelf .jar .marbles { max-width: 76px; }
  .shelf { gap: 8px 10px; }
  .ask-text { font-size: 17px; }
  .answer { padding: 16px 16px 14px; border-radius: 22px; }
  .filed-card { min-width: 0; }
}

/* ---------- Bands ---------- */

.band { position: relative; z-index: 1; }
.band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-block: clamp(80px, 12vw, 150px);
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
@media (min-width: 900px) {
  .band-inner { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
}
/* Section heads use the whole content width; only the side orb keeps its spot. */
.band-head { position: relative; display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.band-head .lede { max-width: none; }
/* Fill the first line instead of balancing, so a long head reads as full width. */
.band-head h2 { text-wrap: pretty; }
.side-orb { width: 56px; aspect-ratio: 1; }
@media (min-width: 900px) {
  .side-orb { position: absolute; right: 0; top: 50%; width: clamp(84px, 8vw, 112px); transform: translateY(-50%); }
  .band-head:has(.side-orb) { padding-right: 170px; }
}
.band-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* The little things: eight small cards and four wide ones, each with a small demo,
   and each turns over to say how it works and where what you tell it lives.
   Four across, that's four full rows (wide, wide / four small / Your own jars and
   two small / three equal thirds to finish); two across, the small ones pair up. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > .feat { grid-column: span 3; }
.bento > .feat-wide { grid-column: span 6; }
.bento > .feat-third { grid-column: span 4; }
@media (max-width: 1099px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .feat, .bento > .feat-third { grid-column: auto; }
  .bento > .feat-wide { grid-column: span 2; }
}
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento > .feat-wide { grid-column: auto; } }
/* Both faces share one cell, so a card is as tall as its taller side. */
.feat { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-width: 0; perspective: 1600px; cursor: pointer; }
.feat-face {
  grid-area: 1 / 1;
  min-width: 0;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(var(--shade), .05);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .7s var(--ease), visibility 0s linear .35s;
}
.feat-front { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: 10px 10px 20px; container-type: inline-size; }
.feat-back { display: grid; align-content: start; gap: 14px; padding: 16px 20px 22px; transform: rotateY(180deg); visibility: hidden; }
.feat.is-flipped .feat-front { transform: rotateY(-180deg); visibility: hidden; }
.feat.is-flipped .feat-back { transform: none; visibility: visible; }
.feat-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 4px 0 10px; }
.feat-back .feat-title { padding: 0; margin-right: -6px; }
.feat h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: var(--t-h3);
  font-weight: 800;
}
.feat h3 .ico { color: var(--iris); }
.feat-front > p { font-size: 15px; color: var(--ink2); padding: 0 10px; }

/* The turn-over button: a small + that says what it does when you point at the card. */
.flip {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--iris-soft);
  color: var(--iris);
  font: 800 12.5px/1 var(--display);
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.flip i { position: relative; flex: none; width: 30px; height: 30px; }
.flip i::before, .flip i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.flip i::after { transform: rotate(90deg); }
.flip-close i::before { transform: rotate(45deg); }
.flip-close i::after { transform: rotate(135deg); }
.flip-word { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease), opacity .3s ease, padding .4s var(--ease); }
@media (hover: hover) { .feat:hover .flip-open { background: var(--iris); color: var(--on-iris); } }
/* The words only come out where the card has room beside the title, so they never push it onto two lines. */
@container (min-width: 360px) {
  @media (hover: hover) { .feat:hover .flip-word { max-width: 120px; opacity: 1; padding-left: 12px; } }
  .flip:focus-visible .flip-word { max-width: 120px; opacity: 1; padding-left: 12px; }
}
/* Four across, the small cards are narrow: a smaller title so it stays on one line. */
@media (min-width: 1100px) {
  .feat:not(.feat-wide) .feat-title { gap: 6px; }
  .feat:not(.feat-wide) .feat-front .feat-title { padding-left: 8px; }
  .feat:not(.feat-wide) .feat-back { padding-left: 16px; padding-right: 16px; }
  .feat:not(.feat-wide) h3 { font-size: clamp(16.5px, 1.5vw, 19px); }
}
/* Once, when the cards first come up: the first + says hello. */
.flip.is-nudged { animation: flip-hello 1.6s var(--ease) 2; }
@keyframes flip-hello { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--iris) 40%, transparent); } 50% { box-shadow: 0 0 0 8px transparent; } }

/* The back: things to try, how it works, and where it lives. */
.back-try { display: grid; gap: 6px; justify-items: start; }
.back-label { font: 800 11.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 2px; }
.back-try > span:not(.back-label):not(.back-chips) { font: italic 16px/1.35 var(--said); color: var(--ink); }
.back-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.back-chips i { font: 700 13px/1 var(--display); font-style: normal; padding: 8px 11px; border-radius: 999px; background: var(--surface2); color: var(--ink2); }
.back-how { font-size: 15px; line-height: 1.45; color: var(--ink2); }
.back-safe { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border-radius: 16px; background: var(--iris-soft); font-size: 14px; line-height: 1.4; color: var(--ink); }
.back-safe .ico { width: 17px; height: 17px; margin-top: 1px; color: var(--iris); }
.feat-demo {
  position: relative;
  height: 190px;
  border-radius: 20px;
  background: var(--surface2);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 16px;
}

.phone-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 270px;
  padding: 10px 12px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 8px 20px rgba(var(--shade), .12);
}
.app-dot { width: 30px; height: 30px; }
.pb-text { display: grid; flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.3; }
.pb-text b { font-family: var(--display); }
.pb-time { font-size: 12px; color: var(--ink3); align-self: start; }
.remind-chips { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.remind-chips span { font: 700 12px/1 var(--display); padding: 7px 10px; border-radius: 999px; background: var(--surface); color: var(--ink2); }
.remind-chips span.on { background: var(--iris); color: var(--on-iris); }
[data-feat="remind"] .feat-demo { align-content: start; padding-top: 22px; }

.map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--k-buy) 22%, transparent) 0 22%, transparent 23%),
    var(--surface2);
}
.road { position: absolute; background: var(--surface); border-radius: 6px; }
.road.r1 { left: -10%; right: -10%; top: 46%; height: 12px; transform: rotate(-8deg); }
.road.r2 { top: -10%; bottom: -10%; left: 30%; width: 10px; transform: rotate(12deg); }
.road.r3 { top: -10%; bottom: -10%; left: 72%; width: 8px; }
.fence { position: absolute; left: 62%; top: 22%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--k-places) 70%, transparent); background: color-mix(in srgb, var(--k-places) 12%, transparent); }
.pin-dot { position: absolute; left: 62%; top: 22%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--k-places); box-shadow: 0 0 0 3px var(--surface); }
.you { position: absolute; left: 22%; top: 70%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--k-todo); box-shadow: 0 0 0 3px var(--surface); }
.place-note {
  position: absolute;
  left: 12px; bottom: 12px;
  display: grid;
  font-size: 12.5px;
  color: var(--ink2);
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(var(--shade), .1);
}
.place-note b { font: 800 14.5px/1.25 var(--display); color: var(--ink); }

.lookup { display: grid; gap: 10px; justify-items: start; width: 100%; max-width: 280px; }
.lookup-said { font-family: var(--said); font-style: italic; font-size: 16px; color: var(--ink2); }
.lookup-title { display: flex; align-items: center; gap: 10px; font: 800 17px/1.2 var(--display); }
.lookup-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink2); padding: 7px 10px; border-radius: 10px; background: var(--surface); }
.lookup-link .ico { width: 14px; height: 14px; }

.checklist { display: grid; gap: 8px; width: 100%; max-width: 270px; }
.check-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--surface); font: 700 14.5px/1.2 var(--display); min-width: 0; }
.check-row .box { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--k-todo); flex: none; position: relative; }
.check-row .action { margin-left: auto; font-size: 12px; color: var(--iris); white-space: nowrap; }
.done-row { font: 800 12px/1 var(--display); color: var(--ink3); padding: 4px 10px; letter-spacing: .04em; }
.check-row.is-done .box { background: var(--k-todo); }
.check-row.is-done .box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--surface); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-row.is-done > span:nth-child(2) { color: var(--ink3); text-decoration: line-through; }

.protected {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 270px;
  padding: 12px 14px;
  border: 0;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(var(--shade), .1);
  text-align: left;
  cursor: pointer;
}
.prot-text { display: grid; flex: 1; min-width: 0; }
.prot-text b { font: 800 16px/1.3 var(--display); }
.prot-text span { font-size: 13px; color: var(--ink2); }
.prot-real { display: none; }
.protected.is-open .prot-real { display: block; }
.protected.is-open .prot-mask { display: none; }
.faceid { width: 30px; height: 30px; fill: none; stroke: var(--iris); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.protected.is-open .faceid { stroke: var(--k-tips); }
.protected:not(.is-open) .tile { filter: blur(2px); }

.year { display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); gap: 3px; width: 100%; max-width: 280px; }
.year i { aspect-ratio: 1; border-radius: 50%; background: var(--hairline); }

.anywhere { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 290px; }
.anywhere li { font: 700 13px/1 var(--display); padding: 8px 11px; border-radius: 999px; background: var(--surface); color: var(--ink2); }
.anywhere li:first-child { background: var(--iris); color: var(--on-iris); }


/* Coming soon: your AI app, saving to Remi and reading from it. Each panel
   is a small chat that plays itself while on screen; at rest it shows the
   whole conversation. */
.soon-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--iris);
  color: var(--on-iris);
  letter-spacing: 0.08em;
}
.soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899px) { .soon-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.soon-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  padding: 10px 10px 22px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(var(--shade), .05);
  min-width: 0;
}
.soon-card h3 { font-size: var(--t-h3); font-weight: 800; padding: 8px 12px 0; }
.soon-card > p { font-size: 15px; color: var(--ink2); padding: 0 12px; }
/* Side by side, the two chats share a height so the titles line up. */
@media (min-width: 900px) { .soon-card { grid-row: span 3; grid-template-rows: subgrid; } }
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: 14px;
  border-radius: 20px;
  background: var(--surface2);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--hairline);
  font: 800 13px/1 var(--display);
  color: var(--ink2);
}
.chat-head .ico { width: 16px; height: 16px; color: var(--iris); }
.chat img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.chat-you {
  align-self: flex-end;
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 18px 18px 5px 18px;
  background: var(--iris);
  color: var(--on-iris);
  font: italic 15.5px/1.35 var(--said);
}
.chat-saved, .chat-switch {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 12px 7px 7px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(var(--shade), .08);
  font-size: 13px;
  color: var(--ink2);
  min-width: 0;
}
.chat-saved b, .chat-switch b { font: 800 14px/1.2 var(--display); color: var(--ink); }
.chat-saved > span { display: grid; gap: 2px; min-width: 0; }
.chat-saved small { font-size: 12.5px; line-height: 1.25; }
.chat-saved small::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--c); vertical-align: 1px; }
.chat-switch { align-self: stretch; padding-right: 8px; }
.chat-switch b { flex: 1; }
.chat-switch i { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--k-tips, #3FA66B); transition: background .35s var(--ease); }
.chat-switch i::after { content: ""; position: absolute; top: 2px; left: 18px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: left .35s var(--ease); }
.chat-perms { display: grid; gap: 6px; padding: 6px; border-radius: 16px; background: var(--surface); box-shadow: 0 6px 16px rgba(var(--shade), .08); }
.chat-perms .chat-switch { box-shadow: none; padding: 4px 4px 4px 2px; }
.chat-perms .chat-switch + .chat-switch { border-top: 1px solid var(--hairline); padding-top: 8px; border-radius: 0; }
.chat-ai { align-self: flex-start; display: grid; gap: 8px; max-width: 92%; }
.chat-ai p { padding: 10px 13px; border-radius: 18px 18px 18px 5px; background: var(--surface); font: 600 15px/1.35 var(--display); }
.chat-from { font: 700 12px/1 var(--display); color: var(--ink2); padding: 0 4px; }
.chat-from::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--c); vertical-align: 1px; }

/* Playing: each line waits for its step. */
.motion .chat [data-step] { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.motion .chat [data-step].is-in { opacity: 1; transform: none; }
.motion .chat-saved.is-in { animation: landed .6s var(--ease); }
@keyframes landed { 40% { transform: scale(1.05); } }
.motion .chat-switch:not(.is-on) i { background: var(--hairline); }
.motion .chat-switch:not(.is-on) i::after { left: 2px; }

/* Live demos loop only while on screen; at rest they show their end state. */
.feat.is-live .phone-banner { animation: banner 4.5s var(--ease) infinite; }
@keyframes banner { 0% { transform: translateY(-140%); opacity: 0; } 12%, 80% { transform: none; opacity: 1; } 92%, 100% { transform: translateY(-140%); opacity: 0; } }
.feat.is-live .fence { animation: fence 2.4s ease-in-out infinite; }
@keyframes fence { 50% { transform: scale(1.18); opacity: .6; } }
.feat.is-live .you { animation: walk 6s ease-in-out infinite; }
@keyframes walk { 0%, 10% { left: 22%; top: 70%; } 60%, 100% { left: 58%; top: 28%; } }
.feat.is-live .place-note { animation: note 6s ease infinite; }
@keyframes note { 0%, 50% { opacity: 0; transform: translateY(8px); } 62%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.feat.is-live .lookup-title b { animation: morph 5s ease infinite; }
@keyframes morph { 0%, 30% { filter: blur(6px); opacity: .2; } 45%, 100% { filter: none; opacity: 1; } }
.feat.is-live .lookup-link { animation: note2 5s ease infinite; }
@keyframes note2 { 0%, 45% { opacity: 0; transform: translateY(6px); } 58%, 100% { opacity: 1; transform: none; } }

.calm {
  overflow: hidden;
  background: linear-gradient(180deg, var(--day) 0, var(--dusk) min(22vh, 200px), var(--night) min(52vh, 460px), var(--night));
}
.calm-orb { width: clamp(80px, 9vw, 112px); aspect-ratio: 1; margin: min(16vh, 150px) auto 0; }
.calm .band-inner { padding-top: min(14vh, 120px); }
.calm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 899px) { .calm-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.calm .band-head { margin-bottom: 32px; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
@media (max-width: 560px) { .promises { grid-template-columns: minmax(0, 1fr); } }
.promises li { display: block; color: var(--ink2); font-size: 16px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.promises b { display: block; margin-bottom: 6px; font: 800 19px/1.25 var(--display); color: var(--ink); }

/* Finale. */
.get-inner { position: relative; z-index: 1; }
.get-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding-block: clamp(72px, 10vw, 130px) clamp(96px, 12vw, 150px);
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  background: radial-gradient(50% 42% at 50% 30%, var(--sky-glow), transparent 70%);
}
.get-orb { width: clamp(140px, 18vw, 210px); aspect-ratio: 1; margin-bottom: 24px; }
.get h2 { font-size: clamp(38px, 6.4vw, 84px); }
.get .lede { max-width: 40ch; }
.store {
  display: inline-grid;
  justify-items: start;
  gap: 2px;
  margin-top: 8px;
  padding: 12px 22px 12px 22px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
}
.store-small { font-size: 12px; opacity: .8; }
.store-big { font: 800 22px/1 var(--display); letter-spacing: -0.01em; }
.store[aria-disabled="true"] { cursor: default; }

.foot { position: relative; z-index: 1; border-top: 1px solid var(--hairline); }
.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  font-size: 14px;
  color: var(--ink3);
}
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font: 800 15px/1 var(--display); color: var(--ink); }
.foot-icon { width: 22px; height: 22px; box-shadow: none; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { text-decoration: none; color: var(--ink2); }
.foot nav a:hover { color: var(--ink); }
.foot-note a { color: var(--ink2); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 3px; }
.foot-note a:hover { color: var(--ink); text-decoration-color: currentColor; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Look back: one page of the year. */
/* Your own jars: what you've said elsewhere fills a jar you made. */
.own-jar { display: flex; align-items: center; gap: 20px; width: 100%; max-width: 470px; }
.own-left { flex: 1; min-width: 0; display: grid; gap: 10px; }
.own-ask { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; border-radius: 14px; background: var(--surface); font-size: 13.5px; line-height: 1.35; color: var(--ink2); }
.own-ask .ico { width: 18px; height: 18px; flex: none; color: var(--k-pet); }
.own-ask b { font-family: var(--display); font-weight: 800; color: var(--ink); }
.own-items { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 6px; }
.own-items li { display: flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--display); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.own-items li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.own-items [data-kind="dates"] { --c: var(--k-dates); }
.own-items [data-kind="buy"] { --c: var(--k-buy); }
.own-items [data-kind="whereabouts"] { --c: var(--k-whereabouts); }
.own-items [data-kind="todo"] { --c: var(--k-todo); }
.own-items [data-kind="people"] { --c: var(--k-people); }
.motion .own-items li { opacity: .28; transition: opacity .45s ease; }
.motion .own-items li.is-in { opacity: 1; }
.own-jar .jar { flex: none; width: 96px; }
.own-jar .jar-svg, .own-jar .jar .marbles { max-width: 96px; }
.own-jar .jar-label { min-height: 0; color: var(--ink); }
.own-jar .m { transition: opacity .3s ease; }
.lookback { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; max-width: 520px; }
.lb-photo { position: relative; margin: 0; height: 150px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(var(--shade), .14); transform: rotate(-2deg); }
.lb-photo figcaption { position: absolute; left: 10px; bottom: 8px; font: italic 15px/1.2 var(--said); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.lb-page { display: grid; gap: 10px; min-width: 0; }
.lb-year { font: 800 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--iris); padding: 0 !important; }
.lb-page ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lb-page li { display: flex; align-items: center; gap: 9px; font: 700 13.5px/1.25 var(--display); color: var(--ink); min-width: 0; }
.lb-page .tile { width: 26px; height: 26px; border-radius: 8px; }
.lb-page .tile .glyph { width: 15px; height: 15px; }
@media (max-width: 420px) {
  .lookback { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lb-photo { height: 110px; transform: none; }
  [data-feat="lookback"] .feat-demo { height: auto; }
}

/* Home and car records: what you mention lands on the thing's own page,
   and its upkeep moves on. */
.home-rec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; align-items: center; width: 100%; max-width: 500px; }
.rec-said { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.rec-words { font: italic 16px/1.35 var(--said); color: var(--ink2); }
.rec-added { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 12px 6px 6px; border-radius: 14px; background: var(--surface); box-shadow: 0 6px 16px rgba(var(--shade), .08); font: 800 13.5px/1.2 var(--display); }
.rec-added .tile, .thing-head .tile { width: 28px; height: 28px; border-radius: 8px; }
.rec-added .tile .glyph, .thing-head .tile .glyph { width: 16px; height: 16px; }
.thing { display: grid; gap: 10px; padding: 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 20px rgba(var(--shade), .1); min-width: 0; }
.thing-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }
.thing-head > span:last-child, .upkeep li > span:first-child { display: grid; min-width: 0; }
.thing-head b { font: 800 16px/1.2 var(--display); }
.thing-head small, .upkeep small { font-size: 12px; line-height: 1.3; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upkeep { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.upkeep li { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.upkeep b { font: 800 13.5px/1.25 var(--display); }
.upkeep .when { position: relative; display: grid; justify-items: end; font: 800 12px/1.3 var(--display); color: var(--ink2); white-space: nowrap; }
.when em { grid-area: 1 / 1; font-style: normal; }
.when .was { color: var(--k-dates); opacity: 0; }

/* Your numbers: one from Apple Health with its line, two smaller ones beside it. */
.numbers { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; width: 100%; max-width: 500px; }
.num-card { display: grid; align-content: start; gap: 2px; padding: 9px 12px; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 20px rgba(var(--shade), .08); min-width: 0; }
.num-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.num-name { display: inline-flex; align-items: center; gap: 5px; font: 800 12.5px/1.2 var(--display); color: var(--k-dates); white-space: nowrap; }
.num-mini .num-name { color: var(--c); }
.num-name .ico { width: 14px; height: 14px; }
.num-src { font-size: 11.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num-big { font: 800 26px/1.1 var(--display); letter-spacing: -0.01em; }
.num-big small { margin-left: 3px; font-size: 14px; font-weight: 700; color: var(--ink2); }
.spark { display: block; width: 100%; height: auto; margin: 4px 0 2px; overflow: visible; }
.spark path { fill: none; stroke: var(--k-dates); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark circle { fill: var(--k-dates); stroke: var(--surface); stroke-width: 2.5; }
.num-note, .num-mini small { font-size: 12px; line-height: 1.3; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num-main { align-content: space-between; padding: 11px 13px; }
.num-side { display: grid; gap: 8px; min-width: 0; }
.num-mini { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: end; }
.num-mini .num-name, .num-mini small { grid-column: 1 / -1; }
.num-mini b { font: 800 18px/1.15 var(--display); }
.bars { display: flex; align-items: flex-end; gap: 3px; width: 54px; height: 20px; }
.bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: color-mix(in srgb, var(--c) 30%, transparent); transform-origin: bottom; }
.bars i:last-child { background: var(--c); }

/* Where I parked: the spot, kept the moment it's said. */
.spot { display: grid; gap: 10px; width: 100%; max-width: 270px; }
.spot-said { font: italic 16px/1.3 var(--said); color: var(--ink2); }
.spot-card { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 20px rgba(var(--shade), .1); min-width: 0; }
.spot-map {
  position: relative;
  flex: none;
  width: 54px; height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 40%, var(--surface) 40% 52%, transparent 52%),
    linear-gradient(0deg, transparent 64%, var(--surface) 64% 74%, transparent 74%),
    color-mix(in srgb, var(--k-places) 12%, var(--surface2));
}
.spot-ring { position: absolute; left: 46%; top: 42%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--k-whereabouts) 60%, transparent); background: color-mix(in srgb, var(--k-whereabouts) 16%, transparent); }
.spot-dot { position: absolute; left: 46%; top: 42%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--k-whereabouts); box-shadow: 0 0 0 2.5px var(--surface); }
.spot-text { display: grid; min-width: 0; }
.spot-text b { font: 800 14.5px/1.25 var(--display); }
.spot-text small { font-size: 12px; line-height: 1.3; color: var(--ink2); white-space: nowrap; }
.spot-actions { display: flex; gap: 6px; }
.spot-actions span { font: 700 12.5px/1 var(--display); padding: 8px 12px; border-radius: 999px; background: var(--surface); color: var(--ink2); }
.spot-actions .on { background: var(--iris); color: var(--on-iris); }

/* On a phone the two wide demos stack. */
@media (max-width: 620px) {
  [data-feat="home"] .feat-demo, [data-feat="numbers"] .feat-demo { height: auto; padding-block: 20px; }
  .home-rec { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 340px; }
}
@media (max-width: 400px) {
  .numbers { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
  .num-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num-mini { grid-template-columns: minmax(0, 1fr); }
  .num-mini .bars { order: 3; width: 100%; }
}

/* Live: the filter's swapped, the line draws in, the answer is read out, the spot pulses. */
.feat.is-live .rec-words { animation: rec-words 7s var(--ease) infinite; }
@keyframes rec-words { 0% { opacity: 0; transform: translateY(6px); } 8%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.feat.is-live .rec-added { animation: rec-added 7s var(--ease) infinite; }
@keyframes rec-added { 0%, 24% { opacity: 0; transform: scale(.9); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.feat.is-live .when .was { animation: rec-was 7s ease infinite; }
@keyframes rec-was { 0%, 36% { opacity: 1; } 42%, 100% { opacity: 0; } }
.feat.is-live .when .now { animation: rec-now 7s ease infinite; }
@keyframes rec-now { 0%, 36% { opacity: 0; } 42%, 100% { opacity: 1; } }
.feat.is-live .spark path { stroke-dasharray: 1; animation: spark 6s var(--ease) infinite; }
@keyframes spark { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
.feat.is-live .spark circle { animation: spark-dot 6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spark-dot { 0%, 42% { opacity: 0; transform: scale(.2); } 50% { opacity: 1; transform: scale(1.35); } 56%, 100% { opacity: 1; transform: none; } }
.feat.is-live .bars i { animation: bar 6s var(--ease) infinite; }
@keyframes bar { 0% { transform: scaleY(.15); } 30%, 100% { transform: none; } }
.feat.is-live .spot-ring { animation: fence 2.4s ease-in-out infinite; }

/* Hear it back: a spoken question, and its answer read out. */
.hear { display: grid; gap: 10px; width: 100%; max-width: 280px; }
.hear-q { justify-self: end; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 8px 13px; border-radius: 18px 18px 5px 18px; background: var(--iris); color: var(--on-iris); font: italic 15px/1.3 var(--said); }
.hear-q .ico { width: 15px; height: 15px; }
.hear-a { display: grid; gap: 10px; padding: 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 20px rgba(var(--shade), .1); }
.hear-text { font: 800 15.5px/1.3 var(--display); }
.hear-play { display: flex; align-items: center; gap: 8px; color: var(--iris); }
.hear-play .ico { width: 17px; height: 17px; }
.hear-wave { display: flex; align-items: center; gap: 3px; height: 16px; }
.hear-wave i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform: scaleY(.4); }
.hear-wave i:nth-child(3n) { transform: scaleY(.75); }
.hear-word { font: 700 12px/1 var(--display); color: var(--ink3); }
.feat.is-live .hear-wave i { animation: hear-wave .9s ease-in-out infinite; }
.feat.is-live .hear-wave i:nth-child(2n) { animation-delay: .2s; }
.feat.is-live .hear-wave i:nth-child(3n) { animation-delay: .45s; }
@keyframes hear-wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* Connected: three pages, a place, a person and a thing, linked by what's been said.
   Two threads take turns lighting up: the lake weekend, and Diaz Heating. */
.links { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
@media (max-width: 899px) { .links { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 560px; } }
.link-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
@media (max-width: 899px) { .link-wires { display: none; } }
.link-wires path { fill: none; stroke-width: 2.5; stroke-linecap: round; opacity: .3; transition: opacity .5s ease; }
.link-wires circle { stroke: var(--canvas); stroke-width: 3; opacity: .3; transition: opacity .5s ease; }
.link-wires [data-wire="a"] { stroke: var(--k-places); }
.link-wires [data-wire="b"] { stroke: var(--k-whereabouts); }
.link-wires circle[data-wire="a"] { fill: var(--k-places); }
.link-wires circle[data-wire="b"] { fill: var(--k-whereabouts); }
.links:not([data-on]) .link-wires *, .links[data-on="a"] .link-wires [data-wire="a"], .links[data-on="b"] .link-wires [data-wire="b"] { opacity: 1; }
.link-card { position: relative; z-index: 1; display: grid; align-content: start; gap: 12px; padding: 16px; border-radius: 24px; background: var(--surface); box-shadow: 0 8px 22px rgba(var(--shade), .08); min-width: 0; }
.link-head { display: flex; align-items: center; gap: 12px; }
.link-head > span:last-child { display: grid; min-width: 0; }
.link-head b { font: 800 18px/1.2 var(--display); }
.link-head small { font-size: 13px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.link-label { font: 800 11.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-right: 2px; }
.link-chips i { font: 700 13px/1 var(--display); font-style: normal; padding: 7px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--c); }
.link-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.link-rows li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; font: 700 14.5px/1.3 var(--display); transition: background .45s ease, box-shadow .45s ease; }
.link-rows small { font: 400 12.5px/1.3 var(--body); color: var(--ink2); }
.link-rows [data-link="a"] { --c: var(--k-places); }
.link-rows [data-link="b"] { --c: var(--k-whereabouts); }
.links:not([data-on]) [data-link], .links[data-on="a"] [data-link="a"], .links[data-on="b"] [data-link="b"] {
  background: color-mix(in srgb, var(--c) 12%, var(--surface));
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, transparent);
}
.link-ask { display: grid; gap: 12px; justify-items: start; max-width: 640px; margin-top: 40px; }
.link-q { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 7px 7px 7px 18px; border-radius: 999px; background: var(--surface); box-shadow: 0 6px 16px rgba(var(--shade), .08); font: italic 17px/1.3 var(--said); }
.link-q .ico { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--iris); color: var(--on-iris); }
.link-a { padding: 16px 18px; border-radius: 22px; background: var(--surface); box-shadow: 0 10px 28px rgba(var(--shade), .1); font: 800 clamp(17px, 1.7vw, 21px)/1.35 var(--display); }
.link-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.link-note .ico { margin-top: 3px; color: var(--iris); }
