/* Fonts are self-hosted (no requests to Google): Fredoka + Nunito Sans, SIL Open Font License. */
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
/* Base: user's crib logo + teal/peach/cream, widened with sun, lavender, sky, coral.
   Layout: one shared colorful body; three hero ideas (Color mesh, Slides, Bento blocks).
   Single warm light look by choice; every color explicit. */
:root {
  --cream: #FFF8EC; --white: #FFFFFF; --ink: #1E2F2C; --muted: #566B67; --line: #EADFCF;
  --teal: #4DB6AC; --teal-soft: #D9F1ED; --teal-deep: #1F6259;
  --peach: #FFD5C2; --peach-soft: #FFEBE1; --peach-deep: #A04A26;
  --sun: #FFD166; --sun-soft: #FFF0C7; --sun-deep: #7A5200;
  --lav: #CBC5FF; --lav-soft: #ECEAFF; --lav-deep: #463A9A;
  --sky: #A5DCF2; --sky-soft: #E3F4FB; --sky-deep: #145D7A;
  --coral: #FF8E72; --coral-deep: #8F2D14;
  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --ui-bg: #1B1C20; --ui-muted: #9A9CA6; --ui-line: #34363D;
}
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 3px; }

body { margin: 0; }
.site { background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--body); overflow: hidden; }
.site a { color: inherit; }
.logo { width: 46px; height: 46px; flex: none; }

