/* Kiddo Flow marketing site.
   Layout concept: a light, open "paper" page with navy bands, where the lime
   ring from the wordmark does the moving: it is the day clock in the hero, the
   sun crossing the day, the bullet in every list. Lime only ever fills shapes;
   lime-deep carries lime meaning in text. */
:root {
  --ink: #16212E;
  --ink-2: #243449;
  --deep: #0F1822;
  --paper: #F6F7F4;
  --card: #FFFFFF;
  --mist: #EEF1EC;
  --line: #E1E5DF;
  --muted: #5A6574;
  --lime: #E2E619;
  --lime-deep: #666909;
  --lime-soft: #F1F3C9;
  --coral: #FF7A59;
  --sky: #4FB6E0;
  --berry: #F2789A;
  --ok: #126B34;
  --ok-soft: #E3F3E8;
  --bad: #B91C1C;
  --bad-soft: #FDE8E8;
  --on-ink: #F5F7F5;
  --on-ink-lo: #A3B0BD;
  --ink-line: rgba(255, 255, 255, .12);
  --display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .foot :focus-visible { outline-color: var(--lime); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgba(246, 247, 244, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .25s;
}
/* The line marks the top of the page; once the page scrolls under the bar it goes. */
.top.scrolled { border-bottom-color: transparent; }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 8px 12px; border-radius: 999px; color: var(--ink);
}
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"]::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: 1px;
  border-radius: 50%; border: 2px solid var(--lime); box-sizing: border-box;
}
.top-actions { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: var(--ink); color: var(--on-ink); border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 700; cursor: pointer; }
.nav .nav-only { display: none; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; order: 3; margin-left: 0; }
  .top .wrap { gap: 10px; }
  .top-actions { margin-left: auto; }
  .top-actions .btn-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .nav a[aria-current="page"] { background: var(--lime-soft); }
  .nav a[aria-current="page"]::before { display: none; }
  .nav .nav-only { display: block; }
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s, box-shadow .15s;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: var(--ink-2); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(22, 33, 46, .18); }
.btn-lime:hover { background: #EDF04A; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }
.on-ink .btn-line { border-color: rgba(255,255,255,.5); color: var(--on-ink); }
.on-ink .btn-line:hover { background: var(--on-ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn .ring-dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid currentColor; }
.textlink { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 1px; }
.textlink:hover { border-bottom-color: var(--ink); }
.on-ink .textlink:hover { border-bottom-color: var(--on-ink); }

/* ---------- Type scale ---------- */
.display { font-weight: 800; font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -.035em; line-height: .98; }
.h2 { font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.03em; }
.h3 { font-weight: 700; font-size: clamp(21px, 2vw, 25px); letter-spacing: -.015em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.on-ink .lede, .on-ink .muted { color: var(--on-ink-lo); }
.muted { color: var(--muted); }
/* The period that closes a headline is the wordmark's lime ring. */
.ringstop {
  display: inline-block; width: .3em; height: .3em; margin-left: .06em;
  border-radius: 50%; border: .085em solid var(--lime-deep); background: var(--lime);
  vertical-align: baseline;
}
.on-ink .ringstop { border-color: var(--lime); background: transparent; }

/* ---------- Bands ---------- */
.band { padding-block: clamp(64px, 9vw, 120px); }
.band-tight { padding-block: clamp(44px, 6vw, 72px); }
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-mist { background: var(--mist); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 40px; }
.sec-head.split > div { display: grid; gap: 16px; max-width: 720px; }
@media (max-width: 760px) { .sec-head.split { grid-template-columns: minmax(0, 1fr); } }

/* Ring bullets */
.ringlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ringlist li { position: relative; padding-left: 28px; }
.ringlist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%;
  border: 3.5px solid var(--lime-deep); box-sizing: border-box;
}
.on-ink .ringlist li::before { border-color: var(--lime); }
.ringlist b { font-weight: 700; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--muted); }
.kicker i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; font-size: 15px; color: var(--muted); margin-top: 6px; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: left; }
}
@media (max-width: 480px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* The day stage: lime ring clock with the family phone in front of it. */
.stage { position: relative; width: min(100%, 580px); margin-inline: auto; aspect-ratio: 1 / 1.02; }
.stage .dial { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial .track { fill: none; stroke: var(--lime-soft); stroke-width: 34; }
.dial .arc { fill: none; stroke: var(--lime); stroke-width: 34; stroke-linecap: round; }
.dial .tick { stroke: rgba(22, 33, 46, .28); stroke-width: 2; stroke-linecap: round; }
.dial .hr { font: 600 13px var(--body); fill: var(--muted); }
.dial .knob { fill: var(--ink); }
.dial .knob-in { fill: var(--lime); }
.stage .phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.clockface {
  position: absolute; left: 0; top: 2%; display: grid; gap: 2px;
  font-variant-numeric: tabular-nums;
}
.clockface { max-width: calc(50% - 140px); }
.clockface b { font: 800 clamp(22px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.clockface span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.replay {
  position: absolute; right: 0; bottom: 3%;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 14px; font-weight: 700; font-size: 14px; cursor: pointer;
  box-shadow: 0 6px 16px -10px rgba(22, 33, 46, .4);
}
.replay:hover { border-color: var(--ink); }
.replay svg { width: 16px; height: 16px; }
@media (max-width: 520px) {
  .stage { aspect-ratio: auto; height: 680px; }
  .stage .phone { top: calc(50% + 6px); }
  .clockface { max-width: none; display: flex; align-items: baseline; gap: 10px; }
  .stage .dial { inset: 40px -40px; width: calc(100% + 80px); height: calc(100% - 80px); }
  .clockface { top: 0; }
  .replay { bottom: 0; }
}

/* ---------- Phone ---------- */
.phone {
  width: 264px; flex: none; border-radius: 44px; padding: 10px;
  background: linear-gradient(155deg, #2E4259, var(--deep) 60%);
  box-shadow: 0 50px 80px -40px rgba(15, 24, 34, .75), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.screen {
  position: relative; height: 540px; border-radius: 35px; overflow: hidden;
  background: var(--paper); color: var(--ink); display: flex; flex-direction: column;
  font-size: 13px; line-height: 1.35;
}
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font: 700 12.5px var(--body); font-variant-numeric: tabular-nums; }
.sbar .island { width: 78px; height: 22px; border-radius: 999px; background: var(--deep); }
.sbar .icons { display: flex; gap: 4px; align-items: center; }
.sbar .icons i { display: block; width: 15px; height: 9px; border-radius: 2.5px; border: 1.6px solid var(--ink); position: relative; }
.sbar .icons i::after { content: ""; position: absolute; inset: 1px; right: 4px; background: var(--ink); border-radius: 1px; }
.sbar .icons s { width: 14px; height: 9px; background: linear-gradient(90deg, var(--ink) 0 22%, transparent 0 34%, var(--ink) 0 56%, transparent 0 68%, var(--ink) 0); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.app-h { padding: 8px 16px 10px; display: grid; gap: 8px; }
.app-h .who { display: flex; align-items: center; gap: 10px; }
.av {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 800 12.5px var(--display); color: var(--ink); background: var(--lime);
}
.av.sky { background: var(--sky); } .av.coral { background: var(--coral); } .av.berry { background: var(--berry); }
.av.ink { background: var(--ink); color: var(--lime); }
.app-h .who b { display: block; font: 700 16px/1.1 var(--display); }
.app-h .who small { color: var(--muted); font-size: 11.5px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-weight: 700; font-size: 11.5px; width: max-content; }
.pill.in { background: var(--ok-soft); color: var(--ok); }
.pill.in::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pill.out { background: var(--mist); color: var(--muted); }
.pill.warn { background: var(--bad-soft); color: var(--bad); }
.pill.founding { background: var(--lime-soft); color: var(--lime-deep); font-size: 13.5px; padding: 6px 12px; }
.pill.founding::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2.5px solid var(--lime-deep); }
.allergy { display: flex; gap: 8px; align-items: center; margin: 0 16px 8px; padding: 7px 10px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-weight: 700; font-size: 11.5px; }
.views { position: relative; flex: 1; min-height: 0; }
.view { position: absolute; inset: 0; overflow: hidden; padding: 0 12px; }
.view[hidden] { display: none !important; }
.ptabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: var(--card); padding: 6px 6px 14px; }
.ptabs button {
  border: 0; background: none; cursor: pointer; display: grid; justify-items: center; gap: 2px;
  padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--muted); border-radius: 12px;
}
.ptabs button svg { width: 20px; height: 20px; }
.ptabs button[aria-selected="true"] { color: var(--ink); }
.ptabs button[aria-selected="true"] svg { stroke: var(--ink); }
.ptabs button[aria-selected="true"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime-deep); }

/* Timeline inside the phone */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tl li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px;
}
.tl li.enter { animation: slotIn .55s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes slotIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.tl .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--mist); }
.tl .ic svg { width: 17px; height: 17px; }
.tl .ic.lime { background: var(--lime-soft); } .tl .ic.sky { background: #DDF0F8; } .tl .ic.coral { background: #FFE6DE; } .tl .ic.berry { background: #FDE5EC; } .tl .ic.ok { background: var(--ok-soft); }
.tl b { display: block; font-weight: 700; font-size: 12.5px; }
.tl span { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl time { font-weight: 700; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; align-self: start; padding-top: 2px; }
.tl .empty { display: block; text-align: center; color: var(--muted); padding: 24px 8px; background: none; border: 1px dashed var(--line); }

/* Push banner that drops into the phone */
.push {
  position: absolute; left: 8px; right: 8px; top: 8px; z-index: 5;
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: center;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; padding: 9px 11px; box-shadow: 0 12px 26px -12px rgba(15, 24, 34, .45);
  transform: translateY(-130%); transition: transform .45s cubic-bezier(.2, .9, .3, 1.15);
}
.push.show { transform: translateY(0); }
.push .app { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.push .app i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--lime); }
.push b { display: block; font-size: 11.5px; }
.push p { font-size: 11.5px; color: var(--ink); line-height: 1.3; }

/* Messages + billing views */
.msg { display: grid; gap: 8px; padding-top: 4px; }
.bub { max-width: 84%; padding: 8px 11px; border-radius: 15px; font-size: 12px; }
.bub.them { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bub.me { background: var(--ink); color: var(--on-ink); justify-self: end; border-bottom-right-radius: 5px; }
.bub small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.bub.me small { color: var(--on-ink-lo); }
.snap { border-radius: 12px; overflow: hidden; margin-top: 6px; }
.snap svg { display: block; width: 100%; height: auto; }
.bill { display: grid; gap: 8px; padding-top: 4px; }
.bill .due { background: var(--ink); color: var(--on-ink); border-radius: 16px; padding: 14px; display: grid; gap: 4px; }
.bill .due small { color: var(--on-ink-lo); font-size: 11px; }
.bill .due b { font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.bill .due .btn { min-height: 34px; font-size: 12.5px; margin-top: 8px; padding: 0 14px; }
.bill .row { display: flex; justify-content: space-between; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; font-size: 12px; }
.bill .row span { color: var(--muted); }

/* ---------- Quote band ---------- */
.quote { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.quote .big-ring { width: clamp(70px, 10vw, 120px); aspect-ratio: 1; border-radius: 50%; border: clamp(14px, 2vw, 24px) solid var(--lime); }
.quote p { font: 700 clamp(24px, 3.1vw, 38px)/1.2 var(--display); letter-spacing: -.02em; max-width: 26em; }
.quote p span { color: var(--on-ink-lo); }
@media (max-width: 600px) { .quote { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Day road: each stop's clock winds to its time and the record is saved ---------- */
.dayroad { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.dayroad .rail { position: absolute; left: 33px; right: 0; top: 31px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 0 18px); }
.dayroad .rail i { position: absolute; inset: 0; border-radius: 4px; background: var(--lime-deep); transform-origin: left center; transform: scaleX(var(--p, 1)); transition: transform .9s cubic-bezier(.4, 0, .2, 1); }
.stop { position: relative; display: grid; gap: 10px; align-content: start; z-index: 1; }
.stop .t {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--line);
  transition: background .35s, border-color .35s, transform .35s cubic-bezier(.2, .9, .3, 1.4);
}
.clk { width: 46px; height: 46px; overflow: visible; }
.clk .face { fill: none; }
.clk .pip { fill: var(--line); transition: fill .35s; }
.clk line { stroke: var(--ink); stroke-linecap: round; transform-origin: 20px 20px; transition: stroke .35s, transform 1.1s cubic-bezier(.3, .7, .2, 1); }
.clk .hh { stroke-width: 3.2; transform: rotate(var(--ha, 0deg)); }
.clk .mh { stroke-width: 2.2; transform: rotate(var(--ma, 0deg)); }
.clk .hub { fill: var(--ink); transition: fill .35s; }
.stop time { font: 700 14px var(--display); color: var(--lime-deep); font-variant-numeric: tabular-nums; }
.stop h3 { font-size: 19px; }
.stop p { color: var(--muted); font-size: 15.5px; }
.stop aside { position: relative; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink); display: grid; gap: 2px; transition: opacity .4s, transform .4s, box-shadow .4s; }
.stop aside b { display: block; font-size: 12.5px; color: var(--lime-deep); }
.stop .saved { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ok); margin-top: 4px; }
.stop .saved::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--ok); }
.stop.lit .t { background: var(--ink); border-color: var(--ink); transform: scale(1.08); }
.stop.lit .clk line { stroke: var(--lime); }
.stop.lit .clk .hub, .stop.lit .clk .pip { fill: var(--lime); }
/* While the sequence runs, stops it hasn't reached yet wait half-faded. */
.dayroad.armed .stop:not(.lit) aside { opacity: .4; transform: translateY(8px); }
.dayroad.armed .stop:not(.lit) .saved { opacity: 0; }
.dayroad.armed .stop.lit aside { box-shadow: 0 14px 28px -18px rgba(22, 33, 46, .45); }
.stop .saved { transition: opacity .3s .5s; }
.stop.now aside { animation: stamp .55s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes stamp { 0% { transform: translateY(8px) scale(.96); } 60% { transform: translateY(-3px) scale(1.02); } 100% { transform: none; } }
@media (max-width: 900px) {
  .dayroad { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 86px; }
  .dayroad .rail { left: 31px; right: auto; top: 33px; bottom: 33px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 0 18px); }
  .dayroad .rail i { transform-origin: center top; transform: scaleY(var(--p, 1)); }
  .stop .t { position: absolute; left: -86px; top: 0; }
  .stop { min-height: 66px; }
}

/* ---------- Ratio board ---------- */
.board { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .board { grid-template-columns: minmax(0, 1fr); } }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; position: relative; }
@media (max-width: 520px) { .rooms { grid-template-columns: minmax(0, 1fr); } }
.room {
  background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); border-radius: 20px; padding: 18px;
  display: grid; gap: 12px; transition: border-color .3s, background .3s;
}
.room.bad { border-color: rgba(220, 38, 38, .8); background: rgba(220, 38, 38, .12); animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.room-h { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.room-h b { font: 700 17px var(--display); display: flex; align-items: center; gap: 9px; }
.room-h b i { width: 12px; height: 12px; border-radius: 50%; }
.room small { color: var(--on-ink-lo); font-size: 13px; }
.counts { display: flex; gap: 22px; font-variant-numeric: tabular-nums; }
.counts div { display: grid; }
.counts b { font: 800 30px/1 var(--display); }
.counts span { font-size: 12.5px; color: var(--on-ink-lo); }
.meter { height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 8px; background: var(--lime); transition: width .5s cubic-bezier(.3,.8,.3,1), background .3s; }
.room.bad .meter i { background: var(--bad); }
.status { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(21, 128, 61, .2); color: #7EE2A0; }
.room.bad .status { background: var(--bad); color: #fff; }
.alertbar {
  grid-column: 1 / -1; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center;
  background: var(--card); color: var(--ink); border-radius: 16px; padding: 12px 14px; font-size: 14.5px;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.alertbar.show { opacity: 1; transform: none; }
.alertbar .av { width: 34px; height: 34px; }
.alertbar.fixed .av { background: var(--ok); color: #fff; }
.alertbar.broke .av { background: var(--bad); color: #fff; }
.headcount { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; font-variant-numeric: tabular-nums; }
.headcount div { display: grid; gap: 2px; }
.headcount b { font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.headcount span { color: var(--on-ink-lo); font-size: 14px; }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .roles { grid-template-columns: minmax(0, 1fr); } }
.role { border-radius: 26px; padding: clamp(22px, 3vw, 30px); display: grid; gap: 14px; align-content: start; }
.role .where { font-weight: 600; font-size: 14px; }
.role h3 { font-size: 28px; font-weight: 800; }
.role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 16px; }
.role li { padding-left: 22px; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 3px solid currentColor; box-sizing: border-box; opacity: .8; }
.role-dir { background: var(--ink); color: var(--on-ink); }
.role-dir .where { color: var(--lime); }
.role-tch { background: var(--lime); color: var(--ink); }
.role-tch .where { color: var(--ink); opacity: .7; }
.role-fam { background: var(--card); border: 1px solid var(--line); }
.role-fam .where { color: var(--muted); }

/* ---------- Invite code ---------- */
.invite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .invite { grid-template-columns: minmax(0, 1fr); } }
.codecard { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(22, 33, 46, .45); }
.codecard .lbl { font-weight: 700; font-size: 15px; }
.boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 1.2vw, 12px); }
.boxes span {
  aspect-ratio: .82; border-radius: 14px; border: 2px solid var(--line); background: var(--paper);
  display: grid; place-items: center; font: 800 clamp(24px, 3.6vw, 38px)/1 var(--display); text-transform: uppercase;
  transition: border-color .2s, background .2s;
}
.boxes span.on { border-color: var(--ink); background: var(--card); animation: pop .28s cubic-bezier(.2,.9,.3,1.4); }
.boxes span.cur { border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-soft); }
@keyframes pop { from { transform: scale(.82); } to { transform: none; } }
.joined { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; border-radius: 18px; padding: 12px 14px; background: var(--ok-soft); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.joined.show { opacity: 1; transform: none; }
.joined .av { width: 44px; height: 44px; font-size: 14px; }
.joined b { display: block; }
.joined span { color: var(--muted); font-size: 14.5px; }
.codes-note { font-size: 14.5px; color: var(--muted); }

/* ---------- Pricing teaser + calculator ---------- */
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .price-row { grid-template-columns: minmax(0, 1fr); } }
.calc { background: var(--ink); color: var(--on-ink); border-radius: 30px; padding: clamp(22px, 3.5vw, 38px); display: grid; gap: 22px; }
.calc label { font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.calc label output { font: 800 22px var(--display); font-variant-numeric: tabular-nums; color: var(--lime); }
.calc .total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.calc .total b { font: 800 clamp(54px, 7vw, 84px)/1 var(--display); letter-spacing: -.04em; }
.calc .total span { color: var(--on-ink-lo); font-size: 17px; }
.calc .per { color: var(--on-ink-lo); font-size: 15px; }
.calc .per b { color: var(--on-ink); }
.breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink-line); font-variant-numeric: tabular-nums; }
.breakdown li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--ink-line); font-size: 15px; }
.breakdown li span { color: var(--on-ink-lo); }
.breakdown li.off span, .breakdown li.off b { color: var(--on-ink-lo); font-weight: 400; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--lime) 0 var(--fill, 30%), rgba(255,255,255,.14) var(--fill, 30%)); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 10px; background: rgba(255,255,255,.14); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--lime); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 7px solid var(--lime); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 7px solid var(--lime); }
input[type="range"]:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.light-range input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--ink) 0 var(--fill, 30%), var(--line) var(--fill, 30%)); }
.light-range input[type="range"]::-moz-range-track { background: var(--line); }
.light-range input[type="range"]::-moz-range-progress { background: var(--ink); }
.light-range input[type="range"]::-webkit-slider-thumb { background: var(--card); border-color: var(--ink); }
.light-range input[type="range"]::-moz-range-thumb { background: var(--card); border-color: var(--ink); }
.light-range input[type="range"]:focus-visible { outline-color: var(--ink); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiers div { border-radius: 14px; padding: 14px; display: grid; gap: 4px; min-width: 0; }
.tiers b { font: 800 22px var(--display); }
.tiers span { font-size: 13.5px; }
.tiers .t1 { background: var(--lime); }
.tiers .t2 { background: var(--ink); color: var(--on-ink); }
.tiers .t3 { background: var(--mist); }
@media (max-width: 640px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; }
@media (max-width: 900px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .included { grid-template-columns: minmax(0, 1fr); } }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font: 700 18px var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 3.5px solid var(--ink); transition: background .2s, border-color .2s; }
.faq details[open] summary::after { background: var(--lime); border-color: var(--lime-deep); }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.cta-band .h2 { max-width: 15em; }
@media (max-width: 800px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner page opener ---------- */
.opener { padding-block: clamp(32px, 5vw, 64px) clamp(36px, 5vw, 64px); }
.opener .wrap { display: grid; gap: 22px; }
.opener.split .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .opener.split .wrap { grid-template-columns: minmax(0, 1fr); } }
.opener-copy { display: grid; gap: 22px; }
.crumb { font-weight: 700; font-size: 15px; color: var(--lime-deep); display: inline-flex; align-items: center; gap: 10px; }
.crumb::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 3.5px solid var(--lime-deep); }

