:root {
  color-scheme: light;
  --bg: #f6f3ea;
  --bg-soft: #fffdf8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-tint: #ecf7f4;
  --text: #13212b;
  --muted: #64717a;
  --line: rgba(19, 33, 43, 0.1);
  --line-strong: rgba(19, 33, 43, 0.16);
  --teal: #138a87;
  --teal-deep: #0d6463;
  --sea: #2e7c97;
  --sand: #efe2c8;
  --signal: #d43a2f;
  --shadow: 0 26px 64px rgba(19, 33, 43, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 15%, rgba(19, 138, 135, 0.10), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(46, 124, 151, 0.10), transparent 20%),
    linear-gradient(180deg, #faf7ef 0%, #f6f3ea 38%, #fdfbf6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(19, 33, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 33, 43, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 82%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(20px, 4vw, 68px);
  background: rgba(250, 247, 239, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(19, 138, 135, 0.18);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.footer a,
.legal-shortcuts a {
  transition: color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.footer a:hover,
.legal-shortcuts a:hover {
  color: var(--teal-deep);
  transform: translateY(-1px);
}

.hero-shell,
.section {
  padding: clamp(40px, 6vw, 84px) clamp(20px, 4vw, 68px);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 640px;
  font-size: clamp(42px, 6vw, 74px);
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
}

h3 {
  font-size: 22px;
}

.lead,
.band-copy p,
.board-card p,
.faq-list p,
.support-panel p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--sea));
  box-shadow: 0 18px 38px rgba(19, 138, 135, 0.22);
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.56);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.signal-chip,
.summary-panel,
.preview-card,
.band-card,
.board-card,
.faq-list details,
.support-panel,
.legal-shortcuts {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-chip {
  padding: 16px 18px;
  border-radius: 18px;
}

.signal-chip strong,
.summary-kicker,
.support-chip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-chip span {
  color: var(--muted);
  font-size: 14px;
}

.hero-stage {
  display: grid;
  gap: 18px;
}

.summary-panel {
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(19, 138, 135, 0.10), rgba(255, 255, 255, 0.92) 48%, rgba(239, 226, 200, 0.50));
}

.summary-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.summary-list li + li {
  margin-top: 10px;
}

.preview-runway {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 320px 220px;
  gap: 18px;
}

.preview-card {
  overflow: hidden;
  border-radius: 28px;
  position: relative;
}

.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-card figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.preview-home {
  grid-row: 1 / span 2;
}

.utility-band {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.band-copy p:last-child {
  margin-top: 18px;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.band-card {
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 244, 0.82));
}

.band-index,
.feature-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--sea));
  font-size: 13px;
  font-weight: 900;
}

.section-head {
  max-width: 700px;
  margin-bottom: 30px;
}

.section-head.compact {
  max-width: 360px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 16px;
}

.board-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.90);
}

.board-card-large {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 20px;
}

.board-card-large img,
.board-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.board-card-tall {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(239, 226, 200, 0.52), rgba(255, 255, 255, 0.95));
}

.board-card-image {
  padding: 10px;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}

.faq-list p {
  margin: 12px 0 0;
}

.support-stack {
  display: grid;
  gap: 16px;
}

.support-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 226, 200, 0.55));
}

.support-meta {
  display: grid;
  gap: 12px;
}

.support-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.support-email,
.legal-shortcuts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.legal-shortcuts {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(20px, 4vw, 68px) 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  max-width: 940px;
  margin: 0 auto;
  padding: 52px 20px 80px;
}

.legal-page header {
  margin-bottom: 28px;
}

.legal-page h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page .meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
}

.legal-page a {
  color: var(--signal);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .signal-row,
  .board-grid,
  .band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-card-large,
  .board-card-tall,
  .preview-home {
    grid-column: auto;
    grid-row: auto;
  }

  .board-card-large {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .hero-shell,
  .utility-band,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .site-header,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .preview-runway {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 220px;
  }
}

@media (max-width: 640px) {
  .nav,
  .footer div {
    gap: 8px 12px;
  }

  .signal-row,
  .band-grid,
  .board-grid,
  .preview-runway {
    grid-template-columns: 1fr;
  }

  .board-card-large {
    grid-template-columns: 1fr;
  }

  .preview-runway {
    grid-template-rows: auto;
  }

  .preview-card {
    min-height: 280px;
  }

  .support-email,
  .legal-shortcuts a {
    width: 100%;
  }
}
