/* The Kids App — website.
   Structure borrowed from Apple's product pages (global nav, sticky local nav,
   huge centred statements, tiles, alternating rows, dark bands, quiet footer).
   Everything visual comes from the app: Nunito, the twelve tile colours, the
   flat gapless wall, and the grown-up side's night + lavender. */

@font-face { font-family: 'Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url(../fonts/nunito.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url(../fonts/nunito-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F2F0F7; --paper-2: #E7E4F0; --white: #FFFFFF;
  --ink: #1E1D23; --ink-2: #4E4A5E; --ink-3: #625E74;
  --night: #1E1D23; --night-2: #2A2931; --night-3: #36343E;
  --on-night: #F2F0F7; --on-night-2: #B9B4CC;
  --lavender: #AFA9EC; --violet: #4F46B0; --violet-2: #3F378F;
  --hair: rgba(30, 29, 35, .12); --hair-night: rgba(255, 255, 255, .12);
  --r-tile: 28px; --r-media: 22px; --r-btn: 980px;
  --wrap: 1180px; --gut: max(20px, 4vw); --sec: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.16, 1, .3, 1); --pop: cubic-bezier(.34, 1.56, .64, 1);
  --gnav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.55 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 850; letter-spacing: -.02em; line-height: 1.06; text-wrap: balance; overflow-wrap: break-word; }
