/* Parental Control App — site styles. Monochrome, matches the app: paper #F5F4F1, ink #121212. */
:root {
  --bg: #F5F4F1;
  --ink: #121212;
  --muted: #66655F;
  --card: #FFFFFF;
  --line: #E6E4DE;
  --soft: #EDEBE6;
  --ok: #17794A;
  --ok-bg: #E5F3EB;
  --warn: #9A5B00;
  --warn-bg: #FBEFD9;
  --r-lg: 24px;
  --r-md: 16px;
  --max: 1080px;
  --doc: 760px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.doc { max-width: var(--doc); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.lang a, .lang span { padding: 4px 11px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang span { background: var(--ink); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--card); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.1; }
.btn .two { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.btn svg { flex: none; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 32px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Phone mock (pure HTML/CSS) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--bg); border: 10px solid var(--ink); border-radius: 44px; padding: 16px 14px 20px; box-shadow: 0 1px 0 var(--line); }
.phone .notif { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; font-size: 12px; line-height: 1.35; display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.phone .notif img { width: 22px; height: 22px; border-radius: 6px; }
.phone .notif b { display: block; font-size: 12px; }
.phone .hi { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 2px 10px; }
.phone .tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 10px; }
.phone .label { font-size: 12px; color: var(--muted); }
.phone .big { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 2px 0 10px; }
.bar { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; background: var(--ink); border-radius: 999px; }
.phone .row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.phone .row span:last-child { white-space: nowrap; }
.phone .apps { display: flex; gap: 8px; margin-top: 8px; }
.phone .apps span { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }
.phone .apps span::before { content: ""; display: block; width: 36px; height: 36px; margin: 0 auto 4px; border-radius: 11px; background: var(--soft); border: 1px solid var(--line); }
.phone .ask { display: block; text-align: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 11px; font-size: 14px; font-weight: 600; margin-top: 4px; }
.phone .see { display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 8px; font-weight: 650; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card ul li { margin: 4px 0; }
.icon { width: 44px; height: 44px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon.dark { background: var(--ink); }
.icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; }
.steps .card { position: relative; }
.steps .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; font-size: 14px; margin-bottom: 14px; }

/* Shared / never shared */
.list { list-style: none; margin: 16px 0 0; padding: 0; }
.list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); font-size: 16px; }
.list li:first-child { border-top: 0; }
.list .mk { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.card-head { display: flex; align-items: center; gap: 14px; }
.card-head h3 { margin: 0; }
.card-head .icon { margin: 0; }

/* Pricing */
.price { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 4px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); vertical-align: middle; }
.card.inverse { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.inverse p, .card.inverse ul, .card.inverse .price small { color: #CFCDC6; }

/* Callout */
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--r-md); padding: 18px 22px; margin: 24px 0; }
.callout p { margin: 0; }
.callout.warn { border-left-color: var(--warn); background: var(--warn-bg); border-color: #F0DDB8; border-left-color: var(--warn); }

/* Documents (privacy, terms, delete) */
.doc-head { padding: 56px 0 8px; }
.doc-head h1 { font-size: clamp(34px, 5vw, 48px); }
.doc-meta { color: var(--muted); font-size: 15px; margin: 0; }
.prose { padding: 8px 0 72px; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; scroll-margin-top: 16px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: #2B2A27; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; margin: 24px 0 8px; }
.prose .summary ul { margin: 8px 0 0; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 24px; margin: 24px 0; font-size: 15px; }
.toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: #FAF9F7; font-weight: 600; font-size: 14px; }
td:first-child { font-weight: 600; min-width: 150px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--soft); padding: 1px 6px; border-radius: 6px; }

/* Form */
form.request { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin: 20px 0; display: grid; gap: 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.field input[type="text"], .field input[type="email"], .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 16px; }
.choice input { margin-top: 5px; accent-color: var(--ink); }
form.request .btn { justify-self: start; cursor: pointer; font-family: inherit; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .doc { padding: 0 16px; }
  .hero { padding: 40px 0 32px; }
  section { padding: 40px 0; }
  .g4, .g2 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .toc ol { columns: 1; }
  .site-header .wrap { min-height: 60px; }
  .nav { gap: 4px 14px; font-size: 14px; }
  .btn { width: 100%; }
  form.request .btn { justify-self: stretch; }
  th, td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
