/* Lobe Limpet: styles for the public pages (landing, about, help, contact, privacy, terms) */
:root {
  --sea: #d4f1ea;        /* rock-pool water */
  --sea-2: #e9f8f4;
  --deep: #123a4a;       /* deep water */
  --rock: #5d7c89;
  --coral: #ff7a59;      /* the limpet */
  --coral-dark: #e85f3d;
  --sand: #fff8ef;
  --ink: #123a4a;
  --muted: #4f6b76;
  --card: #ffffff;
  --line: #cfe6e0;
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--sand); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────── */
header { position: sticky; top: 0; z-index: 10; background: rgba(212,241,234,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(18,58,74,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 40px; height: 34px; }
.word { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 1.45rem; letter-spacing: -0.01em; color: var(--deep); white-space: nowrap; }
.word span { color: var(--coral); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 700; font-size: 0.98rem; text-decoration: none; border-radius: 999px; padding: 12px 22px; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; cursor: pointer; border: 0; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(255,122,89,0.35); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-deep { background: var(--deep); color: #fff; padding: 9px 18px; font-size: 0.9rem; }
.btn-ghost { background: rgba(255,255,255,0.7); color: var(--deep); border: 1.5px solid rgba(18,58,74,0.15); }

/* ── Hero ───────────────────────────────── */
.hero { background: linear-gradient(180deg, var(--sea) 0%, var(--sea-2) 70%, var(--sand) 100%); padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(18,58,74,0.06); pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -160px; top: -120px; }
.hero::after { width: 300px; height: 300px; right: -40px; top: -10px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rock); background: rgba(255,255,255,0.6); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 18px; }
h1 em { font-style: normal; color: var(--coral); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 32em; margin-bottom: 28px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.small-print { margin-top: 14px; font-size: 0.86rem; color: var(--muted); }

/* Mock quiz card */
.mock { position: relative; justify-self: center; width: 100%; max-width: 340px; }
.mock-card { background: var(--card); border-radius: 26px; padding: 22px; box-shadow: 0 24px 60px rgba(18,58,74,0.18); border: 1px solid var(--line); }
.mock-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.bar { height: 6px; background: #eef4f2; border-radius: 99px; margin-bottom: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 60%; background: var(--coral); border-radius: 99px; }
.q { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; line-height: 1.35; }
.opt { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 0.92rem; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.opt.right { border-color: #3fbf8a; background: #eafaf2; font-weight: 600; }
.opt.right::after { content: '✓'; color: #2a9d6e; font-weight: 800; }
.chip { position: absolute; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 10px 28px rgba(18,58,74,0.16); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip.xp { top: -16px; right: -14px; color: #b7791f; }
.chip.streak { bottom: -18px; left: -20px; color: var(--coral-dark); }

/* ── Sections ───────────────────────────── */
section { padding: 72px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.i-coral { background: #ffe7df; color: var(--coral-dark); }
.i-sea { background: var(--sea); color: var(--deep); }
.i-gold { background: #fff1cc; color: #b7791f; }
h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.97rem; }

.steps { background: var(--deep); color: #fff; border-radius: 28px; padding: 44px 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 12px; }
.step h3 { color: #fff; }
.step p { color: #b9d3d9; font-size: 0.97rem; }

.who .card { display: flex; flex-direction: column; }
.who .card p { flex: 1; margin-bottom: 18px; }
.who .btn { align-self: flex-start; }

.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.trust span::before { content: '●'; color: var(--coral); font-size: 0.6rem; margin-right: 8px; vertical-align: middle; }

.final { text-align: center; background: var(--sea); border-radius: 28px; padding: 48px 24px; }
.final p { color: var(--muted); margin: 0 auto 24px; max-width: 30em; }


@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .mock { max-width: 300px; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .steps { padding: 32px 24px; }
  section { padding: 52px 0; }
}
@media (max-width: 420px) {
  .word { font-size: 1.25rem; }
  .chip.streak { left: -8px; }
  .chip.xp { right: -6px; }
  .ctas .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ── Logo with tagline ─────────────────── */
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-tag { font-size: 0.74rem; font-weight: 600; color: var(--rock); letter-spacing: 0.02em; margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--deep); opacity: 0.8; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; color: var(--coral-dark); }

/* ── Full footer (public pages) ────────── */
.site-foot { background: var(--deep); color: #b9d3d9; margin-top: 40px; padding: 48px 0 28px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-foot .word { color: #fff; }
.site-foot .brand-tag { color: #b9d3d9; }
.foot-blurb { margin-top: 12px; max-width: 22em; }
.site-foot h4 { color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.9rem; margin-bottom: 10px; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 7px; }
.site-foot a { text-decoration: none; color: #b9d3d9; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 18px; font-size: 0.84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ── Content pages ─────────────────────── */
.page-hero { background: linear-gradient(180deg, var(--sea) 0%, var(--sand) 100%); padding: 52px 0 36px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 38em; }
.prose { max-width: 720px; padding: 8px 0 32px; }
.prose h2 { font-size: 1.45rem; margin: 36px 0 10px; }
.prose h3 { margin: 22px 0 6px; }
.prose p, .prose li { color: #2c4a56; margin-bottom: 12px; }
.prose ul { padding-left: 1.3em; margin-bottom: 12px; }
.prose a { color: var(--coral-dark); }
.prose .updated { font-size: 0.88rem; color: var(--muted); }
.prose .kid { background: var(--sea); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0 8px; }
.prose .kid h2 { margin-top: 0; }
.prose .kid p, .prose .kid li { color: var(--deep); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: 6px; }
.faq h2:first-child { margin-top: 8px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 8px 0 20px; }
.contact-card .btn { margin-top: 10px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .brand-tag { font-size: 0.68rem; } }

/* ── Why Lobe Limpet (USPs) ─────────────── */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.usp .e { font-size: 1.8rem; line-height: 1; margin-bottom: 4px; }
.usp h3 { font-size: 1.02rem; line-height: 1.3; }
.usp p { color: var(--muted); font-size: 0.92rem; }
.usp .tag { align-self: flex-start; margin-top: auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--sea); color: var(--deep); }
.usp .tag.plus { background: linear-gradient(135deg, #ff7a59, #e0643f); color: #fff; }
@media (max-width: 900px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }

/* ── Comparison tables ──────────────────── */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--sea-2); font-size: 0.86rem; color: var(--deep); }
.compare thead th.us { background: var(--deep); color: #fff; }
.compare td.c { text-align: center; white-space: nowrap; width: 22%; }
.compare th.c { text-align: center; }
.compare tr:last-child td { border-bottom: none; }
.compare .group td { background: var(--sand); font-weight: 700; color: var(--deep); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.compare small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.yes { color: #0d8a7c; font-weight: 800; }
.no { color: #b9c7cc; font-weight: 800; }
.meh { color: #b97700; font-size: 0.84rem; font-weight: 600; }
.plus-mark { display: inline-block; font-size: 0.72rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff7a59, #e0643f); padding: 2px 8px; border-radius: 999px; }
.note-small { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.prose .compare-wrap { margin: 14px 0 6px; }
@media (max-width: 600px) {
  .compare { font-size: 0.82rem; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare td.c { width: 25%; white-space: normal; }
  .compare thead th { font-size: 0.74rem; }
}

/* ── Who it's for: audience switcher ─────── */
.aud-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.aud-tab { font: inherit; font-weight: 700; font-size: 1rem; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--deep); cursor: pointer; }
.aud-tab.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.aud-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aud-head h3 { font-size: 1.35rem; margin-bottom: 4px; }
.aud-head p { color: var(--muted); margin-bottom: 18px; }
.aud-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-bottom: 18px; }
.aud-list li { display: flex; gap: 12px; align-items: flex-start; }
.aud-list li > span { font-size: 1.5rem; line-height: 1.2; }
.aud-list strong { display: block; color: var(--deep); margin-bottom: 2px; }
.aud-list div { color: var(--muted); font-size: 0.94rem; }
.aud-plus { background: var(--sand); border-radius: 12px; padding: 10px 14px; font-size: 0.92rem; color: var(--deep); margin-bottom: 16px; }
.aud-plus .plus-mark { margin-right: 6px; }
@media (max-width: 700px) { .aud-list { grid-template-columns: 1fr; } .aud-panel { padding: 20px; } .aud-tab { padding: 8px 14px; font-size: 0.92rem; } }

/* ── Parent-first home page (Nov 2026) ───── */
.aud-links { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.aud-links a { color: var(--deep); font-weight: 700; }
.steps-note { text-align: center; color: var(--muted); margin-top: 16px; font-size: 0.97rem; }
.grid3.two { grid-template-columns: 1fr 1fr; }
.icon { font-size: 1.4rem; }
.ticks { list-style: none; margin-top: 6px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: #0d8a7c; font-weight: 800; }
.snap { display: grid; gap: 10px; justify-items: center; }
.sheet { width: 88%; background: #fffdf7; border: 1px solid #e8dcc4; border-radius: 6px; padding: 14px; box-shadow: 0 10px 26px rgba(18,58,74,0.12); transform: rotate(-3deg); }
.sheet-top { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.sheet-row { display: grid; grid-template-columns: 5.5em 1fr 1fr; gap: 8px; align-items: center; margin-bottom: 7px; font-size: 0.78rem; }
.sheet-row i { height: 7px; border-radius: 4px; background: #e6ddcb; }
.sheet-row i.s { width: 60%; }
.snap-arrow { font-size: 1.4rem; line-height: 1; }
.snap .mock-card { width: 100%; }
.snap .chip.streak { bottom: -14px; left: -10px; }
@media (max-width: 860px) { .grid3.two { grid-template-columns: 1fr; } }
.price-cards { margin-bottom: 24px; }
.price, .prose .price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2rem; color: var(--deep); margin: 4px 0 8px; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }

/* ── Phone menu ─────────────────────────── */
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,0.7); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--deep); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-menu { display: flex; flex-direction: column; padding: 6px 20px 14px; border-top: 1px solid rgba(18,58,74,0.08); }
.nav-menu[hidden] { display: none; }
.nav-menu a { text-decoration: none; font-weight: 600; color: var(--deep); padding: 12px 0; border-bottom: 1px solid rgba(18,58,74,0.06); }
.nav-menu a:last-child { border-bottom: 0; }
.nav-menu a[aria-current] { color: var(--coral-dark); }
@media (max-width: 860px) { .nav-toggle { display: inline-flex; } .nav-right { gap: 10px; } }
@media (min-width: 861px) { .nav-menu { display: none !important; } }

/* ── Proof on the home page: progress mock, short comparison, gap grid ── */
.prog-mock { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 18px 44px rgba(18,58,74,0.10); }
.pm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pm-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem; }
.pm-streak { font-size: 0.85rem; font-weight: 700; color: var(--coral-dark); background: #ffefe9; padding: 4px 10px; border-radius: 999px; }
.pm-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pm-tiles div { background: var(--sea-2); border-radius: 14px; padding: 12px; text-align: center; }
.pm-tiles b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3rem; color: var(--deep); }
.pm-tiles span { font-size: 0.8rem; color: var(--muted); }
.pm-row { display: grid; grid-template-columns: 1fr 90px 70px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.pm-sub { font-weight: 600; }
.spark { width: 90px; height: 26px; }
.pm-score { text-align: right; font-weight: 800; }
.pm-score.up { color: #0d8a7c; } .pm-score.down { color: var(--coral-dark); }
.pm-weak { margin-top: 14px; font-size: 0.9rem; color: var(--deep); background: #fff4e0; border-radius: 12px; padding: 10px 12px; }
.compare-wrap.compact { max-width: 760px; margin: 0 auto; }
.text-link { color: var(--coral-dark); font-weight: 700; text-decoration: none; }
.gap-mock { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.gap-mock table { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 0.9rem; }
.gap-mock th { font-size: 0.78rem; color: var(--muted); text-align: center; padding: 6px; }
.gap-mock th:first-child, .gap-mock td:first-child { text-align: left; font-weight: 600; color: var(--deep); white-space: nowrap; }
.gap-mock td { text-align: center; padding: 10px 6px; border-radius: 8px; font-weight: 700; }
.gap-mock .g { background: #dcf5ec; color: #0d6e5f; } .gap-mock .a { background: #fff1cc; color: #8a5a00; }
.gap-mock .r { background: #ffe0d8; color: #b8401f; } .gap-mock .n { background: #f1f4f5; color: #9aaab0; }
.nudge { display: block; font-size: 0.7rem; color: var(--coral-dark); font-weight: 700; }
@media (max-width: 480px) { .pm-row { grid-template-columns: 1fr 64px 58px; gap: 8px; font-size: 0.86rem; } .spark { width: 64px; } .pm-tiles b { font-size: 1.1rem; } }
.stage-tag { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--deep); background: var(--sea); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.stages .card:nth-child(2) .stage-tag { background: #fff1cc; }
.stages .card:nth-child(3) .stage-tag { background: #ffe7df; }
.grid3.stages.four { grid-template-columns: repeat(4, 1fr); }
.stages .card:nth-child(4) .stage-tag { background: #e6e9ff; }
@media (max-width: 1000px) { .grid3.stages.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3.stages.four { grid-template-columns: 1fr; } }