:lang(nb) h1, :lang(nb) h2 { -webkit-hyphens: auto; hyphens: auto; }
.line { display: inline-block; text-wrap: balance; }
.nw { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.statement--night :focus-visible, .band--night :focus-visible, .tile--night :focus-visible, .hint :focus-visible { outline-color: var(--lavender); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }
.i { width: 1em; height: 1em; flex: none; }

/* ── buttons, links ─────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--r-btn);
  background: var(--violet); color: #fff; font-size: 14px; font-weight: 750; white-space: nowrap; }
.pill:hover { background: var(--violet-2); text-decoration: none; }
.pill--sm { height: 28px; font-size: 13px; padding: 0 12px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--violet); }
.more .i { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.more:hover { text-decoration: none; } .more:hover .i { transform: translateX(3px); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.badges--center { justify-content: center; }
.badge { display: block; height: 52px; border-radius: 10px; transition: transform .2s var(--ease); }
.badge img { height: 52px; width: auto; }
.badge:hover { transform: translateY(-1px); }

/* ── global nav ─────────────────────────────────────────────────── */
.gnav { position: relative; z-index: 50; background: rgba(242, 240, 247, .82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.gnav--sticky { position: sticky; top: 0; }
.gnav__in { max-width: 1180px; margin: 0 auto; height: var(--gnav-h); padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 850; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { border-radius: 7px; }
.brand:hover { text-decoration: none; }
.gnav__links { display: flex; gap: 22px; margin: 0 auto; }
.gnav__links a { color: var(--ink-2); font-size: 14px; font-weight: 650; white-space: nowrap; }
.gnav__links a:hover, .gnav__links a[aria-current] { color: var(--ink); text-decoration: none; }
.gnav__end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; font-weight: 650; }
.lang .i { width: 16px; height: 16px; }
.lang:hover { color: var(--ink); text-decoration: none; }
.gnav__menu { display: none; border: 0; background: none; color: var(--ink); width: 40px; height: 40px; padding: 9px; margin-right: -9px; cursor: pointer; }
.gnav__menu .i { width: 22px; height: 22px; }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: 72px var(--gut) 40px; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet ul { display: grid; gap: 4px; }
.sheet a { color: var(--ink); font-size: 30px; font-weight: 850; letter-spacing: -.02em; line-height: 1.5; }
.sheet__close { position: absolute; top: 6px; right: calc(var(--gut) - 9px); border: 0; background: none; width: 40px; height: 40px; padding: 9px; color: var(--ink); cursor: pointer; }
.sheet__close .i { width: 22px; height: 22px; }
.sheet .sheet__lang { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; font-size: 18px; color: var(--ink-2); }
.sheet__lang .i { width: 18px; height: 18px; }
@media (max-width: 1060px) { .gnav__links { gap: 16px; } .gnav__links a { font-size: 13px; } }
@media (max-width: 960px) {
  .gnav__links, .gnav__end .lang { display: none; }
  .gnav__end { margin-left: auto; }
  .gnav__menu { display: block; }
}

/* language hint (only on English pages, only for Norwegian browsers) */
.hint { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 48px 10px var(--gut); background: var(--night); color: var(--on-night); font-size: 15px; position: relative; }
.hint[hidden] { display: none; }
.hint a { color: var(--lavender); font-weight: 750; white-space: nowrap; }
.hint button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--on-night-2); width: 34px; height: 34px; padding: 8px; cursor: pointer; }
.hint button .i { width: 18px; height: 18px; }

/* local nav (feature pages) */
.lnav { position: sticky; top: 0; z-index: 40; background: rgba(242, 240, 247, .85); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.lnav__in { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); height: 52px; display: flex; align-items: center; justify-content: space-between; }
.lnav__title { color: var(--ink); font-size: 21px; font-weight: 850; letter-spacing: -.015em; }
.lnav__title:hover { text-decoration: none; }

/* ── home hero ──────────────────────────────────────────────────── */
.hero { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gut) clamp(56px, 8vw, 112px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 72px); letter-spacing: -.035em; line-height: .98; }
.hero__lede { margin-top: 26px; font-size: clamp(19px, 1.7vw, 22px); color: var(--ink-2); max-width: 34em; }
.hero__fine { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.device { background: var(--night); padding: clamp(10px, 1.4vw, 16px); border-radius: clamp(26px, 3vw, 40px); box-shadow: 0 40px 80px -30px rgba(30, 29, 35, .45), 0 0 0 1px rgba(0,0,0,.05); }
.wall { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); aspect-ratio: 4 / 3; border-radius: clamp(16px, 1.8vw, 26px); overflow: hidden; background: var(--night); }
.wall__tile { --c: #888; position: relative; border: 0; padding: 0; margin: 0; background: var(--c); cursor: pointer; display: grid; place-items: center; overflow: hidden; }
.wall__tile img { width: 58%; height: auto; transition: transform .25s var(--pop); pointer-events: none; }
.wall__tile:hover img { transform: scale(1.06); }
.wall__tile:active { filter: brightness(.8); }
.wall__tile:focus-visible { outline: none; border-radius: 0; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--ink); }
.js .wall__tile { opacity: 0; transform: scale(.6); }
.js .wall.is-in .wall__tile { opacity: 1; transform: none; transition: opacity .3s ease, transform .55s var(--pop); }
.wall.is-in .wall__tile:nth-child(2) { transition-delay: .04s; } .wall.is-in .wall__tile:nth-child(3) { transition-delay: .08s; }
.wall.is-in .wall__tile:nth-child(4) { transition-delay: .12s; } .wall.is-in .wall__tile:nth-child(5) { transition-delay: .16s; }
.wall.is-in .wall__tile:nth-child(6) { transition-delay: .2s; } .wall.is-in .wall__tile:nth-child(7) { transition-delay: .24s; }
.wall.is-in .wall__tile:nth-child(8) { transition-delay: .28s; } .wall.is-in .wall__tile:nth-child(9) { transition-delay: .32s; }
.wall.is-in .wall__tile:nth-child(10) { transition-delay: .36s; } .wall.is-in .wall__tile:nth-child(11) { transition-delay: .4s; } .wall.is-in .wall__tile:nth-child(12) { transition-delay: .44s; }
.wall__hint { margin-top: 16px; text-align: center; font-size: 15px; color: var(--ink-3); }
.zoom { position: absolute; z-index: 5; background: var(--c, #888); overflow: hidden; transition: inset .5s var(--ease); display: grid; place-items: center; }
.zoom__icon { width: 34%; position: relative; z-index: 0; }
.zoom__photo, .zoom__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; z-index: 1; }
.zoom.is-open .zoom__photo.is-loaded { opacity: 1; animation: kb 14s ease-in-out infinite alternate; }
.zoom__video.is-playing { opacity: 1; }
@keyframes kb { from { transform: scale(1.05); } to { transform: scale(1.17); } }
.zoom__close { position: absolute; z-index: 3; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .3s; }
.zoom.is-open .zoom__close { opacity: 1; }
.zoom__close svg { width: 15px; height: 15px; }
.zoom__name { position: absolute; z-index: 2; left: 12px; bottom: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(30,29,35,.7); color: #fff; font-weight: 800; font-size: 15px; opacity: 0; transition: opacity .3s; }
.zoom.is-open .zoom__name { opacity: 1; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero .badges { justify-content: center; }
}

/* ── section headings ───────────────────────────────────────────── */
.sec-h, .band__h { font-size: clamp(30px, 5vw, 60px); text-align: center; letter-spacing: -.03em; }
.band__p { text-align: center; color: var(--ink-2); font-size: 20px; margin: 16px auto 0; max-width: 34em; }
.sec-h { margin: 0 auto 48px; }

/* ── promo tiles (Apple-home style) ─────────────────────────────── */
.tiles-sec { max-width: var(--wrap); margin: 0 auto; padding: var(--sec) var(--gut); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { border-radius: var(--r-tile); overflow: hidden; display: flex; }
.tile:has(a:focus-visible) { outline: 3px solid var(--violet); outline-offset: 3px; }
.tile a:focus-visible { outline: none; }
.tile a { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 52px 28px 0; color: inherit; }
.tile a:hover { text-decoration: none; }
.tile a:hover .more .i { transform: translateX(3px); }
.tile__label { font-size: 15px; font-weight: 800; opacity: .85; }
.tile h3 { margin-top: 8px; font-size: clamp(30px, 3.4vw, 42px); max-width: 15ch; }
.tile p { margin-top: 10px; font-size: 18px; max-width: 26em; opacity: .85; }
.tile .more { margin-top: 14px; color: inherit; text-decoration: underline transparent; }
.tile .more:hover { text-decoration: underline; }
.tile__shot { width: 88%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; border-radius: 18px 18px 0 0; }
.tile .more { margin-bottom: 40px; }
.tile__shot--bottom { object-position: center bottom; }
.tile .more + * { margin-top: auto; }
.tile--sea { background: #8AA3AD; color: var(--ink); }
.tile--orange { background: #EEB97A; color: var(--ink); }
.tile--night { background: var(--night); color: var(--on-night); }
.tile--night .more { color: var(--lavender); }
.tile--paper { background: var(--white); color: var(--ink); }
.tile--paper .more { color: var(--violet); }
.tile--yellow { background: #F7EA8B; color: var(--ink); }
.tile--lavender { background: var(--lavender); color: var(--ink); }
.tile .tile__wall { width: 88%; aspect-ratio: 16 / 10; border-radius: 18px 18px 0 0; box-shadow: none; }
.tile__icons { margin-bottom: 48px !important; display: grid; grid-template-columns: repeat(4, 1fr); width: min(88%, 420px); border-radius: 18px; overflow: hidden; }
.tile__icons img { background: var(--c); padding: 16%; aspect-ratio: 1; width: 100%; }
.tile__prices { margin-bottom: 48px !important; width: min(88%, 380px); display: grid; gap: 10px; }
.tile__prices li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px; background: rgba(255,255,255,.55); border-radius: 16px; font-size: 18px; font-weight: 750; }
.tile__prices b { font-size: 22px; font-weight: 900; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .tile a { padding: 40px 22px 0; }
  .tile .more { margin-bottom: 28px; }
  .tile__icons, .tile__prices { margin-bottom: 32px !important; }
}

/* ── film ───────────────────────────────────────────────────────── */
.film { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut) clamp(56px, 8vw, 112px); text-align: center; }
.film h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; }
.film > p { margin-top: 12px; color: var(--ink-2); font-size: 20px; }
.media { margin: 0; border-radius: var(--r-media); overflow: hidden; background: var(--night); }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.media--film { position: relative; margin-top: 36px; aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -40px rgba(30,29,35,.5); }
.film__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(64px, 8vw, 92px); aspect-ratio: 1; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); transition: transform .25s var(--pop); }
.film__play svg { width: 42%; margin-left: 6%; }
.film__play:hover { transform: scale(1.06); }
.film__play:focus-visible { outline-color: #fff; outline-offset: 4px; }

/* ── numbers ────────────────────────────────────────────────────── */
.nums { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gut) clamp(56px, 8vw, 104px); }
.nums ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.nums b { display: block; font-size: clamp(48px, 7vw, 88px); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--violet); }
.nums span { display: block; margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--ink-2); }
@media (max-width: 640px) { .nums ul { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* ── statements ─────────────────────────────────────────────────── */
.statement { max-width: 860px; margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gut); text-align: center; }
.statement h2 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -.03em; }
.statement p { margin: 22px auto 0; font-size: clamp(19px, 1.8vw, 23px); color: var(--ink-2); max-width: 32em; }
.statement .more { margin-top: 22px; }
.statement--night { max-width: none; background: var(--night); color: var(--on-night); }
.statement--night > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.statement--night p { color: var(--on-night-2); }
.statement--night .more { color: var(--lavender); }