/* nav */
.nav { display: flex; align-items: center; gap: 16px; padding-block: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 8px; font: 600 30px/1 var(--display); color: var(--teal-deep); text-decoration: none; }
.chips { display: flex; gap: 8px; margin-right: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font: 900 12px/1 var(--body); letter-spacing: .06em; }
.chip svg { width: 14px; height: 14px; }
.chip.free { background: var(--sun); color: var(--sun-deep); }
.chip.sec { background: var(--teal-deep); color: var(--white); }
.links { display: flex; gap: 20px; font-weight: 800; font-size: 15px; color: var(--muted); }
.links a { text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font: 900 15px/1 var(--body); text-decoration: none; border: 2px solid transparent; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.main { background: var(--ink); color: var(--white); }
.btn.soft { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn svg { width: 18px; height: 18px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); font-weight: 800; }
.trust li::before { content: "✓ "; color: var(--teal-deep); }

/* headline treatments */
.hl { font-size: clamp(44px, 6.8vw, 84px); line-height: .98; letter-spacing: -.015em; color: var(--ink); }
.grad { background: linear-gradient(95deg, var(--teal-deep) 0%, var(--lav-deep) 55%, var(--coral-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark { background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%); padding: 0 .05em; }
.lead { font-size: 19px; color: var(--muted); max-width: 32em; }

/* ---------- lock-screen phone (from A) ---------- */
.phn { width: 250px; max-width: 47%; aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 8px; background: #141C1B; box-shadow: 0 40px 70px -28px rgba(30, 47, 44, .6); flex: none; position: relative; }
.scr { position: relative; height: 100%; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 36px 13px 16px; }
.scr::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 17px; border-radius: 999px; background: #141C1B; z-index: 2; }
.scr .mini { display: flex; align-items: center; justify-content: center; gap: 6px; font: 900 10px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.scr .mini svg { width: 12px; height: 12px; }
.scr .clock { font: 700 clamp(40px, 5vw, 60px)/1 var(--display); text-align: center; margin-top: 6px; letter-spacing: -.02em; }
.scr .date { text-align: center; font: 800 12px/1 var(--body); opacity: .85; margin-bottom: 10px; }
.note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: center; padding: 9px 10px; border-radius: 18px; background: rgba(255, 255, 255, .62); color: var(--ink); font: 800 12px/1.3 var(--body); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .35); }
.note svg { width: 24px; height: 24px; background: var(--white); border-radius: 7px; padding: 2px; }
.note small { display: block; font-weight: 700; font-size: 10px; opacity: .65; }
.scr.f { background: radial-gradient(120% 70% at 20% 0%, var(--sun) 0%, transparent 60%), radial-gradient(110% 80% at 100% 100%, var(--coral) 0%, transparent 55%), var(--peach); color: var(--peach-deep); }
.scr.s { background: radial-gradient(120% 70% at 80% 0%, var(--lav-deep) 0%, transparent 60%), radial-gradient(100% 70% at 0% 100%, var(--teal) 0%, transparent 60%), var(--teal-deep); color: var(--white); }
.scr.s .note { background: rgba(255, 255, 255, .16); color: var(--white); }
.scr.a { background: radial-gradient(120% 70% at 50% 0%, var(--sky) 0%, transparent 60%), radial-gradient(100% 80% at 100% 100%, var(--lav) 0%, transparent 60%), var(--lav-soft); color: var(--lav-deep); }
.scr.a .note.ring { background: var(--coral); color: var(--white); }
.duophones { display: flex; justify-content: center; align-items: flex-start; gap: 4%; position: relative; }
.duophones .phn:first-child { transform: rotate(-5deg); }
.duophones .phn:last-child { transform: rotate(5deg) translateY(40px); }
.float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font: 900 13px/1 var(--body); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .45); white-space: nowrap; }
.float svg { width: 15px; height: 15px; }

/* ---------- marquee ---------- */
.ticker { background: var(--ink); color: var(--white); overflow: hidden; padding-block: 16px; transform: rotate(-1.2deg); margin: 10px -20px 0; position: relative; z-index: 2; }
.ticker .row { display: flex; gap: 28px; width: max-content; animation: tick 34s linear infinite; font: 600 22px/1 var(--display); }
.ticker span { display: inline-flex; align-items: center; gap: 28px; }
.ticker i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ================= HERO 1 · Color mesh ================= */
.h1m { position: relative; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 420px; height: 420px; background: var(--peach); top: -80px; left: -120px; }
.blob.b2 { width: 380px; height: 380px; background: var(--lav); top: 40px; right: -60px; animation-delay: -6s; }
.blob.b3 { width: 300px; height: 300px; background: var(--sun); bottom: -60px; left: 38%; opacity: .55; animation-delay: -12s; }
.blob.b4 { width: 260px; height: 260px; background: var(--teal); bottom: 40px; right: 18%; opacity: .45; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.h1m .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: 28px 90px; }
.h1m .copy { display: grid; gap: 22px; }
.h1m .f1 { top: 6%; left: 2%; background: var(--sun); color: var(--sun-deep); transform: rotate(-6deg); }
.h1m .f2 { top: 8%; right: 0; background: var(--white); color: var(--teal-deep); transform: rotate(5deg); }
.h1m .f3 { bottom: -4%; left: 10%; background: var(--lav-deep); color: var(--white); transform: rotate(-3deg); }

/* ================= HERO 2 · Slides ================= */
.h2s .wrap { padding-block: 12px 40px; }
.slider { position: relative; border-radius: 40px; overflow: hidden; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; padding: 56px 56px 0; min-height: 560px; position: relative; overflow: hidden; }
.slide .copy { display: grid; gap: 20px; align-self: center; padding-bottom: 56px; }
.slide .kick2 { display: inline-flex; width: max-content; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; font: 900 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.slide .hl { font-size: clamp(40px, 5.6vw, 72px); color: inherit; }
.slide .lead { color: inherit; opacity: .85; }
.slide .phn { justify-self: center; align-self: end; width: 270px; max-width: 80%; margin-bottom: -90px; transform: rotate(-4deg); }
.slide .ring2 { position: absolute; border-radius: 50%; border: 2px solid currentColor; opacity: .14; pointer-events: none; }
.sl1 { background: linear-gradient(135deg, var(--sun) 0%, var(--peach) 60%, var(--coral) 130%); color: var(--peach-deep); }
.sl1 .kick2 { background: var(--white); color: var(--peach-deep); }
.sl2 { background: linear-gradient(135deg, var(--teal-deep) 0%, #2B4F8A 70%, var(--lav-deep) 120%); color: var(--white); }
.sl2 .kick2 { background: var(--teal); color: var(--ink); }
.sl2 .btn.main { background: var(--white); color: var(--ink); }
.sl2 .btn.soft { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.sl3 { background: linear-gradient(135deg, var(--lav) 0%, var(--sky) 100%); color: var(--lav-deep); }
.sl3 .kick2 { background: var(--lav-deep); color: var(--white); }
.sctl { position: absolute; left: 56px; bottom: 22px; display: flex; gap: 10px; align-items: center; z-index: 3; }
.sctl button { border: 0; cursor: pointer; font: inherit; }
.sctl .arrow { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--ink); display: grid; place-items: center; font-size: 18px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(30, 47, 44, .3); padding: 0; transition: width .2s; }
.dots button[aria-current="true"] { width: 30px; background: var(--ink); }
.minibar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.minibar span { padding: 8px 14px; border-radius: 999px; font: 900 13px/1 var(--body); }

/* ================= HERO 3 · Bento blocks ================= */
.h3b .wrap { padding-block: 10px 40px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.tile { border-radius: 32px; padding: 28px; position: relative; overflow: hidden; display: grid; align-content: start; gap: 12px; }
.t-main { grid-column: span 2; grid-row: span 2; background: var(--teal-deep); color: var(--cream); align-content: space-between; }
.t-main .hl { color: var(--cream); font-size: clamp(40px, 5.4vw, 70px); }
.t-main .hl em { font-style: normal; color: var(--sun); }
.t-main .lead { color: #CFE7E2; }
.t-main .btn.main { background: var(--sun); color: var(--ink); }
.t-main .btn.soft { background: transparent; color: var(--cream); border-color: rgba(255, 248, 236, .35); }
.t-phones { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, var(--sun) 0%, var(--peach) 100%); padding: 30px 20px 0; align-content: end; }
.t-phones .duophones { margin-bottom: -40px; gap: 3%; }
.t-phones .phn { width: 205px; max-width: 45%; }
.t-stat { background: var(--coral); color: var(--white); }
.t-stat b { font: 700 54px/1 var(--display); }
.t-badge { background: var(--lav); color: var(--lav-deep); display: grid; place-items: center; }
.spin { width: 130px; height: 130px; animation: spin 18s linear infinite; }
.spin text { font: 900 11.5px var(--body); letter-spacing: 2.4px; fill: var(--lav-deep); }
.t-badge .core { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--lav-deep); display: grid; place-items: center; }
.t-badge .core svg { width: 26px; height: 26px; color: var(--white); }
@keyframes spin { to { transform: rotate(360deg); } }
.t-sky { background: var(--sky); color: var(--sky-deep); }
.t-mint { background: var(--teal-soft); color: var(--teal-deep); }
.tile h3 { font-size: 24px; color: inherit; }
.tile p.s { font-weight: 700; font-size: 15px; opacity: .9; }

/* ================= shared colorful body ================= */
section.s { padding-block: 80px; position: relative; }
.kick { display: inline-block; padding: 7px 14px; border-radius: 999px; font: 900 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--white); }
.s h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.01em; margin-top: 16px; max-width: 16em; color: var(--ink); }
.s .sub { margin-top: 14px; color: var(--muted); max-width: 40em; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.cc { border-radius: 32px; padding: 30px; display: grid; gap: 10px; align-content: start; min-height: 230px; position: relative; overflow: hidden; }
.cc .ic { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .7); }
.cc .ic svg { width: 26px; height: 26px; }
.cc h3 { font-size: 26px; color: inherit; }
.cc p { font-weight: 700; opacity: .9; }
.cc .big { position: absolute; right: -10px; bottom: -40px; font: 700 160px/1 var(--display); opacity: .14; }
.c-peach { background: var(--peach); color: var(--peach-deep); }
.c-teal { background: var(--teal-deep); color: var(--white); }
.c-teal .ic { background: rgba(255, 255, 255, .16); color: var(--white); }
.c-sun { background: var(--sun); color: var(--sun-deep); }
.c-lav { background: var(--lav); color: var(--lav-deep); }
.c-sky { background: var(--sky); color: var(--sky-deep); }
.c-coral { background: var(--coral); color: var(--white); }
.c-white { background: var(--white); color: var(--ink); }
.c-mint { background: var(--teal-soft); color: var(--teal-deep); }

.pain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.pain .cc { min-height: 0; padding: 22px; border-radius: 26px; gap: 8px; }
.pain s { font: 600 19px/1.2 var(--display); text-decoration-thickness: 3px; opacity: .75; }
.pain p { font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: n; }
.steps li { counter-increment: n; }
.steps li .num::before { content: "0" counter(n); }
.steps .num { font: 700 64px/1 var(--display); letter-spacing: -.03em; }

.alarmbox { background: linear-gradient(135deg, var(--lav) 0%, var(--sky) 100%); border-radius: 40px; padding: 48px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; color: var(--lav-deep); }
.alarmbox h2 { color: var(--lav-deep); margin-top: 14px; }
.alarmbox .sub { color: var(--lav-deep); opacity: .85; }
.tl { background: var(--white); border-radius: 28px; padding: 24px; display: grid; gap: 14px; }
.tr { position: relative; height: 64px; border-radius: 18px; background: var(--teal-soft); overflow: hidden; }
.beat { position: absolute; top: 14px; bottom: 14px; width: 6px; border-radius: 3px; background: var(--teal-deep); }
.gapz { position: absolute; inset: 0 0 0 30%; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255, 142, 114, .28) 8px 16px); }
.ringtag { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 900 12px/1 var(--body); color: var(--white); background: var(--coral-deep); padding: 7px 12px; border-radius: 999px; }
.axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 700; }

