/* Attuno landing — brand tokens mirror the app's design tokens. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #1a1c1e;
  --muted: #6b7280;
  --teal: #1f9e8e;
  --teal-d: #16786c;
  --mint: #3fd0b8;
  --petrol: #0e3a3a;
  --line: #e6e8eb;
  --radius: 24px;
  --radius-sm: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Header ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  background: rgba(246, 247, 249, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.pulse {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--mint), var(--teal));
  box-shadow: 0 0 0 4px rgba(63, 208, 184, 0.18);
}
.nav-links a {
  margin-left: 24px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--petrol), var(--teal-d));
  color: #fff;
  padding: 96px 0 104px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: clamp(17px, 2.4vw, 21px);
  max-width: 620px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.86);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--petrol);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
}
.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
/* The white pill disappears on the light `.band` background — invert it. */
.cta-dark {
  background: var(--petrol);
  color: #fff;
}
.hero .hint {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
}

/* ── Sections ───────────────────────────────────────── */
section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card .ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #e3f3f0;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── How / privacy band ─────────────────────────────── */
.band {
  background: #eef4f3;
}
.band .grid {
  grid-template-columns: repeat(3, 1fr);
}
.step {
  text-align: center;
}
.step .n {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.privacy-note {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}
.privacy-note strong {
  color: var(--ink);
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  background: var(--petrol);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 40px;
  font-size: 14px;
}
footer .cols {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
footer a {
  color: rgba(255, 255, 255, 0.8);
}
footer .links a {
  margin-left: 20px;
}
footer .disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* ── Legal pages ────────────────────────────────────── */
.legal {
  background: var(--surface);
  min-height: 100vh;
}
.legal .wrap {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 80px;
}
.legal h1 {
  font-size: 34px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}
.legal p {
  color: #34373b;
}
.back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 500;
}

/* ── Screens / device mockups ───────────────────────── */
.devices {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.phone {
  width: 264px;
  height: 540px;
  border-radius: 44px;
  background: #0e3a3a;
  padding: 13px;
  box-shadow: 0 30px 60px rgba(14, 58, 58, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: var(--bg);
  overflow: hidden;
}
.screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
}

/* Watch frames. Proportions follow the 46 mm Series 11 capture (416×496), so
   the screenshots sit in the bezel without being stretched. */
.watches {
  gap: 32px;
}
.watch {
  width: 216px;
  height: 258px;
  border-radius: 52px;
  background: #0e3a3a;
  padding: 14px;
  box-shadow: 0 24px 48px rgba(14, 58, 58, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
/* A corner radius near the real device's, not the bezel's. Rounded as hard as
   the outer shell, it ate the labels sitting near the edge of the screen. */
.watch-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: #000;
  overflow: hidden;
}
.watch-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* ── Pricing ────────────────────────────────────────── */
.pricing-band {
  background: linear-gradient(140deg, var(--petrol), var(--teal-d));
  color: #fff;
}
.pricing-band .section-title {
  color: #fff;
}
.pricing-band .section-sub {
  color: rgba(255, 255, 255, 0.78);
}
/* Mirrors the real in-app paywall's plan selector, not a generic table. */
.plan-select {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-opt {
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding: 16px 20px;
  position: relative;
}
.plan-opt.best {
  border-color: var(--mint);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}
.plan-opt .badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.plan-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.plan-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.plan-price {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.plan-price i {
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  margin-left: 2px;
}
.plan-note {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 16px 0 32px;
}
/* Same shape as .plan-note but for sections on a light background — the white
   variant is invisible outside the pricing band. */
.section-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted, #52616b);
  max-width: 560px;
  margin: 28px auto 0;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.feature-pills span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 820px) {
  .grid,
  .band .grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  section {
    padding: 56px 0;
  }
  .hero {
    padding: 72px 0 80px;
  }
  .devices {
    gap: 28px;
  }
}