/* ── dad ────────────────────────────────────────────────────────── */
.dad { max-width: 760px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gut) clamp(40px, 6vw, 80px); text-align: center; }
.dad img { margin: 0 auto 22px; border-radius: 18px; }
.dad h2 { font-size: clamp(32px, 4.4vw, 52px); }
.dad p { margin-top: 18px; font-size: 20px; color: var(--ink-2); }

/* ── FAQ (details) ──────────────────────────────────────────────── */
.faq { padding: clamp(40px, 6vw, 88px) 0; }
.faq .band__h { margin-bottom: 28px; }
.qa { border-bottom: 1px solid var(--hair); }
.qa:first-of-type { border-top: 1px solid var(--hair); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; cursor: pointer; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 22px; height: 22px; color: var(--violet); transition: transform .25s var(--ease); }
.qa[open] summary .i { transform: rotate(45deg); }
.qa__a { padding: 0 2px 24px; color: var(--ink-2); font-size: 18px; max-width: 40em; }
.faq__more { text-align: center; margin-top: 28px; }

/* ── CTA ────────────────────────────────────────────────────────── */
.cta { max-width: 760px; margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gut); text-align: center; }
.cta img { margin: 0 auto 24px; border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(30,29,35,.35); }
.cta h2 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -.035em; }
.cta p { margin-top: 12px; font-size: 20px; color: var(--ink-2); }

