/* =========================================================
   FOCUS — design tokens
========================================================= */
:root {
  --bg: #12151A;
  --bg-elevated: #181C23;
  --card: #1E232C;
  --card-hover: #232936;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text-primary: #F4F2ED;
  --text-secondary: #9AA1AD;
  --text-tertiary: #6B7280;

  --amber: #E8A33D;
  --amber-dim: rgba(232, 163, 61, 0.14);
  --amber-line: rgba(232, 163, 61, 0.35);
  --teal: #52D6C5;
  --teal-dim: rgba(82, 214, 197, 0.14);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Sora', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', monospace;

  --container: 1160px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   RESET
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   LAYOUT HELPERS
========================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section__sub {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--amber); color: #1A1206; }
.btn--primary:hover { background: #f0ae4c; }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--amber-line); color: var(--amber); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: 0.12s; }

/* =========================================================
   NAV
========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(18, 21, 26, 0.82);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
}
.brand__mark { width: 24px; height: 24px; color: var(--amber); }
.brand__mark svg { width: 100%; height: 100%; }

.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text-primary); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  background: none;
  border: none;
  padding: 6px 0;
}
.nav__toggle span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:not(.btn) {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.nav__mobile .btn { margin-top: 12px; width: fit-content; }
.nav__mobile.is-open { display: flex; }

/* =========================================================
   HERO
========================================================= */
.hero {
  padding: 72px 24px 100px;
  background:
    radial-gradient(60% 50% at 82% 10%, var(--amber-dim), transparent 60%);
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-tertiary);
}
.hero__proof-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-dim);
}

/* ring card */
.ring-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.ring-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  transition: color 0.4s var(--ease);
}
.ring-wrap { position: relative; width: 220px; height: 220px; }
.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 10;
}
.ring-progress {
  fill: none;
  stroke: var(--amber);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke 0.6s var(--ease);
}
.ring-time {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ring-card__task {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}
.ring-card__dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.ring-card__dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.3s var(--ease);
}
.ring-card__dots span.is-filled { background: var(--amber); }
.ring-card__skip {
  margin-top: 22px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.ring-card__skip:hover { color: var(--text-primary); }

/* =========================================================
   WHY / FEATURE CARDS
========================================================= */
.why { padding: 40px 24px 110px; max-width: var(--container); margin: 0 auto; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-line);
  background: var(--card-hover);
}
.feature-card__icon {
  display: inline-flex;
  width: 40px; height: 40px;
  color: var(--amber);
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 15.5px; }

/* =========================================================
   PRODUCT ROWS
========================================================= */
.product { padding: 40px 24px 110px; max-width: var(--container); margin: 0 auto; }
.product__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.product__row:last-child { border-bottom: none; }
.product__row--reverse .product__copy { order: 2; }
.product__row--reverse .product__mock { order: 1; }
.product__copy h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 600; margin-bottom: 16px; letter-spacing: -0.01em; }
.product__copy p { color: var(--text-secondary); margin-bottom: 20px; font-size: 16px; }
.product__list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  border-top: 1px solid var(--border);
}
.product__list li:first-child { border-top: none; }
.product__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.mock-window {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.mock-window__bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-window__bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}
.mock-window__body {
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.mock-ring {
  width: 150px; height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 10px solid var(--border-strong);
  position: relative;
}
.mock-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 10px solid transparent;
  border-top-color: var(--amber);
  border-right-color: var(--amber);
  transform: rotate(-45deg);
}
.mock-ring--teal::before { border-top-color: var(--teal); border-right-color: var(--teal); transform: rotate(210deg); }
.mock-ring__time { font-family: var(--font-mono); font-size: 24px; }
.mock-task-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
}
.mock-task-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.mock-task-dot--teal { background: var(--teal); }

/* =========================================================
   PLATFORMS
========================================================= */
.platforms { padding: 40px 24px 110px; max-width: var(--container); margin: 0 auto; }
.platforms__row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.device { display: flex; flex-direction: column; align-items: center; }
.device__screen {
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.device__ring {
  border-radius: 50%;
  border: 6px solid var(--border-strong);
  position: relative;
}
.device__ring--sm { width: 60px; height: 60px; }
.device__ring--lg { width: 96px; height: 96px; border-width: 8px; }
.device__ring--amber { border-top-color: var(--amber); border-right-color: var(--amber); transform: rotate(-30deg); }

.device--mac { width: 340px; }
.device__menubar {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}
.device__menubar-ring {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--amber);
}
.device--mac .device__screen {
  width: 100%; height: 190px;
  border-radius: 0 0 14px 14px;
  border-top: none;
}

.device--phone .device__screen--phone {
  width: 150px; height: 300px;
  border-radius: 34px;
  padding-top: 30px;
}
.device--phone { position: relative; }
.device__notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 16px;
  background: var(--bg);
  border-radius: 10px;
  z-index: 2;
}
.device__time { font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); }
.device__caption { font-size: 11px; color: var(--text-tertiary); }

.device--tablet .device__screen--tablet {
  width: 230px; height: 300px;
  border-radius: 20px;
}

.platforms__labels {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-align: center;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials { padding: 40px 24px 110px; max-width: var(--container); margin: 0 auto; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 0;
}
.quote-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.quote-card cite {
  font-style: normal;
  font-size: 13.5px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* =========================================================
   CTA BANNER
========================================================= */
.cta-banner {
  margin: 0 24px 100px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(155deg, var(--card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 32px;
}
.cta-banner__inner { max-width: 520px; margin: 0 auto; text-align: center; }
.cta-banner h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 600; margin-bottom: 14px; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 30px; }
.cta-banner__note { margin-top: 18px; font-size: 13px; color: var(--text-tertiary); }

/* =========================================================
   FOOTER
========================================================= */
.footer { border-top: 1px solid var(--border); padding: 64px 24px 32px; }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand p { color: var(--text-tertiary); font-size: 14px; margin-top: 14px; max-width: 240px; }
.brand--footer { margin-bottom: 4px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  font-weight: 500;
}
.footer__col a { color: var(--text-secondary); font-size: 14.5px; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--text-primary); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { justify-self: center; }
  .why__grid { grid-template-columns: 1fr; }
  .product__row, .product__row--reverse { grid-template-columns: 1fr; }
  .product__row--reverse .product__copy,
  .product__row--reverse .product__mock { order: initial; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--sm { display: none; }
  .hero { padding: 48px 20px 72px; }
  .footer__inner { grid-template-columns: 1fr; }
  .platforms__row { gap: 28px; }
}
