:root {
  --teal: #0F766E;
  --teal-dark: #115E59;
  --teal-bright: #2DD4BF;
  --teal-soft: #CCFBF1;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F4;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E5E7EB;
  --accent: var(--teal);
  --on-accent: #FFFFFF;
  --green: #16A34A;
  --yellow: #F59E0B;
  --red: #DC2626;
  --radius: 18px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F19;
    --surface: #141A2A;
    --surface-alt: #1C2333;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --border: #272F44;
    --accent: var(--teal-bright);
    --on-accent: #042F2E;
    --teal-soft: #0F3B38;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-accent); }
.brand b { font-weight: inherit; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; line-height: 1.2; }
.btn .btn-lines { line-height: 1.2; text-align: left; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--text-muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--text-muted); margin-top: 14px; }
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone frame */
.phone {
  position: relative; width: 100%; max-width: 300px; margin: 0 auto;
  border-radius: 44px; padding: 10px; background: #0B0F19;
  box-shadow: 0 30px 60px -20px rgba(15, 118, 110, 0.45), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 600 / 1269; object-fit: cover; object-position: top; background: #fff; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% -10% 0 -10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teal-bright) 35%, transparent), transparent);
  z-index: -1;
}

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; }
.section-head p { color: var(--text-muted); font-size: 18px; margin: 0; }
.alt { background: var(--surface-alt); }

/* Pressure signal */
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.signal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.signal .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.signal h3 { margin: 0 0 6px; font-size: 18px; display: flex; align-items: center; }
.signal p { margin: 0; color: var(--text-muted); font-size: 15px; }
@media (max-width: 760px) { .signals { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.screen figcaption { text-align: center; margin-top: 18px; font-weight: 600; }
.screen figcaption span { display: block; font-weight: 400; color: var(--text-muted); font-size: 15px; }
.screen { margin: 0; }
@media (max-width: 860px) {
  .screens { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .screen { scroll-snap-align: center; }
}

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat strong { display: block; font-size: 38px; letter-spacing: -0.03em; color: var(--accent); line-height: 1.1; }
.stat span { color: var(--text-muted); font-size: 15px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-muted); margin: 12px 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #14958A, var(--teal) 55%, #0B4F4A); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 12px; }
.cta-band p { opacity: 0.88; margin: 0 auto 28px; max-width: 34em; }
.cta-band .btn-primary { background: #fff; color: var(--teal-dark); }
@media (max-width: 560px) { .cta-band { padding: 40px 22px; } }

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

/* Legal / prose pages */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; }
.page-head p { color: var(--text-muted); margin: 0; }
.prose { max-width: 760px; padding-bottom: 72px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.prose h3 { font-size: 19px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0 8px; font-size: 15px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.callout { background: var(--teal-soft); border-radius: 14px; padding: 16px 18px; margin: 20px 0; }
.callout p { margin: 0; }
address { font-style: normal; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0 0 10px; color: var(--text-muted); font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-page h1 { font-size: 48px; letter-spacing: -0.03em; margin: 0 0 10px; }
.center-page p { color: var(--text-muted); margin: 0 0 24px; }

/* Social links */
.footer-left { display: flex; flex-direction: column; gap: 12px; }
.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; color: var(--text-muted); opacity: 0.75; }
.social a:hover { color: var(--accent); opacity: 1; }
.social svg { width: 15px; height: 15px; }
.cta-social { margin: 22px auto 0 !important; font-size: 15px; }
.cta-band .cta-social a { color: #fff; }