/* ── feature hero ───────────────────────────────────────────────── */
.fhero { max-width: 980px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--gut) 0; text-align: center; }
.fhero__label { font-size: clamp(19px, 2vw, 24px); font-weight: 850; color: var(--violet); letter-spacing: -.01em; }
.fhero h1 { margin-top: 10px; font-size: clamp(44px, 7.4vw, 92px); letter-spacing: -.04em; line-height: .98; }
.fhero__lede { margin: 26px auto 0; max-width: 32em; font-size: clamp(19px, 2vw, 24px); color: var(--ink-2); }
.fhero__media { max-width: 1180px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 var(--gut) clamp(56px, 8vw, 104px); }
.fhero__media .media { aspect-ratio: 16 / 9; box-shadow: 0 50px 100px -50px rgba(30,29,35,.55); }

/* rows */
.row { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.row--flip { grid-template-columns: 7fr 5fr; }
.row--flip .row__text { order: 2; }
.row--text { grid-template-columns: 1fr; max-width: 860px; text-align: center; }
.row h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.03em; }
.row p { margin-top: 18px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }
.row .media { aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -40px rgba(30,29,35,.45); }
.row .media--shot { aspect-ratio: 4 / 3; }
.row .media--phone { aspect-ratio: 932 / 430; }
@media (max-width: 860px) {
  .row, .row--flip { grid-template-columns: 1fr; text-align: left; }
  .row--text { text-align: center; }
  .row--flip .row__text { order: 0; }
}

