/* Okeya website. Colours match the app (core/designsystem/theme/Color.kt). Fonts are served from here. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --page: #FBF5EC;
  --surface: #FFFFFF;
  --ink: #284645;
  --ink-soft: #3E5A58;
  --subtext: #6E675C;
  --border: #E9DCC8;
  --teal: #3E6E61;
  --deep: #1F3B38;
  --sage: #508071;
  --leaf: #8CC0A8;
  --mustard: #E5A13D;
  --sun: #F7C96E;
  --coral: #E47C60;
  --coral-soft: #F5A58E;
  --cream: #F4E3CC;
  --tint-teal: #E3EEEA;
  --tint-mustard: #FCEFD7;
  --tint-coral: #FCE6DE;
  --tint-sage: #E5F0EA;
  --shadow: 0 18px 50px rgba(31, 59, 56, .14);
  --shadow-sm: 0 8px 22px rgba(31, 59, 56, .09);
  --radius: 28px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
main { overflow: hidden; overflow: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }

h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: 1.02; margin: 0 0 22px; }
h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.06; margin: 0 0 14px; }
h3 { font-size: 21px; line-height: 1.25; margin: 0 0 6px; font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 900; color: var(--coral); margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--subtext); margin: 0 0 28px; max-width: 33em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(251, 245, 236, .9); background: color-mix(in srgb, var(--page) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span { font-family: var(--display); font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; opacity: .78; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--deep); color: #fff !important; opacity: 1 !important;
  text-decoration: none; font-weight: 900; font-size: 15px; transition: transform .2s, box-shadow .2s;
}
.pill-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }


/* ---------- Hero ---------- */
.hero { position: relative; padding: 30px 0 110px; overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(1100px 600px at 80% 10%, rgba(247, 201, 110, .42), transparent 60%), radial-gradient(900px 500px at 5% 0%, rgba(245, 165, 142, .28), transparent 60%);
  background: radial-gradient(1100px 600px at 80% 10%, color-mix(in srgb, var(--sun) 42%, transparent), transparent 60%),
              radial-gradient(900px 500px at 5% 0%, color-mix(in srgb, var(--coral-soft) 28%, transparent), transparent 60%); }
.sun { position: absolute; z-index: -1; right: 12%; top: 90px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFE9B3, var(--sun) 55%, var(--mustard)); opacity: .55;
  animation: rise 2.4s cubic-bezier(.2, .8, .2, 1) both, glow 6s ease-in-out 2.4s infinite; }
@keyframes rise { from { transform: translateY(200px) scale(.7); opacity: 0; } to { transform: none; opacity: .55; } }
@keyframes glow { 50% { transform: scale(1.06); opacity: .7; } }
.hills { position: absolute; left: 0; bottom: 0; z-index: -1; width: 100%; height: 160px; pointer-events: none; }
.hills .h1 { fill: var(--tint-sage); } .hills .h2 { fill: #C9E0D4; fill: color-mix(in srgb, var(--leaf) 45%, var(--page)); }
.cloud { position: absolute; z-index: -1; height: 26px; border-radius: 30px; background: var(--surface); opacity: .85; box-shadow: 26px -12px 0 6px var(--surface), 56px 0 0 0 var(--surface); }
.cloud.c1 { top: 130px; left: -140px; width: 70px; animation: drift 50s linear infinite; }
.cloud.c2 { top: 250px; left: -140px; width: 50px; animation: drift 70s linear 14s infinite; opacity: .6; }
@keyframes drift { to { transform: translateX(calc(100vw + 280px)); } }


.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 640px; }
.hero .wrap > * { min-width: 0; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 800; color: var(--ink-soft); margin-bottom: 22px; }
.badge-pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--tint-sage); display: grid; place-items: center; }
.badge-pill i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--sage); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

.underline { position: relative; white-space: nowrap; color: var(--coral); }
.underline svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .3em; overflow: visible; }
.underline path { fill: none; stroke: var(--mustard); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .9s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* For words with a tail below the line (g, j, p, q, y): the stroke sits under the tail instead of through it. */
.underline.low { display: inline-block; padding-bottom: .16em; }
.underline.low svg { bottom: -.12em; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 16px; background: var(--deep); color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.store:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 900; font-size: 17px; }
.store small { font-weight: 800; font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .06em; }
.store.soon { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); cursor: default; }
.store.soon:hover { transform: none; box-shadow: var(--shadow-sm); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 800; color: var(--ink-soft); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; fill: var(--sage); }

