/* Attune — monochromatic. Harmony between AI and health. */
:root {
  --bg: #060606;
  --bg-2: #0c0c0c;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #222;
  --border-2: #333;
  --accent: #d4d4d4;
  --text: #f0f0f0;
  --muted: #999;
  --dim: #555;
  --radius: 16px;
  --maxw: 960px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6,6,6,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--border-2); color: var(--muted); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.app-badge-link img { height: 48px; width: auto; }

/* ── Hero ── */
.hero { padding: 100px 0 80px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.grad { background: linear-gradient(135deg, #e0e0e0 0%, #888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero .sub { max-width: 580px; margin: 0 auto 32px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.cta-row { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 36px; }
.trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--dim); margin-bottom: 48px; }
.trust span { display: flex; align-items: center; gap: 6px; }
.tic { width: 16px; height: 16px; }

/* ── Hero demo device ── */
.hero-demo { max-width: 420px; margin: 0 auto; }
.device { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.ring-wrap { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.ring { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ring b { font-size: 24px; font-weight: 700; }
.verdict { font-weight: 600; font-size: 15px; }
.verdict-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.metrics { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.metric { flex: 1; text-align: center; }
.metric .v { font-size: 16px; font-weight: 600; }
.metric .v.up { color: #a0a0a0; }
.metric .l { font-size: 12px; color: var(--dim); margin-top: 2px; }

/* ── Sections ── */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: grid; gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step a { color: var(--accent); border-bottom: 1px solid var(--border-2); }
.step a:hover { border-color: var(--accent); }

/* Split cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card .k { font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.ic { width: 36px; height: 36px; margin-bottom: 12px; color: var(--muted); }
.ic svg { width: 100%; height: 100%; }
.feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; max-width: 440px; margin: 0 auto; text-align: center; }
.price-card .eyebrow { margin-bottom: 8px; }
.price { font-size: 40px; font-weight: 700; margin-bottom: 20px; }
.price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan-list { list-style: none; text-align: left; margin-bottom: 24px; }
.plan-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.plan-list li:last-child { border: none; }
.plan-list li::before { content: "→ "; color: var(--dim); }

/* Capture / CTA */
.capture { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; text-align: center; }
.capture h2 { font-size: 28px; }

/* FAQ */
.faq-section { padding: 64px 0; }
.faq { max-width: 640px; margin: 0 auto; }
details { border-bottom: 1px solid var(--border); }
summary { padding: 18px 0; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; font-size: 20px; color: var(--dim); transition: transform 0.2s; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; color: var(--muted); font-size: 14px; }
details a { color: var(--accent); border-bottom: 1px solid var(--border-2); }

/* Blog teaser */
.blog-teaser { padding: 64px 0; }
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: block; transition: border-color 0.2s; }
.post-card:hover { border-color: var(--border-2); }
.post-card .date { font-size: 12px; color: var(--dim); margin-bottom: 8px; }
.post-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.post-card p { color: var(--muted); font-size: 13px; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--border); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.foot-brand img { width: 20px; height: 20px; border-radius: 4px; }
footer a { font-size: 13px; color: var(--dim); margin-left: 20px; }
footer a:hover { color: var(--muted); }

/* Mobile */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 32px; }
  .trust { flex-direction: column; align-items: center; gap: 12px; }
  section { padding: 48px 0; }
  .price-card { padding: 24px; }
  .capture { padding: 28px; }
}
