/* Play Blocks: Toddler Builder — website styles */
@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka-700.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito-800.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Material Symbols Rounded"; src: url("../fonts/MaterialSymbolsRounded.woff2") format("woff2"); font-weight: 100 700; font-display: block; }

:root {
  --red: #e3262b; --blue: #1f63d6; --yellow: #ffc928; --green: #2fa84f; --orange: #ff8a1f;
  --purple: #8a4fd8; --pink: #ff4f9a; --teal: #1bb5a6; --sky: #47b4f0; --lime: #9bd23a;
  --ink: #1b2559; --ink-2: #3b4677; --muted: #5d6790; --paper: #ffffff; --cream: #fff8e8;
  --bg: #f3f8ff; --line: #dfe7f7;
  --radius: 28px; --radius-sm: 18px;
  --shadow: 0 18px 40px -18px rgba(27, 37, 89, .35), 0 4px 10px -4px rgba(27, 37, 89, .12);
  --shadow-lg: 0 40px 80px -30px rgba(27, 37, 89, .45);
  --wrap: 1200px;
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-weight: 600; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 18px; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.ms { font-family: "Material Symbols Rounded"; font-weight: 500; font-style: normal; font-size: 1.25em; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; vertical-align: -.2em; font-variation-settings: "FILL" 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn { --c: var(--green); --c2: #1f7a39; display: inline-flex; align-items: center; gap: .55em; font-family: var(--head); font-weight: 700; font-size: 1.08rem;
  color: #fff; text-decoration: none; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, #fff) 0%, var(--c) 55%);
  padding: .85em 1.5em; border-radius: 999px; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 6px 0 var(--c2), 0 14px 26px -10px rgba(27,37,89,.5);
  transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--c2), 0 18px 30px -10px rgba(27,37,89,.5); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--c2), 0 8px 16px -10px rgba(27,37,89,.5); }