/* Phone */
.stage { position: relative; height: 640px; display: grid; place-items: center; }
.phone {
  position: relative; width: 292px; height: 596px; border-radius: 48px; padding: 12px; background: #11201D;
  box-shadow: 0 40px 80px rgba(17, 32, 29, .35), inset 0 0 0 2px #2E4A44; animation: floaty 7s ease-in-out infinite; z-index: 2;
}
@keyframes floaty { 50% { transform: translateY(-12px) rotate(.6deg); } }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #FBF5EC; color: #284645; }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #11201D; z-index: 5; }
.app { padding: 50px 15px 15px; }
.app-top { display: flex; justify-content: space-between; align-items: center; font-weight: 900; font-size: 12px; color: #6E675C; }
.app-top b { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #3E6E61, #508071); color: #fff; display: grid; place-items: center; font-size: 11px; }
.app-title { font-family: var(--display); font-size: 25px; line-height: 1.1; margin: 8px 0 12px; color: #284645; font-weight: 700; }
.app-title em { font-style: normal; color: #E47C60; }
.sunpath { position: relative; height: 88px; border-radius: 22px; background: linear-gradient(180deg, #FCE7BE, #FDF3DE); overflow: hidden; margin-bottom: 10px; }
.sunpath svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sunpath .arc { fill: none; stroke: #E5A13D; stroke-width: 2; stroke-dasharray: 4 6; opacity: .7; }
.sunpath .ball { offset-path: path("M 12 80 Q 128 -14 244 80"); animation: across 9s ease-in-out infinite; }
@keyframes across { 0%, 100% { offset-distance: 10%; } 50% { offset-distance: 90%; } }
.sunpath .label { position: absolute; left: 12px; bottom: 7px; font-size: 11px; font-weight: 900; color: #9A6514; }
.mini { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 9px 11px; margin-bottom: 8px; box-shadow: 0 3px 10px rgba(31, 59, 56, .06); font-size: 13px; }
.mini .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mini .ic svg { width: 16px; height: 16px; fill: currentColor; }
.mini small { display: block; color: #8A8276; font-size: 11px; font-weight: 700; }
.mini b { font-size: 13.5px; }
.mini .box { margin-left: auto; width: 20px; height: 20px; border-radius: 7px; border: 2px solid #E3D6C1; flex: none; position: relative; }
.mini .box.done { background: #3E6E61; border-color: #3E6E61; animation: tickin .5s 2.6s both; }
.mini .box.done::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes tickin { from { transform: scale(0); } 70% { transform: scale(1.25); } to { transform: none; } }

/* Notifications sliding over the screen */
.notifs { position: absolute; left: 9px; right: 9px; top: 42px; z-index: 4; }
.notif {
  position: absolute; left: 0; right: 0; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 20px; padding: 10px 12px; box-shadow: 0 12px 30px rgba(17, 32, 29, .22); font-size: 12.5px; color: #284645;
  opacity: 0; transform: translateY(-30px) scale(.96); animation: notif 15s infinite;
}
.notifs .notif:nth-child(1) { animation-delay: 1.5s; }
.notifs .notif:nth-child(2) { animation-delay: 6.5s; }
.notifs .notif:nth-child(3) { animation-delay: 11.5s; }
@keyframes notif { 0% { opacity: 0; transform: translateY(-30px) scale(.96); } 4%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-20px) scale(.96); } }
.notif .who { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 900; color: #8A8276; text-transform: uppercase; letter-spacing: .05em; }
.notif .who img { width: 16px; height: 16px; }
.notif .who .at { margin-left: auto; text-transform: none; letter-spacing: 0; }
.notif b { display: block; font-size: 13.5px; margin-top: 3px; }
.notif p { margin: 1px 0 0; color: #5E584E; line-height: 1.4; }
.notif .acts { display: flex; gap: 8px; margin-top: 8px; }
.notif .acts span { flex: 1; text-align: center; padding: 6px; border-radius: 10px; background: #EEF3F1; font-weight: 900; color: #3E6E61; font-size: 12px; }

/* Family admin floating around the phone */
.floater {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 18px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow); font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap;
}
.floater small { display: block; font-weight: 700; color: var(--subtext); font-size: 11.5px; }
.floater .icon { width: 34px; height: 34px; margin: 0; }
.floater .icon svg { width: 18px; height: 18px; }
.f1 { top: 40px; left: -4%; rotate: -4deg; animation: bob 6s ease-in-out infinite, inL 1s .3s both; }
.f2 { top: 180px; right: -6%; rotate: 3deg; animation: bob 7s ease-in-out .8s infinite, inR 1s .5s both; }
.f3 { bottom: 170px; left: -8%; rotate: 2deg; animation: bob 6.5s ease-in-out .4s infinite, inL 1s .7s both; }
.f4 { bottom: 50px; right: -2%; rotate: -3deg; animation: bob 7.5s ease-in-out 1.2s infinite, inR 1s .9s both; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes inL { from { opacity: 0; translate: -40px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes inR { from { opacity: 0; translate: 40px 0; } to { opacity: 1; translate: 0 0; } }
.llama-peek { position: absolute; z-index: 1; bottom: 10px; left: -2%; width: 116px; animation: peek 5s ease-in-out infinite; }
@keyframes peek { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--deep); color: #F4EBDD; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.03); margin: -24px 0 0; position: relative; z-index: 3; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tick 45s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; white-space: nowrap; }
.ticker span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mustard); }
.ticker span:nth-child(3n)::before { background: var(--coral); }
.ticker span:nth-child(3n+1)::before { background: var(--leaf); }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
.section-intro { max-width: 680px; margin-bottom: 46px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro.center .lead { margin-left: auto; margin-right: auto; }
.section-intro .lead { margin-bottom: 0; }

/* Reveal on scroll (the script adds .in; without it, everything simply shows) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Sound familiar: a messy pile that tidies itself */
.familiar .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.familiar .wrap > * { min-width: 0; }
.pile { position: relative; height: 470px; }
.note {
  position: absolute; left: 50%; top: 50%; width: 270px; padding: 12px 14px; border-radius: 14px; font-weight: 800; font-size: 15px;
  box-shadow: var(--shadow-sm); transition: transform 1.1s cubic-bezier(.5, 1.5, .4, 1), background .6s, color .6s; transition-delay: var(--t, 0s);
  display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--ink);
}
.note small { display: block; font-size: 12px; font-weight: 700; opacity: .7; }
.note i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.note:nth-child(1) { transform: translate(-95%, -230%) rotate(-12deg); background: #FFF2C9; color: #4A3A12; }
.note:nth-child(2) { transform: translate(-8%, -170%) rotate(9deg); }
.note:nth-child(3) { transform: translate(-85%, -45%) rotate(6deg); background: #DDF0E6; color: #1F3B38; }
.note:nth-child(4) { transform: translate(-12%, -5%) rotate(-7deg); background: #FCE1D8; color: #5A2A1C; }
.note:nth-child(5) { transform: translate(-100%, 110%) rotate(-4deg); }
.note:nth-child(6) { transform: translate(-15%, 150%) rotate(11deg); background: #FFF2C9; color: #4A3A12; }
.pile.tidy .note { background: var(--surface); color: var(--ink); }
.pile.tidy .note:nth-child(1) { transform: translate(-50%, -300%); --t: 0s; }
.pile.tidy .note:nth-child(2) { transform: translate(-50%, -190%); --t: .08s; }
.pile.tidy .note:nth-child(3) { transform: translate(-50%, -80%); --t: .16s; }
.pile.tidy .note:nth-child(4) { transform: translate(-50%, 30%); --t: .24s; }
.pile.tidy .note:nth-child(5) { transform: translate(-50%, 140%); --t: .32s; }
.pile.tidy .note:nth-child(6) { transform: translate(-50%, 250%); --t: .4s; }
.note .ok { margin-left: auto; width: 22px; height: 22px; border-radius: 7px; border: 2px solid currentColor; opacity: .5; position: relative; flex: none; transition: background .4s, border-color .4s, opacity .4s; transition-delay: calc(var(--t, 0s) + 1s); }
.pile.tidy .note .ok { background: var(--teal); border-color: var(--teal); opacity: 1; }
.pile.tidy .note .ok::after { content: ""; position: absolute; left: 6px; top: 1px; width: 5px; height: 11px; border: solid var(--surface); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.juggle { font-size: clamp(19px, 2.2vw, 23px); color: var(--subtext); margin: 0 0 18px; }
.juggle-end { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 700; margin: 0 0 18px; }
.juggle-end em { font-style: normal; color: var(--coral); }
.after { font-weight: 800; color: var(--sage); margin: 0; font-size: 18px; }

/* How it works */
.how { background: var(--surface); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--page); border-radius: var(--radius); padding: 22px 24px 26px; position: relative; overflow: hidden; min-width: 0; }
.step .num { font-family: var(--display); font-size: 58px; line-height: 1; font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--coral); display: block; margin-bottom: 6px; }
.step p { margin: 0; color: var(--subtext); font-size: 16px; }
.art { height: 150px; margin: 0 0 18px; border-radius: 22px; position: relative; overflow: hidden; display: grid; place-items: center; }
.art-kids { background: var(--tint-coral); }
.art-kids div { display: flex; gap: 10px; }
.art-kids span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 25px; font-weight: 800; color: #fff; animation: pop 3s ease-in-out infinite; }
.art-kids span:nth-child(1) { background: var(--coral); }
.art-kids span:nth-child(2) { background: var(--sage); animation-delay: .3s; }
.art-kids span:nth-child(3) { background: var(--surface); color: var(--subtext); border: 2px dashed var(--border); animation-delay: .6s; font-family: var(--font); }
@keyframes pop { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.12) translateY(-6px); } }
.art-scan { background: var(--tint-mustard); }
.letter { width: 118px; height: 118px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-sm); padding: 14px 12px; position: relative; overflow: hidden; rotate: -4deg; }
.letter i { display: block; height: 7px; border-radius: 4px; background: #E9DCC8; margin-bottom: 8px; }
.letter i:nth-child(2) { width: 70%; } .letter i:nth-child(4) { width: 55%; background: var(--mustard); } .letter i:nth-child(5) { width: 80%; }
.letter::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--coral); box-shadow: 0 0 14px 4px rgba(228, 124, 96, .55); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 88%; } }
.found { position: absolute; right: 16px; bottom: 14px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 900; padding: 6px 10px; border-radius: 10px; animation: pop 2.6s ease-in-out infinite; }
.art-relax { background: var(--tint-sage); }
.bell { width: 74px; height: 74px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-sm); animation: ring 3s ease-in-out infinite; }
.bell svg { width: 36px; height: 36px; fill: var(--sage); }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.zzz { position: absolute; right: 26%; top: 18%; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--sage); animation: zz 3s ease-in-out infinite; }
@keyframes zz { from { opacity: 0; transform: translate(0, 10px); } 50% { opacity: 1; } to { opacity: 0; transform: translate(14px, -20px); } }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .35s; min-width: 0; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile p { margin: 0; color: var(--subtext); font-size: 16px; }
.kicker { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; display: block; }
.t-today { grid-column: span 4; background: linear-gradient(135deg, var(--tint-mustard), var(--surface) 70%); }
.t-scan { grid-column: span 2; background: linear-gradient(160deg, var(--tint-coral), var(--surface) 75%); }
.t-balance, .t-well { grid-column: span 2; }
.t-story { grid-column: span 2; background: linear-gradient(160deg, var(--tint-teal), var(--surface) 75%); }
.t-remind { grid-column: span 6; display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; background: var(--deep); color: #F4EBDD; padding: 34px; }
.t-remind h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; }
.t-remind p { color: #C9D7D2; }
.t-remind .kicker { color: var(--sun); }
.k-mustard { color: #B9781A; } .k-coral { color: #C0573B; } .k-sage { color: var(--sage); } .k-teal { color: var(--teal); }

.daybar { position: relative; margin-top: 16px; }
.daybar svg { width: 100%; height: auto; overflow: visible; display: block; }
.daybar .arc { fill: none; stroke: var(--mustard); stroke-width: 2.5; stroke-dasharray: 5 7; opacity: .7; }
.daybar .ball { fill: var(--sun); stroke: var(--mustard); stroke-width: 3; offset-path: path("M 20 115 Q 300 -45 580 115"); animation: across 10s ease-in-out infinite; }
.daybar .pin { fill: var(--surface); stroke: var(--teal); stroke-width: 3; }
.daybar text { font-family: var(--font); font-size: 15px; font-weight: 800; fill: var(--ink-soft); }
.scan-art { margin-top: 16px; display: grid; gap: 8px; }
.chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: 14px; box-shadow: 0 2px 8px rgba(31, 59, 56, .06); }
.js .chip { opacity: 0; transform: translateX(-16px); }
.js .in .chip { animation: chipin .6s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.js .in .chip:nth-child(2) { animation-delay: .25s; } .js .in .chip:nth-child(3) { animation-delay: .5s; }
@keyframes chipin { to { opacity: 1; transform: none; } }
.chip .dup { margin-left: auto; font-size: 11px; background: var(--tint-mustard); padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.week { display: flex; justify-content: space-between; margin-top: 18px; }
.week div { text-align: center; font-size: 12px; font-weight: 900; color: var(--subtext); }
.week span { display: block; width: 30px; height: 30px; border-radius: 50%; margin: 6px auto 0; }
.js .week span { transform: scale(0); }
.js .in .week span { animation: dot .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.week div:nth-child(2) span { animation-delay: .1s; } .week div:nth-child(3) span { animation-delay: .2s; } .week div:nth-child(4) span { animation-delay: .3s; }
.week div:nth-child(5) span { animation-delay: .4s; } .week div:nth-child(6) span { animation-delay: .5s; } .week div:nth-child(7) span { animation-delay: .6s; }
@keyframes dot { to { transform: scale(1); } }
.busy { background: var(--mustard); } .free { background: var(--tint-sage); border: 2.5px solid var(--sage); }
.free-note { margin-top: 14px; font-weight: 900; color: var(--sage); font-size: 14px; }
.rings { display: flex; gap: 12px; margin-top: 18px; }
.ring { width: 64px; text-align: center; font-size: 11px; font-weight: 900; color: var(--subtext); }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: var(--page); }
.ring .fg { stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: var(--to); }
.js .ring .fg { stroke-dashoffset: 170; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1) .3s; }
.js .in .ring .fg { stroke-dashoffset: var(--to); }
.stamps { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.stamp { width: 60px; height: 60px; border-radius: 50%; border: 3px dashed var(--teal); display: grid; place-items: center; color: var(--teal); }
.stamp svg { width: 27px; height: 27px; fill: currentColor; }
.js .stamp { transform: scale(0) rotate(-30deg); }
.js .in .stamp { animation: stamp .6s cubic-bezier(.3, 1.8, .5, 1) forwards; }
.stamp:nth-child(2) { animation-delay: .2s; border-color: var(--coral); color: var(--coral); } .stamp:nth-child(3) { animation-delay: .4s; border-color: var(--mustard); color: var(--mustard); }
@keyframes stamp { to { transform: none; } }
.stack { display: grid; gap: 10px; }
.stack .notif { position: relative; animation: none; background: #fff; opacity: 1; transform: none; }
.js .stack .notif { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s cubic-bezier(.3, 1.4, .5, 1); transition-delay: var(--t); }
.js .in .stack .notif { opacity: 1; transform: none; }
.stack .notif:nth-child(1) { --t: .1s; } .stack .notif:nth-child(2) { --t: .35s; } .stack .notif:nth-child(3) { --t: .6s; }

.icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; flex: none; }
.icon svg { width: 24px; height: 24px; fill: currentColor; }
.i-teal { background: var(--tint-teal); color: var(--teal); }
.i-mustard { background: var(--tint-mustard); color: #B9781A; }
.i-coral { background: var(--tint-coral); color: #C0573B; }
.i-sage { background: var(--tint-sage); color: var(--sage); }


/* Numbers */
.numbers { padding: 30px 0 110px; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.num-card { text-align: center; padding: 34px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.num-card b { display: block; font-family: var(--display); font-size: clamp(56px, 7vw, 84px); line-height: 1; color: var(--coral); }
.num-card:nth-child(2) b { color: var(--sage); } .num-card:nth-child(3) b { color: var(--mustard); }
.num-card span { font-weight: 800; color: var(--ink-soft); }

/* Privacy */
.privacy { background: var(--deep); color: #F4EBDD; overflow: hidden; }
.privacy h2 { color: #fff; }
.privacy .lead { color: #C9D7D2; }
.privacy .wrap { display: grid; grid-template-columns: .9fr 1.2fr; gap: 60px; align-items: center; }
.privacy .wrap > * { min-width: 0; }
.shield { position: relative; width: min(340px, 80%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.shield::before, .shield::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(140, 192, 168, .4); animation: ripple 4s ease-out infinite; }
.shield::after { animation-delay: 2s; }
@keyframes ripple { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.shield .core { width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4F8A79, #284645); display: grid; place-items: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.shield .core svg { width: 46%; height: 46%; fill: #F7C96E; }
.nos { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.nos li { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 13px 18px; font-weight: 800; font-size: 17px; }
.nos .x { width: 28px; height: 28px; border-radius: 50%; background: rgba(228, 124, 96, .2); color: var(--coral-soft); display: grid; place-items: center; font-weight: 900; flex: none; font-size: 14px; }
.nos s { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2.5px; color: #E5DCCD; }
.js .nos s { text-decoration-color: transparent; transition: text-decoration-color .6s ease; transition-delay: var(--t, 0s); }
.js .in .nos s { text-decoration-color: var(--coral); }
.nos em { font-style: normal; color: var(--leaf); margin-left: auto; font-size: 14px; text-align: right; }
.privacy a { color: var(--sun); }

/* Final call to action */
.cta { text-align: center; overflow: hidden; isolation: isolate; }
.cta .llama { width: 150px; animation: peek 5s ease-in-out infinite; }
.cta .stores { justify-content: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 12px; border-radius: 3px; opacity: .75; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(640px) rotate(540deg); } }

/* ---------- Support and legal pages ---------- */
.page-head { padding: 40px 0 16px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.page-head p { color: var(--subtext); margin: 0; }
.prose { padding: 12px 0 80px; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h3 { margin-top: 26px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface); }
.summary { background: var(--surface); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); }
.summary ul { margin: 8px 0 0; }
.updated { font-size: 14px; color: var(--subtext); }
details { background: var(--surface); border-radius: 18px; padding: 4px 20px; margin: 10px 0; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 900; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--coral); transition: transform .3s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: var(--subtext); }
.contact-card { display: flex; gap: 16px; align-items: center; background: var(--tint-teal); border-radius: var(--radius); padding: 22px 24px; margin: 18px 0 8px; }
.contact-card .icon { margin: 0; background: var(--surface); }
.contact-card p { margin: 0; }
.lost { text-align: center; padding: 70px 20px 90px; }
.lost img { width: 150px; animation: peek 5s ease-in-out infinite; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); padding: 46px 0 52px; font-size: 15px; color: var(--subtext); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .brand span { font-size: 22px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }
.site-footer small { display: block; margin-top: 8px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
  .hero .wrap, .familiar .wrap, .privacy .wrap { grid-template-columns: 1fr; }
  .hero .wrap { min-height: 0; }
  .stage { height: 620px; }
  .f1 { left: 0; } .f2 { right: 0; } .f3 { left: 0; } .f4 { right: 0; }
  .steps, .nums { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t-today, .t-scan, .t-balance, .t-well, .t-story, .t-remind { grid-column: auto; }
  .t-remind { grid-template-columns: 1fr; }
  .shield { width: 220px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .nav a:not(.pill-btn) { display: none; }
  .phone { width: 262px; height: 536px; }
  .stage { height: 580px; }
  .floater { font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .floater small { display: none; }
  .floater .icon { width: 28px; height: 28px; }
  .f1 { top: 14px; } .f2 { top: 130px; } .f3 { bottom: 150px; } .f4 { bottom: 26px; }
  .llama-peek { width: 80px; left: 0; }
  .pile { height: 440px; }
  .note { width: min(270px, 84vw); font-size: 14px; }
}

/* Respect "reduce motion": everything still shows, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .chip, .js .week span, .js .stamp, .js .stack .notif { opacity: 1 !important; transform: none !important; }
  .notifs .notif:first-child { opacity: 1; transform: none; }
  .underline path, .js .ring .fg { stroke-dashoffset: 0; }
  .js .ring .fg { stroke-dashoffset: var(--to); }
  .js .nos s { text-decoration-color: var(--coral); }
  .sun { opacity: .55; }
}

.fineprint { font-size: 14px; color: var(--subtext); margin: 12px 0 0; }
.site-footer .brand { margin-bottom: 6px; }

/* The phone screen stays light in dark mode, so its icon tints do too. */
.screen .i-mustard { background: #FCEFD7; color: #B9781A; }
.screen .i-coral { background: #FCE6DE; color: #C0573B; }

@media (max-width: 600px) { .f2, .f3 { display: none; } }
.t-remind .notif p { color: #5E584E; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The moving suns need offset-path (older Safari lacks it): hidden there rather than stuck in a corner. */
.sunpath .ball, .daybar .ball { opacity: 0; }
@supports (offset-path: path("M 0 0")) { .sunpath .ball, .daybar .ball { opacity: 1; } }


/* ---- Polish pass ---- */
.ticker { margin-left: -2%; margin-right: -2%; }
@media (max-width: 980px) {
  .sun { right: 50%; transform: translateX(50%); top: auto; bottom: 320px; width: 260px; height: 260px; animation: none; }
  .floater, .llama-peek { display: none; }
  .stage { height: auto; padding: 10px 0 20px; }
  .phone { animation: none; }
  .privacy .shield { display: none; }
  .familiar .pile { height: auto; display: grid; gap: 10px; justify-items: center; }
  .familiar .note, .familiar .pile.tidy .note { position: static; transform: none !important; width: min(340px, 100%); background: var(--surface); color: var(--ink); }
  .familiar .note .ok { background: var(--teal); border-color: var(--teal); opacity: 1; }
  .familiar .note .ok::after { content: ""; position: absolute; left: 6px; top: 1px; width: 5px; height: 11px; border: solid var(--surface); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
}
@media (min-width: 981px) {
  .f1 { left: -2%; top: 60px; } .f3 { left: -6%; bottom: 190px; }
  .f2 { right: -4%; } .f4 { right: 0; bottom: 70px; }
}

/* ---- Real app screens ---- */
.screen .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen .notifs { top: 30px; }
.showcase { display: grid; gap: 90px; margin-bottom: 70px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.show-row > * { min-width: 0; }
.show-row.flip .show-text { order: 2; }
.show-text h3 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.08; margin-bottom: 12px; }
.show-text p { color: var(--subtext); font-size: 18px; margin: 0 0 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--tint-sage) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23508071' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.device { margin: 0 auto; width: min(360px, 84vw); padding: 10px; border-radius: 44px; background: #11201D; box-shadow: var(--shadow), inset 0 0 0 2px #2E4A44; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.device img { display: block; width: 100%; border-radius: 34px; }
.device:hover { transform: translateY(-6px) rotate(-1deg); }
/* The home-screen widget, on a soft wallpaper instead of in a phone. */
.homescreen { margin: 0 auto; width: min(400px, 84vw); padding: 30px; border-radius: 40px; background: radial-gradient(circle at 20% 15%, var(--sun) 0, transparent 45%), linear-gradient(160deg, var(--leaf), var(--sage) 70%, var(--teal)); box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.homescreen img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 24px rgba(31, 59, 56, .28)); }
.homescreen:hover { transform: translateY(-6px) rotate(1deg); }
.device-pair { position: relative; display: grid; place-items: center; padding-right: 70px; }
.device-pair .device { position: relative; z-index: 2; }
.device-pair .back { position: absolute; z-index: 1; right: 0; top: 40px; width: min(290px, 66vw); opacity: .96; transform: rotate(5deg); }
.device-pair .back:hover { transform: rotate(5deg) translateY(-6px); }
.js .show-row[data-reveal] .device { transform: translateY(30px) rotate(-2deg); transition: transform 1s cubic-bezier(.2, .8, .2, 1) .15s; }
.js .show-row[data-reveal].in .device { transform: none; }
.js .show-row[data-reveal].in .device.back { transform: rotate(5deg); }
.t-remind { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .show-row { grid-template-columns: 1fr; gap: 30px; }
  .show-row.flip .show-text { order: 0; }
  .showcase { gap: 70px; }
  .device-pair { padding-right: 40px; }
  .device-pair .back { width: min(210px, 52vw); }
}
/* Start the real screen just below the phone's camera notch. */
.screen { background: #EEF3EC; }
.screen .shot { top: 40px; height: calc(100% - 40px); }

/* ---- Keepsakes: the real Passport and Certificate of Reading ---- */
.keepsakes { background: linear-gradient(180deg, var(--page), var(--tint-mustard) 60%, var(--page)); overflow: hidden; }
.keepsakes .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.keepsakes .wrap > * { min-width: 0; }
.keep-art { position: relative; height: 580px; }
.kp { position: absolute; width: 290px; height: auto; border-radius: 16px; box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.kp.passport { left: 0; top: 40px; rotate: -7deg; }
.kp.cert { left: 30%; top: 10px; width: 310px; rotate: 5deg; z-index: 2; }
.kp:hover { transform: translateY(-8px) scale(1.02); z-index: 4; }
.keep-art .keep-phone { position: absolute; right: 0; bottom: 0; width: 200px; padding: 8px; border-radius: 34px; rotate: -3deg; z-index: 3; }
.keep-art .keep-phone img { border-radius: 27px; }
.js .keep-art[data-reveal] .kp.passport { transform: translate(-30px, 20px); transition: transform 1s cubic-bezier(.2, .8, .2, 1) .1s; }
.js .keep-art[data-reveal] .kp.cert { transform: translate(30px, 30px); transition: transform 1s cubic-bezier(.2, .8, .2, 1) .25s; }
.js .keep-art[data-reveal].in .kp { transform: none; }
@media (max-width: 980px) {
  .keepsakes .wrap { grid-template-columns: 1fr; }
  .keep-art { height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
  .kp { width: 54%; } .kp.cert { width: 58%; left: 34%; }
  .keep-art .keep-phone { width: 36%; }
}
/* Keepsakes: spread out so the Passport title and the certificate's book stay readable. */
.keep-art { height: 650px; }
.kp.passport { width: 270px; top: 50px; }
.kp.cert { left: 40%; width: 300px; top: 0; }
.keep-art .keep-phone { width: 185px; right: -6px; bottom: 0; }
@media (max-width: 980px) {
  .keep-art { height: 560px; }
  .kp.passport { width: 50%; top: 40px; }
  .kp.cert { left: 42%; width: 56%; top: 0; }
  .keep-art .keep-phone { width: 34%; right: 0; }
}
@media (max-width: 980px) { .keep-art { height: 470px; } }

/* ---- The Okeya llama mascot ---- */
.mascot { position: relative; display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.mascot img { width: 220px; height: auto; transform-origin: 50% 100%; animation: sway 4.5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-6px); } }
.bubble {
  position: relative; margin: 0 0 6px 120px; padding: 12px 18px; background: var(--surface); color: var(--ink); border-radius: 22px;
  font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; box-shadow: var(--shadow-sm); text-align: left;
  transform-origin: 20% 100%; animation: pop-in .6s cubic-bezier(.3, 1.6, .5, 1) .4s both;
}
.bubble::after { content: ""; position: absolute; left: 34px; bottom: -11px; border: 12px solid transparent; border-top-color: var(--surface); border-bottom: 0; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 600px) { .bubble { margin-left: 70px; font-size: 18px; } .mascot img { width: 180px; } }
.mascot svg { width: 230px; height: auto; display: block; cursor: pointer; overflow: visible; -webkit-tap-highlight-color: transparent; }
.mascot .bubble { margin-left: 130px; }
/* Tapped: a happy hop with smiling eyes. */
.okeya-llama.joy .farOpen, .okeya-llama.joy .nearOpen, .okeya-llama.joy .sleepy, .okeya-llama.joy .zz { opacity: 0 !important; animation: none !important; }
.okeya-llama.joy .farHappy, .okeya-llama.joy .nearHappy { opacity: 1 !important; animation: none !important; }
.okeya-llama.joy .whole { animation: ol-joy .5s cubic-bezier(.3, 1.6, .5, 1) 2 !important; }
@keyframes ol-joy { 50% { transform: translateY(-18px) rotate(-2deg); } }
.okeya-llama .follow { transition: transform .25s ease-out; }
@media (max-width: 600px) { .mascot svg { width: 190px; } .mascot .bubble { margin-left: 80px; } }

/* ---- The whole child ---- */
.whole { padding-top: 120px; }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); min-width: 0; }
.area:hover { transform: translateY(-5px); }
.area h3 { font-family: var(--display); font-size: 28px; font-weight: 700; margin: 0 0 4px; }
.area p { margin: 0; color: var(--subtext); }
.not-band { margin-top: 36px; background: var(--deep); color: #F4EBDD; border-radius: var(--radius); padding: 32px 34px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center; }
.not-band h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; margin: 0 0 8px; }
.not-band p { margin: 0; color: #C9D7D2; }
.not-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.not-band li { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .07); border-radius: 14px; padding: 12px 14px; font-weight: 800; }
.not-band .x { width: 26px; height: 26px; border-radius: 50%; background: rgba(228, 124, 96, .22); color: var(--coral-soft); display: grid; place-items: center; font-size: 13px; flex: none; }
.ticker span::before { content: ""; }
@media (max-width: 980px) {
  .areas { grid-template-columns: 1fr 1fr; }
  .not-band { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .areas { grid-template-columns: 1fr; }
  .not-band ul { grid-template-columns: 1fr; }
  .not-band { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .areas { grid-template-columns: 1fr 1fr; gap: 10px; }
  .area { padding: 16px; }
  .area .icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .area h3 { font-size: 22px; }
  .area p { font-size: 14px; line-height: 1.45; }
}

/* ---- Phones: a menu, and a shorter page ---- */
section[id] { scroll-margin-top: 80px; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm);
  display: grid; place-content: center; gap: 4px; -webkit-tap-highlight-color: transparent; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.mnav[open] summary span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mnav[open] summary span:nth-child(2) { opacity: 0; }
.mnav[open] summary span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mnav-panel { position: absolute; right: 0; top: 54px; width: 230px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 8px; display: grid; animation: pop-in .25s ease-out both; transform-origin: top right; }
.mnav-panel a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--ink) !important; opacity: 1 !important; text-decoration: none; font-weight: 800; font-size: 16px !important; }
.mnav-panel a:hover, .mnav-panel a:active { background: var(--tint-sage); }
.swipe-hint { display: none; }

@media (max-width: 600px) {
  .mnav { display: block; }
  .nav { gap: 10px; }
  .pill-btn { padding: 10px 16px; }

  /* App screens: swipe sideways, one screen at a time. */
  .swipe-hint { display: block; margin: -24px 0 14px; font-size: 14px; font-weight: 800; color: var(--subtext); }
  .showcase { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px 50px; padding: 4px 22px 18px; scrollbar-width: none; }
  .showcase::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .show-row, .show-row.flip { flex: 0 0 84%; scroll-snap-align: center; display: flex; flex-direction: column; gap: 14px; align-items: stretch; background: var(--surface); border-radius: 26px; padding: 20px 18px 22px; box-shadow: var(--shadow-sm); }
  .show-row.flip .show-text { order: 0; }
  .show-text h3 { font-size: 26px; margin-bottom: 6px; }
  .show-text p { font-size: 15px; margin: 0; }
  .show-text .ticks { display: none; }
  .device { width: min(230px, 64vw); }
  .homescreen { width: min(260px, 70vw); padding: 18px; border-radius: 30px; }
  .device-pair { padding-right: 0; }
  .device-pair .back { display: none; }
  .js .showcase [data-reveal], .js .steps [data-reveal] { opacity: 1; transform: none; }
  .js .show-row[data-reveal] .device { transform: none; }

  /* How it works: three cards side by side, swipeable. */
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px; padding: 4px 22px 14px; scrollbar-width: none; }
  .step { flex: 0 0 78%; scroll-snap-align: center; }
  .art { height: 120px; }

  /* Sound familiar: three notes are enough to make the point. */
  .familiar .note:nth-child(n+4) { display: none; }

  /* Numbers: one compact row. */
  .numbers { padding: 10px 0 60px; }
  .nums { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .num-card { padding: 16px 8px; border-radius: 18px; }
  .num-card b { font-size: 40px; }
  .num-card span { font-size: 12px; line-height: 1.35; display: block; }

  section { padding: 60px 0; }
  .whole { padding-top: 70px; }
}
.nav .mnav-panel a { display: block !important; }
.mnav summary::after { content: none; display: none; }
.pill-btn { white-space: nowrap; }
@media (max-width: 380px) { .site-header .brand span { font-size: 23px; } .pill-btn { padding: 9px 13px; font-size: 14px; } }
/* Phones: the six areas of childhood swipe sideways too. */
@media (max-width: 600px) {
  .areas { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px; padding: 4px 22px 14px; scrollbar-width: none; }
  .areas::-webkit-scrollbar { display: none; }
  .area { flex: 0 0 58%; scroll-snap-align: center; padding: 20px 18px; }
  .js .areas [data-reveal] { opacity: 1; transform: none; }
  .whole .section-intro { margin-bottom: 30px; }
  .whole .swipe-hint { margin-top: 0; }
}
.mnav, .mnav[open] { background: none; padding: 0; margin: 0; box-shadow: none; border-radius: 0; }

/* ---- Our story ---- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 60; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--coral), var(--mustard), var(--sage)); }
.story-hero { padding: 50px 0 40px; background: radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--sun) 30%, transparent), transparent 60%); }
.story-hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.story-hero .wrap > * { min-width: 0; }
.story-hero h1 { font-size: clamp(44px, 6.4vw, 76px); }
.story-hero .lead { margin-bottom: 16px; }
.story-mascot { display: grid; place-items: center; }
.story-mascot svg { width: min(340px, 80vw); height: auto; cursor: pointer; overflow: visible; }
.pull-wrap { padding: 50px 0 30px; }
.pull { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 92px); line-height: 1; letter-spacing: -0.03em; text-align: center; margin: 0; }
.pull em { font-style: normal; color: var(--coral); }

.chapters { position: relative; max-width: 1060px; margin: 0 auto; padding: 30px 22px 60px 22px; }
.chapters::before { content: ""; position: absolute; left: 70px; top: 0; bottom: 60px; width: 2px; background: linear-gradient(var(--border), var(--border)) ; }
.chapter { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 26px; padding: 40px 0; }
.chapter.with-art { grid-template-columns: 100px 1.3fr .9fr; align-items: center; }
.chapter > * { min-width: 0; }
.chap-num { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; background: var(--page); border: 2px solid var(--border); display: grid; place-items: center;
  font-family: var(--display); font-size: 40px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.6px var(--coral); }
.chap-body h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 14px; }
.chap-body p { color: var(--subtext); font-size: 18px; margin: 0 0 14px; max-width: 36em; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 800; }
.chips svg { width: 20px; height: 20px; fill: var(--coral); }
.no-pressure { margin-top: 20px; background: var(--deep); color: #F4EBDD; border-radius: 24px; padding: 22px 24px; }
.no-pressure p { color: #E5DCCD !important; margin: 0 0 14px !important; font-size: 18px; }
.no-pressure ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.no-pressure li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 900; }
.no-pressure li:not(:last-child) { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.no-pressure li:last-child { background: var(--sun); color: #3A2A0B; }
.kid-quote { margin: 20px 0 0; padding: 20px 22px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-sm); font-family: var(--display); font-size: 22px; line-height: 1.35; font-weight: 600; position: relative; }
.kid-quote span { display: block; font-family: var(--font); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.chap-art { margin: 0; }
.chap-art img { width: 100%; max-width: 330px; display: block; margin: 0 auto; border-radius: 16px; box-shadow: var(--shadow); rotate: 3deg; transition: rotate .5s cubic-bezier(.3, 1.4, .5, 1); }
.chap-art img:hover { rotate: 0deg; }
.passport-art img { rotate: -4deg; }
.mission { background: var(--deep); color: #F4EBDD; text-align: center; padding: 110px 0; }
.mission h2 { color: #fff; }
.mission .lead { color: #C9D7D2; margin-left: auto; margin-right: auto; }
.tagline-big { font-family: var(--display); font-size: clamp(30px, 4.6vw, 54px); font-weight: 700; line-height: 1.1; margin: 10px 0 12px;
  background: linear-gradient(90deg, var(--sun), var(--coral-soft), var(--leaf)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mission-end { color: #C9D7D2; font-size: 18px; margin: 0 0 30px; }
.mission .stores { justify-content: center; }
.mission .fineprint { color: #C9D7D2; }

@media (max-width: 860px) {
  .story-hero .wrap { grid-template-columns: 1fr; }
  .story-mascot { order: -1; }
  .story-mascot svg { width: 200px; }
  .chapters::before { left: 46px; }
  .chapter, .chapter.with-art { grid-template-columns: 50px 1fr; gap: 16px; padding: 28px 0; }
  .chap-num { width: 50px; height: 50px; font-size: 22px; -webkit-text-stroke-width: 1.2px; }
  .chap-art { grid-column: 2; }
  .chap-art img { max-width: 240px; margin: 6px 0 0; }
  .chap-body p { font-size: 16px; }
  .kid-quote { font-size: 19px; }
  .mission { padding: 80px 0; }
}

/* ==== Light forest theme (the dark version is kept in backup-v2-dark) ==== */
:root { color-scheme: light; --sage-wash: #E7F1EB; --sage-wash-2: #D9EADF; --ground: #C3DDCD; }

/* Hero: soft pines peeking over the hills. */
.hero { background: url("/assets/forest.svg") center bottom 30px / 1200px 170px repeat-x; }

/* Ticker: a soft sage ribbon instead of dark green. */
.ticker { background: var(--sage-wash-2); color: var(--ink); box-shadow: 0 1px 0 rgba(31, 59, 56, .06); }

/* "What Okeya isn't" */
.not-band { background: linear-gradient(135deg, var(--sage-wash), #F7EFE1); color: var(--ink); box-shadow: var(--shadow-sm); }
.not-band h3 { color: var(--ink); }
.not-band p { color: var(--subtext); }
.not-band .eyebrow { color: var(--coral) !important; }
.not-band li { background: rgba(255, 255, 255, .8); }
.not-band .x { background: var(--tint-coral); color: #C0573B; }

/* Reminders card */
.t-remind { background: linear-gradient(135deg, var(--sage-wash), #F7EFE1); color: var(--ink); }
.t-remind h3 { color: var(--ink); }
.t-remind p { color: var(--subtext); }
.t-remind .kicker { color: var(--coral); }
.t-remind .notif { box-shadow: var(--shadow-sm); }

/* Privacy */
.privacy { background: linear-gradient(180deg, var(--sage-wash), var(--sage-wash-2)); color: var(--ink); }
.privacy h2 { color: var(--ink); }
.privacy .lead, .privacy .fineprint { color: var(--subtext) !important; }
.privacy .eyebrow { color: var(--coral) !important; }
.privacy a { color: var(--teal); }
.shield::before, .shield::after { border-color: rgba(80, 128, 113, .35); }
.shield .core { box-shadow: 0 24px 50px rgba(31, 59, 56, .2); }
.nos li { background: rgba(255, 255, 255, .85); border-color: transparent; box-shadow: 0 2px 10px rgba(31, 59, 56, .05); }
.nos s { color: var(--ink); }
.nos em { color: var(--sage); }
.nos .x { background: var(--tint-coral); color: #C0573B; }

/* Story page: "no pressure" box and the mission */
.no-pressure { background: linear-gradient(135deg, var(--sage-wash), #F7EFE1); color: var(--ink); box-shadow: var(--shadow-sm); }
.no-pressure p { color: var(--ink) !important; }
.no-pressure li { background: rgba(255, 255, 255, .85); }
.mission { background: url("/assets/forest.svg") center bottom / 1200px 170px repeat-x, linear-gradient(180deg, var(--page), var(--sage-wash)); color: var(--ink); padding-bottom: 210px; }
.mission h2 { color: var(--ink); }
.mission .lead, .mission-end, .mission .fineprint { color: var(--subtext) !important; }
.mission .eyebrow { color: var(--coral) !important; }
.tagline-big { background: linear-gradient(90deg, var(--coral), var(--mustard) 50%, var(--sage)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Home page closing section: the llama stands in the forest. */
.cta { background: url("/assets/forest.svg") center bottom / 1200px 170px repeat-x, linear-gradient(180deg, var(--page), var(--sage-wash)); padding-bottom: 200px; }

/* Footer: the forest floor. */
.site-footer { background: var(--ground); color: var(--ink-soft); }
.site-footer a { color: var(--ink); }

/* ---- Phones: section buttons always visible under the header ---- */
.chipnav { display: none; }
@media (max-width: 600px) {
  .site-header { background: rgba(251, 245, 236, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
  .site-header .wrap { height: 62px; }
  .chipnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 10px; -webkit-overflow-scrolling: touch; scroll-padding: 0 16px; }
  .chipnav::-webkit-scrollbar { display: none; }
  .chipnav a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14px;
    box-shadow: 0 1px 4px rgba(31, 59, 56, .08); transition: background .25s, color .25s; white-space: nowrap; }
  .chipnav a.active, .chipnav a[aria-current="page"] { background: var(--deep); color: #fff; }
  section[id] { scroll-margin-top: 120px; }
  .mnav { display: none !important; }
}

/* ---- Phones ---- */
@media (max-width: 600px) {
  .chipnav { display: none !important; }
  .site-header .wrap { height: 64px; }
  section[id] { scroll-margin-top: 78px; }
}

/* ---- The mascot strolls along the front hill ---- */
.llama-peek { display: none; }
.walker { --half: 50px; position: absolute; z-index: 0; width: 100px; height: auto; left: -100px; bottom: 30px; pointer-events: none;
  animation: stroll 48s linear infinite; }
@keyframes stroll {
  0% { left: calc(0% - var(--half)); bottom: 29px; }
  5% { left: calc(5% - var(--half)); bottom: 39px; }
  10% { left: calc(10% - var(--half)); bottom: 44px; }
  15% { left: calc(15% - var(--half)); bottom: 46px; }
  20% { left: calc(20% - var(--half)); bottom: 45px; }
  25% { left: calc(25% - var(--half)); bottom: 41px; }
  30% { left: calc(30% - var(--half)); bottom: 36px; }
  35% { left: calc(35% - var(--half)); bottom: 32px; }
  40% { left: calc(40% - var(--half)); bottom: 28px; }
  45% { left: calc(45% - var(--half)); bottom: 27px; }
  50% { left: calc(50% - var(--half)); bottom: 30px; }
  55% { left: calc(55% - var(--half)); bottom: 36px; }
  60% { left: calc(60% - var(--half)); bottom: 45px; }
  65% { left: calc(65% - var(--half)); bottom: 53px; }
  70% { left: calc(70% - var(--half)); bottom: 60px; }
  75% { left: calc(75% - var(--half)); bottom: 66px; }
  80% { left: calc(80% - var(--half)); bottom: 68px; }
  85% { left: calc(85% - var(--half)); bottom: 66px; }
  90% { left: calc(90% - var(--half)); bottom: 59px; }
  95% { left: calc(95% - var(--half)); bottom: 46px; }
  100% { left: calc(100% - var(--half)); bottom: 29px; }
}
@media (max-width: 600px) {
  .walker { --half: 32px; width: 64px; animation-duration: 26s; }
}
@media (prefers-reduced-motion: reduce) {
  .walker { animation: none; left: 8%; bottom: 52px; }
}
.walker { animation: stroll 48s linear infinite, wfade 48s linear infinite; }
@keyframes wfade { 0% { opacity: 0; } 3%, 97% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 600px) { .walker { animation-duration: 26s, 26s; } }
@media (prefers-reduced-motion: reduce) { .walker { animation: none; opacity: 1; } }
.walker { z-index: 4; width: 120px; --half: 60px; }
@media (max-width: 600px) { .walker { width: 70px; --half: 35px; } }

/* ---- Mascot moods (the same llama, posed by the page) ---- */
/* Happy: smiling eyes, rosy cheeks, a little bounce. */
.okeya-llama.pose-happy .farOpen, .okeya-llama.pose-happy .nearOpen, .okeya-llama.pose-happy .sleepy, .okeya-llama.pose-happy .talk,
.okeya-llama.pose-happy .ooh, .okeya-llama.pose-happy .zz { animation: none !important; opacity: 0 !important; }
.okeya-llama.pose-happy .farHappy, .okeya-llama.pose-happy .nearHappy, .okeya-llama.pose-happy .smile { animation: none !important; opacity: 1 !important; }
.okeya-llama.pose-happy .whole { animation: mood-bounce 1.4s ease-in-out infinite !important; }
.okeya-llama.pose-happy .head { animation: mood-sway 2.8s ease-in-out infinite !important; }
.okeya-llama.pose-happy .cheeks { animation: none !important; transform: scale(1.15); }
@keyframes mood-bounce { 0%, 100% { transform: none; } 30% { transform: translateY(-10px); } 50% { transform: translateY(0); } }
@keyframes mood-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
/* Thinking: eyes up, head tilted, the odd blink. */
.okeya-llama.pose-think .farHappy, .okeya-llama.pose-think .nearHappy, .okeya-llama.pose-think .sleepy, .okeya-llama.pose-think .talk,
.okeya-llama.pose-think .ooh, .okeya-llama.pose-think .zz { animation: none !important; opacity: 0 !important; }
.okeya-llama.pose-think .farOpen, .okeya-llama.pose-think .nearOpen, .okeya-llama.pose-think .smile { animation: none !important; opacity: 1 !important; }
.okeya-llama.pose-think .look { animation: none !important; transform: translate(-4px, -5px); }
.okeya-llama.pose-think .head { animation: mood-ponder 4s ease-in-out infinite !important; }
.okeya-llama.pose-think .whole, .okeya-llama.pose-think .eyesBig, .okeya-llama.pose-think .cheeks { animation: none !important; }
@keyframes mood-ponder { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(-4deg) translateY(-2px); } }
/* Sleepy: eyes closed, drooping head, floating z's, slow breathing. */
.okeya-llama.pose-sleepy .farOpen, .okeya-llama.pose-sleepy .nearOpen, .okeya-llama.pose-sleepy .farHappy, .okeya-llama.pose-sleepy .nearHappy,
.okeya-llama.pose-sleepy .talk, .okeya-llama.pose-sleepy .ooh { animation: none !important; opacity: 0 !important; }
.okeya-llama.pose-sleepy .sleepy, .okeya-llama.pose-sleepy .zz, .okeya-llama.pose-sleepy .smile { animation: none !important; opacity: 1 !important; }
.okeya-llama.pose-sleepy .head { animation: none !important; transform: rotate(7deg) translateY(6px); }
.okeya-llama.pose-sleepy .whole, .okeya-llama.pose-sleepy .eyesBig, .okeya-llama.pose-sleepy .cheeks, .okeya-llama.pose-sleepy .earL, .okeya-llama.pose-sleepy .earR { animation: none !important; }
.okeya-llama.pose-sleepy .tail { animation-duration: 6s !important; }
.okeya-llama.pose-sleepy .breathe { animation-duration: 5s !important; }

/* Where the moods live */
.art-relax svg { width: 118px; height: auto; overflow: visible; }
.head-with-llama { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.head-llama svg { width: 150px; height: auto; overflow: visible; }
.lost-llama svg { width: 190px; height: auto; overflow: visible; }
@media (max-width: 600px) { .head-llama svg { width: 105px; } .lost-llama svg { width: 160px; } }

/* ---- The walker walks the whole way, without stopping ---- */
.walker { display: block; }
.walker svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ---- Phones: the store buttons stack, full width ---- */
@media (max-width: 600px) {
  .hero-cta .stores { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .store { justify-content: flex-start; }
}

/* =====================================================================================
   Motion pass (Oct 2026): page transitions, hero entrance, depth, tilt, spotlight,
   smooth FAQ, the growing-up timeline and the legal pages. Everything below that moves
   is inside "no-preference", so "reduce motion" gets a still, complete page.
   ===================================================================================== */

/* ---- Growing up: a timeline that fills as you scroll ---- */
.growing { background: linear-gradient(180deg, var(--page), var(--sage-wash) 55%, var(--page)); }
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.tl-line { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.tl-line i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--tl, 1));
  background: linear-gradient(180deg, var(--coral), var(--mustard) 35%, var(--sage) 70%, var(--teal)); }
.tl-stop { position: relative; padding: 20px 22px 22px 22px; margin-left: 62px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-sm); }
.tl-stop h3 { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.tl-stop p { margin: 0; color: var(--subtext); }
.tl-stop .tl-when { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 4px; }
.tl-dot { position: absolute; left: -54px; top: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 4px solid currentColor; box-shadow: 0 0 0 6px var(--page); }
.d-coral { color: var(--coral); } .d-mustard { color: var(--mustard); } .d-sage { color: var(--sage); } .d-teal { color: var(--teal); }
@media (min-width: 900px) {
  .tl-line { left: 50%; margin-left: -2px; }
  .timeline ol { gap: 34px; }
  .tl-stop { width: calc(50% - 56px); margin-left: 0; }
  .tl-stop:nth-child(even) { margin-left: auto; }
  .tl-stop:nth-child(odd) .tl-dot { left: auto; right: -71px; }
  .tl-stop:nth-child(even) .tl-dot { left: -71px; }
}

/* ---- Legal pages: contents on the side, numbered sections ---- */
.legal-head { padding-bottom: 6px; }
.legal { padding: 10px 0 90px; }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 54px; align-items: start; }
.legal-body { padding: 0; max-width: 780px; }
.legal-body h2 { scroll-margin-top: 96px; font-size: clamp(24px, 3vw, 30px); }
.legal-body table { font-size: 14.5px; }
.legal-body td:last-child, .legal-body th:last-child { min-width: 9em; }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow: auto; padding: 18px 16px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); scrollbar-width: thin; }
.toc p { margin: 0 0 8px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--ink-soft); font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.35; transition: background .25s, color .25s; }
.toc a:hover { background: var(--tint-sage); color: var(--ink); }
.toc a.active { background: var(--deep); color: #fff; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .toc { position: static; max-height: none; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .toc ol { grid-template-columns: 1fr; } }

/* ---- Cards: a soft light follows the pointer ---- */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--sun) 32%, transparent), transparent 70%); }
.spot:hover::after { opacity: 1; }

/* ---- Images ease in as they load ---- */
.js img.fade { opacity: 0; transition: opacity .7s ease; }
.js img.fade.loaded { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* Pages cross-fade into each other (browsers that support it; the rest simply load). */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in .45s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

  /* Hero: the headline rises line by line, then the rest follows. */
  .hero-title .line { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
  .hero-title .line > span { display: inline-block; animation: line-up 1.05s cubic-bezier(.2, .85, .2, 1) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: .14s; }
  @keyframes line-up { from { transform: translateY(105%) rotate(2deg); opacity: 0; } to { transform: none; opacity: 1; } }
  .hero .wrap > div:first-child > .badge-pill { animation: fade-up .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero .wrap > div:first-child > .lead { animation: fade-up .9s cubic-bezier(.2, .8, .2, 1) .35s both; }
  .hero .wrap > div:first-child > .hero-cta { animation: fade-up .9s cubic-bezier(.2, .8, .2, 1) .5s both; }
  .hero .wrap > div:first-child > .trust { animation: fade-up .9s cubic-bezier(.2, .8, .2, 1) .65s both; }
  .hero .stage { animation: stage-in 1.3s cubic-bezier(.2, .8, .2, 1) .2s both; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes stage-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

  /* Depth: the sky, sun and phone move at different speeds as the hero scrolls away (--py from the script). */
  .hero .sky { translate: 0 calc(var(--py, 0) * 90px); }
  .hero .sun { translate: 0 calc(var(--py, 0) * 140px); }
  .hero .stage { translate: 0 calc(var(--py, 0) * -50px); }

  /* Phones tilt towards the pointer (--tx/--ty/--ta from the script). */
  .stage, .show-row, .device-pair, .keep-art { perspective: 1100px; }
  .tilt { rotate: var(--tx, 0) var(--ty, 1) 0 var(--ta, 0deg); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), rotate .6s cubic-bezier(.2, .8, .2, 1); }
  .tilt.tilting { transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), rotate .15s linear; }

  /* Store and call-to-action buttons lean towards the pointer a little. */
  .magnet { transition: translate .35s cubic-bezier(.2, .8, .2, 1), transform .2s, box-shadow .2s; translate: var(--mgx, 0) var(--mgy, 0); }

  /* Section headings: a short wipe on the eyebrow line as the section arrives. */
  .js .section-intro[data-reveal] .eyebrow { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.2, .8, .2, 1) .15s; }
  .js .section-intro[data-reveal].in .eyebrow { clip-path: inset(0 0 0 0); }

  /* Timeline stops: the dot pops and the card slides in from its side. */
  .js .tl-stop[data-reveal] { transform: translateX(-24px); }
  @media (min-width: 900px) { .js .tl-stop[data-reveal]:nth-child(even) { transform: translateX(24px); } }
  .js .tl-stop[data-reveal].in { transform: none; }
  .js .tl-stop .tl-dot { transform: scale(0); transition: transform .6s cubic-bezier(.3, 1.7, .5, 1) .25s; }
  .js .tl-stop.in .tl-dot { transform: none; }

  /* FAQ answers open and close smoothly where the browser can animate to "auto". */
  details { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height .4s cubic-bezier(.2, .8, .2, 1), content-visibility .4s allow-discrete; }
  details[open]::details-content { height: auto; }
  details[open] p { animation: fade-up .45s cubic-bezier(.2, .8, .2, 1) both; }
}

/* The timeline is drawn in full when nothing moves (and before the script runs). */
@media (prefers-reduced-motion: reduce) {
  .tl-line i { transform: none; }
  .js .tl-stop .tl-dot { transform: none; }
}

/* ---- Sharp text: nothing with words on it rests tilted, scaled or between pixels ---- */
.ticker { transform: none; margin: 0; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.floater { rotate: 0deg !important; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.device:hover { transform: translateY(-6px); }
.kp:hover { transform: translateY(-8px); rotate: 0deg; }
.device-pair .back:hover { transform: rotate(5deg) translateY(-6px); }
@media (prefers-reduced-motion: no-preference) {
  /* Depth only on the sky and sun (no words); the phone stays on whole pixels. */
  .hero .stage { translate: none; }
  /* The tilt only exists while the pointer is over it, then the layer is dropped. */
  .tilt { rotate: none; }
  .tilt.tilt-on { rotate: var(--tx, 0) var(--ty, 1) 0 var(--ta, 0deg); }
}

/* ---- Growing up: real screens from the secondary-school features ---- */
.sec-show { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 90px 0 50px; }
.sec-show > * { min-width: 0; }
.sec-text h3 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.08; margin-bottom: 12px; }
.sec-text p { color: var(--subtext); font-size: 18px; margin: 0 0 16px; }
.sec-art { position: relative; display: grid; place-items: center; padding: 20px 0 40px; }
.sec-phone { width: min(300px, 74vw); }
.sec-phone img { aspect-ratio: 411 / 835; object-fit: cover; object-position: top; }
.sec-float { position: absolute; right: -4%; bottom: 0; width: min(270px, 56vw); margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--page); }
.sec-float img { display: block; width: 100%; }
.sec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.sec-card { margin: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .35s; }
.sec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sec-card img { display: block; width: 100%; background: var(--page); }
.sec-card figcaption { padding: 4px 22px 22px; }
.sec-card h4 { font-family: var(--display); font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.sec-card p { margin: 0; color: var(--subtext); font-size: 16px; }
@media (max-width: 980px) {
  .sec-show { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
  .sec-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .sec-float { right: 0; }
}
@media (max-width: 600px) {
  .sec-cards { display: flex; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px; padding: 4px 22px 18px; scrollbar-width: none; }
  .sec-cards::-webkit-scrollbar { display: none; }
  .sec-card { flex: 0 0 82%; scroll-snap-align: center; }
  .js .sec-cards [data-reveal] { opacity: 1; transform: none; }
  .sec-text p { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .sec-show[data-reveal] .sec-float { transform: translate(30px, 30px); opacity: 0; transition: transform 1s cubic-bezier(.2, .8, .2, 1) .35s, opacity .8s ease .35s; }
  .js .sec-show[data-reveal].in .sec-float { transform: none; opacity: 1; }
}

/* ---- Header: one link per part of the page, the current one marked ---- */
.nav { gap: 20px; }
.nav a { position: relative; }
.nav a[data-sec]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2.5px; border-radius: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.nav a.active { opacity: 1; }
.nav a.active::after { transform: scaleX(1); }
@media (max-width: 1080px) { .nav { gap: 16px; } .nav a { font-size: 14px; } }
/* Tablets: Privacy and Our story stay in the footer, so the header fits on one line. */
.nav a { white-space: nowrap; }
@media (max-width: 1010px) and (min-width: 601px) { .nav .nav-extra { display: none; } }
/* The headline is always two lines (with or without motion), each line its own row. */
.hero-title .line { display: block; }

/* ---- Plans (home page, only with SHOW_PLANS) ---- */
.plans-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.plans-head .lead { margin: 0 auto; }
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 18px; }
.plan-card { position: relative; background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 2px solid transparent; min-width: 0; }
.plan-card.best { border-color: var(--teal); }
.plan-card h3 { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.plan-card .price { margin: 0 0 6px; color: var(--subtext); }
.plan-card .price b { font-family: var(--display); font-size: 38px; color: var(--ink); margin-right: 4px; }
.plan-card p:last-child { margin: 0; color: var(--subtext); }
/* Yearly as a monthly figure, beside Monthly's price (as on the app's plans page). */
.plan-card .per-month { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 99px; background: rgba(62, 110, 97, .12); color: var(--teal); font-weight: 800; }
.plan-card .per-month b { font-weight: 900; }
.plan-card .tag { position: absolute; top: -13px; right: 18px; padding: 4px 12px; border-radius: 99px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 800; }
.plans-note { text-align: center; max-width: 640px; margin: 22px auto 0; }
.plans-refer { text-align: center; max-width: 560px; margin: 26px auto 0; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--subtext); font-size: 16px; line-height: 1.5; }
.plans-refer a { white-space: nowrap; font-weight: 600; }
@media (max-width: 600px) { .plan-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---- Refer a friend page (only with SHOW_REFERRALS) ---- */
.refer-hero { padding-bottom: 10px; }
.refer-gets { padding: 30px 0 70px; }
.refer-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.refer-card { background: var(--surface); border-radius: var(--radius); padding: 28px 28px 30px; box-shadow: var(--shadow-sm); border-top: 6px solid var(--coral); min-width: 0; }
.refer-card.you { border-top-color: var(--teal); }
.refer-card p { margin: 0; color: var(--subtext); }
.refer-who { display: inline-block; padding: 4px 12px; border-radius: 99px; background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.refer-card.you .refer-who { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal); }
.refer-card .refer-big { font-family: var(--display); font-size: clamp(40px, 5vw, 54px); line-height: 1.05; font-weight: 800; color: var(--ink); margin: 16px 0 2px; }
.refer-card .refer-sub { font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.refer-card b { color: var(--ink); }
.refer-how { background: var(--surface); padding: 90px 0; }
.refer-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.refer-steps li { background: var(--page); border-radius: var(--radius); padding: 22px 22px 26px; min-width: 0; }
.refer-steps .num { font-family: var(--display); font-size: 48px; line-height: 1; font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--coral); display: block; margin-bottom: 10px; }
.refer-steps h3 { font-family: var(--display); font-size: 22px; margin: 0 0 6px; }
.refer-steps p { margin: 0; color: var(--subtext); }
.refer-examples { padding: 90px 0 60px; }
.refer-table { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 8px 26px; }
.refer-table div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.refer-table div:last-child { border-bottom: 0; }
.refer-table span { color: var(--subtext); min-width: 0; }
.refer-table b { font-family: var(--display); font-size: 22px; color: var(--teal); white-space: nowrap; text-align: right; }
.refer-table small { display: block; font-family: var(--font); font-size: 13px; color: var(--subtext); font-weight: 700; }
.refer-rules { padding: 30px 0 90px; }
.refer-rules h2 { font-size: clamp(30px, 3.6vw, 40px); margin: 0 0 20px; }
.refer-rules .ticks { gap: 14px; }
.refer-rules .ticks li { align-items: flex-start; font-weight: 600; line-height: 1.5; }
.refer-rules .ticks li::before { margin-top: 2px; }
@media (max-width: 900px) { .refer-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .refer-cards, .refer-steps { grid-template-columns: minmax(0, 1fr); }
  .refer-how, .refer-examples { padding: 64px 0 40px; }
  .refer-table { padding: 4px 18px; }
}

/* Plans: cards lift a little under the pointer, and the yearly card's monthly figure pops in just after it appears. */
.plan-card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
@media (hover: hover) {
  .plan-card:hover, .js .plan-card[data-reveal].in:hover { transform: translateY(-5px); box-shadow: var(--shadow); transition-delay: 0s; }
}
.js .plan-card.best .per-month { opacity: 0; transform: scale(.6); transition: opacity .4s ease .55s, transform .6s cubic-bezier(.3, 1.6, .5, 1) .55s; }
.js .plan-card.best.in .per-month { opacity: 1; transform: none; }
.js .plan-card.best.in .tag { animation: tag-glint 2.4s ease 1.2s 1 both; }
@keyframes tag-glint { 0%, 100% { box-shadow: 0 0 0 0 rgba(62, 110, 97, .45); } 40% { box-shadow: 0 0 0 9px rgba(62, 110, 97, 0); } }
@media (prefers-reduced-motion: reduce) { .js .plan-card.best .per-month { opacity: 1; transform: none; } }

/* "Parent-controlled" list: plain promises with a tick, each easing in after the last. */
.nos .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--tint-sage, rgba(62, 110, 97, .14)); color: var(--teal); display: grid; place-items: center; font-weight: 900; flex: none; font-size: 15px; }
.js .nos li { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--t, 0s); }
.js .in .nos li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .nos li { opacity: 1; transform: none; } }

/* Follow us: Okeya's social accounts in the footer, the same badges as the bottom of the app's Settings (BrandIcons.badge):
   a white mark on the network's own colours, with a thin light ring */
.site-footer .follow-us { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.site-footer .follow-us span { font-weight: 800; color: var(--ink); margin-right: 4px; }
.site-footer .follow-us a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .15s ease; }
.site-footer .follow-us a:hover, .site-footer .follow-us a:focus-visible { transform: translateY(-2px); }
.site-footer .follow-us a.instagram { background: linear-gradient(to top right, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5); }
.site-footer .follow-us a.facebook { background: #0866FF; }
.site-footer .follow-us a.x, .site-footer .follow-us a.tiktok, .site-footer .follow-us a.threads { background: #000; }

/* ---- "You're not alone" figures and "Lighten the load" (home page and blog) ---- */
.load-sec { padding: 40px 0 90px; }
.not-alone { text-align: center; margin-bottom: 90px; }
.not-alone .lead { margin-left: auto; margin-right: auto; }
.na-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; text-align: left; }
.na-card { background: var(--surface); border-radius: var(--radius); padding: 28px 26px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-width: 0; }
.na-card b { font-family: var(--display); font-size: clamp(52px, 6vw, 72px); line-height: 1; color: var(--coral); }
.na-card:nth-child(2) b { color: var(--mustard); } .na-card:nth-child(3) b { color: var(--sage); }
.na-card p { font-weight: 800; color: var(--ink-soft); margin: 10px 0 16px; flex: 1; }
.na-card small { font-size: 13px; color: var(--subtext); }
.na-card small a { font-weight: 600; color: var(--subtext); }
.ll-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ll-tile { background: linear-gradient(170deg, var(--tint-sage), var(--surface) 70%); border-radius: var(--radius); padding: 28px; min-width: 0; }
.ll-tile:nth-child(2) { background: linear-gradient(170deg, var(--tint-coral), var(--surface) 70%); }
.ll-tile:nth-child(3) { background: linear-gradient(170deg, var(--tint-teal), var(--surface) 70%); }
.ll-tile h3 { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.ll-tile p { margin: 0; color: var(--subtext); }
.i-sage { background: var(--tint-sage); color: var(--sage); }

/* ---- Blog ---- */
.blog-wrap { padding: 20px 22px 90px; }
.blog-wrap .not-alone { margin: 90px 0 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: inherit; font-weight: 400; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; min-width: 0; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-pic { height: 190px; background: linear-gradient(160deg, var(--tint-teal), var(--tint-mustard)); display: flex; justify-content: center; overflow: hidden; }
.post-card-pic img { width: 62%; max-width: 260px; min-width: 0; margin-top: 22px; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-sm); align-self: flex-start; }
.post-card-text { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-family: var(--display); font-size: 23px; line-height: 1.2; margin: 4px 0 8px; }
.post-card p { margin: 0 0 14px; color: var(--subtext); font-size: 16px; flex: 1; }
.post-card small { color: var(--subtext); font-size: 14px; }
.post-cat { color: var(--coral) !important; font-weight: 900; font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; margin: 0 !important; flex: none !important; }
.post-head .eyebrow a { color: inherit; }
.post-head h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; }
.post-meta { margin-top: 12px !important; font-weight: 700; }
.post-body { font-size: 18px; }
.post-body h2 { font-size: 30px; }
.post-body .tip { background: var(--tint-mustard); border-radius: 18px; padding: 16px 20px; margin: 22px 0; font-weight: 600; }
.post-shot { margin: 28px auto; text-align: center; }
.post-shot img { width: min(320px, 78%); height: auto; border-radius: 26px; box-shadow: var(--shadow); }
.post-shot figcaption { font-size: 15px; color: var(--subtext); margin-top: 10px; }
.post-body .not-alone { margin: 40px 0; }
.post-body .na-grid { grid-template-columns: 1fr; }
.compare { margin: 26px 0; }
.compare table { display: table; font-size: 16px; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.compare thead th { background: var(--deep); color: #fff; }
.compare tbody th { background: none; font-weight: 800; }
.compare td:last-child { color: var(--teal); font-weight: 700; }
.try-okeya { display: flex; gap: 26px; align-items: center; background: linear-gradient(160deg, var(--tint-sage), var(--surface)); border-radius: var(--radius); padding: 30px; margin: 50px 0 10px; box-shadow: var(--shadow-sm); }
.try-okeya h2 { margin: 0 0 8px; font-size: 30px; }
.try-okeya p { color: var(--subtext); }
.try-llama { flex: none; }
.more-posts { margin-top: 60px; }
.more-posts .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more-posts .post-card-pic { height: 130px; }
@media (max-width: 900px) {
  .post-grid, .na-grid, .ll-grid, .more-posts .post-grid { grid-template-columns: minmax(0, 1fr); }
  .more-posts .post-card-pic { display: none; }
}
@media (max-width: 600px) {
  .compare table { display: block; font-size: 15px; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .compare th, .compare td { display: block; border: 0; padding: 2px 0; }
  .compare td:nth-child(2)::before { content: "Usually: "; font-weight: 700; }
  .try-okeya { flex-direction: column; text-align: center; padding: 26px 20px; }
  .try-okeya .stores { justify-content: center; }
  .not-alone { margin-bottom: 60px; }
}

/* ---- For schools and employers ---- */
.pt-head { padding-bottom: 0; }
.pt-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.pt-family { width: 100%; height: auto; display: block; }
.pt-jump { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pt-ghost { background: transparent !important; color: var(--deep) !important; box-shadow: inset 0 0 0 2px var(--deep); }
.pt-sec { padding: 64px 0; }
.pt-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; scroll-margin-top: 110px; }
.pt-tab { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 22px; background: var(--surface); border: 2px solid var(--border); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; min-width: 0; }
.pt-tab:hover { transform: translateY(-2px); }
.pt-tab .icon { margin: 0; }
.pt-tab b { display: block; font-family: var(--display); font-size: 21px; color: var(--deep); }
.pt-tab small { display: block; color: var(--subtext); font-size: 14px; }
.pt-tab[aria-selected="true"] { border-color: var(--deep); background: var(--tint-teal); }
.pt-panel[hidden] { display: none; }
.pt-panel { padding-top: 44px; }
.pt-alt { background: linear-gradient(180deg, var(--tint-teal), var(--page)); }
.pt-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.pt-flip .pt-pic { order: -1; }
.pt-split h2 { margin: 0 0 14px; }
.pt-text .ticks { margin-top: 18px; }
.pt-pic { display: flex; justify-content: center; }
.pt-shot { width: 100%; max-width: 300px; border-radius: 30px; box-shadow: var(--shadow); }
.pt-sub { font-family: var(--display); font-size: 26px; margin: 52px 0 18px; }
.pt-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pt-tile { background: var(--surface); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-sm); }
.pt-tile h3 { font-size: 19px; margin: 14px 0 6px; }
.pt-tile p { margin: 0; color: var(--ink-soft); }
.pt-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.pt-steps li { border-top: 3px solid var(--teal); padding: 18px 4px 0; }
.pt-num { font-family: var(--display); font-size: 30px; color: var(--mustard); }
.pt-steps h3 { font-size: 19px; margin: 4px 0 6px; }
.pt-steps p { margin: 0; color: var(--ink-soft); }
.pt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-chips span { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--deep); }
.pt-cta { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--deep); color: #fff; border-radius: var(--radius); padding: 30px 34px; }
.pt-cta h3 { color: #fff; margin: 0 0 6px; font-size: 24px; font-family: var(--display); }
.pt-cta p { margin: 0; color: rgba(255,255,255,.82); max-width: 40em; }
.pt-cta .pill-btn { background: var(--sun, #F6C453); color: var(--deep); flex-shrink: 0; white-space: nowrap; }
.gift { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: center; background: linear-gradient(160deg, var(--tint-coral), var(--tint-mustard)); border-radius: var(--radius); padding: 40px; }
.gift h2 { margin: 0 0 10px; }
.gift p { margin: 0; }
.gift-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0 16px; }
.gift-ways > div { background: rgba(255,255,255,.7); border-radius: 20px; padding: 20px; }
.gift-ways h3 { font-size: 18px; margin: 12px 0 4px; }
.gift-note { color: var(--ink-soft); }
.pt-faq h2 { margin: 0 0 20px; }
@media (max-width: 860px) {
  .pt-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pt-family { max-width: 460px; margin: 0 auto; }
  .pt-tabs { gap: 8px; scroll-margin-top: 90px; }
  .pt-tab { padding: 10px 12px; gap: 8px; border-radius: 18px; }
  .pt-tab .icon { width: 34px; height: 34px; flex-shrink: 0; }
  .pt-tab .icon svg { width: 20px; height: 20px; }
  .pt-tab b { font-size: 16px; }
  .pt-tab small { display: none; }
  .pt-split, .pt-tiles, .pt-steps, .gift-ways { grid-template-columns: minmax(0, 1fr); }
  .pt-flip .pt-pic { order: 0; }
  .pt-shot { max-width: 240px; }
  .pt-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .pt-cta .pill-btn { white-space: normal; }
  .gift { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
  .gift-llama { display: none; }
  .pt-sec { padding: 44px 0; }
}
@media (max-width: 430px) { .pt-tab .icon { display: none; } .pt-tab { justify-content: center; text-align: center; padding: 14px 10px; } }

/* ---- Message cards (in place of llamas: one thing that matters to parents) ---- */
.msg { font-family: var(--font); color: var(--ink); }
.msg-row svg, .msg-private li svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.msg .icon { margin: 0 0 10px; }
.msg-evening { position: absolute; inset: 0; background: linear-gradient(170deg, #2F5148, #1F3A33); display: grid; place-items: center; }
.msg-moon { position: absolute; top: 16px; right: 22px; width: 26px; height: 26px; border-radius: 50%; box-shadow: -7px 4px 0 0 #F6C266; transform: rotate(-20deg); }
.msg-star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #FFF8EC; animation: pop 3s ease-in-out infinite; }
.msg-star.s1 { top: 22px; left: 26px; } .msg-star.s2 { top: 52px; right: 64px; animation-delay: 1.2s; }
.msg-note { background: var(--surface); border-radius: 16px; padding: 12px 16px; box-shadow: 0 8px 22px rgba(0,0,0,.25); display: grid; gap: 4px; min-width: 170px; transform: rotate(-2deg); }
.msg-note b { font-family: var(--display); font-size: 16px; color: var(--deep); }
.msg-row { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.msg-row svg { color: var(--teal); }
.msg-free { justify-self: start; margin-top: 4px; background: var(--tint-mustard); color: #8A5A10; font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; }
.head-msg { flex: none; }
.msg-private { background: var(--surface); border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow-sm); width: 230px; transform: rotate(2deg); }
.msg-private b { display: block; font-family: var(--display); font-size: 19px; color: var(--deep); margin-bottom: 8px; }
.msg-private ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.msg-private li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.msg-private li svg { color: var(--sage); }
.msg-carry { background: #FFF8EC; border-radius: 18px; padding: 18px; width: 180px; box-shadow: var(--shadow-sm); transform: rotate(-3deg); border: 1px solid var(--border); }
.msg-carry p { font-family: var(--display); font-size: 18px; line-height: 1.2; color: var(--deep); margin: 0 0 6px; }
.msg-carry small { color: var(--subtext); font-size: 13px; }
@media (max-width: 600px) {
  .head-with-llama:has(.head-msg) { flex-direction: column; align-items: flex-start; }
  .msg-private { width: auto; max-width: 280px; transform: none; }
  .msg-carry { transform: none; margin: 0 auto; }
}

/* ---- Phones and small tablets: a Menu button that opens every page (replaces the old bottom tab bar) ---- */
.menu-btn { display: none; }
.menu-sheet { display: none; }
@media (max-width: 820px) {
  .nav a:not(.pill-btn) { display: none; }
  .nav { gap: 10px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--surface);
    color: var(--deep); font: inherit; font-weight: 800; font-size: 15px; box-shadow: var(--shadow-sm); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mb-lines { display: grid; gap: 3.5px; }
  .mb-lines i { display: block; width: 16px; height: 2.2px; border-radius: 2px; background: currentColor; }
  .menu-sheet[open] { display: block; }
  .menu-sheet { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0 18px calc(24px + env(safe-area-inset-bottom));
    border: 0; background: var(--page); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
  .menu-sheet[open] { animation: ms-in .28s cubic-bezier(.2, .8, .2, 1) both; }
  .menu-sheet::backdrop { background: rgba(31, 59, 56, .35); }
  @keyframes ms-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
  .ms-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 64px; padding-top: env(safe-area-inset-top); background: var(--page); }
  .ms-top .brand img { width: 36px; height: auto; }
  .ms-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--deep); cursor: pointer; }
  .ms-close svg { width: 22px; height: 22px; fill: currentColor; }
  .ms-links { display: block; }
  .ms-label { margin: 14px 2px 10px; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--subtext); }
  .ms-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ms-chip { display: block; padding: 11px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none;
    color: var(--deep); font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ms-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ms-pages { display: grid; margin-top: 4px; }
  .ms-page { display: flex; align-items: center; gap: 10px; padding: 13px 2px; font-family: var(--display); font-size: 23px; font-weight: 700; color: var(--deep); text-decoration: none; border-bottom: 1px solid var(--border); }
  .ms-page:active, .ms-chip:active { color: var(--teal); }
  .ms-page[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
  .ms-get { margin-top: 24px; background: var(--deep); border-radius: 22px; padding: 18px; color: #fff; }
  .ms-get > b { display: block; font-family: var(--display); font-size: 20px; margin: 0 0 12px; }
  .mg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mg-btn { display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--deep); border-radius: 16px; padding: 10px 12px; text-decoration: none; min-width: 0; }
  .mg-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--tint-sage); display: grid; place-items: center; flex: none; }
  .mg-btn:nth-child(2) .mg-ico { background: var(--tint-mustard); }
  .mg-soon { margin: 12px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); }
  .mg-ico svg { width: 22px; height: 22px; fill: var(--deep); }
  .mg-btn b { display: block; font-size: 16px; font-weight: 900; line-height: 1.1; }
  .mg-btn small { display: block; font-size: 12px; color: var(--subtext); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 380px) { .menu-btn { padding: 0 12px; font-size: 14px; } .site-header .pill-btn { padding-left: 14px; padding-right: 14px; } }

/* Partners page: a school letter becoming a family's plan */
.msg-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--tint-mustard), var(--tint-sage)); }
.mf-letter, .mf-plan { background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm); display: grid; gap: 6px; min-width: 0; }
.mf-letter { transform: rotate(-2.5deg); }
.mf-plan { transform: rotate(2deg); border: 2px solid var(--teal); }
.msg-flow small { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--subtext); }
.mf-letter b { font-family: var(--display); font-size: 17px; color: var(--deep); }
.mf-letter i { display: block; height: 7px; border-radius: 4px; background: var(--border); }
.mf-letter i.short { width: 60%; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.mf-chip { font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.mf-chip.c1 { background: var(--tint-teal); color: var(--deep); }
.mf-chip.c2 { background: var(--tint-coral); color: #A9472E; }
.mf-chip.c3 { background: var(--tint-mustard); color: #8A5A10; }
.mf-arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--deep); display: grid; place-items: center; animation: pop 2.6s ease-in-out infinite; }
.mf-arrow svg { width: 22px; height: 22px; fill: #fff; }
.mf-plan .msg-row { font-size: 13px; }
.mf-say { grid-column: 1 / -1; margin: 10px 0 0; text-align: center; font-family: var(--display); font-size: 22px; color: var(--deep); }
.msg-gift { width: 200px; }
@media (max-width: 860px) {
  .gift-llama { display: block !important; }
  .msg-gift { width: auto; transform: none; }
}
@media (max-width: 520px) {
  .msg-flow { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .mf-arrow { justify-self: center; transform: rotate(90deg); animation: none; }
  .mf-say { font-size: 20px; margin-top: 4px; }
}

/* Phones and small tablets: just the llama mark, then Get Okeya on the left and Menu on the right. */
@media (max-width: 820px) {
  .site-header .brand span { display: none; }
  .site-header .wrap { justify-content: flex-start; gap: 12px; }
  .site-header .nav { flex: 1; justify-content: space-between; }
}

/* ---- Our story v2 ---- */
.story-photo { margin: 0; justify-self: center; max-width: 420px; transform: rotate(2deg); }
.story-photo img { width: 100%; height: auto; display: block; border-radius: 26px; border: 8px solid var(--surface); box-shadow: var(--shadow); }
.story-photo figcaption { text-align: center; margin-top: 10px; font-size: 14px; color: var(--subtext); font-style: italic; }
.letter-sec { padding: 10px 0 0; }
.story-letter { background: var(--surface); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow-sm); font-size: 19px; line-height: 1.7; }
.story-letter p { margin: 0 0 16px; color: var(--ink); }
.story-letter p:last-child { margin-bottom: 0; }
.letter-hello { font-family: var(--display); font-size: 30px; color: var(--deep) !important; }
.promises { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.promises li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.promises svg { width: 24px; height: 24px; fill: var(--teal); flex: none; margin-top: 2px; }
.promises b { color: var(--deep); }
.mission .signoff { font-family: var(--display); font-size: 22px; color: var(--deep) !important; opacity: 1; margin: 26px 0 26px; line-height: 1.4; }
.story-mail { background: var(--sun) !important; color: var(--deep) !important; white-space: normal; }
@media (max-width: 900px) {
  .story-photo { max-width: 340px; transform: none; }
  .story-letter { padding: 28px 22px; font-size: 17.5px; }
}

/* The plans section and the llama's "No Prob-llama" call to action read as one ending: a smaller gap between them. */
section.plans { padding-bottom: 36px; }
section.plans + .cta { padding-top: 36px; }
@media (max-width: 600px) {
  section.plans { padding-bottom: 24px; }
  section.plans + .cta { padding-top: 24px; }
}

/* Phones: calmer headings and intro text (18 Nov 2026). Body text stays 16px; computers unchanged. */
@media (max-width: 600px) {
  h1, .page-head h1, .story-hero h1 { font-size: 36px; }
  h2, .chap-body h2 { font-size: 28px; }
  .show-text h3, .sec-text h3, .t-remind h3, .not-band h3, .juggle-end, .tagline-big { font-size: 26px; }
  .pull { font-size: 36px; }
  .refer-card .refer-big { font-size: 34px; }
  .num-card b { font-size: 34px; }
  .lead { font-size: 17px; line-height: 1.5; }
  .juggle { font-size: 17px; }
}

/* Press page: app screens to download */
.press-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; margin: 6px 0 10px; }
.press-shot { margin: 0; }
.press-shot img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-sm); display: block; }
.press-shot figcaption { font-size: 14px; color: var(--subtext); margin-top: 8px; line-height: 1.35; }
