:root {
  color-scheme: light;
  --ink: #17231d;
  --muted: #5d6d64;
  --line: #dce8df;
  --paper: #f7fbf8;
  --panel: #ffffff;
  --sage: #d9eadf;
  --moss: #35664a;
  --deep: #123325;
  --mint: #eaf7ee;
  --gold: #f2c76b;
  --coral: #e88468;
  --blue: #315c8f;
  --lavender: #ece8ff;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(18, 51, 37, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--deep); color: white; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(23, 35, 29, 0.08);
  background: rgba(247, 251, 248, 0.9);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--deep); border-radius: 8px; }
nav { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 14px; }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--deep); }
.nav-cta { text-decoration: none; background: var(--deep); color: white; padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; }

.hero {
  min-height: calc(82svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 6vw, 96px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 247, 238, 0.7)),
    radial-gradient(circle at 82% 18%, rgba(242, 199, 107, 0.34), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(49, 92, 143, 0.14), transparent 30%);
}
.hero h1, .page-hero h1 {
  font-size: clamp(44px, 5.6vw, 70px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 900px;
}
.hero h1 { background: linear-gradient(120deg, var(--deep), #2c5a40 60%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text, .page-hero p, .section-heading p, .split p, .sources p, .dek {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  max-width: 760px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--moss); font-size: 12px; margin: 0 0 12px; }
.hero-actions, .plan-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  border: 1px solid var(--line);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.button.primary { background: var(--deep); color: white; border-color: var(--deep); }
.button.secondary { background: white; color: var(--deep); }
.button.ghost { background: transparent; color: var(--deep); border-color: rgba(18, 51, 37, 0.2); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.6); }
.button.primary:hover { background: #0c2419; }
.button.secondary:hover { background: var(--mint); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.trust-row span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,0.7); }

.product-visual { display: grid; place-items: center; min-height: 520px; }
.guard-preview {
  width: min(100%, 500px);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(23, 35, 29, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f2f5f3;
  color: var(--muted);
  font-size: 13px;
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}
.browser-bar span:nth-child(2) { background: var(--gold); }
.browser-bar span:nth-child(3) { background: var(--moss); }
.browser-bar strong { margin-left: 8px; font-weight: 700; }
.feed-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.feed-row .thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #8db7d6);
}
.feed-row.blocked {
  border-color: #f8c6bd;
  background: #fff7f5;
}
.feed-row.blocked .thumb {
  background: repeating-linear-gradient(135deg, #b42318 0 10px, #f5a191 10px 20px);
  filter: blur(2px);
}
.feed-row.blurred .thumb {
  background: linear-gradient(135deg, var(--lavender), #cfd8dc);
  filter: blur(5px);
}
.feed-row strong,
.summary-card b {
  display: block;
  line-height: 1.2;
}
.feed-row span,
.summary-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.feed-row button {
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--deep);
  color: white;
  font: inherit;
  font-weight: 800;
}
.summary-card {
  padding: 16px;
  border: 1px solid #f4d99e;
  border-radius: 10px;
  background: #fff8e8;
}
.ranked-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rank-row {
  display: grid;
  grid-template-columns: 28px 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.rank-row .rank-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--deep);
  font-weight: 800;
  font-size: 13px;
}
.rank-row.blocked .rank-num { background: #fde2da; color: #9b2818; }
.rank-row.blurred .rank-num { background: var(--lavender); color: var(--blue); }
.rank-row.allowed .rank-num { background: var(--sage); color: var(--moss); }
.rank-row .thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #8db7d6);
}
.rank-row.blocked .thumb {
  background: repeating-linear-gradient(135deg, #b42318 0 10px, #f5a191 10px 20px);
  filter: blur(2px);
}
.rank-row.blurred .thumb {
  background: linear-gradient(135deg, var(--lavender), #cfd8dc);
  filter: blur(5px);
}
.rank-meta strong { display: block; line-height: 1.2; }
.rank-meta span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.rank-meta b { color: var(--deep); }
.phone-frame {
  width: min(100%, 390px);
  aspect-ratio: 0.72;
  border: 10px solid #182820;
  border-radius: 34px;
  background: linear-gradient(180deg, #f6fbf7, #e7f3eb);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow: hidden;
}
.phone-top { width: 92px; height: 8px; background: #182820; border-radius: 999px; margin: 0 auto 24px; opacity: .8; }
.score-card { background: var(--deep); color: white; border-radius: 8px; padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; }
.score-card strong { font-size: 54px; line-height: 1; color: var(--gold); }
.score-card small { grid-column: 1 / -1; opacity: .75; }
.urgent-list { margin: 18px 0; display: grid; gap: 10px; }
.urgent-list div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; background: white; padding: 12px; border-radius: 8px; border: 1px solid var(--line); }
.urgent-list b { width: 28px; height: 28px; border-radius: 8px; background: var(--sage); display: grid; place-items: center; }
.script-preview { background: #fff7e3; border: 1px solid #f5ddb0; padding: 14px; border-radius: 8px; font-weight: 700; }

.band, .split, .sources, .tool-shell, .pricing-grid, .guide-grid, .search-shell {
  padding: clamp(34px, 5vw, 72px) clamp(18px, 6vw, 96px);
}
.band { background: white; }
.band.subtle { background: var(--mint); }
.section-heading { max-width: 850px; margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1; margin: 0 0 14px; letter-spacing: 0; }
h3 { margin-bottom: 8px; }
.feature-grid, .guide-grid, .pricing-grid, .pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article, .guide-card, .price-card, .result-card, .article-box, .script-box, .cta-panel, .pack-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(18, 51, 37, 0.05);
}
.feature-grid article { min-height: 160px; }
.pack-grid article {
  min-height: 210px;
  border-top: 4px solid var(--blue);
}
.pack-grid article:nth-child(2) { border-top-color: var(--moss); }
.pack-grid article:nth-child(3) { border-top-color: var(--coral); }
.pack-grid article:nth-child(4) { border-top-color: var(--gold); }
.pack-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--mint);
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
}
.guide-card, .result-card { text-decoration: none; display: grid; gap: 8px; }
.guide-card span, .result-card span { color: var(--moss); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.guide-card strong, .result-card strong { font-size: 20px; line-height: 1.15; }
.guide-card p, .result-card p, .price-card p, .feature-grid p { color: var(--muted); margin: 0; }
.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.center { text-align: center; margin-top: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.output-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.output-list li { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-weight: 700; }
.sources { background: var(--deep); color: white; }
.sources p, .sources a { color: #d7eadf; }

.page-hero { padding: clamp(42px, 7vw, 96px) clamp(18px, 6vw, 96px) clamp(28px, 4vw, 54px); }
.page-hero.compact { min-height: 330px; display: flex; flex-direction: column; justify-content: center; }
.tool-shell { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
.safety-form, .plan-output, .search-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
label, fieldset { display: grid; gap: 8px; margin-bottom: 14px; color: var(--deep); font-weight: 800; }
fieldset { border: 1px solid var(--line); border-radius: 8px; }
fieldset label { display: inline-flex; align-items: center; margin: 0 10px 8px 0; font-weight: 600; color: var(--muted); }
input, select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  background: #fbfdfb;
}
input[type="checkbox"] { width: auto; min-height: auto; }
.plan-output { min-height: 520px; }
.score-line { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.score-line strong { font-size: 64px; color: var(--moss); line-height: 1; }
blockquote { border-left: 4px solid var(--gold); margin: 14px 0; padding: 10px 14px; background: #fff9e9; border-radius: 0 8px 8px 0; }

.price-card { position: relative; display: grid; gap: 6px; }
.price-card h2, .price-card h3 { margin: 0; font-size: 22px; }
.price-card strong { display: block; font-size: 42px; margin: 6px 0 0; line-height: 1; }
.price-card small { color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.price-card p { margin: 6px 0 8px; }
.price-card ul { padding: 0 0 0 18px; margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.price-card .button { margin-top: auto; }
.price-card.featured {
  border-color: var(--moss);
  box-shadow: 0 18px 40px rgba(53, 102, 74, 0.18);
  transform: translateY(-4px);
}
.price-card .badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gold);
  color: var(--deep);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.copy-box { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; color: var(--muted); }
.timeline { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.timeline div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.timeline b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--deep);
  color: white;
}
.article { width: min(850px, calc(100% - 36px)); margin: 0 auto; padding: clamp(38px, 6vw, 86px) 0; }
.article h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1; margin: 0 0 18px; }
.article p, .article li { font-size: 18px; }
.article-box, .script-box, .cta-panel { margin: 28px 0; }
.back-link { display: inline-block; margin-bottom: 16px; color: var(--moss); font-weight: 800; text-decoration: none; }
.search-shell { padding-top: 20px; }
.search-box { display: block; max-width: 760px; margin-bottom: 22px; }
.search-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer p { margin: 4px 0 0; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero, .split, .tool-shell { grid-template-columns: 1fr; }
  .product-visual { min-height: auto; }
  .feature-grid, .guide-grid, .pricing-grid, .pack-grid, .wide, .search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav { display: none; }
}

@media (max-width: 560px) {
  .hero h1, .page-hero h1 { font-size: 46px; }
  .feature-grid, .guide-grid, .pricing-grid, .pack-grid, .wide, .search-results { grid-template-columns: 1fr; }
  .feed-row { grid-template-columns: 64px 1fr; }
  .feed-row button { grid-column: 1 / -1; width: 100%; }
  .hero { min-height: auto; padding-bottom: 34px; }
  .hero .product-visual { display: none; }
  .site-header { padding-inline: 14px; }
  .nav-cta { display: none; }
  .phone-frame { border-width: 7px; border-radius: 26px; padding: 16px; }
  .footer { display: grid; }
}

@media print {
  .site-header, .footer, .safety-form, .hero-actions, .nav-cta, .plan-actions { display: none !important; }
  body { background: white; }
  .tool-shell { display: block; padding: 0; }
  .plan-output { box-shadow: none; border: none; }
}

/* kid-friendly layer */
:root {
  --ink: #1f2a44;
  --muted: #5a6683;
  --line: #e3e9fb;
  --paper: #fffaf0;
  --sage: #d6f5e3;
  --moss: #1f9d63;
  --deep: #2a3f8f;
  --mint: #e3f9ec;
  --gold: #ffc93c;
  --coral: #ff7a59;
  --blue: #3d7bff;
  --lavender: #ece6ff;
  --pink: #ffd9e6;
  --shadow: 0 14px 0 rgba(42, 63, 143, 0.08), 0 24px 50px rgba(42, 63, 143, 0.12);
  --pop: 0 5px 0 rgba(31, 42, 68, 0.22);
}
body { font-family: "Nunito", "Baloo 2", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif; font-weight: 600; font-size: 17px; background: var(--paper); }
h1, h2, h3, .brand, .button, .nav-cta, .eyebrow { font-family: "Baloo 2", "Nunito", ui-rounded, system-ui, sans-serif; }
h1, h2, h3 { font-weight: 800; letter-spacing: 0; }
.site-header { background: rgba(255, 250, 240, 0.92); border-bottom: 3px solid var(--gold); }
.brand-mark { border-radius: 50%; background: var(--coral); box-shadow: var(--pop); font-size: 20px; }
nav a { font-weight: 800; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
nav a:hover { background: var(--lavender); color: var(--deep); }
.nav-cta, .button { border-radius: 999px; box-shadow: var(--pop); transition: transform .12s, box-shadow .12s; font-size: 16px; min-height: 48px; padding: 10px 22px; }
.nav-cta { background: var(--coral); }
.button.primary { background: var(--coral); border-color: var(--coral); }
.button.primary:hover, .nav-cta:hover { background: #ff6b45; transform: translateY(-2px); }
.button:active, .nav-cta:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(31, 42, 68, 0.22); }
.button.secondary, .button.ghost { background: white; border: 2px solid var(--deep); color: var(--deep); }
.hero {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 201, 60, 0.45), transparent 26%),
    radial-gradient(circle at 8% 90%, rgba(61, 123, 255, 0.18), transparent 30%),
    radial-gradient(circle at 60% 100%, rgba(255, 122, 89, 0.18), transparent 30%),
    var(--paper);
}
.hero h1 { background: linear-gradient(120deg, var(--deep), var(--blue) 60%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--coral); font-size: 14px; }
.trust-row span { border: 2px solid var(--line); border-radius: 999px; font-weight: 800; background: white; }
.trust-row span:nth-child(1) { background: var(--mint); }
.trust-row span:nth-child(2) { background: var(--pink); }
.trust-row span:nth-child(3) { background: var(--lavender); }
.trust-row span:nth-child(4) { background: #fff1c2; }
.hero-art { display: block; width: 100%; height: auto; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 auto 18px; border-radius: 32px; border: 4px solid white; box-shadow: var(--shadow); background: var(--sage); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-0.6deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; } html { scroll-behavior: auto; } }
.guard-preview, .phone-frame, .safety-form, .plan-output, .search-box { border-radius: 28px; border: 3px solid white; }
.rank-row, .feed-row, .summary-card, .urgent-list div, .script-preview, .output-list li, .timeline div, .copy-box { border-radius: 18px; border-width: 2px; }
.feature-grid article, .guide-card, .price-card, .result-card, .article-box, .script-box, .cta-panel, .pack-grid article {
  border-radius: 24px; border: 3px solid white; box-shadow: var(--shadow); transition: transform .15s;
}
.guide-card:hover, .result-card:hover, .feature-grid article:hover, .pack-grid article:hover { transform: translateY(-4px) rotate(-0.4deg); }
.feature-grid article:nth-child(6n+1) { background: var(--mint); }
.feature-grid article:nth-child(6n+2) { background: #fff1c2; }
.feature-grid article:nth-child(6n+3) { background: var(--pink); }
.feature-grid article:nth-child(6n+4) { background: var(--lavender); }
.feature-grid article:nth-child(6n+5) { background: #dbe8ff; }
.feature-grid article:nth-child(6n) { background: #ffe3d6; }
.guide-card:nth-child(4n+1) { background: var(--mint); }
.guide-card:nth-child(4n+2) { background: #fff1c2; }
.guide-card:nth-child(4n+3) { background: var(--pink); }
.guide-card:nth-child(4n) { background: var(--lavender); }
.guide-card span, .result-card span { color: var(--deep); }
.band { background: white; }
.band.subtle { background: var(--lavender); }
.sources { background: var(--deep); }
.pack-grid article { border-top: 3px solid white; }
.pack-grid span { background: var(--gold); font-size: 14px; padding: 4px 12px; }
.price-card.featured { border-color: var(--coral); }
.price-card .badge { background: var(--coral); color: white; }
input, select { min-height: 48px; border: 2px solid var(--line); border-radius: 14px; font-size: 16px; background: white; }
input:focus-visible, select:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
fieldset { border: 2px solid var(--line); border-radius: 18px; }
fieldset label { min-height: 44px; }
input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--coral); }
.timeline b { background: var(--coral); }
blockquote { border-left-color: var(--coral); background: #fff1c2; border-radius: 0 18px 18px 0; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .mobile-nav { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; background: white; border-bottom: 2px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; position: sticky; top: 72px; z-index: 4; }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--lavender); color: var(--deep); font-weight: 800; text-decoration: none; }
  .mobile-nav a:nth-child(2n) { background: #fff1c2; }
  .mobile-nav a:nth-child(3n) { background: var(--mint); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero .product-visual { display: grid; min-height: 0; }
  .hero .guard-preview { display: none; }
  .hero-art { max-width: 100%; border-radius: 24px; }
  .hero h1, .page-hero h1 { font-size: clamp(34px, 10vw, 46px); }
  h2 { font-size: clamp(26px, 8vw, 34px); }
  .hero-actions .button { width: 100%; }
  .button { min-height: 52px; }
  .article p, .article li { font-size: 17px; }
}
.kid-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-inline: max(clamp(18px, 6vw, 96px), calc((100% - 1000px) / 2)); }
.kid-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 32px; border: 4px solid white; box-shadow: var(--shadow); }
.kid-art img:nth-child(2) { transform: rotate(1deg); }
@media (max-width: 560px) { .kid-art { grid-template-columns: 1fr; } }
.brand { min-height: 44px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 800; }
fieldset { min-width: 0; padding: 14px; }
fieldset legend { padding: 0 6px; }
fieldset:has(input[type="checkbox"]) { display: flex; flex-wrap: wrap; gap: 8px; }
fieldset:has(input[type="checkbox"]) legend { flex: 0 0 100%; }
fieldset label { margin: 0; padding: 6px 14px 6px 10px; gap: 8px; border: 2px solid var(--line); border-radius: 999px; background: white; cursor: pointer; color: var(--ink); }
fieldset label:has(input:checked) { background: var(--mint); border-color: var(--moss); }
.page-hero.compact { min-height: 0; padding-block: 36px 24px; }
.hero-actions .button { text-align: center; }
.timeline div { grid-template-columns: 42px minmax(0, 1fr); }
.copy-box { overflow-wrap: anywhere; }
.price-card.featured { transform: none; }
img { max-width: 100%; }
@media (max-width: 560px) {
  .safety-form, .plan-output, .search-box { padding: 16px; }
  .score-line strong { font-size: 48px; }
  .plan-actions .button { width: 100%; }
  .band, .split, .sources, .tool-shell, .pricing-grid, .guide-grid, .search-shell { padding-block: 32px; }
  .site-header { min-height: 60px; padding-block: 8px; }
  .mobile-nav { top: 60px; }
  .footer-links { gap: 4px 10px; }
}
@media (max-width: 560px) { .safety-form .button { width: 100%; } }

/* accounts, modals, billing */
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-account { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--deep); background: white; color: var(--deep); font: inherit; font-family: "Baloo 2", "Nunito", system-ui, sans-serif; font-weight: 800; font-size: 15px; cursor: pointer; }
.nav-account:hover, .nav-account.signed-in { background: var(--lavender); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html.modal-open, html.modal-open body { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(31, 42, 68, 0.6); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { background: white; border-radius: 28px; border: 4px solid var(--gold); box-shadow: var(--shadow); width: min(460px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; outline: none; }
.modal.wide { width: min(640px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0 24px; }
.modal-head h2 { font-size: 26px; margin: 0; line-height: 1.1; }
.modal-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lavender); color: var(--deep); font-size: 26px; line-height: 1; cursor: pointer; }
.modal-body { padding: 14px 24px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-intro { color: var(--muted); margin: 0 0 14px; }
.auth-form { display: grid; gap: 4px; }
.auth-form .button, .account-actions .button, .school-form .button { width: 100%; }
.auth-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.link-button { border: 0; background: none; padding: 10px 0; min-height: 44px; font: inherit; font-weight: 800; color: var(--blue); text-decoration: underline; cursor: pointer; }
.form-status { min-height: 1.4em; margin: 8px 0 0; color: var(--danger); font-weight: 800; }
.form-status.ok { color: var(--moss); }
.muted { color: var(--muted); }
.checkout-mount { min-height: 200px; }
.account-section { border-top: 2px solid var(--line); padding-top: 14px; margin-top: 16px; }
.account-section h3 { margin: 0 0 8px; }
.account-section p { margin: 0 0 8px; }
.account-actions { display: grid; gap: 10px; margin-top: 12px; }
.banner { background: #fff1c2; border-radius: 16px; padding: 10px 14px; margin: 10px 0; font-weight: 700; }
.toggle-row { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 6px; padding: 10px 0; min-height: 48px; cursor: pointer; font-weight: 600; color: var(--ink); }
.toggle-row input { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.toggle-row small { display: block; color: var(--muted); font-weight: 600; font-size: 14px; }
.toggle-row input:disabled + span { opacity: 0.55; }
.invoice-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.next-steps { padding-left: 22px; display: grid; gap: 6px; }
.button.danger { color: var(--danger); border-color: var(--danger); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; background: var(--deep); color: white; padding: 12px 20px; border-radius: 999px; font-weight: 800; max-width: calc(100vw - 32px); box-shadow: var(--shadow); }
.trial-note { text-align: center; background: var(--mint); }
.trial-note p { margin: 0 auto 10px; max-width: 680px; font-size: 18px; }
.faq-list { display: grid; gap: 10px; max-width: 800px; }
.faq details { background: white; border: 3px solid var(--line); border-radius: 20px; padding: 0 18px; }
.faq summary { min-height: 52px; display: flex; align-items: center; font-weight: 800; cursor: pointer; }
.faq details[open] { border-color: var(--gold); }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.school-form { max-width: 560px; }
.legal h2 { font-size: 24px; margin: 26px 0 6px; }
.legal p { font-size: 17px; }
.install-steps { display: grid; gap: 10px; counter-reset: s; list-style: none; padding: 0; max-width: 720px; }
.install-steps li { counter-increment: s; background: white; border: 2px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 56px; position: relative; font-weight: 700; }
.install-steps li::before { content: counter(s); position: absolute; left: 14px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: white; display: grid; place-items: center; font-weight: 800; }
@media (max-width: 560px) {
  .modal-backdrop { padding: 0; align-items: end; }
  .modal, .modal.wide { width: 100%; max-height: 94dvh; border-radius: 28px 28px 0 0; border-width: 4px 0 0; }
  .modal-head { padding: 14px 14px 0 18px; }
  .modal-head h2 { font-size: 22px; }
  .modal-body { padding: 10px 18px 22px; }
  .header-actions { gap: 6px; }
  .nav-account { padding: 8px 14px; }
  .toast { bottom: 12px; }
}
.invoice-list li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; }
.invoice-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--blue); }