.btn .ms { font-size: 1.4em; }
.btn-play { --c: #1a1f3a; --c2: #000; padding: .55em 1.35em .55em 1em; }
.btn-play .gp { width: 30px; height: 30px; }
.btn-play small { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; line-height: 1.1; }
.btn-play b { display: block; font-size: 1.2rem; line-height: 1.1; }
.btn-ghost { --c: #ffffff; --c2: #c9d6f2; color: var(--ink); border-color: #fff; background: #fff; }
.btn-sm { font-size: .95rem; padding: .55em 1.1em; box-shadow: 0 4px 0 var(--c2), 0 10px 20px -10px rgba(27,37,89,.5); }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 24px -14px rgba(27,37,89,.4); }
.nav { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--head); font-size: 1.45rem; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { border-radius: 12px; box-shadow: 0 4px 10px -4px rgba(27,37,89,.5); }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { font-weight: 800; color: var(--ink); text-decoration: none; padding: .45em .8em; border-radius: 999px; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(31,99,214,.1); color: var(--blue); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 0; background: #fff; box-shadow: var(--shadow); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--ink); }
@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .nav .btn-sm { display: none; }
  .nav-links { position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8em 1em; }
  .nav-links.static { position: static; display: flex; flex-direction: row; box-shadow: none; background: none; padding: 0; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 130px 0 90px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 75% 30%, #bfe8ff 0%, transparent 60%), linear-gradient(180deg, #5fbaff 0%, #a9dcff 48%, #e9f6ff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background: repeating-conic-gradient(from 0deg at 72% 32%, rgba(255,255,255,.28) 0 6deg, transparent 6deg 15deg); mask-image: radial-gradient(closest-side at 72% 32%, #000, transparent 120%); -webkit-mask-image: radial-gradient(70% 70% at 72% 32%, #000 0%, transparent 100%); }
#bricks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 900; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: #fff; padding: .45em .95em; border-radius: 999px; box-shadow: 0 6px 16px -10px rgba(27,37,89,.5); }
.eyebrow .ms { color: var(--orange); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); margin: .38em 0 .32em; color: #fff;
  text-shadow: 0 2px 0 var(--ink), 0 4px 0 var(--ink), 0 6px 0 var(--ink), 0 7px 0 var(--ink), 0 18px 30px rgba(27,37,89,.35);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.hero h1 .pop { color: var(--yellow); display: inline-block; animation: wiggle 3.5s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes wiggle { 0%, 82%, 100% { transform: rotate(0) scale(1); } 86% { transform: rotate(-4deg) scale(1.06); } 92% { transform: rotate(3deg) scale(1.04); } }
.lead { font-size: 1.22rem; color: var(--ink-2); max-width: 36em; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 26px 0 26px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; font-size: .95rem; background: rgba(255,255,255,.88); padding: .45em .9em .45em .7em; border-radius: 999px; box-shadow: 0 4px 12px -8px rgba(27,37,89,.5); }
.chips .ms { color: var(--green); }
.drop-hint { margin-top: 20px; font-weight: 800; color: var(--ink-2); font-size: .95rem; display: flex; align-items: center; gap: .4em; }
.drop-hint b { color: var(--red); font-family: var(--head); font-size: 1.3em; min-width: 1.4em; display: inline-block; text-align: center; }

.device { position: relative; border-radius: 34px; padding: 16px; background: linear-gradient(160deg, #2e3352, #161a2e); box-shadow: var(--shadow-lg), inset 0 0 0 3px #4a5175; transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); transition: transform .6s ease; }
.device:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.device video, .device img.screen { border-radius: 20px; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #9fd2ff; }
.device::after { content: ""; position: absolute; right: 7px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #4a5175; }
.hero-art { position: relative; }
.mascot { position: absolute; height: auto; width: 30%; left: -13%; bottom: -20%; filter: drop-shadow(0 18px 18px rgba(27,37,89,.35)); animation: bob 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.live-tag { position: absolute; top: -14px; right: 26px; background: var(--red); color: #fff; font-weight: 900; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .4em .9em; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(227,38,43,.8); display: flex; align-items: center; gap: .4em; }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 980px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .device { transform: none; }
  .mascot { width: 34%; left: -4%; bottom: -22%; }
}

/* ---------------------------------------------------------------- brick strip divider */
.brick-strip { height: 34px; background:
  radial-gradient(circle at 25% 26%, rgba(255,255,255,.35) 0 5px, transparent 6px) 0 0 / 60px 34px,
  linear-gradient(90deg, var(--red) 0 60px, var(--yellow) 60px 120px, var(--blue) 120px 180px, var(--green) 180px 240px, var(--orange) 240px 300px, var(--purple) 300px 360px, var(--pink) 360px 420px, var(--teal) 420px 480px) 0 0 / 480px 34px;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.14), inset 0 3px 0 rgba(255,255,255,.35); position: relative; }

/* ---------------------------------------------------------------- stats */
.stats { background: var(--ink); color: #fff; padding: 34px 0; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--head); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--yellow); }
.stat:nth-child(2) b { color: #6fd38a; } .stat:nth-child(3) b { color: #ff8fbf; } .stat:nth-child(4) b { color: #7cc7ff; }
.stat span { font-weight: 800; opacity: .9; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* ---------------------------------------------------------------- sections */
section { scroll-margin-top: 80px; }
.section { padding: 110px 0; position: relative; }
.section.alt { background: #fff; }
.section.studs { background-color: #fff;
  background-image: radial-gradient(circle at 50% 50%, rgba(31,99,214,.07) 0 9px, transparent 10px); background-size: 40px 40px; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.sec-head p { font-size: 1.15rem; color: var(--muted); }
.hl { color: var(--blue); }
.hl-red { color: var(--red); } .hl-green { color: var(--green); } .hl-orange { color: var(--orange); } .hl-pink { color: var(--pink); } .hl-purple { color: var(--purple); }
.tag { display: inline-flex; align-items: center; gap: .4em; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; color: var(--c, var(--orange)); margin-bottom: 14px; }

/* cards */
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g3, .g4, .g2 { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; }
.feature { --c: var(--blue); border-top: 8px solid var(--c); }
.feature .icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 34px; margin-bottom: 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c)); box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 70%, #000), 0 14px 20px -10px var(--c); }
.feature .icon .ms { font-size: 36px; }
.feature h3 { font-size: 1.45rem; margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; }

/* learning tiles */
.skill { --c: var(--blue); display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow); border: 3px solid transparent; transition: transform .2s, border-color .2s; }
.skill:hover { transform: translateY(-4px) rotate(-.5deg); border-color: var(--c); }
.skill .ms { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); font-size: 30px; vertical-align: 0; }
.skill h3 { font-size: 1.2rem; margin: 2px 0 4px; }
.skill p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }

/* ---------------------------------------------------------------- worlds */
.worlds { background: linear-gradient(180deg, #fff 0%, #eef6ff 100%); }
.world-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.world-tab { --c: var(--green); font-family: var(--head); font-weight: 700; font-size: 1.05rem; border: 3px solid #fff; background: #fff; color: var(--ink); border-radius: 999px; padding: .55em 1.15em; cursor: pointer; box-shadow: 0 5px 0 #d5def0; transition: transform .15s; display: flex; align-items: center; gap: .45em; }
.world-tab i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.world-tab:hover { transform: translateY(-2px); }
.world-tab[aria-selected="true"] { background: var(--c); color: #fff; box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 65%, #000); }
.world-tab[aria-selected="true"] i { background: #fff; }
.world-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; }
.world-panel[hidden] { display: none; }
.world-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; transform: rotate(-1.2deg); }
.world-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.world-info h3 { font-size: 2.2rem; color: var(--c); }
.world-info > p { color: var(--muted); font-size: 1.08rem; }
.adv { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adv li { background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 0 6px 16px -12px rgba(27,37,89,.6); border-left: 6px solid var(--c); }
.adv b { display: block; font-family: var(--head); font-size: 1.02rem; }
.adv span { font-size: .85rem; color: var(--muted); font-weight: 700; }
.adv .free { display: inline-block; margin-left: .35em; font-size: .68rem; background: var(--green); color: #fff; padding: .1em .55em; border-radius: 999px; vertical-align: .15em; letter-spacing: .04em; text-transform: uppercase; font-family: var(--body); font-weight: 900; }
@media (max-width: 900px) { .world-panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .adv { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- steps */
.steps { counter-reset: step; }
.step { --c: var(--blue); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.step img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
.step .body { padding: 24px 26px 28px; position: relative; }
.step .num { position: absolute; top: -34px; left: 22px; width: 62px; height: 62px; border-radius: 18px; background: var(--c); color: #fff; font-family: var(--head); font-size: 2rem; display: grid; place-items: center; box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 65%, #000); border: 4px solid #fff; }
.step h3 { font-size: 1.5rem; margin-top: 16px; }
.step p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- trailer */
.trailer { background: radial-gradient(900px 500px at 50% 0%, #3a4bb8 0%, transparent 70%), var(--ink); color: #fff; }
.trailer .sec-head p { color: #c9d2ff; }
.video-frame { position: relative; max-width: 980px; margin: 0 auto; border-radius: 30px; overflow: hidden; border: 10px solid #fff; box-shadow: 0 50px 100px -40px #000; background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }
.play-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(27,37,89,.05), rgba(27,37,89,.45)); border: 0; cursor: pointer; padding: 0; }
.play-overlay span { width: 110px; height: 110px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 8px 0 #a3161a, 0 20px 40px -10px #000; border: 6px solid #fff; transition: transform .2s; }
.play-overlay span .ms { color: #fff; font-size: 64px; vertical-align: 0; }
.play-overlay:hover span { transform: scale(1.08); }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; grid-auto-flow: dense; }
.gallery button { border: 0; padding: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); background: #ddd; position: relative; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.06); }
.gallery button span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 900; font-size: .8rem; padding: .25em .7em; border-radius: 999px; }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,16,40,.9); display: none; place-items: center; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 80px #000; }
.lightbox p { color: #fff; text-align: center; font-weight: 800; margin-top: 12px; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; font-size: 30px; display: grid; place-items: center; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { position: absolute; top: 16px; right: 16px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 28px; color: var(--ink); }

/* ---------------------------------------------------------------- parents / safety */
.safe { background: linear-gradient(180deg, #eafaf0 0%, #fff 100%); }
.safe-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.safe-item .ms { color: var(--green); font-size: 34px; vertical-align: 0; }
.safe-item h3 { font-size: 1.18rem; margin: 0 0 4px; }
.safe-item p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }

/* ---------------------------------------------------------------- pricing */
.pricing { background: radial-gradient(800px 400px at 50% 0%, #fff3c4 0%, transparent 70%), #fffaf0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border-radius: 32px; padding: 36px 34px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.7rem; margin-bottom: .2em; }
.plan .price { font-family: var(--head); font-size: 3.4rem; line-height: 1; margin: 14px 0 4px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-family: var(--body); font-weight: 800; margin-left: .3em; }
.plan .note { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: .55em; align-items: flex-start; font-weight: 700; }
.plan li .ms { color: var(--green); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.best { border: 5px solid var(--yellow); transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #ffd85a, var(--orange)); color: var(--ink); font-weight: 900; padding: .4em 1.2em; border-radius: 999px; font-size: .9rem; box-shadow: 0 6px 0 #c55f0a; white-space: nowrap; }
.compare { text-align: center; margin: 42px auto 0; max-width: 760px; color: var(--ink-2); font-size: 1.12rem; }
.compare .toys { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 16px 0 6px; }
.compare .toys span { background: #fff; border-radius: 16px; padding: .5em 1em; box-shadow: var(--shadow); font-weight: 800; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan.best { transform: none; } }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 0 26px; border: 3px solid transparent; transition: border-color .2s; }
.faq details[open] { border-color: var(--sky); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-size: 1.2rem; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "add"; font-family: "Material Symbols Rounded"; font-size: 28px; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------------------------------------------------------------- final CTA */
.final { background: linear-gradient(160deg, #2a8cff 0%, #1b3fb8 100%); color: #fff; overflow: hidden; text-align: center; padding: 110px 0 130px; position: relative; }
.final::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 100%, rgba(255,255,255,.08) 0 7deg, transparent 7deg 16deg); }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(2.3rem, 5vw, 4rem); text-shadow: 0 5px 0 rgba(10,20,80,.45); }
.final p { font-size: 1.2rem; color: #dbe6ff; max-width: 40em; margin-inline: auto; }
.final img.m { width: 200px; height: auto; margin: 0 auto 10px; filter: drop-shadow(0 20px 20px rgba(0,0,0,.35)); animation: bob 3s ease-in-out infinite; }
.final .cta-row { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #121834; color: #c4cbe8; padding: 50px 0 36px; }
.foot { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot .brand { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 800; }
.foot nav a:hover { color: var(--yellow); }
.foot .fine { grid-column: 1 / -1; font-size: .88rem; margin: 10px 0 0; opacity: .8; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1.1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- legal docs */
.doc-page { background: var(--bg); }
.doc-hero { padding: 130px 0 40px; text-align: center; }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .45em 0 .25em; }
.doc-hero .meta { color: var(--muted); font-weight: 700; }
.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding-bottom: 90px; }
.toc { position: sticky; top: 96px; background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); font-size: .95rem; }
.toc b { font-family: var(--head); font-size: 1.1rem; display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.toc a { text-decoration: none; font-weight: 800; color: var(--ink-2); }
.toc a:hover { color: var(--blue); }
.doc { background: #fff; border-radius: 30px; padding: 44px clamp(22px, 4vw, 56px); box-shadow: var(--shadow); min-width: 0; }
.doc h2 { font-size: 1.65rem; margin-top: 1.6em; color: var(--ink); }
.doc section:first-of-type h2, .doc .summary h2 { margin-top: 0; }
.doc p, .doc li { color: #38426a; font-weight: 600; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .35em; }
.doc code { background: #eef3ff; padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.summary { background: linear-gradient(160deg, #eafaf0, #f3fff7); border: 3px solid #bfe9cc; border-radius: 24px; padding: 26px 28px; margin-bottom: 26px; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.summary li { display: flex; gap: .6em; }
.summary .ms { color: var(--green); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.doc table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--head); background: #f3f7ff; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #f3f7ff; border-radius: 20px; padding: 20px 22px; }
.contact-card .ms { font-size: 38px; color: var(--blue); }
.caps { text-transform: uppercase; font-size: .92em; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------------------------------------------------------------- small-screen safety */
.hero-grid > *, .grid > *, .world-panel > *, .doc-layout > * { min-width: 0; }
.eyebrow { flex-wrap: wrap; }
@media (max-width: 520px) {
  body { font-size: 17px; }
  .section { padding: 80px 0; }
  .btn { white-space: normal; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .hero h1 { -webkit-text-stroke: 2px var(--ink); }
  .card { padding: 24px; }
  .plan { padding: 30px 24px; }
  .doc { padding: 28px 20px; }
  .nav-links.static a { padding: .45em .55em; font-size: .9rem; }
  .brand { font-size: 1.25rem; }
}
