:root {
  color-scheme: light dark;
  --bg: #edf1f3;
  --surface: #ffffff;
  --surface-strong: #f6f7f4;
  --surface-warm: #fff8e8;
  --text: #11171f;
  --muted: #566274;
  --border: rgb(17 23 31 / 12%);
  --felt: #0b3f2d;
  --felt-strong: #072c22;
  --felt-soft: #dcebe4;
  --gold: #a96f08;
  --gold-strong: #7b4d00;
  --green: #167f48;
  --blue: #275ca8;
  --teal: #247378;
  --bronze: #9a6335;
  --danger: #b3261e;
  --focus: #1d73d8;
  --shadow: 0 22px 60px rgb(8 22 30 / 16%);
  --soft-shadow: 0 12px 34px rgb(8 22 30 / 10%);
  --radius: 8px;
  --max-width: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10161d;
    --surface: #23272e;
    --surface-strong: #2f343c;
    --surface-warm: #302a1d;
    --text: #f7f9fc;
    --muted: #aab4c2;
    --border: rgb(255 255 255 / 13%);
    --felt: #0f5139;
    --felt-strong: #071f18;
    --felt-soft: #1b342b;
    --gold: #ffd11a;
    --gold-strong: #ffe071;
    --green: #2fd16b;
    --blue: #67a2ff;
    --teal: #65c1c7;
    --bronze: #d69a68;
    --danger: #ff8a80;
    --focus: #8ec5ff;
    --shadow: 0 24px 70px rgb(0 0 0 / 38%);
    --soft-shadow: 0 12px 34px rgb(0 0 0 / 26%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgb(11 63 45 / 10%), transparent 21rem),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg), var(--surface) 28%));
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

code {
  padding: 0.1rem 0.32rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  transition: transform 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding: 0.8rem 0;
}

.brand-link,
.nav-menu,
.hero-actions,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 0.7rem;
  font-weight: 850;
  text-decoration: none;
}

.brand-icon {
  border-radius: 11px;
  box-shadow: 0 10px 24px rgb(0 0 0 / 18%);
}

.nav-menu {
  gap: 0.18rem;
}

.nav-menu a {
  border-radius: 999px;
  padding: 0.62rem 0.82rem;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: var(--surface);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(100% - 2rem, var(--max-width));
  min-height: calc(100svh - 5.8rem);
  margin-inline: auto;
  padding: clamp(2.4rem, 6vw, 5.5rem) 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-lede {
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 30px rgb(22 127 72 / 24%);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 38rem;
  margin: 2rem 0 0;
}

.hero-stats div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: color-mix(in srgb, var(--surface), transparent 12%);
}

.hero-stats dt {
  color: var(--gold-strong);
  font-size: 1.55rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.device-showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 36rem;
  border: 1px solid color-mix(in srgb, var(--felt), var(--border) 38%);
  border-radius: 18px;
  background:
    linear-gradient(115deg, rgb(255 255 255 / 10%), transparent 34%),
    repeating-linear-gradient(50deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 12px),
    linear-gradient(145deg, var(--felt), var(--felt-strong));
  box-shadow: var(--shadow);
}

.phone-frame {
  margin: 0;
  width: min(82%, 19.5rem);
  border: 10px solid #141922;
  border-radius: 36px;
  padding: 0.72rem;
  background: #141922;
  box-shadow: 0 32px 70px rgb(0 0 0 / 35%);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 1131;
  border-radius: 26px;
  object-fit: contain;
}

.hero-phone {
  transform: rotate(-2deg);
}

.mini-panel {
  display: flex;
  align-items: center;
}

.mini-panel {
  position: absolute;
  right: clamp(0.75rem, 4vw, 2rem);
  bottom: clamp(0.75rem, 4vw, 2rem);
  max-width: 14rem;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: rgb(7 31 24 / 84%);
  color: #ffffff;
  box-shadow: 0 16px 36px rgb(0 0 0 / 28%);
}

.mini-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-band,
.walkthrough-band,
.trust-band,
.roadmap-band,
.content-page {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.feature-band,
.walkthrough-band,
.roadmap-band {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

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

.feature-card,
.walkthrough-step,
.prose-card,
.faq-card,
.roadmap-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.feature-card,
.walkthrough-step,
.roadmap-item {
  padding: 1.2rem;
}

.feature-card p,
.walkthrough-step p,
.trust-band p,
.prose-card p,
.faq-card p,
.prose-card li,
.roadmap-item p {
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  padding: 0 0.55rem;
  background: color-mix(in srgb, var(--gold), transparent 82%);
  color: var(--gold-strong);
  font-size: 0.8rem;
  font-weight: 900;
}

.walkthrough-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.walkthrough-step {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  justify-items: center;
}

.app-shot {
  display: block;
  width: 100%;
  max-width: 21rem;
  height: auto;
  aspect-ratio: 520 / 1131;
  border: 8px solid #151920;
  border-radius: 28px;
  background: #11171f;
  color: #ffffff;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 9%);
}

.trust-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.72fr);
  gap: 2rem;
  align-items: center;
  border-block: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.link-panel {
  display: grid;
  gap: 0.75rem;
}

.link-panel a {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

.link-panel span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.link-panel strong {
  color: var(--teal);
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.roadmap-item {
  position: relative;
  overflow: hidden;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
  background: var(--gold);
}

.roadmap-status {
  display: inline-block;
  margin-bottom: 1rem;
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  background: var(--felt-soft);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (prefers-color-scheme: dark) {
  .button-primary {
    color: #071f18;
  }
}

.content-page {
  padding: clamp(2.5rem, 6vw, 5rem) 0 5rem;
}

.policy-hero {
  margin-bottom: 1.5rem;
}

.policy-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.policy-hero p:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.prose-card,
.faq-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.legal-card {
  max-width: 58rem;
}

.prose-card h2,
.faq-card h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.prose-card h2:first-child,
.faq-card h2:first-child {
  margin-top: 0;
}

.prose-card a,
.faq-card a {
  color: var(--teal);
  font-weight: 800;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
}

.text-link-large {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  overflow-wrap: anywhere;
}

.feedback-form {
  display: grid;
  gap: 0.75rem;
}

.feedback-form label {
  font-weight: 850;
}

.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
}

.feedback-form textarea {
  resize: vertical;
}

.feedback-form .button {
  justify-self: start;
  border: 0;
}

.faq-card {
  margin-top: 1rem;
}

details {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 0.7rem 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  gap: 1rem;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-section,
  .trust-band,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .device-showcase {
    min-height: auto;
    padding: 2rem 0;
  }

  .feature-grid,
  .walkthrough-grid,
  .roadmap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.4rem;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    border-radius: 6px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats,
  .feature-grid,
  .walkthrough-grid,
  .roadmap-list {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    transform: none;
  }

  .phone-frame {
    width: min(88%, 19rem);
  }

  .mini-panel {
    position: static;
    width: min(88%, 19rem);
    margin-top: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-link span {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

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