/* dark band with three columns */
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band--night { background: var(--night); color: var(--on-night); }
.cols { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols li { padding: 32px 30px 34px; border-radius: var(--r-tile); background: var(--white); }
.band--night .cols li { background: var(--night-2); }
.cols h3 { font-size: 24px; letter-spacing: -.015em; line-height: 1.15; }
.cols p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.band--night .cols p { color: var(--on-night-2); }
.band--night a, .statement--night p a { color: var(--lavender); }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.note { max-width: 760px; margin: 0 auto; padding: 0 var(--gut) clamp(40px, 6vw, 72px); text-align: center; font-size: 16px; color: var(--ink-3); }

/* related features */
.related { padding: clamp(56px, 8vw, 104px) 0 0; border-top: 1px solid var(--hair); }
.rels { margin-top: 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rel { --c: #ccc; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 20px 24px; border-radius: 22px; background: var(--white); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.rel:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(30,29,35,.4); }
.rel img { width: 64px; height: 64px; padding: 10px; border-radius: 16px; background: var(--c); margin-bottom: 10px; }
.rel__label { font-size: 14px; font-weight: 800; color: var(--ink-3); }
.rel__h { font-size: 19px; font-weight: 850; line-height: 1.2; letter-spacing: -.01em; }
@media (max-width: 960px) { .rels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rels { grid-template-columns: 1fr; } }

/* safe hero: the wall, locked */
.safe-hero { position: relative; border-radius: var(--r-media); overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; display: grid; place-items: center; box-shadow: 0 50px 100px -50px rgba(30,29,35,.55); }
.safe-hero__wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); filter: saturate(.85) brightness(.55); }
.safe-hero__wall span { background: var(--c); display: grid; place-items: center; }
.safe-hero__wall img { width: 42%; }
.safe-hero__lock { position: relative; width: clamp(96px, 14vw, 160px); aspect-ratio: 1; border-radius: 32%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.safe-hero__lock .lock { width: 56%; color: var(--violet); }

/* worlds */
.worlds-hero { display: grid; grid-template-columns: repeat(6, 1fr); border-radius: var(--r-media); overflow: hidden; box-shadow: 0 50px 100px -50px rgba(30,29,35,.55); }
.worlds-hero span { background: var(--c); aspect-ratio: 1; display: grid; place-items: center; }
.worlds-hero img { width: 56%; }
@media (max-width: 640px) { .worlds-hero { grid-template-columns: repeat(4, 1fr); } }
.worlds { padding: clamp(64px, 9vw, 120px) 0; }
.world { margin-top: clamp(44px, 6vw, 72px); }
.world h3 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin-bottom: 18px; }
.world h3 img { width: 40px; height: 40px; }
.world__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 22px; overflow: hidden; }
.world__grid li { background: var(--c); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px 8px 14px; aspect-ratio: 1 / 1.05; }
.world__grid img { width: 52%; height: auto; }
.world__grid span { font-size: 14px; font-weight: 800; color: var(--ink); text-align: center; line-height: 1.15; background: rgba(255,255,255,.62); padding: 2px 8px; border-radius: 999px; }
@media (max-width: 760px) { .world__grid { grid-template-columns: repeat(4, 1fr); } .world__grid span { font-size: 12px; padding: 1px 6px; } }
@media (max-width: 420px) { .world__grid { grid-template-columns: repeat(3, 1fr); } }

/* pricing */
.plans-sec { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut) clamp(56px, 8vw, 104px); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { padding: 26px 26px 30px; border-radius: var(--r-tile); background: var(--white); display: grid; grid-row: span 5; grid-template-rows: subgrid; gap: 0; }
.plan--pick { box-shadow: 0 0 0 2px var(--violet); }
.plan__badge { min-height: 1.4em; margin-bottom: 6px; font-size: 13px; font-weight: 850; color: var(--violet); letter-spacing: .01em; }
.plans-sec .badges { margin-top: 36px; }
.plan h3 { font-size: 24px; }
.plan__price { margin-top: 14px; display: flex; flex-direction: column; }
.plan__price b { font-size: 46px; font-weight: 900; letter-spacing: -.035em; line-height: 1; color: var(--ink); }
.plan__price span { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink-3); }
.plan__lead { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.plan ul { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hair); display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-2); }
.plan li .i { color: var(--violet); width: 20px; height: 20px; margin-top: 2px; }
.plans__notes { margin: 28px auto 0; max-width: 760px; display: grid; gap: 8px; text-align: center; font-size: 15px; color: var(--ink-3); }
@media (max-width: 1100px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan { grid-row: auto; display: flex; flex-direction: column; } .plan__badge:empty { display: none; } }

/* download */
.dl { max-width: 720px; margin: 0 auto; padding: clamp(64px, 10vw, 140px) var(--gut); text-align: center; }
.dl img { margin: 0 auto 26px; border-radius: 28px; box-shadow: 0 24px 50px -20px rgba(30,29,35,.4); }
.dl h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.035em; }
.dl p { margin-top: 14px; font-size: 20px; color: var(--ink-2); }
.dl__status { min-height: 1.5em; font-size: 16px !important; color: var(--ink-3) !important; }