.tblw { overflow-x: auto; margin-top: 32px; background: var(--white); border-radius: 30px; padding: 10px 24px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
th { text-align: left; font: 900 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 12px 0; }
td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); }
.pillY, .pillN { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 900; font-size: 14px; }
.pillY { background: var(--teal-soft); color: var(--teal-deep); }
.pillN { background: var(--peach-soft); color: var(--peach-deep); }
th.us { color: var(--white); background: var(--teal-deep); border-radius: 12px 12px 0 0; padding-left: 12px; font: 600 16px/1 var(--display); letter-spacing: 0; text-transform: none; }
td.us { background: var(--teal-soft); color: var(--teal-deep); font-weight: 900; padding-left: 12px; }

.bentoF { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.bentoF .cc { min-height: 170px; padding: 24px; border-radius: 28px; }
.bentoF .wide { grid-column: span 2; }
.bentoF h3 { font-size: 21px; }
.bentoF p { font-size: 15px; }

.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--white); border-radius: 22px; padding: 18px 22px; }
.faq details[open] { background: var(--sun-soft); }
.faq summary { cursor: pointer; font: 600 19px/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--lav-deep); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 8px; }

.end { border-radius: 44px; padding: 64px 32px; text-align: center; display: grid; gap: 18px; justify-items: center; color: var(--white); background: radial-gradient(80% 120% at 0% 0%, var(--teal) 0%, transparent 60%), radial-gradient(80% 120% at 100% 100%, var(--lav-deep) 0%, transparent 60%), var(--teal-deep); position: relative; overflow: hidden; }
.end h2 { color: var(--white); margin-inline: auto; font-size: clamp(36px, 5vw, 64px); }
.end .btn.main { background: var(--sun); color: var(--ink); }
.end .btn.soft { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 48px; font-size: 14px; color: var(--muted); }
.foot b { display: block; color: var(--ink); margin-bottom: 8px; font: 600 16px/1.2 var(--display); }
.foot a { display: block; text-decoration: none; padding: 2px 0; font-weight: 700; }

