:root {
  color-scheme: dark;
  --canvas: #070908;
  --surface: #151917;
  --surface-raised: #1d221f;
  --text: #f5f7f5;
  --muted: #a5aaa6;
  --line: #323834;
  --green: #2fa463;
  --green-bright: #67d391;
  --amber: #e0a73c;
  --blue: #6387e8;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: var(--green-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #8ae5aa;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--canvas);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 8, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--content), calc(100% - 36px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 620;
  text-decoration: none;
}

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

.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - 120px);
  min-height: 500px;
  max-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  z-index: -2;
  top: -7%;
  right: max(2vw, 20px);
  width: min(52vw, 560px);
  opacity: 0.66;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 9, 8, 0.54);
}

.hero-inner {
  width: min(var(--content), calc(100% - 36px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
  padding: 44px 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 64px;
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 0 28px;
  color: #d7dbd8;
  font-size: 23px;
  line-height: 1.42;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--text);
  font-weight: 720;
  text-decoration: none;
  text-shadow: none;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.band {
  border-bottom: 1px solid var(--line);
}

.band.alt {
  background: #0d100e;
}

.section-shell {
  width: min(var(--content), calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-intro p,
.legal-lead {
  color: var(--muted);
  font-size: 19px;
}

.feature-grid,
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature,
.type-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.feature p,
.type-item p {
  margin: 0;
  color: var(--muted);
}

.feature-mark {
  width: 38px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: var(--green);
}

.feature:nth-child(2) .feature-mark,
.type-item:nth-child(3n + 2) {
  border-color: rgba(224, 167, 60, 0.42);
}

.feature:nth-child(2) .feature-mark {
  background: var(--amber);
}

.feature:nth-child(3) .feature-mark {
  background: var(--blue);
}

.capture-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.flow-step {
  min-height: 126px;
  padding: 22px;
  background: var(--surface);
}

.flow-step strong {
  display: block;
  margin-bottom: 7px;
}

.flow-step span {
  color: var(--muted);
  font-size: 15px;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: start;
}

.plain-list {
  margin: 0;
  padding-left: 22px;
}

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

.legal-hero {
  border-bottom: 1px solid var(--line);
  background: #0d100e;
}

.legal-hero .section-shell {
  padding-top: 70px;
  padding-bottom: 58px;
}

.legal-hero h1 {
  font-size: 48px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 740px);
  gap: 54px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
}

.legal-toc a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.legal-copy section {
  scroll-margin-top: 94px;
  padding-bottom: 34px;
}

.legal-copy h2 {
  font-size: 27px;
}

.legal-copy h3 {
  margin-top: 24px;
  font-size: 19px;
}

.legal-copy p,
.legal-copy li {
  color: #c7cbc8;
}

.legal-copy li + li {
  margin-top: 8px;
}

.notice {
  margin: 20px 0;
  padding: 16px;
  border-left: 4px solid var(--amber);
  background: rgba(224, 167, 60, 0.08);
  color: #d8d2c3;
}

.support-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  width: min(var(--content), calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-nav a:not(.nav-support) {
    display: none;
  }

  .hero {
    height: calc(100svh - 112px);
    min-height: 520px;
  }

  .hero-media {
    top: 4%;
    right: -24%;
    width: 90vw;
    opacity: 0.4;
  }

  .hero-scrim {
    background: rgba(7, 9, 8, 0.62);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 20px;
  }

  .feature-grid,
  .type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capture-flow {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-callout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .hero-inner,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, var(--content));
  }

  .hero {
    min-height: 500px;
  }

  .hero-copy {
    padding-top: 28px;
  }

  h1 {
    font-size: 43px;
  }

  .section-shell {
    padding: 62px 0;
  }

  .feature-grid,
  .type-grid,
  .capture-flow {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: auto;
  }

  .legal-hero h1 {
    font-size: 39px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

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

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