/* Therapify marketing site: tokens mirror the mobile app (colors.ts) */
:root {
  --main: #004D40; --main-dark: #00372e; --accent: #26A69A; --light: #E4DFDA; --light-2: #F3F0EC;
  --ink: #111; --muted: #666; --bg: #FFFFFF; --card: #FFFFFF; --border: rgba(0, 77, 64, 0.35);
  --radius: 16px; --shadow: 0 10px 30px rgba(0, 45, 38, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #F2F0EC; --muted: #B8B2AB; --bg: #101413; --card: #17201e; --light: #1f2a27; --light-2: #151d1b; --border: rgba(38, 166, 154, 0.45); --shadow: 0 10px 30px rgba(0,0,0,0.4); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main); }
@media (prefers-color-scheme: dark) { a { color: var(--accent); } }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.wrap.narrow { width: min(760px, 92vw); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--main); color: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(12px); border-bottom: 0.8px solid var(--border); }
.nav { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 18px; margin-left: auto; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a[aria-current="page"], .nav nav a:hover { border-bottom-color: var(--accent); }
@media (max-width: 720px) { .nav nav { display: none; } .nav { justify-content: space-between; } }

/* buttons (app's primary pill) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--main); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: 999px; border: 0.8px solid var(--main); }
.btn:hover { background: var(--main-dark); }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--main); }
@media (prefers-color-scheme: dark) { .btn-ghost { color: var(--accent); border-color: var(--accent); } }
.badge-link img { height: 60px; width: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 22px 0; }

/* hero */
.hero { padding: 56px 0 24px; background: radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, var(--light) 80%, transparent), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-shot { max-width: 320px; margin: 0 auto; } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.trust { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.trust li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* screenshots: the store images already carry a device frame, so just round and lift them */
.shot { margin: 0; }
.shot img { border-radius: 28px; box-shadow: var(--shadow); }
.shot.small { max-width: 300px; margin: 18px auto 0; }
.hero-shot { max-width: 400px; margin: 0 auto; }

/* sections & cards (app's 16px cards with a thin main border) */
.section { padding: 64px 0; }
.section.alt { background: var(--light-2); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.card { background: var(--card); border: 0.8px solid var(--border); border-radius: var(--radius); padding: 22px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps-wide { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps, .steps-wide { grid-template-columns: 1fr; } }
.step { position: relative; }
.step-n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--main); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.icon-circle { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: var(--light); color: var(--main); align-items: center; justify-content: center; margin-bottom: 14px; }
.icon-circle.small { width: 36px; height: 36px; margin: 0; flex: none; }
@media (prefers-color-scheme: dark) { .icon-circle { color: var(--accent); } }
.therapists { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.therapist { text-align: center; }
.therapist img, .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--light); color: var(--main); font-weight: 800; font-size: 2rem; }
.therapist p { color: var(--muted); margin: 0; font-size: .95rem; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .two-col .shot { max-width: 320px; margin: 0 auto; } }
.checks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks p { margin: 4px 0 0; color: var(--muted); }
.pricing { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.faq-item { border-bottom: 0.8px solid var(--border); padding: 6px 0; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary h2, .faq-item summary h3 { margin: 0; font-size: 1.1rem; }
.faq-item p { color: var(--muted); margin: 0 0 14px; }
.cta-final { background: var(--main); color: #fff; }
.cta-final h2, .cta-final .section-lead { color: #fff; }
.cta-final .section-lead { margin: 0 auto 20px; }

/* long-form */
.prose h2 { margin-top: 2em; }
.prose p, .prose li { font-size: 1.05rem; }
.tldr { margin: 24px 0; background: var(--light-2); }
.tldr h2 { margin: 0 0 8px; font-size: 1.1rem; }
.tldr ul { margin: 0; padding-left: 20px; }
.compare { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: .98rem; }
.compare caption { caption-side: bottom; color: var(--muted); font-size: .85rem; padding-top: 8px; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-bottom: 0.8px solid var(--border); vertical-align: top; }
.compare thead th { color: var(--main); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .cards-2 { grid-template-columns: 1fr; } }
.legal h3 { margin-top: 1.6em; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { border: 0.8px solid var(--border); padding: 8px; vertical-align: top; text-align: left; }

/* footer */
.site-footer { border-top: 0.8px solid var(--border); padding: 40px 0 28px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid a { display: block; text-decoration: none; margin: 6px 0; }
.foot-grid .brand { margin-bottom: 8px; }
.foot-grid .badge-link img { height: 50px; }
.foot-h { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.disclaimer { margin-top: 28px; padding-top: 18px; border-top: 0.8px solid var(--border); color: var(--muted); font-size: .9rem; }