@media (max-width: 960px) {
  .h1m .wrap, .slide, .alarmbox { grid-template-columns: minmax(0, 1fr); }
  .slide { padding: 40px 28px 0; }
  .sctl { left: 28px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bentoF { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { display: none; }
  .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alarmbox { padding: 32px; }
}
@media (max-width: 620px) {
  .cards3, .steps, .pain, .bentoF, .bento { grid-template-columns: minmax(0, 1fr); }
  .bentoF .wide, .t-main, .t-phones { grid-column: auto; }
  .chips { order: 3; width: 100%; }
  .float { display: none; }
  .slide .copy { padding-bottom: 20px; }
  .sctl { position: static; padding: 0 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .ticker .row, .spin { animation: none; }
  .track { scroll-behavior: auto; }
}

/* ---------- round 6 fixes ---------- */
html { scroll-behavior: smooth; }
.site { overflow: visible; overflow-x: clip; }
section[id] { scroll-margin-top: 16px; }
/* hero: title and subtitle sit together (no stretched gap) */
.t-main { align-content: start; gap: 26px; }
.t-main .mainsub { display: grid; gap: 22px; }
/* store badges */
.stores { gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px; background: #000000; color: #FFFFFF; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); min-width: 168px; transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: grid; line-height: 1.1; }
.store small { font: 700 11px/1.2 var(--body); opacity: .85; }
.store b { font: 600 20px/1.1 var(--display); letter-spacing: -.01em; }
.end .stores { justify-content: center; }
/* pain cards: red, thin strike, full-strength text */
.pain s { opacity: 1; text-decoration-line: line-through; text-decoration-color: #D62828; text-decoration-thickness: 2px; }
/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 24px max(20px, env(safe-area-inset-right, 0px)) 72px max(20px, env(safe-area-inset-left, 0px)); }
.legal h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; }
.legal .meta { color: var(--muted); font-weight: 700; margin-top: 10px; }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal h3 { font-size: 19px; margin-top: 24px; }
.legal p, .legal li { color: var(--ink); }
.legal p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; margin: 12px 0 0; }
.legal .box { background: var(--white); border-radius: 24px; padding: 22px 24px; margin-top: 20px; }
.legal .todo { background: var(--sun); color: var(--sun-deep); font-weight: 900; padding: 1px 6px; border-radius: 6px; }
.legal .tl2 { background: var(--teal-soft); border-radius: 24px; padding: 20px 24px; margin-top: 24px; }
.legal .tl2 b { color: var(--teal-deep); }
.legal a { color: var(--teal-deep); font-weight: 800; }
.legal-page .nav { border-bottom: 1px solid var(--line); }

@media (max-width: 620px) {
  /* phones tile: both phones fully visible */
  .t-phones { padding: 22px 14px 26px; align-content: center; }
  .t-phones .duophones { margin-bottom: 0; gap: 3%; }
  .t-phones .phn { width: 48%; max-width: 48%; border-radius: 30px; padding: 6px; }
  .t-phones .phn .scr { border-radius: 25px; padding: 28px 8px 12px; }
  .t-phones .duophones .phn:last-child { transform: rotate(4deg) translateY(16px); }
  .t-phones .note { font-size: 10.5px; padding: 7px 8px; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; }
  .t-phones .note svg { width: 18px; height: 18px; }
  .t-phones .scr .clock { font-size: 30px; }
  .t-main, .tile { padding: 24px; }
  /* tables become stacked cards */
  .tblw { padding: 8px 16px; }
  table.cmp, table.who { min-width: 0; }
  table.cmp thead, table.who thead { display: none; }
  table.cmp tr, table.who tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  table.cmp tr:first-child, table.who tr:first-child { border-top: 0; }
  table.cmp td, table.who td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 4px 0; text-align: right; }
  table.cmp td::before, table.who td::before { content: attr(data-label); color: var(--muted); font-weight: 800; text-align: left; }
  table.cmp td:first-child, table.who td:first-child { font: 600 18px/1.3 var(--display); text-align: left; }
  table.cmp td:first-child::before, table.who td:first-child::before { content: none; }
  table.cmp td.us { background: var(--teal-soft); border-radius: 10px; padding: 6px 10px; margin: 2px 0; }
  .store { min-width: 0; flex: 1 1 150px; }
}

/* ---------- round 7 fixes ---------- */
/* hero: title block at top, facts row anchors the bottom, no dead space */
.t-main { align-content: space-between; gap: 32px; }
.t-main .maintop { display: grid; gap: 24px; }
.herofacts { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 248, 236, .18); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.herofacts li { display: grid; gap: 2px; }
.herofacts b { font: 700 30px/1 var(--display); color: var(--sun); }
.herofacts span { font-size: 14px; font-weight: 700; color: #CFE7E2; }
/* hero phones: fully visible, no cropping */
.t-phones { align-content: center; padding: 34px 24px 54px; }
.t-phones .duophones { margin-bottom: 0; }
.t-phones .duophones .phn:last-child { transform: rotate(5deg) translateY(28px); }

/* coral needs dark text for contrast (white on coral was ~2:1) */
.c-coral, .t-stat { color: var(--coral-deep); }
.c-coral .ic { color: var(--coral-deep); }

/* feature tiles: icon + text, height from content */
.bentoF .cc { min-height: 0; padding: 24px; gap: 8px; align-content: start; }
.bentoF .ic { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 6px; }
.bentoF .ic svg { width: 24px; height: 24px; }
.cc .ic { color: inherit; }
.c-teal .ic { color: var(--white); }
.c-white .ic { background: var(--teal-soft); color: var(--teal-deep); }
.c-white p { color: var(--muted); }

/* tables, desktop: room between columns, one header style */
table td, table th { padding-left: 16px; padding-right: 16px; }
table td:first-child, table th:first-child { padding-left: 0; }
th.us { font: 900 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 14px 16px 12px; border-radius: 12px 12px 0 0; vertical-align: bottom; }
th { vertical-align: bottom; }
td.us { padding-left: 16px; }
.pillM { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--sun-soft); color: var(--sun-deep); }

@media (max-width: 620px) {
  .herofacts b { font-size: 24px; }
  .t-phones { padding: 22px 14px 40px; }
  .t-phones .duophones .phn:last-child { transform: rotate(4deg) translateY(16px); }
  /* features: compact two-column cards */
  .bentoF { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; grid-auto-flow: row dense; }
  .bentoF .cc { padding: 18px; border-radius: 22px; }
  .bentoF .wide { grid-column: span 2; }
  .bentoF h3 { font-size: 18px; }
  .bentoF p { font-size: 14px; line-height: 1.45; }
  .bentoF .ic { width: 40px; height: 40px; margin-bottom: 2px; }
  /* stacked tables never wider than the screen */
  .tblw { overflow-x: visible; }
  table.cmp, table.who, table.cmp tbody, table.who tbody { display: block; width: 100%; }
  table.cmp td, table.who td { padding-left: 0; padding-right: 0; align-items: center; }
  table.cmp td > *, table.who td > * { min-width: 0; }
  table.cmp td, table.who td { overflow-wrap: anywhere; }
  table.cmp td::before, table.who td::before { flex: none; }
  table.cmp td.us { padding: 6px 10px; }
}

/* ---------- round 8: hero without dead space ---------- */
/* Left tile sets the height; phones tile matches it and crops the phones at the bottom. */
.t-main { align-content: start; gap: 30px; padding: 40px; }
.t-main .maintop { gap: 22px; }
.t-main .lead { font-size: 20px; }
.t-main .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.t-main .store { justify-content: center; padding: 14px 18px; border-radius: 16px; min-width: 0; gap: 12px; }
.t-main .store svg { width: 34px; height: 34px; }
.t-main .store small { font-size: 12px; }
.t-main .store b { font-size: 25px; }
.herofacts { padding-top: 22px; }
.t-phones { position: relative; overflow: hidden; padding: 0; min-height: 0; }
.t-phones .duophones { position: absolute; left: 0; right: 0; top: 40px; margin: 0; gap: 5%; }
.t-phones .phn { width: 255px; max-width: 44%; }
.t-phones .duophones .phn:first-child { transform: rotate(-5deg); }
.t-phones .duophones .phn:last-child { transform: rotate(5deg) translateY(48px); }
.t-phones::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, rgba(255, 213, 194, .9)); pointer-events: none; }

