/* TextingParents blog — shared stylesheet.
   Mirrors the live landing page (public/index.html) :root tokens + chrome,
   adds a long-form reading column + hub grid. In production this lives at
   /blog/blog.css and brand assets resolve at /brand/… ; in this mockup the
   asset paths are relative so it renders over file://. */
:root{
  --ink:#1c1c1e; --body:#3a3a3c; --muted:#6e6e73; --faint:#8e8e93;
  --line:rgba(28,28,30,.08); --line2:rgba(28,28,30,.13); --fill:#efeff4;
  --indigo:#4c4ddc; --indigo-deep:#3a3bc0; --indigo-ink:#2e2f9e;
  --indigo-soft:#eeeefc; --bg:#fcfcfe;
  --gold:#c9a227; --gold-text:#9a7b1e; --gold-soft:#faf5e4; --shield:#b09455;
  --shadow-s:0 1px 2px rgba(28,28,60,.06),0 1px 1px rgba(28,28,60,.04);
  --shadow-m:0 2px 4px rgba(28,28,60,.04),0 12px 32px rgba(28,28,60,.09);
  --shadow-l:0 4px 12px rgba(28,28,60,.06),0 32px 80px rgba(46,47,158,.18);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
html,body{overflow-x:hidden;}
body{font-family:"Inter",-apple-system,BlinkMacSystemFont,sans-serif; background:var(--bg); color:var(--body);
  line-height:1.6; font-size:16px; -webkit-font-smoothing:antialiased; font-feature-settings:"cv11","ss01";}
::selection{background:#dedeff;}
.wrap{max-width:1120px; margin:0 auto; padding:0 32px;}
h1,h2,h3{color:var(--ink); letter-spacing:-.03em;}

/* ---------- nav (from landing) ---------- */
.nav-outer{position:sticky; top:0; z-index:100; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  background:rgba(252,252,254,.8); border-bottom:1px solid var(--line);}
nav{display:flex; align-items:center; justify-content:space-between; height:64px;}
.logo{display:flex; align-items:center; gap:9px; font-weight:800; font-size:17px; letter-spacing:-.02em; color:var(--ink); text-decoration:none;}
.logo img{width:30px; height:30px; display:block;}
.nav-links{display:flex; gap:30px; font-size:14px; font-weight:500;}
.nav-links a{color:var(--muted); text-decoration:none; transition:color .15s;}
.nav-links a:hover{color:var(--ink);}
.nav-links a.on{color:var(--ink);}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; border:none; cursor:pointer;
  font-family:inherit; font-weight:600; border-radius:10px; transition:all .15s; text-decoration:none; white-space:nowrap;}
.btn-primary{background:linear-gradient(180deg,#5f60e8,#4c4ddc); color:#fff; font-size:14px; padding:9px 18px;
  box-shadow:0 1px 2px rgba(46,47,158,.4), inset 0 1px 0 rgba(255,255,255,.18);}
.btn-primary:hover{background:linear-gradient(180deg,#6b6cf0,#5758e2); transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(46,47,158,.32), inset 0 1px 0 rgba(255,255,255,.18);}

/* ---------- breadcrumb ---------- */
.crumb{font-size:13px; color:var(--faint); padding:26px 0 0; display:flex; gap:8px; align-items:center; flex-wrap:wrap;}
.crumb a{color:var(--muted); text-decoration:none;}
.crumb a:hover{color:var(--ink);}
.crumb .sep{opacity:.5;}

/* ---------- article ---------- */
.article{max-width:720px; margin:0 auto; padding:0 32px;}
.cat{display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--indigo); margin:30px 0 16px;}
.cat::before{content:""; width:20px; height:2px; background:var(--indigo); border-radius:2px;}
.article h1{font-size:clamp(30px,4vw,42px); line-height:1.12; font-weight:800; margin-bottom:18px;}
.byline{display:flex; align-items:center; gap:14px; font-size:13.5px; color:var(--muted); padding-bottom:26px;
  border-bottom:1px solid var(--line); margin-bottom:8px; flex-wrap:wrap;}
.byline .who{display:flex; align-items:center; gap:9px;}
.byline .av{width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,#8f90e8,#6667d9);
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700;}
.byline b{color:var(--ink); font-weight:600;}
.byline .reviewed{display:inline-flex; align-items:center; gap:6px; background:var(--gold-soft); color:var(--gold-text);
  border-radius:999px; padding:4px 11px; font-size:12px; font-weight:600;}
.byline .reviewed svg{width:12px; height:14px;}

.lede-p{font-size:19px; line-height:1.55; color:var(--body); margin:26px 0 8px; font-weight:450;}
.body{font-size:17px; line-height:1.72; color:var(--body);}
.body h2{font-size:26px; font-weight:800; margin:42px 0 14px; letter-spacing:-.025em;}
.body h3{font-size:19px; font-weight:700; margin:30px 0 10px;}
.body p{margin:16px 0;}
.body a{color:var(--indigo-deep); text-decoration:none; border-bottom:1px solid rgba(76,77,220,.25);}
.body a:hover{border-bottom-color:var(--indigo);}
.body ul,.body ol{margin:16px 0 16px 2px; padding-left:22px;}
.body li{margin:9px 0; padding-left:4px;}
.body b,.body strong{color:var(--ink); font-weight:650;}
.body blockquote{margin:26px 0; padding:4px 0 4px 22px; border-left:3px solid var(--indigo);
  font-size:19px; line-height:1.5; color:var(--ink); font-weight:500;}
.answer{background:var(--indigo-soft); border:1px solid rgba(76,77,220,.16); border-radius:16px;
  padding:22px 24px; margin:26px 0; font-size:17px; line-height:1.6;}
.answer b{color:var(--indigo-ink);}

/* comparison table inside an article */
.tbl-wrap{overflow-x:auto; -webkit-overflow-scrolling:touch; margin:26px 0; border:1px solid var(--line);
  border-radius:14px; box-shadow:var(--shadow-s);}
table.cmp{width:100%; border-collapse:collapse; font-size:14.5px; background:#fff;}
table.cmp th{text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--faint);
  padding:14px 16px; border-bottom:1px solid var(--line2); background:#fbfbfe; white-space:nowrap;}
table.cmp td{padding:13px 16px; border-bottom:1px solid var(--line); color:var(--body); vertical-align:top;}
table.cmp tr:last-child td{border-bottom:none;}
table.cmp td b{color:var(--ink);}
table.cmp tr.us td{background:var(--indigo-soft);}
.pill-free{display:inline-block; background:var(--gold-soft); color:var(--gold-text); border-radius:6px; padding:2px 8px; font-size:12px; font-weight:700;}
.pill-paid{display:inline-block; background:#fdecea; color:#b42318; border-radius:6px; padding:2px 8px; font-size:12px; font-weight:700;}

/* faq */
.faq-block{margin:40px 0 0;}
.faq-block details{border-bottom:1px solid var(--line);}
.faq-block summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center;
  padding:20px 2px; font-size:17px; font-weight:600; color:var(--ink);}
.faq-block summary::-webkit-details-marker{display:none;}
.faq-block .pm{width:24px; height:24px; border-radius:50%; border:1px solid var(--line2); color:var(--muted);
  display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; transition:all .2s;}
.faq-block details[open] summary .pm{transform:rotate(45deg); background:var(--indigo); border-color:var(--indigo); color:#fff;}
.faq-block details p{padding:0 4px 20px; font-size:15.5px; color:var(--muted); line-height:1.65;}

/* inline CTA card inside article */
.cta-card{margin:44px 0; background:linear-gradient(160deg,#2e2f9e,#4c4ddc); border-radius:22px; padding:38px 34px;
  text-align:center; position:relative; overflow:hidden;}
.cta-card::before{content:""; position:absolute; inset:0; opacity:.3;
  background-image:radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size:22px 22px;
  mask-image:radial-gradient(70% 90% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image:radial-gradient(70% 90% at 50% 0%, #000, transparent 80%);}
.cta-card > *{position:relative;}
.cta-card h3{color:#fff; font-size:24px; font-weight:800; margin-bottom:8px;}
.cta-card p{color:rgba(255,255,255,.85); font-size:15.5px; margin:0 auto 22px; max-width:420px;}
.cta-card .btn{background:#fff; color:var(--indigo-ink); font-size:15px; padding:13px 26px; border-radius:12px;}
.cta-card .btn:hover{background:#f1f1ff; transform:translateY(-1px);}
.cta-card .fine{color:rgba(255,255,255,.7); font-size:12.5px; margin-top:16px;}
.store-badges{display:flex; gap:12px; justify-content:center; flex-wrap:wrap;}
.store-badge{display:inline-flex; align-items:center; gap:11px; border:1px solid rgba(255,255,255,.4); border-radius:12px;
  padding:10px 20px; color:#fff; text-decoration:none; background:rgba(255,255,255,.06); transition:all .15s;}
.store-badge:hover{background:rgba(255,255,255,.16); transform:translateY(-1px);}
.store-badge svg{flex-shrink:0; fill:currentColor;}
.store-badge .lab{text-align:left; line-height:1.14;}
.store-badge .lab .s{display:block; font-size:9.5px; opacity:.82; letter-spacing:.04em; text-transform:uppercase;}
.store-badge .lab .b{display:block; font-size:15px; font-weight:700;}
.cta-card .capture{display:flex; gap:10px; max-width:440px; margin:0 auto;}
.cta-card .capture input{flex:1; border:none; border-radius:11px; padding:13px 16px; font-size:15px; font-family:inherit; color:var(--ink); outline:none; box-shadow:0 1px 2px rgba(0,0,0,.12);}
.cta-card .capture input::placeholder{color:var(--faint);}
.cta-card .capture .btn{background:#fff; color:var(--indigo-ink); font-size:14.5px; padding:13px 20px; border-radius:11px; white-space:nowrap;}
.cta-card .capture .btn:hover{background:#f1f1ff; transform:translateY(-1px);}
.cta-card .orline{display:flex; align-items:center; gap:12px; max-width:440px; margin:15px auto 14px; color:rgba(255,255,255,.62); font-size:12px; letter-spacing:.04em; text-transform:uppercase; font-weight:600;}
.cta-card .orline::before,.cta-card .orline::after{content:""; flex:1; height:1px; background:rgba(255,255,255,.22);}

.related{max-width:720px; margin:0 auto; padding:0 32px 10px;}
.related .h{font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); margin-bottom:14px;}
.related a{display:block; font-size:16px; color:var(--indigo-deep); text-decoration:none; padding:11px 0; border-top:1px solid var(--line);}
.related a:hover{color:var(--indigo-ink);}

/* ---------- hub ---------- */
.hub-hero{padding:54px 0 20px; text-align:center;}
.hub-hero .kicker{display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--indigo); margin-bottom:16px;}
.hub-hero h1{font-size:clamp(34px,4.4vw,48px); line-height:1.08; font-weight:800; margin-bottom:14px;}
.hub-hero p{font-size:17.5px; color:var(--muted); max-width:560px; margin:0 auto;}
.cluster-head{display:flex; align-items:baseline; gap:12px; margin:52px 0 18px; padding-bottom:12px; border-bottom:1px solid var(--line);}
.cluster-head h2{font-size:23px; font-weight:800;}
.cluster-head .ct{font-size:13px; color:var(--muted); margin-left:auto;}
.cluster-head .live{display:inline-flex; align-items:center; gap:7px; margin-left:auto; font-size:13px; color:var(--muted);}
.cluster-head .live .dot{width:8px; height:8px; border-radius:50%; background:#2e7d4f; box-shadow:0 0 0 3px rgba(46,125,79,.16);}

/* featured "Start here" row — the C cover treatment */
.feat{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:6px;}
.feat-card{display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:18px;
  box-shadow:var(--shadow-s); transition:all .2s; text-decoration:none; overflow:hidden;}
.feat-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-l); border-color:var(--line2);}
.feat-card .cover{position:relative; height:130px; background:linear-gradient(135deg,#5b5ce8,#3d3ec4); overflow:hidden;
  display:flex; align-items:flex-end; padding:16px 20px;}
.feat-card .cover::before{content:""; position:absolute; inset:0; opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.4) 1px, transparent 1px); background-size:20px 20px;
  mask-image:radial-gradient(80% 90% at 80% 10%, #000, transparent 75%);
  -webkit-mask-image:radial-gradient(80% 90% at 80% 10%, #000, transparent 75%);}
.feat-card .cover.court{background:linear-gradient(135deg,#3a3bc0,#2e2f9e);}
.feat-card .cover.talk{background:linear-gradient(135deg,#6667d9,#4143c4);}
.feat-card .cover .wm{position:absolute; top:14px; right:16px; width:30px; height:30px; opacity:.9;}
.feat-card .cover .tag{position:relative; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:#fff; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.22); border-radius:999px; padding:4px 11px;}
.feat-card .body{display:flex; flex-direction:column; padding:20px 22px; flex:1;}
.feat-card h3{font-size:18px; font-weight:700; line-height:1.28; color:var(--ink); margin-bottom:9px; letter-spacing:-.015em;}
.feat-card p{font-size:14px; color:var(--muted); line-height:1.55; flex:1;}
.feat-card .foot{display:flex; align-items:center; justify-content:space-between; margin-top:16px;}
.feat-card .date{font-size:12.5px; color:var(--faint);}
.feat-card .arr{font-size:13.5px; font-weight:600; color:var(--indigo-deep);}

/* standard card — the B "accent badge" treatment */
.posts{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.pcard{position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid var(--line);
  border-radius:18px; padding:24px 24px 20px; box-shadow:var(--shadow-s); transition:all .2s; text-decoration:none; overflow:hidden;}
.pcard::before{content:""; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,#5f60e8,#4c4ddc);}
.pcard:hover{transform:translateY(-3px); box-shadow:var(--shadow-m); border-color:var(--line2);}
.pcard .top{display:flex; align-items:center; gap:10px; margin-bottom:15px;}
.pcard .chip{width:34px; height:34px; border-radius:10px; background:var(--indigo-soft); color:var(--indigo);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.pcard .chip svg{width:18px; height:18px;}
.pcard .chip.gold{background:var(--gold-soft); color:var(--gold);}
.pcard .tag{font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted);}
.pcard h3{font-size:18px; font-weight:700; line-height:1.28; color:var(--ink); margin-bottom:9px; letter-spacing:-.015em;}
.pcard p{font-size:14px; color:var(--muted); line-height:1.55; flex:1;}
.pcard .foot{display:flex; align-items:center; justify-content:space-between; margin-top:18px;}
.pcard .date{font-size:12.5px; color:var(--faint);}
.pcard .btnlink{display:inline-flex; align-items:center; gap:6px; background:var(--indigo-soft); color:var(--indigo-deep);
  font-size:12.5px; font-weight:700; padding:7px 13px; border-radius:9px;}

/* ---------- footer (from landing) ---------- */
footer{padding:72px 0 44px; margin-top:40px;}
.f-grid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid var(--line);}
.f-brand p{font-size:13.5px; color:var(--muted); margin-top:12px; max-width:260px; line-height:1.6;}
.f-col .h{font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); margin-bottom:16px;}
.f-col a{display:block; font-size:14px; color:var(--muted); text-decoration:none; margin-bottom:11px; transition:color .15s;}
.f-col a:hover{color:var(--ink);}
.f-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:13px; color:var(--faint);}

@media(max-width:920px){
  .posts,.feat{grid-template-columns:1fr 1fr;}
  .f-grid{grid-template-columns:1fr 1fr;}
  .nav-links{display:none;}
}
@media(max-width:640px){
  .wrap,.article,.related{padding-left:20px; padding-right:20px;}
  .posts,.feat{grid-template-columns:1fr;}
  .body{font-size:16.5px;}
  .body h2{font-size:23px;}
  .f-grid{grid-template-columns:1fr; gap:26px;}
  .f-bottom{flex-direction:column; gap:6px; align-items:flex-start;}
}
