/* ===========================================================
   PhoneParental — Shared Design System
   Aesthetic: calm, trustworthy, modern child-safety brand
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color */
  --ink:        #14202e;   /* deep navy text */
  --ink-soft:   #41566b;
  --ink-faint:  #6b7f93;
  --paper:      #fbfaf7;   /* warm off-white */
  --paper-2:    #f3f1ea;
  --white:      #ffffff;
  --line:       #e6e1d6;

  --teal:       #138a72;   /* "safe" green-teal */
  --teal-deep:  #0d6354;
  --teal-soft:  #e3f3ee;
  --coral:      #f0613f;   /* warm CTA */
  --coral-deep: #d44b2c;
  --coral-soft: #fde8e1;
  --gold:       #e8b341;
  --navy-grad-a:#16314a;
  --navy-grad-b:#1f4f5c;

  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;
  --shadow-sm:  0 2px 8px rgba(20,32,46,.06);
  --shadow:     0 14px 40px -16px rgba(20,32,46,.22);
  --shadow-lg:  0 30px 70px -28px rgba(20,32,46,.34);

  --maxw: 1140px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
svg { display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.tight { max-width: 760px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--ink-soft); }
section p { font-size: 1.02rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--teal-soft);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow.coral { color: var(--coral-deep); background: var(--coral-soft); }

.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px -10px rgba(240,97,63,.65); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0c1722; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,247,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--ink); }
.brand .logo { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .96rem; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--teal-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-cta .btn { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-art { position: relative; }
.hero .blob {
  position: absolute; inset: -10% -20% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, var(--teal-soft), transparent 70%);
  filter: blur(10px); z-index: -1;
}
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 28px; }
.trust-row .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.trust-pill svg { width: 20px; height: 20px; color: var(--teal); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 440px; }
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head p { margin-top: 14px; }
.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: linear-gradient(140deg, var(--navy-grad-a), var(--navy-grad-b)); color: #dfe8ec; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink p { color: #b9c8d0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px){ .cols-3,.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9d3c5; }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-deep); margin-bottom: 18px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { font-size: .96rem; }
.card.coral .ico { background: var(--coral-soft); color: var(--coral-deep); }

/* feature index links */
.feat-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; transition: .18s; box-shadow: var(--shadow-sm);
}
.feat-link:hover { border-color: var(--teal); transform: translateX(3px); color: var(--teal-deep); }
.feat-link .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; flex: none; }
.feat-link .ico svg { width: 21px; height: 21px; }
.feat-link .arr { margin-left: auto; color: var(--ink-faint); }

/* ---------- Steps / how-to box ---------- */
.howto {
  background: linear-gradient(135deg, var(--teal-soft), #eaf6f2);
  border: 1px solid #cfe7df; border-radius: var(--radius-lg); padding: 38px;
}
.steps { counter-reset: step; display: grid; gap: 18px; margin-top: 8px; }
.steps li { list-style: none; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center; font-size: 1.05rem;
}
.steps li b { color: var(--ink); }
.steps li span { display: block; color: var(--ink-soft); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--coral-soft); color: var(--coral-deep); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Reviews ---------- */
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.review .stars { color: var(--gold); letter-spacing: 2px; }
.review p { color: var(--ink); font-size: 1rem; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.review .who b { display: block; font-size: .95rem; color: var(--ink); }
.review .who small { color: var(--ink-faint); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
@media (max-width: 880px){ .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 100px; }
.plan h3 { font-size: 1.35rem; }
.plan .amt { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--ink); margin: 8px 0 2px; }
.plan .amt small { font-size: 1rem; color: var(--ink-faint); font-family: var(--font-body); font-weight: 600; }
.plan ul { list-style: none; margin: 22px 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: .96rem; color: var(--ink-soft); }
.plan li svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }

/* ---------- Callout band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Prose (legal / about / blog) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 38px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.page-head { padding: 64px 0 30px; text-align: center; }
.page-head .lede { margin: 16px auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aebcc7; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #8fa0ad; font-size: .94rem; max-width: 30ch; }
.foot-col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; color: #aebcc7; font-size: .94rem; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #7e909d; }
.disclaimer { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .84rem; color: #8fa0ad; margin-top: 30px; }
@media (max-width: 820px){ .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .foot-grid { grid-template-columns: 1fr; } }

/* reveal on load */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal.d1{animation-delay:.08s}.reveal.d2{animation-delay:.16s}.reveal.d3{animation-delay:.24s}.reveal.d4{animation-delay:.32s}
@keyframes rise { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .reveal{animation:none;opacity:1;transform:none} }