/* ---------- Toolkit (features) ---------- */
.kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 72px); }
@media (max-width: 800px) { .kit { grid-template-columns: minmax(0, 1fr); } }
.kit-group { display: grid; gap: 18px; align-content: start; }
.kit-group h3 { font-size: 26px; font-weight: 800; padding-bottom: 14px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; gap: 12px; }
.kit-group h3 i { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.kit-group dl { margin: 0; display: grid; gap: 16px; }
.kit-group dt { font-weight: 700; font-size: 17px; }
.kit-group dd { margin: 2px 0 0; color: var(--muted); font-size: 16px; }

/* Log-the-room demo */
.roomlog { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .roomlog { grid-template-columns: minmax(0, 1fr); } }
.tablet { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(16px, 3vw, 26px); display: grid; gap: 16px; box-shadow: 0 30px 60px -40px rgba(22,33,46,.45); }
.tablet-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tablet-h b { font: 800 20px var(--display); display: flex; align-items: center; gap: 10px; }
.tablet-h b i { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-deep) inset; }
.kids { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .kids { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kid { display: grid; justify-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; position: relative; }
.kid .av { width: 100%; max-width: 52px; height: auto; aspect-ratio: 1; font-size: 14px; }
.kid em { position: absolute; top: -4px; right: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-style: normal; transform: scale(0); transition: transform .3s cubic-bezier(.2,.9,.3,1.5); }
.kid em svg { width: 13px; height: 13px; }
.kid.done em { transform: scale(1); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button { border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 14.5px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.presets button svg { width: 18px; height: 18px; }
.presets button:hover { border-color: var(--ink); }
.presets button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.presets button[aria-pressed="true"] svg { stroke: var(--lime); }
.toast { min-height: 46px; display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 10px 14px; background: var(--mist); font-weight: 600; font-size: 15px; }
.toast.ok { background: var(--ok-soft); color: var(--ok); }

/* ---------- Families ---------- */
.duo-phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.duo-phones .phone:nth-child(2) { margin-top: 64px; }
@media (max-width: 640px) { .duo-phones .phone:nth-child(2) { display: none; } }
.report-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 8px; margin-bottom: 8px; }
.report-card .rc-h { margin: 0; font: 700 12.5px var(--body); display: flex; justify-content: space-between; }
.report-card .rc-h span { color: var(--muted); font-weight: 600; }
.report-card p { font-size: 11.5px; color: var(--muted); }
.sig { background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; height: 64px; position: relative; }
.sig svg { position: absolute; inset: 6px 10px; width: calc(100% - 20px); height: calc(100% - 12px); }
.sig path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.sig.draw path { animation: draw 2.4s ease-in-out both; }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
.signed { display: flex; gap: 6px; align-items: center; font-size: 10.5px; color: var(--ok); font-weight: 700; }

.steps-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps-3 { grid-template-columns: minmax(0, 1fr); } }
.steps-3 > div { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps-3 > div::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font: 800 18px var(--display); }
.steps-3 p { color: var(--muted); font-size: 16px; }
.on-ink .steps-3 > div { background: rgba(255,255,255,.04); border-color: var(--ink-line); }
.on-ink .steps-3 > div::before { background: var(--lime); color: var(--ink); }
.on-ink .steps-3 p { color: var(--on-ink-lo); }

.install { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .install { grid-template-columns: minmax(0, 1fr); } }
.install article { border-radius: 24px; padding: 26px; display: grid; gap: 14px; align-content: start; background: var(--card); border: 1px solid var(--line); }
.install ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.install .note { font-size: 14.5px; color: var(--muted); }

.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split2 { grid-template-columns: minmax(0, 1fr); } }
.split2 > div { display: grid; gap: 20px; min-width: 0; }

/* ---------- Licensing ---------- */
.ratio-tool { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 22px; box-shadow: 0 30px 60px -40px rgba(22,33,46,.45); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 13px; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.field-l { font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.field-l output { font: 800 22px var(--display); font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--paper); border: 2px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--card); font: 800 20px/1 var(--display); cursor: pointer; box-shadow: 0 1px 2px rgba(22,33,46,.12); }
.stepper output { min-width: 44px; text-align: center; font: 800 22px var(--display); font-variant-numeric: tabular-nums; }
.verdict { border-radius: 20px; padding: 18px 20px; display: grid; gap: 6px; transition: background .25s, color .25s; }
.verdict b { font: 800 24px var(--display); }
.verdict.ok { background: var(--ok-soft); color: var(--ok); }
.verdict.bad { background: var(--bad-soft); color: var(--bad); }
.verdict p { color: var(--ink); font-size: 15.5px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.toggle input { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.toggle input:checked { background: var(--ink); }
.toggle input:checked::after { transform: translateX(18px); background: var(--lime); }
.toggle input:disabled { opacity: .45; cursor: not-allowed; }
.ratio-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ratio-table th, .ratio-table td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--ink-line); }
.ratio-table th { font-size: 14px; color: var(--on-ink-lo); font-weight: 600; }
.ratio-table td b { font: 800 22px var(--display); color: var(--lime); }
.table-scroll { overflow-x: auto; }
.evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .evidence { grid-template-columns: minmax(0, 1fr); } }
.evidence article { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ink); }
.evidence h3 { font-size: 22px; }
.evidence p { color: var(--muted); font-size: 16px; }
.stamp { font-variant-numeric: tabular-nums; font-size: 13.5px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.stamp span { color: var(--muted); }
.stamp .ok { color: var(--ok); font-weight: 700; }

/* ---------- Get started form ---------- */
.start { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .start { grid-template-columns: minmax(0, 1fr); } }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: clamp(20px, 3.5vw, 36px); display: grid; gap: 16px; box-shadow: 0 30px 60px -40px rgba(22,33,46,.45); }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: minmax(0, 1fr); } }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form label small { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 400 16px var(--body); color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; min-width: 0;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: var(--card); }
.form .note { font-size: 14.5px; color: var(--muted); }
.form .note.warn { color: var(--bad); font-weight: 600; }
.form .note:empty { display: none; }
.start.contact { align-items: center; }
.start.contact .form { gap: 14px; }
.start.contact .form textarea { min-height: 76px; }
.form .note.ok { color: var(--ok); font-weight: 600; }
.form button[disabled] { opacity: .6; cursor: progress; }
.on-ink .form { color: var(--ink); box-shadow: none; }
.on-ink .form .muted { color: var(--muted); }
.form .sent { display: grid; gap: 10px; justify-items: start; padding: 8px 0; }
.form .sent .big-check { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.form .sent .big-check i { width: 20px; height: 20px; border-radius: 50%; border: 5px solid var(--lime); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--mist); border-radius: 16px; padding: 12px 14px; }
.contact-box code { font: 600 15.5px var(--body); word-break: break-all; }
.contact-box button { border: 2px solid var(--ink); background: transparent; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.democodes { display: flex; flex-wrap: wrap; gap: 8px; }
.democodes span { font: 800 16px var(--display); letter-spacing: .06em; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; }

/* ---------- Footer ---------- */
.foot { background: var(--deep); color: var(--on-ink); padding-block: clamp(52px, 7vw, 84px) 28px; }
.foot .wrap { display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
.foot-brand { display: grid; gap: 16px; align-content: start; max-width: 360px; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { color: var(--on-ink-lo); font-size: 15.5px; }
.foot h2 { font: 700 15px var(--body); color: var(--lime); margin-bottom: 14px; letter-spacing: 0; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav a { text-decoration: none; color: var(--on-ink); font-size: 15.5px; justify-self: start; max-width: 100%; }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.foot .mail { color: var(--on-ink); font-weight: 600; word-break: break-all; }
.foot-contact { display: grid; gap: 6px; justify-items: start; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 14px; color: var(--on-ink-lo); }
.legal a { color: var(--on-ink-lo); text-decoration: none; }
.legal a:hover { color: var(--on-ink); text-decoration: underline; }
.legal .copy { margin-right: auto; }
.fine { font-size: 13px; color: var(--on-ink-lo); max-width: 80ch; line-height: 1.55; }

/* ---------- Reveal (only for elements already visible at rest) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Store badges (coming soon until the listings are live) ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--on-ink); border-radius: 14px; padding: 9px 16px 9px 12px;
  font: 700 17px/1.1 var(--display); text-decoration: none;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font: 500 11.5px/1.2 var(--body); color: var(--on-ink-lo); }
a.store:hover { background: var(--ink-2); }
