:root {
  --bg: #0b0e13;
  --bg-alt: #0e131b;
  --card: #151a22;
  --text: #f2f5f9;
  --muted: #9aa6b2;
  --accent: #4cc2a0;
  --accent-dim: #3aa588;
  --border: #232a34;
  --radius: 18px;
  --shot-radius: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 15px 26px; border-radius: 999px;
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #08110d; }
.btn-primary:hover { background: var(--accent-dim); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Header / nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(11, 14, 19, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1000px; margin: 0 auto; }
.logo { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; }
.logo-mark { width: 28px; height: 28px; border-radius: 7px; display: block; }
.logo span { color: var(--accent); }
.wa-note { margin-top: 14px; font-size: 15px; }
.wa-note a { color: var(--accent); text-decoration: none; }
.wa-note a:hover { text-decoration: underline; }
.cta .wa-note { margin-top: 16px; }
.nav .btn { padding: 9px 18px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 620px;
  background: radial-gradient(60% 50% at 50% 0%, rgba(76,194,160,0.18), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; position: relative; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 24px; } }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 18px; }
@media (min-width: 860px) { .hero h1 { font-size: 54px; } }
.hero .sub { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-points { list-style: none; margin: 0 0 30px; display: grid; gap: 11px; max-width: 520px; }
.hero-points li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

/* ---------- Core loop ---------- */
.loop { padding: 60px 0 12px; }
.loop > .wrap > h2 { text-align: center; font-size: 22px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; margin-bottom: 30px; }
.loop-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .loop-grid { grid-template-columns: repeat(3, 1fr); } }
.loop-node { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.loop-node .k { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 8px; }
.loop-node h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.loop-node p { color: var(--muted); font-size: 15px; }
@media (min-width: 760px) {
  .loop-node:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; z-index: 1; }
}

/* ---------- Pillar section headers ---------- */
.pillar { text-align: center; padding: 56px 0 4px; }
.pillar .eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pillar h2 { font-size: 30px; letter-spacing: -0.02em; margin-top: 8px; }
.pillar p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 10px auto 0; }
/* A pillar header replaces the divider, so drop the row's own top border after it. */
.pillar + .feature-row { border-top: none; }

/* ---------- Device duo (widget phone + watch overlay) ---------- */
.device-duo { position: relative; max-width: 300px; margin: 0 auto; }
.device-duo .shot { margin: 0; }
.device-duo .watch-shot {
  position: absolute; left: -14%; bottom: 7%; width: 42%; height: auto;
  border-radius: 22%; border: 4px solid #12161d; background: #000;
  box-shadow: 0 20px 44px -14px rgba(0,0,0,0.85);
}
@media (max-width: 520px) { .device-duo .watch-shot { left: -8%; width: 38%; } }

/* ---------- "Everywhere" grid ---------- */
.everywhere { padding: 40px 0 8px; }
.ev-grid { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
@media (min-width: 640px) { .ev-grid { grid-template-columns: repeat(2, 1fr); } }
.ev { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.ev .ic { font-size: 24px; margin-bottom: 10px; }
.ev h3 { font-size: 17px; margin-bottom: 6px; }
.ev p { color: var(--muted); font-size: 15px; }

/* ---------- USP band ---------- */
.band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band .wrap { padding-top: 46px; padding-bottom: 46px; text-align: center; }
.band p { font-size: 24px; line-height: 1.35; letter-spacing: -0.01em; max-width: 720px; margin: 0 auto; }
.band .accent { color: var(--accent); }
.founder-quote { font-style: italic; }
.founder-name { font-size: 16px !important; color: var(--muted); margin-top: 16px !important; font-style: normal; }

/* ---------- Feature rows ---------- */
.features { padding: 24px 0; }
.feature-row {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
@media (min-width: 860px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature-row.reverse .feature-text { order: 2; }
}
.feature-text .eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.feature-text h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 14px; }
.feature-text p { color: var(--muted); font-size: 17px; }
.feature-text .caption { margin-top: 14px; font-size: 15px; color: var(--text); }
.feature-text .caption b { color: var(--accent); font-weight: 600; }

/* ---------- Screenshot frame ---------- */
/* Hugs each screenshot at its natural ratio (they vary in height) rather than
   forcing a fixed phone bezel that would crop them inconsistently. */
.shot {
  position: relative;
  margin: 0 auto;
  max-width: 300px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #0c1017;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
}
.shot img { width: 100%; height: auto; display: block; }
/* Placeholder keeps a tall phone-ish shape until a real screenshot lands. */
.shot.placeholder {
  aspect-ratio: 9 / 19.5;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.shot.placeholder span { color: var(--muted); font-size: 14px; text-align: center; line-height: 1.5; }
.shot.placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(76,194,160,0.05) 0 12px, transparent 12px 24px);
  pointer-events: none;
}

/* ---------- Who it's for ---------- */
.who { padding: 64px 0 8px; }
.who h2 { text-align: center; font-size: 30px; letter-spacing: -0.02em; margin-bottom: 36px; }
.who-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.who-card .ic { font-size: 26px; margin-bottom: 12px; }
.who-card h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.who-card p { color: var(--muted); font-size: 15px; }

/* ---------- Pro teaser ---------- */
.pro { padding: 56px 0 8px; }
.pro-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; }
.pro-head { text-align: center; margin-bottom: 26px; }
.pro-head h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 8px; }
.pro-head p { color: var(--muted); font-size: 16px; max-width: 480px; margin: 0 auto; }
.pro-cols { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pro-cols { grid-template-columns: 1fr 1fr; } }
.pro-col { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.pro-col-pro { border-color: var(--accent-dim); box-shadow: 0 0 0 1px rgba(76,194,160,0.25) inset; }
.pro-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pro-col-pro .pro-tag { color: var(--accent); }
.pro-col ul { list-style: none; display: grid; gap: 10px; }
.pro-col li { position: relative; padding-left: 26px; font-size: 15px; }
.pro-col li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pro-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { padding: 64px 0 8px; }
.faq h2 { text-align: center; font-size: 30px; letter-spacing: -0.02em; margin-bottom: 32px; }
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 20px; margin: 0; }

/* ---------- How it works ---------- */
.how { background: var(--bg-alt); border-top: 1px solid var(--border); }
.how .wrap { padding: 64px 24px; }
.how h2 { text-align: center; font-size: 30px; letter-spacing: -0.02em; margin-bottom: 40px; }
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step .num { width: 34px; height: 34px; border-radius: 999px; background: rgba(76,194,160,0.14); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Closing CTA ---------- */
.cta { text-align: center; padding: 84px 0; position: relative; }
.cta::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 420px;
  background: radial-gradient(50% 60% at 50% 100%, rgba(76,194,160,0.16), transparent 70%);
  pointer-events: none;
}
.cta h2 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 14px; position: relative; }
.cta p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 28px; position: relative; }
.cta .hero-cta { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 32px 0 64px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