@media (max-width: 960px) {
  .t-phones { min-height: 480px; }
}
@media (max-width: 620px) {
  .t-main { padding: 26px; gap: 24px; }
  .t-main .lead { font-size: 18px; }
  .t-main .stores { grid-template-columns: minmax(0, 1fr); }
  .t-main .store { justify-content: flex-start; padding: 12px 18px; }
  .t-main .store b { font-size: 23px; }
  .t-phones { min-height: 400px; padding: 0; }
  .t-phones .duophones { top: 26px; gap: 4%; }
  .t-phones .phn { width: 46%; max-width: 46%; }
  .t-phones .duophones .phn:last-child { transform: rotate(4deg) translateY(26px); }
}

/* ---------- who can see what: no red "No" ---------- */
.pillY, .pillLock, .pillM { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-weight: 900; font-size: 14px; white-space: nowrap; }
.pillY { background: var(--teal-soft); color: var(--teal-deep); }
.pillLock { background: var(--lav-soft); color: var(--lav-deep); }
.pillM { background: var(--sun-soft); color: var(--sun-deep); }
.pillY svg, .pillLock svg, .pillM svg { width: 14px; height: 14px; flex: none; }
.whokey { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; font-size: 14px; color: var(--muted); font-weight: 700; }
.whokey span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 620px) {
  .pillY, .pillLock, .pillM { white-space: normal; text-align: left; }
}

