@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0d11;
  --surface: #14171e;
  --surface-2: #1b1f28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f4f6;
  --muted: #a0a7b4;
  --faint: #6f7785;
  --accent: #ff6b35;
  --link: #ff8a5c;
  --accent-soft: rgba(255, 107, 53, 0.12);
  --on-accent: #1c0b03;
  --app-bg: #0e1014;
  --gutter: 16px;
  --radius: 20px;
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 46rem;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.sm {
  width: 18px;
  height: 18px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--link);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.6;
}

/* Buttons and pills */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: #ff7d4d;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pills li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.5rem 1.25rem 0.5rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  line-height: 1.25;
}

.store-badge .icon {
  color: var(--accent);
  fill: var(--accent);
}

.store-badge small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-badge strong {
  font-size: 1.05rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 13, 17, 0.8);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(140deg, #ff9a6b, #ff5a1f);
  color: var(--on-accent);
  font-weight: 850;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link,
.menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 40px;
  padding: 0 0.8rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover,
.menu > summary:hover,
.menu[open] > summary,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

.menu > summary {
  list-style: none;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu > summary .icon {
  transition: transform 0.2s ease;
}

.menu[open] > summary .icon {
  transform: rotate(180deg);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: var(--gutter);
  width: min(360px, calc(100% - 2 * var(--gutter)));
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.menu-label {
  margin: 0.4rem 0.75rem 0.4rem;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
}

.menu-item:hover,
.menu-item[aria-current="page"] {
  background: var(--surface-2);
}

.menu-item .app-icon {
  width: 46px;
  height: 46px;
}

.menu-item strong {
  display: block;
  font-size: 1rem;
}

.menu-item span span {
  color: var(--muted);
  font-size: 0.88rem;
}

.menu-item > .icon {
  margin-left: auto;
  color: var(--faint);
}

.menu-soon {
  margin: 0.25rem 0 0;
  padding: 0.65rem 0.75rem 0.4rem;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.85rem;
}

.app-icon {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 22%;
  background: var(--app-bg);
  box-shadow: 0 0 0 1px var(--border);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section + .section {
  padding-top: 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
}

.section-head p:not(.eyebrow) {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Home: hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  background: radial-gradient(60% 55% at 50% 0%, rgba(255, 107, 53, 0.2), transparent 75%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  max-width: 50rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 8.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.grad {
  background: linear-gradient(100deg, #ffb48f, #ff6b35 55%, #ff4d1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}

.hero .actions {
  justify-content: center;
}

/* Home: app showcase */

.showcase {
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 85% 100%, rgba(255, 107, 53, 0.16), transparent 70%),
    var(--surface);
}

.showcase-copy {
  padding: clamp(1.5rem, 5vw, 3rem);
}

.app-id {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.app-id h3 {
  font-size: 1.6rem;
}

.app-id p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.showcase-copy > p {
  color: var(--muted);
  max-width: 30rem;
}

.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 360px;
  overflow: hidden;
  padding-top: 0.5rem;
}

@media (min-width: 820px) {
  .showcase {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .showcase-visual {
    height: 440px;
    padding-top: 3rem;
  }
}

.soon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--faint);
}

/* Home: contact */

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.contact h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.contact p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

/* Phone mock-up of the app (decorative) */

.phone {
  --phone-bg: #0e1014;
  --phone-surface: #181b22;
  --phone-surface-2: #222631;
  font-size: 16px;
  width: 16em;
  flex: none;
  padding: 0.55em;
  border-radius: 2.6em;
  background: linear-gradient(160deg, #2a2f3a, #12151b);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(255, 107, 53, 0.12);
  line-height: 1.3;
  text-align: left;
  user-select: none;
}

.phone.small {
  font-size: 15px;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  height: 32em;
  padding: 0.7em 1em 1.1em;
  border-radius: 2.1em;
  background: var(--phone-bg);
  overflow: hidden;
}

.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7em;
  font-weight: 700;
  color: var(--text);
  padding: 0 0.6em;
}

.ph-island {
  width: 5.5em;
  height: 1.5em;
  border-radius: 1em;
  background: #000;
}

.ph-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.ph-top .icon {
  width: 1.25em;
  height: 1.25em;
}

.ph-round {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
}

.ph-eyebrow {
  color: var(--muted);
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ph-tag {
  padding: 0.2em 0.8em;
  border-radius: 1em;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.65em;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ph-timer {
  text-align: center;
  font-size: 3.6em;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ph-bar {
  height: 0.35em;
  border-radius: 1em;
  background: var(--phone-surface-2);
}

.ph-bar span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.ph-callout {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
  padding: 1em;
  border-radius: 1.2em;
  background: var(--phone-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ph-chip {
  align-self: flex-start;
  padding: 0.25em 0.7em;
  border-radius: 1em;
  background: var(--accent-soft);
  color: var(--link);
  font-size: 0.65em;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ph-opp {
  margin: 0;
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ph-resp {
  margin: 0;
  color: var(--muted);
  font-size: 0.85em;
}

.ph-count {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.72em;
}

.ph-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6em;
}

.ph-buttons span {
  padding: 0.75em 0;
  border-radius: 1em;
  background: var(--phone-surface-2);
  text-align: center;
  font-size: 0.8em;
  font-weight: 700;
}

/* App page */

.app-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem);
  background: radial-gradient(55% 60% at 80% 30%, rgba(255, 107, 53, 0.16), transparent 75%);
  overflow: hidden;
}

.app-hero .wrap {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.app-hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  letter-spacing: -0.04em;
  margin: 1.25rem 0 1rem;
}

.app-hero .lead {
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.app-hero .app-icon {
  width: 84px;
  height: 84px;
  box-shadow: 0 0 0 1px var(--border), 0 16px 40px rgba(255, 107, 53, 0.18);
}

.app-hero-visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .app-hero .wrap {
    grid-template-columns: 1.15fr 1fr;
  }

  .app-hero .phone {
    font-size: 17px;
  }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-size: 0.9rem;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.features {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.features li {
  padding: 1.5rem;
}

.features h3,
.info h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin: 1.1rem 0 0.45rem;
}

.features p,
.info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--link);
}

.levels {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  counter-reset: level;
}

@media (min-width: 760px) {
  .levels {
    grid-template-columns: repeat(4, 1fr);
  }
}

.levels li {
  position: relative;
  padding: 1.5rem;
  counter-increment: level;
}

.levels li::before {
  content: "Level " counter(level);
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--link);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.levels h3 {
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}

.levels p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.coach-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  color: var(--muted);
}

.coach-note .icon {
  color: var(--link);
  margin-top: 0.15rem;
}

.info-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.info .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}

.arrow-link:hover {
  text-decoration: underline;
}

/* Legal pages */

.doc-head {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 2rem;
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 107, 53, 0.12), transparent 75%);
}

.doc-head h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}

.meta {
  margin: 0;
  color: var(--faint);
  font-size: 0.95rem;
}

.doc-head .lead {
  margin: 1rem 0 0;
}

.prose {
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.prose h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 2.75rem 0 0.9rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.prose > h2:first-of-type {
  margin-top: 2.5rem;
}

.prose > h2:first-child {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: 0;
}

.prose p,
.prose li {
  color: #d3d7de;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose li::marker {
  color: var(--accent);
}

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

.summary {
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.summary h2 {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  font-size: 1.05rem;
}

.checks {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

.checks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}

.checks li:last-child {
  margin-bottom: 0;
}

.checks .icon {
  margin-top: 0.15rem;
  color: var(--link);
}

.contact-block {
  padding: 1.25rem 1.5rem;
  line-height: 1.75;
}

.steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 1rem;
}

@media (min-width: 640px) {
  .steps.two {
    grid-template-columns: 1fr 1fr;
  }
}

.steps li {
  margin: 0;
  padding: 1.35rem 1.5rem;
}

.steps .step-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--link);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps h3 {
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
}

.callout {
  padding: clamp(1.5rem, 4vw, 2rem);
  margin: 1rem 0 1.75rem;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 107, 53, 0.14), transparent 70%),
    var(--surface);
}

.callout h2 {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}

/* 404 */

.not-found {
  padding: clamp(5rem, 15vw, 9rem) 0;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  margin-bottom: 1rem;
}

.not-found p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: #090b0e;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr;
  }
}

.footer-brand p {
  margin: 0.9rem 0 0;
  max-width: 22rem;
}

.footer-title {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a,
.site-footer address a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer address a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer address {
  font-style: normal;
  line-height: 1.75;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

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

  .btn,
  .menu > summary .icon {
    transition: none;
  }
}