/* docs (help, privacy, terms) */
.doc-hero { max-width: 820px; margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--gut) 8px; }
.doc-hero h1 { font-size: clamp(36px, 7vw, 72px); letter-spacing: -.035em; }
.doc-hero p { margin-top: 18px; font-size: 20px; color: var(--ink-2); }
.toc a { font-weight: 750; }
.doc { padding: 24px 0 clamp(56px, 8vw, 104px); }
.doc h2 { margin-top: 48px; font-size: 32px; }
.doc--legal h2 { margin-top: 34px; font-size: 24px; letter-spacing: -.01em; }
.doc--legal .doc__short h2 { margin: 0 0 14px; }
.faq--doc .band__h { text-align: left; font-size: clamp(30px, 4vw, 44px); }
.doc .doc__h2 { margin-top: 56px; font-size: 40px; padding-top: 24px; border-top: 1px solid var(--hair); }
.doc .doc__h2:first-child { margin-top: 24px; border-top: 0; padding-top: 0; }
.doc h3 { margin-top: 34px; font-size: 22px; letter-spacing: -.01em; }
.doc p { margin-top: 10px; font-size: 18px; color: var(--ink-2); }
.doc__date { color: var(--ink-3) !important; font-size: 15px !important; }
.doc__short { margin-top: 26px; padding: 28px 30px; background: var(--white); border-radius: var(--r-tile); }
.doc__short h2 { margin: 0 0 14px; font-size: 24px; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; font-size: 17px; color: var(--ink-2); }
.checks .i { color: var(--violet); width: 20px; height: 20px; margin-top: 3px; }
.about { margin: 16px 0 0; display: grid; gap: 0; }
.about div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.about dt { font-weight: 800; }
.about dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .about div { grid-template-columns: 1fr; gap: 2px; } }

/* ── footer ─────────────────────────────────────────────────────── */
.foot { background: var(--paper-2); color: #5A566C; font-size: 13px; margin-top: 0; }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gut) 28px; }
.crumbs { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); color: var(--ink-2); font-size: 13px; font-weight: 650; }
.crumbs a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.crumbs img { border-radius: 5px; }
.crumbs .i { width: 10px; height: 10px; color: var(--ink-3); }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.fcol h2 { font-size: 13px; font-weight: 850; letter-spacing: 0; color: var(--ink); margin-bottom: 8px; }
.fcol li { margin: 6px 0; }
.fcol a { color: var(--ink-2); display: inline-block; padding: 3px 0; }
.fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fine { margin-top: 14px; line-height: 1.5; }
.foot__bottom { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .lang { font-size: 13px; }
@media (max-width: 640px) { .fcols { grid-template-columns: 1fr 1fr; } }

/* ── reveal on scroll (gentle, once) ────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .wall__tile { opacity: 1 !important; transform: none !important; transition: none !important; }
  .zoom.is-open .zoom__photo.is-loaded { animation: none; }
  .zoom { transition: none; }
  .rel:hover, .badge:hover { transform: none; }
  .switch__knob, .switch__fill, .switch__g { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* text-only highlights as a pair of cards */
.pair { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut); }
.pair ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair li { background: var(--white); border-radius: var(--r-tile); padding: clamp(32px, 4vw, 52px); }
.pair h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.025em; }
.pair p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
@media (max-width: 760px) { .pair ul { grid-template-columns: 1fr; } }
.has-lnav .gnav__end .pill { visibility: hidden; }