/* ---------- round 9 ---------- */
/* hero facts: three centred columns with dividers */
.herofacts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; text-align: center; padding-top: 24px; }
.herofacts li { justify-items: center; gap: 4px; padding: 0 8px; }
.herofacts li + li { border-left: 1px solid rgba(255, 248, 236, .18); }
.herofacts b { font-size: 32px; }

/* hero phones: upright, centred, same size, cropped cleanly at the bottom */
.t-phones::after { content: none; }
.t-phones .duophones { position: absolute; left: 0; right: 0; top: 44px; display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.t-phones .phn { width: min(220px, 42%); max-width: none; }
.t-phones .duophones .phn:first-child { transform: none; }
.t-phones .duophones .phn:last-child { transform: translateY(44px); }

/* who can see what: two clear cards instead of a table */
.seegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.seecard { border-radius: 30px; padding: 30px; display: grid; gap: 10px; align-content: start; }
.seecard.private { background: var(--teal-deep); color: var(--white); }
.seecard.server { background: var(--white); color: var(--ink); }
.seehead { display: inline-flex; align-items: center; gap: 10px; font: 600 26px/1.15 var(--display); }
.seehead svg { width: 26px; height: 26px; flex: none; }
.seecard.private .seehead svg { color: var(--sun); }
.seecard.server .seehead svg { color: var(--sun-deep); }
.seenote { font-weight: 700; opacity: .85; }
.seecard ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.seecard li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; font-weight: 800; }
.seecard.private li { background: rgba(255, 255, 255, .1); }
.seecard.server li { background: var(--sun-soft); color: var(--sun-deep); }
.seecard li small { font-weight: 700; font-size: 14px; opacity: .8; }

