/* SteadyBounds website. Palette and type follow the iOS app (BrightBoundTheme.swift). */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #08145B;
  --ink-soft: #1D2B6E;
  --muted: #52658A;
  --muted-2: #5F7091;
  --blue: #0A6BF5;
  --blue-press: #0061DB;
  --blue-soft: #E3EEFF;
  --green: #0ABA70;
  --green-ink: #067A4A;
  --gold: #FFBC14;
  --purple: #633BFA;
  --red: #F13249;
  --canvas: #F7F9FC;
  --sky: #EAF6FF;
  --line: #E4EAF2;
  --line-strong: #D5DFEB;
  --hand: #2263C9;
  --shadow-row: 0 1px 2px rgba(8, 20, 91, .05), 0 6px 12px -8px rgba(8, 20, 91, .16);
  --shadow-card: 0 2px 4px rgba(8, 20, 91, .04), 0 12px 18px -12px rgba(8, 20, 91, .18);
  --shadow-device: 0 34px 50px -24px rgba(8, 20, 91, .5), 0 14px 26px -14px rgba(8, 20, 91, .32);
  --wrap: 1328px;
  --gutter: clamp(18px, 4vw, 56px);
  --font: "Figtree", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--blue-press); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: #0050B8; }
::selection { background: #CFE3FF; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
button { font: inherit; color: inherit; }
html { scrollbar-color: #B9C8DC transparent; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--shadow-card); }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -.005em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease-out), box-shadow .2s var(--ease-out), transform .2s var(--ease-out), border-color .2s var(--ease-out), color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(8, 116, 255, .8), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { background: var(--blue-press); color: #fff; box-shadow: 0 14px 24px -12px rgba(8, 116, 255, .9), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-outline { background: #fff; color: var(--blue-press); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-press); }
.btn-ghost { background: rgba(255, 255, 255, .86); color: var(--blue-press); border-color: rgba(8, 116, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: var(--blue); color: var(--blue-press); }
.btn-small { min-height: 42px; padding: 9px 22px; font-size: 15px; }
.btn-large { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-disc { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; background: var(--blue); color: #fff; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(228, 234, 242, .7); }
.bar { display: flex; align-items: center; gap: 24px; height: 76px; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 27px; letter-spacing: -.035em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 46px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); margin-left: clamp(24px, 9vw, 150px); }
.site-nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; padding-block: 6px; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.site-nav a:hover { color: var(--blue-press); }
.site-nav a:hover::after { transform: scaleX(1); }
.bar-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.bar-link { font-weight: 700; font-size: 15px; color: var(--blue-press); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; place-items: center; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease-out), opacity .2s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Handwritten notes */
.note { position: absolute; z-index: 3; font-family: var(--font-hand); font-weight: 600; color: var(--hand); line-height: 1.02; letter-spacing: .005em; pointer-events: none; }
.note span { display: block; }
.note svg { color: var(--hand); }

/* Phone frames around real app captures */
.device { position: absolute; margin: 0; padding: 7px; border-radius: 40px; background: linear-gradient(145deg, #2A3140, #06080E 40%, #1A1F2B); box-shadow: var(--shadow-device), inset 0 0 0 1.5px #464F5F; }
.device::after { content: ""; position: absolute; top: 17px; left: 50%; width: 29%; height: 19px; transform: translateX(-50%); border-radius: 20px; background: #05070B; }
.device img { width: 100%; height: auto; border-radius: 33px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #E4F4FF 0%, #EEF8FF 48%, #F6FBFF 100%); padding-block: 44px 96px; }
.hero-scene { position: absolute; inset: 0; z-index: -2; background: url("assets/scenery.jpg") 58% 100% / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .4) 24%, #000 56%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .4) 24%, #000 56%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(236, 247, 255, .94) 0%, rgba(236, 247, 255, .82) 28%, rgba(236, 247, 255, .3) 46%, rgba(236, 247, 255, 0) 56%); -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 94%); mask-image: linear-gradient(180deg, #000 66%, transparent 94%); }
.hero::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -1px; height: 88px; z-index: 1; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; gap: 24px; min-height: 560px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 34px; }
.tagline { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.hero h1 { margin-top: 18px; font-size: clamp(40px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.hero-deck { margin-top: 24px; max-width: 34em; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; }
.hero-actions .btn-primary { min-width: 220px; }
.platform { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.platform svg { color: var(--ink-soft); flex: none; }
.hero-art { position: relative; height: 610px; margin-bottom: -60px; }
.device-center { width: 262px; left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.device-left { width: 226px; left: 3%; top: 66px; transform: rotate(-5deg); z-index: 2; }
.device-right { width: 226px; right: 3%; top: 66px; transform: rotate(5deg); z-index: 1; }
.device-left::after, .device-right::after { height: 16px; top: 15px; }
.note-hero { top: -30px; right: -18px; display: flex; align-items: center; gap: 8px; font-size: 23px; text-align: left; z-index: 4; }
.note-hero span { transform: rotate(-8deg); }
.note-hero .note-sun { flex: none; }

/* Highlight cards */
.highlights { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: -28px; }
.highlight { display: flex; gap: 16px; align-items: flex-start; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card); }
.highlight-icon { flex: none; width: 56px; height: 56px; }
.highlight h2 { font-size: 16.5px; letter-spacing: -.02em; line-height: 1.3; }
.highlight p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Section heads */
.section-head { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head h2 { font-size: clamp(26px, 2.2vw, 32px); }
.section-head p { margin-top: 10px; font-size: 17px; color: var(--muted); }
.section-head-left { text-align: left; margin-inline: 0; }

/* How it works */
.how { padding-block: 60px 52px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 34px; }
.step { position: relative; text-align: center; padding-inline: 12px; }
.step-mark { display: flex; align-items: center; justify-content: center; gap: 22px; height: 96px; }
.step-num { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 21px; box-shadow: 0 10px 18px -10px rgba(8, 116, 255, .9); }
.step-tile { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-row); }
.step-icon { display: grid; place-items: center; width: 84px; height: 84px; }
.step h3 { margin-top: 22px; font-size: 20px; letter-spacing: -.025em; }
.step p { margin: 10px auto 0; max-width: 21em; font-size: 15.5px; color: var(--muted); }
.step-arrow { position: absolute; top: 25px; left: -72px; color: #6AA5E8; }

/* Learning */
.learning { --learn-h: clamp(760px, 52vw, 1000px); position: relative; isolation: isolate; overflow: hidden; background: #DDEEF8; }
/* Owner-supplied family illustration (assets/learning-scene.jpg); the family sits in the left half, text sits on the right. */
.learning-scene { position: absolute; inset: 0; z-index: -2; background: url("assets/learning-scene.jpg") 50% 34% / cover no-repeat; }
.learning-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 36px),
    linear-gradient(0deg, #fff 0, rgba(255, 255, 255, .55) 22px, rgba(255, 255, 255, 0) 72px),
    radial-gradient(ellipse 31% 92% at 67% 52%, rgba(246, 251, 255, .9) 0%, rgba(246, 251, 255, .85) 55%, rgba(246, 251, 255, .48) 76%, rgba(246, 251, 255, 0) 97%); }
.learning-veil::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(4px) saturate(1.05); -webkit-backdrop-filter: blur(4px) saturate(1.05); -webkit-mask-image: radial-gradient(ellipse 28% 86% at 67% 52%, #000 48%, transparent 92%); mask-image: radial-gradient(ellipse 28% 86% at 67% 52%, #000 48%, transparent 92%); }
.learning-grid { position: relative; display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: 40px; align-items: center; min-height: var(--learn-h); }
.learning-space { height: 100%; }
.learning-copy { position: relative; max-width: 450px; padding-block: 80px; }
.learning-copy h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.learning-copy > p { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }
.note-learn { top: auto; bottom: 322px; right: calc(var(--gutter) + 40px); font-size: 26px; transform: rotate(-6deg); text-shadow: 0 1px 0 rgba(255, 255, 255, .85), 0 0 16px rgba(255, 255, 255, .9); }
.note-learn svg { margin: 2px 0 0 58px; }
.device-learn { width: 206px; right: calc(var(--gutter) + 6px); bottom: -150px; transform: rotate(5deg); z-index: 2; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.checks svg { flex: none; }
.pill-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px 22px 12px 16px; border-radius: 999px; background: #DDF4E3; color: #135C3A; font-weight: 600; font-size: 15px; }

/* Parent overview */
.overview { padding-block: 52px 56px; }
.overview-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px 48px; border-radius: 30px; background: linear-gradient(135deg, #F2F8FF 0%, #F7FAFE 60%, #EEF6FF 100%); border: 1px solid #E3ECF7; }
.overview-copy h2 { font-size: clamp(26px, 2.1vw, 30px); }
.overview-copy > p { margin-top: 12px; max-width: 36em; font-size: 16.5px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.stat { display: grid; gap: 6px; padding: 18px 16px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-row); }
.stat-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.stat-green { background: var(--green); }
.stat-blue { background: var(--blue); }
.stat-gold { background: var(--gold); }
.stat-purple { background: #8C6BFF; }
.stat-label { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.stat strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.overview-art { position: relative; display: flex; justify-content: flex-start; }
.family-card { width: min(100%, 360px); padding: 18px 18px 10px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.family-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 12px; }
.family-head strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.family-head span { font-size: 13.5px; font-weight: 700; color: var(--blue-press); }
.kid { display: grid; grid-template-columns: 48px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; color: #8A9AB5; }
.kid img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.kid-body { display: grid; gap: 1px; min-width: 0; }
.kid-body strong { font-size: 15.5px; color: var(--ink); }
.kid-body span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { display: block; height: 7px; margin-top: 7px; border-radius: 7px; background: #E8EEF5; overflow: hidden; }
.meter b { display: block; height: 100%; width: var(--fill); border-radius: inherit; background: var(--tone); }
.note-parent { top: 4px; right: -14px; font-size: 23px; transform: rotate(-8deg); }
.note-parent svg { margin: 6px 0 0 -6px; transform: rotate(8deg); }

/* Features: the owner's features image rebuilt live. Paintings are full-card plates cut from the image
   (assets/features/v2); icons, text, buttons and app UI sit on top. Wide screens are a scaled replica of the
   image (1 unit = 1 px of the 1468-px-wide image grid); narrower screens stack each card's text above its painting. */
.features { position: relative; padding-bottom: 72px; background: #fff; }
.fx-hero { position: relative; isolation: isolate; padding-top: 176px; }
.fx-scene { position: absolute; inset: 0 0 auto 0; height: 220px; z-index: -1; background: #F4FAFF url("assets/features/v2/header.jpg") 44% 0 / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .6) 5%, #000 13%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .6) 5%, #000 13%, #000 84%, transparent 100%); }
.fx-head { position: relative; text-align: center; }
.fx-head h2 { font-size: clamp(30px, 3.55vw, 58px); letter-spacing: -.04em; line-height: 1.04; }
.fx-head p { margin: 10px auto 0; max-width: 46em; font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.45; color: var(--ink-soft); }
.fx-note { top: 4.5%; right: 2%; font-size: clamp(18px, 1.9vw, 30px); color: #1D2B6E; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: rotate(-12deg); }
.fx-note svg { color: #1D2B6E; }

.fx-grid { display: grid; gap: 14px; margin-top: 26px; }
.fx-row { display: grid; gap: 14px; }
.fx { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; background: var(--ground, #F1F7FE); box-shadow: 0 1px 2px rgba(8, 20, 91, .05), 0 12px 22px -18px rgba(8, 20, 91, .4); }
.fx-body { position: relative; z-index: 2; display: grid; justify-items: start; padding: 22px 20px 0; }
.fx-title { display: flex; align-items: center; gap: 14px; }
.fx-title h3 { font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.fx-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 12px -8px rgba(8, 20, 91, .35); }
.fx-icon svg { width: 58%; height: 58%; }
.i-blue { background: linear-gradient(160deg, #EAF3FF, #D6E7FF); }
.i-night { background: linear-gradient(160deg, #3F7BFF, #1F4FD8); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .5); }
.i-green { background: linear-gradient(160deg, #E6F8EA, #CFF0D8); }
.i-gold { background: linear-gradient(160deg, #FFF3D1, #FFE3A1); }
.i-purple { background: linear-gradient(160deg, #F0EBFF, #E0D6FF); }
.i-pink { background: linear-gradient(160deg, #FFE8EE, #FFD3DE); }
.fx-body > p { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #34466F; }
.fx-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 700; white-space: nowrap; text-decoration: none; box-shadow: 0 1px 2px rgba(8, 20, 91, .06), 0 8px 16px -10px rgba(8, 20, 91, .45); transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out), color .2s; }
.fx-btn:hover { color: var(--blue-press); box-shadow: 0 1px 2px rgba(8, 20, 91, .06), 0 12px 20px -12px rgba(8, 20, 91, .55); transform: translateY(-1px); }
.fx-btn .fx-arrow { transition: transform .2s var(--ease-out); }
.fx-btn:hover .fx-arrow { transform: translateX(3px); }
.fx-art { position: relative; order: 3; height: clamp(180px, 46vw, 300px); margin-top: 16px; background-size: cover; background-repeat: no-repeat; background-position: 100% 100%; }
.fx-allowance { --ground: #EEF3F6; } .fx-allowance .fx-art { background-image: url("assets/features/v2/allowance.jpg"); }
.fx-bedtime { --ground: #0B1E55; } .fx-bedtime .fx-art { background-image: url("assets/features/v2/bedtime.jpg"); }
.fx-learning { --ground: #EAF8E4; } .fx-learning .fx-art { background-image: url("assets/features/v2/learning.jpg"); }
.fx-chores { --ground: #FDF5E0; } .fx-chores .fx-art { background-image: url("assets/features/v2/chores.jpg"); }
.fx-parent { --ground: #E6F2FF; } .fx-parent .fx-art { background-image: url("assets/features/v2/parent.jpg"); display: none; }
.fx-family { --ground: #ECECFE; } .fx-family .fx-art { background-image: url("assets/features/v2/family.jpg"); }
.fx-picture { --ground: #E6F1FE; } .fx-picture .fx-art { background-image: url("assets/features/v2/picture.jpg"); }
.fx-home { --ground: #FEEDEE; } .fx-home .fx-art { background-image: url("assets/features/v2/home.jpg"); }
.fx-bedtime h3 { color: #fff; }
.fx-bedtime .fx-body > p { color: #DCE3FF; }

/* live app UI */
.fx-devices { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(180px, 46vw, 300px); z-index: 2; pointer-events: none; }
.fx-tablet { position: absolute; left: 6%; bottom: -14%; width: 62%; aspect-ratio: 4 / 3; padding: 2.2%; border-radius: 6.5% / 8.6%; background: linear-gradient(145deg, #2A3140, #06080E 40%, #1A1F2B); box-shadow: 0 24px 34px -22px rgba(8, 20, 91, .6); container-type: inline-size; }
.fx-tablet-screen { position: relative; height: 100%; border-radius: 4.5% / 6%; overflow: hidden; background: #BFE3F7 url("assets/features/tablet-home.jpg") 50% 40% / cover no-repeat; }
.tab-brand { position: absolute; left: 4%; top: 3%; right: 4%; padding: .8cqw 1.6cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .78); display: flex; align-items: center; gap: 1.8cqw; font-size: 4.2cqw; font-weight: 800; color: var(--ink) !important; letter-spacing: -.01em; }
.tab-brand img { width: 6.2cqw; height: auto; }
.tab-brand svg { margin-left: auto; width: 4.4cqw; height: 4.4cqw; }
.tab-hi { position: absolute; left: 5%; top: 16%; padding: .4cqw 1.6cqw; border-radius: 2cqw; background: rgba(255, 255, 255, .78); font-size: 5.6cqw; font-weight: 800; color: var(--ink) !important; letter-spacing: -.02em; }
.tab-ring { position: absolute; left: 60%; top: 13%; width: 38%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 18px -12px rgba(8, 20, 91, .5); }
.tab-ring svg { position: absolute; inset: 4%; width: 92%; height: 92%; }
.tab-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--ink); }
.tab-ring small { font-size: 3cqw; color: var(--muted); }
.tab-ring strong { font-size: 5.2cqw; letter-spacing: -.02em; }
.tab-cards { position: absolute; left: 4%; right: 4%; bottom: 5%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5cqw; }
.tab-cards span { display: grid; gap: .5cqw; padding: 2cqw 1.5cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 4px 8px -6px rgba(8, 20, 91, .45); text-align: center; }
.tab-cards small { font-size: 2.8cqw; color: var(--muted); }
.tab-cards b { display: inline-flex; align-items: center; justify-content: center; gap: 1cqw; font-size: 4.2cqw; color: var(--ink); white-space: nowrap; }
.tab-cards b svg { width: 4cqw; height: 4cqw; }
.fx-phone { position: absolute; right: 6%; bottom: -30%; width: 26%; padding: 1.3%; border-radius: 18% / 8.5%; background: linear-gradient(145deg, #2A3140, #06080E 40%, #1A1F2B); box-shadow: 0 24px 34px -22px rgba(8, 20, 91, .6); }
.fx-phone img { display: block; width: 100%; height: auto; border-radius: 15% / 7%; }
.fx-request { position: relative; z-index: 2; margin: 16px 20px 20px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 2px 4px rgba(8, 20, 91, .05), 0 16px 26px -18px rgba(8, 20, 91, .45); }
.fx-request-who { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; }
.fx-request-who img { width: 40px; height: 40px; border-radius: 50%; }
.fx-request-who span { display: grid; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.fx-request-who strong { font-size: 14px; color: var(--ink); }
.fx-request-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.fx-request-actions span { display: grid; place-items: center; min-height: 38px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.fx-decline { border: 1px solid var(--line-strong); color: var(--ink); }
.fx-approve { background: var(--blue); color: #fff; box-shadow: 0 8px 14px -10px rgba(10, 107, 245, .9); }
.fx-avatars { display: flex; align-items: center; margin-top: 14px; }
.fx-avatars img, .fx-avatars span { width: 48px; height: 48px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 12px -8px rgba(8, 20, 91, .55); }
.fx-avatars > * + * { margin-left: -6px; }
.fx-avatars span { display: grid; place-items: center; background: #fff; color: var(--blue); }
.fx-chart { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: min(46%, 200px); padding: 12px 14px 10px; border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(8, 20, 91, .05), 0 16px 26px -18px rgba(8, 20, 91, .45); display: grid; grid-template-rows: auto auto auto 1fr; }
.fx-chart-label { font-size: 11.5px; font-weight: 700; color: var(--ink) !important; }
.fx-chart-total { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.fx-chart-sub { font-size: 11px; color: var(--muted) !important; }
.fx-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 6px; margin-top: 8px; height: 84px; }
.fx-bars span { display: grid; justify-items: center; align-content: end; gap: 4px; height: 100%; font-size: 10px; font-weight: 700; color: var(--ink-soft); }
.fx-bars i { display: block; width: 100%; max-width: 11px; height: calc(var(--h) * 62px); border-radius: 4px; background: linear-gradient(180deg, #3D8BFF, #0A6BF5); }
.fx-bars .later i { background: #E1E8F2; }
.fx-bars .later { color: var(--muted-2); }

@media (max-width: 640px) { .fx-note { display: none; } }

/* Wide screens: a scaled replica of the owner's image. --u is one pixel of the image's 1468-px card grid. */
@media (min-width: 1100px) {
  .fx-hero { padding-top: calc(100vw * 368 / 1536 * .69); }
  .fx-scene { height: calc(100vw * 368 / 1536); background-position: 50% 0; }
  .fx-grid { width: 100%; max-width: 1540px; margin-inline: auto; padding-inline: 32px; margin-top: 24px; gap: 0; container-type: inline-size; }
  .fx-row { gap: calc(100cqw / 1468 * 15); margin-bottom: calc(100cqw / 1468 * 15); }
  .fx-row-1 { grid-template-columns: 830fr 622fr; }
  .fx-row-2 { grid-template-columns: 507fr 430fr 501fr; }
  .fx-row-3 { grid-template-columns: 493fr 443fr 501fr; }
  .fx { --u: calc(100cqw / 1468); display: block; aspect-ratio: var(--w) / var(--h); border-radius: calc(var(--u) * 16); background: var(--ground); }
  .fx-art { position: absolute; inset: 0; order: 0; height: auto; margin: 0; z-index: 0; background-size: 100% 100%; background-position: 0 0; }
  .fx-parent .fx-art { display: block; }
  .fx-body { position: absolute; inset: 0; display: block; padding: 0; }
  .fx-title { display: contents; }
  .fx-icon { position: absolute; left: calc(var(--u) * var(--ix)); top: calc(var(--u) * var(--iy)); width: calc(var(--u) * var(--is)); height: calc(var(--u) * var(--is)); border-radius: calc(var(--u) * 16); }
  .fx-title h3 { position: absolute; left: calc(var(--u) * var(--tx)); top: calc(var(--u) * var(--ty)); width: calc(var(--u) * var(--tw, 260)); font-size: calc(var(--u) * var(--tf, 21)); line-height: 1.16; }
  .fx-title h3 br { display: inline; }
  .fx-body > p { position: absolute; left: calc(var(--u) * var(--bx)); top: calc(var(--u) * var(--by)); width: calc(var(--u) * var(--bw)); margin: 0; font-size: calc(var(--u) * 13.8); line-height: 1.33; }
  .fx-btn { position: absolute; left: calc(var(--u) * var(--kx)); top: calc(var(--u) * var(--ky)); margin: 0; padding: calc(var(--u) * 9) calc(var(--u) * 19); gap: calc(var(--u) * 12); font-size: calc(var(--u) * 14.5); }
  .fx-btn .fx-arrow { width: calc(var(--u) * 15); height: calc(var(--u) * 15); }
  .fx-avatars { position: absolute; left: calc(var(--u) * 13); top: calc(var(--u) * 110); margin: 0; }
  .fx-avatars img, .fx-avatars span { width: calc(var(--u) * 48); height: calc(var(--u) * 48); border-width: calc(var(--u) * 3); }
  .fx-avatars span svg { width: calc(var(--u) * 20); height: calc(var(--u) * 20); }
  .fx-devices { inset: 0; height: auto; }
  .fx-tablet { left: calc(var(--u) * 316); top: calc(var(--u) * 8); bottom: auto; width: calc(var(--u) * 340); aspect-ratio: 340 / 236; padding: calc(var(--u) * 8); border-radius: calc(var(--u) * 22); }
  .fx-tablet-screen { border-radius: calc(var(--u) * 14); }
  .fx-phone { left: calc(var(--u) * 669); top: calc(var(--u) * 17); right: auto; bottom: auto; width: calc(var(--u) * 138); padding: calc(var(--u) * 5); border-radius: calc(var(--u) * 24); }
  .fx-phone img { border-radius: calc(var(--u) * 19); }
  .fx-request { position: absolute; left: calc(var(--u) * 268); top: calc(var(--u) * 22); width: calc(var(--u) * 226); margin: 0; padding: calc(var(--u) * 14); border-radius: calc(var(--u) * 16); }
  .fx-request-who { grid-template-columns: calc(var(--u) * 42) minmax(0, 1fr); gap: calc(var(--u) * 10); }
  .fx-request-who img { width: calc(var(--u) * 42); height: calc(var(--u) * 42); }
  .fx-request-who span { font-size: calc(var(--u) * 12); }
  .fx-request-who strong { font-size: calc(var(--u) * 14); }
  .fx-request-actions { gap: calc(var(--u) * 8); margin-top: calc(var(--u) * 14); }
  .fx-request-actions span { min-height: calc(var(--u) * 40); font-size: calc(var(--u) * 14.5); }
  .fx-chart { left: calc(var(--u) * 271); top: calc(var(--u) * 12); right: auto; bottom: auto; width: calc(var(--u) * 154); height: calc(var(--u) * 148); padding: calc(var(--u) * 12) calc(var(--u) * 14); border-radius: calc(var(--u) * 14); }
  .fx-chart-label { font-size: calc(var(--u) * 11); }
  .fx-chart-total { font-size: calc(var(--u) * 21); }
  .fx-chart-sub { font-size: calc(var(--u) * 10); }
  .fx-bars { height: auto; gap: calc(var(--u) * 6); margin-top: calc(var(--u) * 6); }
  .fx-bars span { font-size: calc(var(--u) * 9.5); gap: calc(var(--u) * 4); }
  .fx-bars i { max-width: calc(var(--u) * 11); height: calc(var(--h) * var(--u) * 58); }
  .fx-allowance { --w: 830; --h: 235; --ix: 15; --iy: 14; --is: 66; --tx: 103; --ty: 18; --tw: 200; --tf: 23; --bx: 103; --by: 82; --bw: 200; --kx: 100; --ky: 166; }
  .fx-bedtime { --w: 622; --h: 235; --ix: 17; --iy: 14; --is: 66; --tx: 101; --ty: 29; --tw: 300; --tf: 23; --bx: 101; --by: 74; --bw: 240; --kx: 19; --ky: 165; }
  .fx-learning { --w: 507; --h: 191; --ix: 13; --iy: 12; --is: 60; --tx: 98; --ty: 16; --tf: 21; --bx: 17; --by: 76; --bw: 226; --kx: 17; --ky: 143; }
  .fx-chores { --w: 430; --h: 191; --ix: 15; --iy: 12; --is: 60; --tx: 96; --ty: 16; --tf: 21; --bx: 18; --by: 72; --bw: 204; --kx: 18; --ky: 149; }
  .fx-parent { --w: 501; --h: 191; --ix: 15; --iy: 12; --is: 60; --tx: 100; --ty: 21; --tw: 150; --tf: 21; --bx: 16; --by: 82; --bw: 228; }
  .fx-family { --w: 493; --h: 169; --ix: 13; --iy: 8; --is: 56; --tx: 88; --ty: 15; --tw: 300; --tf: 20; --bx: 17; --by: 68; --bw: 240; }
  .fx-picture { --w: 443; --h: 169; --ix: 12; --iy: 8; --is: 56; --tx: 90; --ty: 21; --tw: 220; --tf: 20; --bx: 18; --by: 70; --bw: 196; --kx: 12; --ky: 117; }
  .fx-home { --w: 501; --h: 169; --ix: 14; --iy: 8; --is: 56; --tx: 91; --ty: 21; --tw: 260; --tf: 20; --bx: 16; --by: 66; --bw: 214; }
}

/* The complete list, one tap away */
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tag-free { background: #E2F6EA; color: var(--green-ink); }
.tag-premium { background: #EEE8FF; color: #5431DE; }
.tag-both { background: linear-gradient(90deg, #E2F6EA 0 50%, #EEE8FF 50% 100%); color: var(--ink-soft); }
.tag-always { background: var(--blue-soft); color: var(--blue-press); }
.all-features { margin-top: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.all-features summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-size: 16.5px; font-weight: 700; cursor: pointer; list-style: none; border-radius: 24px; }
.all-features summary::-webkit-details-marker { display: none; }
.all-features summary svg { color: var(--ink-soft); transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.all-features[open] summary svg { transform: rotate(-90deg); color: var(--blue); }
.all-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding: 6px 24px 26px; border-top: 1px solid var(--line); }
.all-features[open] .all-grid { animation: reveal .35s var(--ease-out) both; }
.all-group h3 { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; letter-spacing: -.01em; }
.all-group h3 span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: #EEF3F9; font-size: 12px; font-variant-numeric: tabular-nums; }
.all-group ul { display: grid; gap: 12px; margin-top: 12px; }
.all-group li { display: grid; gap: 4px; justify-items: start; }
.all-name { display: grid; gap: 2px; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.all-desc { font-size: 13px; font-weight: 400; color: var(--muted); }
.all-group .tag { padding: 2px 9px; font-size: 11.5px; }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Fixes */
.fixes { padding-block: 64px 64px; }
.fix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.fix { padding: 26px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-card); }
.fix-problem { display: flex; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted-2); padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--line-strong); }
.fix-problem::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #FDE7EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' stroke='%23E0283F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.fix h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.3; }
.fix h3 + p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Pricing and FAQ */
.plans-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-block: 8px 72px; }
.plans-faq .section-head h2 { font-size: clamp(24px, 2vw, 28px); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow-card); text-align: center; }
.plan h3 { font-size: 19px; letter-spacing: -.02em; }
.price { margin-top: 10px; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price strong { font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-sub { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.price-sub b { color: var(--green-ink); }
.plan-list { display: grid; gap: 10px; margin: 22px 0 26px; text-align: left; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.plan-list svg { flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; }
.plan-premium { border: 2px solid var(--blue); box-shadow: 0 2px 4px rgba(8, 20, 91, .04), 0 16px 20px -14px rgba(10, 107, 245, .45); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.billing-input { position: absolute; opacity: 0; pointer-events: none; }
.billing { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 14px auto 0; padding: 4px; border-radius: 999px; background: #EEF3F9; }
.billing label { min-width: 88px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
#billing-yearly:checked ~ .billing label[for="billing-yearly"],
#billing-monthly:checked ~ .billing label[for="billing-monthly"] { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(8, 20, 91, .12); }
#billing-yearly:focus-visible ~ .billing label[for="billing-yearly"],
#billing-monthly:focus-visible ~ .billing label[for="billing-monthly"] { outline: 3px solid var(--blue); outline-offset: 2px; }
.price-monthly, .cta-monthly { display: none; }
#billing-monthly:checked ~ .price-yearly, #billing-monthly:checked ~ .cta-yearly { display: none; }
#billing-monthly:checked ~ .price-monthly { display: block; }
#billing-monthly:checked ~ .cta-monthly { display: inline-flex; }
.fine { margin-top: 18px; font-size: 12.5px; line-height: 1.65; color: var(--muted-2); }
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(8, 20, 91, .04); transition: border-color .2s, box-shadow .25s var(--ease-out); }
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-row); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; border-radius: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; color: var(--ink-soft); transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(-90deg); color: var(--blue); }
.faq-list details p { padding: 0 20px 18px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.faq-list details[open] p { animation: reveal .35s var(--ease-out) both; }

/* Closing */
.closing { position: relative; isolation: isolate; overflow: hidden; padding-block: 72px 150px; text-align: center; background: linear-gradient(180deg, #fff 0%, #F1F9FF 45%, #E7F5FF 100%); }
.closing-scene { position: absolute; inset: auto 0 0 0; height: 260px; z-index: -1; background: url("assets/sunset.jpg") center 70% / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 45%, #000 80%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 45%, #000 80%); }
.closing-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.closing-copy h2 { font-size: clamp(26px, 2.2vw, 30px); }
.closing-copy p { margin-top: 10px; font-size: 18px; color: var(--muted); }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 26px; }
.closing-actions .btn { min-width: 170px; }
.note-close-left, .note-close-right { position: relative; font-size: 27px; }
.note-close-left { justify-self: start; transform: rotate(-8deg); text-align: left; }
.note-close-right { justify-self: end; display: flex; align-items: center; gap: 10px; transform: rotate(-8deg); text-align: left; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: 34px 28px; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.brand-small { font-size: 22px; }
.brand-small img { width: 38px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--blue-press); text-decoration: underline; }
.footer-store { display: flex; align-items: center; gap: 26px; }
.store-badge { display: block; border-radius: 10px; }
.store-badge img { width: 150px; height: auto; }
.works-on { display: flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.works-on strong { font-size: 15px; color: var(--ink); font-weight: 700; }
.works-on svg { color: var(--ink); width: 26px; height: 26px; }
.footer-legal { display: grid; gap: 6px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-legal p { font-size: 12px; line-height: 1.6; color: var(--muted-2); }

/* Inner pages: legal and support */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #E6F5FF 0%, #F3FAFF 100%); padding-block: 56px 72px; }
.page-hero::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -1px; height: 48px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.legal-hero { max-width: 820px; }
.legal-hero h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; }
.legal-lede { margin-top: 14px; font-size: 18px; color: var(--ink-soft); max-width: 40em; }
.legal-meta { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 24px 96px; }
.legal-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--canvas); }
.legal-toc > p { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal-toc ol { display: grid; gap: 2px; list-style: decimal; padding-left: 24px; }
.legal-toc li::marker { color: var(--muted-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.legal-toc a { display: block; padding: 5px 8px; border-radius: 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { background: #fff; color: var(--blue-press); }
.legal-body { max-width: 760px; }
.legal-body section { padding-top: 8px; }
.legal-body section + section { margin-top: 30px; }
.legal-body h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 12px; scroll-margin-top: 100px; }
.legal-body h3 { font-size: 18px; letter-spacing: -.015em; margin: 22px 0 8px; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.75; color: #3B4C72; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { display: grid; gap: 6px; margin: 12px 0; padding-left: 22px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li::marker { color: var(--blue); }
.legal-body strong { color: var(--ink); }
.legal-summary { margin-bottom: 36px; padding: 24px 26px; border-radius: 20px; background: #F1F8FF; border: 1px solid #DCEAFA; }
.legal-summary h2 { font-size: 19px; margin-bottom: 8px; }
.legal-summary ul { margin-bottom: 0; }
.conspicuous { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: #FFF7E3; border: 1px solid #F6E2AE; font-weight: 700; color: #3B2F12 !important; letter-spacing: .005em; }
.legal-contact { margin-top: 16px; padding: 18px 20px; border-radius: 16px; background: var(--canvas); border: 1px solid var(--line); font-style: normal; font-size: 16px; line-height: 1.7; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #3B4C72; }
.table-wrap th { background: var(--canvas); color: var(--ink); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Responsive */

@media (max-width: 1180px) {
  .site-nav { margin-left: 28px; gap: 22px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .device-center { width: 236px; }
  .device-left, .device-right { width: 200px; }
  .hero-art { height: 560px; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-panel { grid-template-columns: 1fr; }
  .all-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .overview-art { padding-top: 12px; }
  .note-parent { right: 0; }
  .plans-faq { grid-template-columns: 1fr; gap: 72px; }
  .closing-inner { grid-template-columns: 1fr; }
  .note-close-left, .note-close-right { display: none; }
}

@media (max-width: 920px) {
  .bar { height: 68px; gap: 12px; }
  .brand { font-size: 23px; }
  .brand img { width: 40px; }
  .menu-toggle { display: grid; }
  .bar-link { display: none; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: grid; gap: 0; padding: 8px var(--gutter) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(8, 20, 91, .35); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease-out), transform .25s var(--ease-out); }
  .site-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .hero { padding-block: 36px 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; min-height: 0; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .hero-deck { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .platform { justify-content: center; margin-inline: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(236, 247, 255, .96) 0%, rgba(236, 247, 255, .85) 40%, rgba(236, 247, 255, 0) 66%); }
  .hero-art { width: min(100%, 560px); height: 520px; margin: 8px auto -40px; }
  .note-hero { top: -6px; right: 0; font-size: 21px; }
  .note-hero .note-sun { width: 56px; height: 56px; }
  .learning { background: var(--sky); }
  .learning-scene { inset: auto 0 0 0; height: 540px; background-position: 0% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px); mask-image: linear-gradient(180deg, transparent 0, #000 90px); }
  .learning-veil { background: linear-gradient(180deg, #fff 0, rgba(255, 255, 255, 0) 48px), linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 60px); }
  .learning-veil::after { display: none; }
  .learning-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .learning-copy { order: -1; max-width: 560px; padding-block: 60px 40px; }
  .learning-space { height: 470px; }
  .device-learn, .note-learn { display: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 520px; margin-inline: auto; }
  .step-arrow { display: none; }
  .fix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .footer-brand { flex-direction: column; gap: 6px; }
  .footer-legal { text-align: center; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; max-height: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .btn-small { display: none; }
  .hero h1 { font-size: clamp(30px, 8.7vw, 44px); }
  .hero-deck { font-size: 16.5px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-primary { min-width: 0; }
  .platform { font-size: 13px; }
  .hero-art { height: 420px; margin-bottom: -30px; }
  .device { padding: 5px; border-radius: 30px; }
  .device img { border-radius: 25px; }
  .device::after { top: 12px; height: 13px; }
  .device-center { width: 178px; }
  .device-left, .device-right { width: 148px; top: 52px; }
  .device-left { left: -2%; }
  .device-right { right: -2%; }
  .note-hero { display: none; }
  .highlights { grid-template-columns: 1fr; gap: 12px; margin-top: -18px; }
  .highlight { padding: 20px 18px; }
  .how { padding-block: 56px 48px; }
  .step-mark { gap: 16px; }
  .overview { padding-block: 44px 48px; }
  .overview-panel { padding: 28px 18px; border-radius: 24px; gap: 28px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .note-parent { display: none; }


  .fixes { padding-block: 56px 56px; }
  .all-grid { grid-template-columns: 1fr; gap: 6px; padding-inline: 18px; }

  .fix-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .fix { padding: 22px 20px; }
  .plans { grid-template-columns: 1fr; gap: 26px; }
  .closing { padding-block: 60px 150px; }
  .closing-actions .btn { width: 100%; }
  .footer-nav { gap: 8px 20px; }
  .footer-store { flex-direction: column; gap: 14px; }
  .legal-body p, .legal-body li { font-size: 15.5px; }
  .page-hero { padding-block: 40px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 404 page (404.html, added September 25, 2026 for launch): Home and Support buttons under the message. */
.not-found-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
@media (max-width: 640px) { .not-found-actions .btn { width: 100%; } }