/* photo gallery (scrolls sideways) */
.gallery { padding: 0 0 clamp(48px, 7vw, 96px); }
.gallery__track { --edge: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 4px var(--edge) 18px; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -3px; }
.gallery__nav { max-width: var(--wrap); margin: 6px auto 0; padding: 0 var(--gut); display: flex; justify-content: flex-end; gap: 10px; }
.gallery__nav[hidden] { display: none; }
.gallery__nav button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.gallery__nav button:hover { background: #DAD6E6; }
.gallery__nav button:disabled { opacity: .4; cursor: default; }
.gallery__nav .i { width: 14px; height: 14px; }
.gallery__nav [data-dir="-1"] .i { transform: scaleX(-1); }
.gallery figure { margin: 0; flex: 0 0 clamp(240px, 30vw, 360px); scroll-snap-align: start; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--night); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(30,29,35,.7); color: #fff; font-weight: 800; font-size: 15px; }

/* ── small screens: badges side by side ─────────────────────────── */
@media (max-width: 380px) { .badge, .badge img { height: 44px; } .badges { gap: 8px; } }

/* ── home: mobile hero wall a little tighter ────────────────────── */
@media (max-width: 860px) { .hero__wall { max-width: 560px; width: 100%; margin: 0 auto; } }

/* ── the app's slide switch (autoplay page) ─────────────────────── */
.lockdemo { position: relative; }
.lockdemo__bg { filter: saturate(.9); }
.switch { --s: 2.1; position: absolute; right: 6%; bottom: 8%; width: calc(132px * var(--s)); height: calc(64px * var(--s));
  border-radius: 999px; background: rgba(0,0,0,.45); overflow: hidden; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.switch__fill { position: absolute; inset: 0; border-radius: inherit; background: rgba(80,180,120,.55); opacity: 0; animation: sw-fill 5s var(--ease) infinite; }
.lockdemo .switch__g { position: absolute; object-fit: contain; top: 50%; width: calc(26px * var(--s)); height: calc(26px * var(--s)); translate: 0 -50%; }
.lockdemo .switch__g--off { left: calc(14px * var(--s)); }
.lockdemo .switch__g--on { right: calc(14px * var(--s)); }
.switch__knob { position: absolute; top: calc(6px * var(--s)); left: calc(6px * var(--s)); width: calc(52px * var(--s)); height: calc(52px * var(--s));
  border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); animation: sw-knob 5s var(--ease) infinite; }
@media (max-width: 1100px) { .switch { --s: 1.7; } }
@media (max-width: 560px) { .switch { --s: 1.4; } }
@keyframes sw-knob { 0%, 30% { transform: none; } 50%, 80% { transform: translateX(calc(68px * var(--s))); } 100% { transform: none; } }
@keyframes sw-fill { 0%, 30% { opacity: 0; } 50%, 80% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .switch__knob { transform: translateX(calc(68px * var(--s))); } .switch__fill { opacity: 1; } }

/* ── worlds: an app-like picker (progressive enhancement) ───────── */
.worlds__tabs { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.worlds__tabs[hidden] { display: none; }
.worlds__tabs button { --c: #ccc; border: 0; margin: 0; padding: 12px 6px 10px; border-radius: 18px; background: var(--white); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 800; line-height: 1.15; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: background .2s, box-shadow .2s; }
.worlds__tabs button img { width: 52px; height: 52px; padding: 8px; border-radius: 14px; background: var(--c); }
.worlds__tabs button:hover { box-shadow: 0 10px 24px -14px rgba(30,29,35,.4); }
.worlds__tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-night); }
.worlds__tabs button:focus-visible { outline-offset: 2px; }
.tabs-on .world { margin-top: 24px; }
.tabs-on .world[hidden] { display: none; }
.tabs-on .world h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tabs-on .world__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); aspect-ratio: 4 / 3; }
.world__grid li { min-width: 0; }
.world__grid span { max-width: 100%; overflow-wrap: anywhere; }
.tabs-on .world__grid li { aspect-ratio: auto; }
.tabs-on .world__grid img { width: 42%; }
.tabs-on .world__grid li:is(:nth-child(8n+1), :nth-child(8n+3), :nth-child(8n+6), :nth-child(8n+8)) { background: color-mix(in srgb, var(--c) 93%, #1E1D23); }
@media (max-width: 760px) { .worlds__tabs { grid-template-columns: repeat(4, 1fr); } .worlds__tabs button { font-size: 12px; } .worlds__tabs button img { width: 44px; height: 44px; } }
@media (max-width: 420px) { .worlds__tabs { grid-template-columns: repeat(3, 1fr); } .tabs-on .world__grid img { width: 50%; } }
.sheet a[aria-current] { color: var(--violet); }

.p-pricing .fhero { max-width: var(--wrap); }
.p-pricing .fhero h1 { font-size: clamp(36px, 4.6vw, 64px); }