@media (max-width: 620px) {
  .herofacts b { font-size: 24px; }
  .herofacts span { font-size: 13px; }
  .t-phones .duophones { top: 26px; gap: 12px; }
  .t-phones .duophones .phn:last-child { transform: translateY(28px); }
  .seegrid { grid-template-columns: minmax(0, 1fr); }
  .seecard { padding: 24px; }
  .seehead { font-size: 22px; }
}
.store b, .store small { white-space: nowrap; }
@media (max-width: 1180px) {
  .t-main .store { padding: 12px 14px; gap: 10px; }
  .t-main .store svg { width: 28px; height: 28px; }
  .t-main .store b { font-size: 20px; }
  .t-main .store small { font-size: 11px; }
}
/* FAQ centred */
.faqhead { text-align: center; display: grid; justify-items: center; }
.faqhead h2 { margin-inline: auto; }
.faq { margin-inline: auto; }

/* ---------- drop-alarm timeline: true time scale + scroll animation ---------- */
.tr { position: relative; height: 68px; }
.tr .beat { top: 16px; bottom: 16px; transform: translateX(-50%); }
.tr .gapz { position: absolute; inset: 0 auto 0 auto; border-left: 2px dashed rgba(143, 45, 20, .35); }
.tr .ringtag { right: auto; transform: translate(-50%, -50%); }
.tr .head { position: absolute; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--ink); left: 4%; opacity: 0; }
.axis { position: relative; height: 18px; display: block; }
.axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.axis span.span { transform: none; text-align: center; color: var(--coral-deep); }

/* The finished picture is the default. JS adds .armed (start state) only
   when it can play the animation, then .play when the timeline is seen. */
.tr.armed .beat { transform: translateX(-50%) scaleY(0); }
.tr.armed .gapz { clip-path: inset(0 100% 0 0); }
.tr.armed .ringtag { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
.tr.play .head { animation: tl-head 4s linear forwards; }
.tr.play .beat { animation: tl-beat .35s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: var(--d); }
.tr.play .gapz { animation: tl-gap 2s linear 1.8s forwards; }
.tr.play .ringtag { animation: tl-ring .45s cubic-bezier(.3, 1.6, .5, 1) 3.8s forwards, tl-pulse 1.2s ease-in-out 4.3s 4; }
@keyframes tl-head { 0% { left: 4%; opacity: 1; } 95% { left: 81.9%; opacity: 1; } 100% { left: 81.9%; opacity: 0; } }
@keyframes tl-beat { to { transform: translateX(-50%) scaleY(1); } }
@keyframes tl-gap { to { clip-path: inset(0 0 0 0); } }
@keyframes tl-ring { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes tl-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(143, 45, 20, .45); } 50% { box-shadow: 0 0 0 12px rgba(143, 45, 20, 0); } }
@media (max-width: 620px) {
  .tr .ringtag { font-size: 10px; padding: 5px 8px; }
  .axis span { font-size: 11px; }
  .axis span.span { display: none; }
}
