:root {
  color-scheme: light dark;
  --bg: #f7f9fd;
  --surface: #ffffff;
  --surface-strong: #edf2fb;
  --text: #101828;
  --muted: #526176;
  --quiet: #708096;
  --border: #dce4f0;
  --brand: #315fcf;
  --brand-strong: #244ba8;
  --brand-soft: #e9efff;
  --navy: #0f1626;
  --feature-surface: #eef3ff;
  --feature-text: #101828;
  --feature-muted: #526176;
  --timer-core: #dfe8ff;
  --success: #16825d;
  --shadow: 0 24px 70px rgba(31, 54, 96, 0.13);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --content: 72rem;
}

:root[data-theme="dark"] {
  --bg: #090e19;
  --surface: #111827;
  --surface-strong: #182235;
  --text: #f7f9fc;
  --muted: #a7b3c7;
  --quiet: #8492a8;
  --border: #253249;
  --brand: #6f94ff;
  --brand-strong: #9bb4ff;
  --brand-soft: #17264c;
  --navy: #050914;
  --feature-surface: #0f1626;
  --feature-text: #f7f9fc;
  --feature-muted: #a8b5c9;
  --timer-core: #101b31;
  --success: #53d8a7;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090e19;
    --surface: #111827;
    --surface-strong: #182235;
    --text: #f7f9fc;
    --muted: #a7b3c7;
    --quiet: #8492a8;
    --border: #253249;
    --brand: #6f94ff;
    --brand-strong: #9bb4ff;
    --brand-soft: #17264c;
    --navy: #050914;
    --feature-surface: #0f1626;
    --feature-text: #f7f9fc;
    --feature-muted: #a8b5c9;
    --timer-core: #101b31;
    --success: #53d8a7;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 62%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  border-radius: 0.6rem;
  background: var(--surface);
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 28%, transparent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links > a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 620;
  text-decoration: none;
}

.nav-links > a[aria-current="page"],
.nav-links > a:hover {
  color: var(--text);
}

.theme-toggle {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 680;
  padding: 0.35rem 0.75rem;
}

.theme-toggle:hover {
  border-color: var(--brand);
  color: var(--text);
}

.hero {
  display: grid;
  min-height: calc(100vh - 4.75rem);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.03fr) minmax(19rem, 0.85fr);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.15rem, 7vw, 6.5rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-copy {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 720;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 30%, transparent);
}

.button.secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--brand);
  color: var(--text);
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  color: var(--quiet);
  font-size: 0.91rem;
  font-weight: 620;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, var(--success) 14%, transparent);
}

.phone-stage {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
  isolation: isolate;
}

.phone-stage::before {
  position: absolute;
  z-index: -1;
  inset: 8% -8%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  content: "";
  filter: blur(54px);
}

.phone-device {
  position: relative;
  width: min(100%, 22rem);
  overflow: hidden;
  border: 0.72rem solid #080d18;
  border-radius: 3.4rem;
  background: #0f1626;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.phone-device::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2.6rem;
  content: "";
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  left: 50%;
  width: 5.2rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #050811;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.phone-device img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-stage figcaption {
  margin-top: 1rem;
  color: var(--quiet);
  font-size: 0.86rem;
  font-weight: 620;
}

.section {
  padding-block: clamp(3.75rem, 7vw, 6rem);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.section-heading p {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  min-height: 14rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  padding: 1.5rem;
}

.feature-number {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 800;
}

.feature p {
  color: var(--muted);
}

.focus-band {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--feature-surface);
  color: var(--feature-text);
  box-shadow: var(--shadow);
  grid-template-columns: 1.1fr 0.9fr;
}

.focus-band-copy {
  padding: clamp(2rem, 6vw, 5rem);
}

.focus-band-copy p {
  max-width: 33rem;
  color: var(--feature-muted);
  font-size: 1.08rem;
}

.timer-art {
  display: grid;
  min-height: 26rem;
  place-items: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 20%, transparent), transparent 64%);
}

.timer-ring {
  display: grid;
  width: min(60vw, 17rem);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--brand);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.25rem var(--timer-core), 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent);
}

.timer-ring strong {
  color: var(--feature-text);
  font-size: clamp(2.8rem, 6vw, 4.3rem);
  letter-spacing: -0.06em;
}

.beta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 3rem;
}

.beta-panel h2 {
  max-width: 16ch;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.beta-panel p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 2rem 3rem;
  color: var(--quiet);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-links a {
  text-decoration: none;
}

.page-main {
  min-height: 65vh;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.page-intro {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.page-intro h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.page-intro > p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.updated {
  color: var(--quiet);
  font-size: 0.9rem;
}

.prose {
  max-width: 49rem;
}

.prose section {
  margin-top: 2.75rem;
}

.prose h2 {
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose li + li {
  margin-top: 0.55rem;
}

.prose strong {
  color: var(--text);
}

.support-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.support-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.support-card p {
  color: var(--muted);
}

.support-card.primary {
  background: var(--feature-surface);
  color: var(--feature-text);
}

.support-card.primary p {
  color: var(--feature-muted);
}

.privacy-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
}

.support-topics {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.topic {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.topic p {
  margin-bottom: 0;
}

[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

@media (max-width: 52rem) {
  .nav-links > a:not(.keep-mobile) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10ch;
  }

  .phone-stage {
    width: min(100%, 26rem);
    margin-inline: auto;
  }

  .feature-grid,
  .focus-band,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 2.2rem;
  }

  .timer-art {
    min-height: 21rem;
  }

  .beta-panel,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 32rem) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .nav {
    min-height: 4.25rem;
  }

  .theme-toggle {
    padding-inline: 0.65rem;
  }

  .hero {
    padding-block: 3.5rem 5rem;
  }

  h1 {
    font-size: clamp(2.85rem, 16vw, 4.2rem);
  }

  .phone-device {
    border-radius: 2.8rem;
    transform: none;
  }

  .actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
