:root {
  --bg: #0b0b0f;
  --surface: #14161d;
  --surface-strong: #1a1d26;
  --surface-muted: #202430;
  --border: #303543;
  --text: #f5f7fb;
  --muted: #a1a7b7;
  --muted-soft: #757c90;
  --accent: #6d93ff;
  --accent-strong: #86a6ff;
  --ink: #080a10;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header,
.hero,
.section,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  background: rgba(11, 11, 15, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand-lockup,
.site-nav,
.footer-links,
.cta-row,
.trust-list {
  display: flex;
  align-items: center;
}

.hero-copy,
.setup-panel,
.numbered-flow li,
.numbered-flow p {
  min-width: 0;
}

.wordmark {
  width: 142px;
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

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

.header-action {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: center;
  min-height: 660px;
  padding: 72px 0;
}

.legal-hero {
  grid-template-columns: 1fr;
  min-height: 430px;
}

.eyebrow,
.panel-kicker,
.platform-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: break-word;
}

h1 {
  font-family: "Island Moments", cursive;
  font-size: 96px;
  font-weight: 400;
  line-height: 0.9;
}

h2 {
  max-width: 720px;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-subtitle,
.section-heading p,
.step-card p,
.download-card p,
.boundary-card li,
.faq-card p,
.panel-note,
.download-note,
.site-footer p,
.numbered-flow p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 660px;
  margin-top: 18px;
  font-size: 20px;
}

.policy-date {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.cta-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid transparent;
  text-align: center;
  white-space: normal;
}

.primary-button {
  color: var(--ink);
  background: var(--accent-strong);
}

.primary-button:hover {
  background: #9bb6ff;
}

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

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

.trust-list {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.trust-list li,
.install-state {
  max-width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  white-space: normal;
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.setup-panel,
.step-card,
.download-card,
.boundary-card,
.faq-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.setup-panel {
  padding: 24px;
}

.numbered-flow {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.numbered-flow li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
}

.numbered-flow span,
.step-index {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
}

.panel-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p {
  margin-top: 14px;
  font-size: 17px;
}

.step-grid,
.download-grid,
.boundary-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.download-card,
.boundary-card,
.faq-card,
.legal-card {
  padding: 22px;
}

.step-card {
  display: grid;
  gap: 18px;
}

.download-grid,
.boundary-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.download-card .button {
  width: fit-content;
}

.install-state.is-live {
  color: #b7f7cf;
  border-color: #357a52;
  background: #14251c;
}

.download-note.is-live {
  color: #b7f7cf;
}

.boundary-card ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 16px 0 0;
}

.faq-grid {
  align-items: stretch;
}

.faq-card h3,
.boundary-card h3,
.download-card h3 {
  margin-bottom: 10px;
}

.legal-section {
  display: grid;
  gap: 16px;
}

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

.legal-card h2 {
  font-size: 28px;
}

.legal-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0 46px;
  border-top: 1px solid var(--border);
}

.footer-wordmark {
  width: 124px;
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 800;
}

.footer-links {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 56px 0;
    gap: 28px;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .step-grid,
  .download-grid,
  .boundary-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(70vw, 280px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wordmark {
    width: 120px;
  }

  .header-action {
    width: 100%;
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .site-nav {
    grid-column: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero-copy,
  .setup-panel,
  .section-heading,
  .step-card,
  .download-card,
  .boundary-card,
  .faq-card {
    width: 100%;
    max-width: 100%;
  }

  .cta-row,
  .trust-list {
    width: 100%;
  }

  .trust-list li,
  .install-state {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .button,
  .download-card .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
