:root {
  --void: #0a0a0b;
  --graphite-deep: #151617;
  --line: #303236;
  --ash: #797d86;
  --text: #ffffff;
  --brand: #ff4700;
  --font: ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--void);
  color: var(--text);
  font-family: var(--font);
}
::selection {
  background: color-mix(in srgb, var(--brand) 45%, #000);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2 { margin: 0; font-weight: 500; text-wrap: balance; }
h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  max-width: 14ch;
}
h2 { font-size: 22px; margin: 0 0 12px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--brand); color: #000; padding: 8px 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.stage {
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 20px 28px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.wordmark img {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 22.4%;
}
.nav-links { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nav-links .text-btn { text-decoration: none; }
.text-btn {
  background: none;
  border: 0;
  color: var(--ash);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}
.text-btn:hover { color: var(--text); }
.text-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9999px;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  background: var(--text);
  color: var(--graphite-deep);
  cursor: pointer;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 11px 22px;
}

.hero {
  display: grid;
  align-items: center;
  padding: 0 28px 40px;
  min-height: 0;
}
.copy { max-width: 520px; min-width: 0; }
.brand {
  margin: 0 0 10px;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 500;
  line-height: 0.95;
  color: var(--brand);
}
.lede {
  color: var(--ash);
  font-size: 16px;
  line-height: 1.55;
  max-width: 40ch;
  text-wrap: pretty;
  margin: 14px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fact {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ash);
}
.icon-wrap {
  display: none;
  position: relative;
  min-height: 0;
  place-items: center;
}
.icon-wrap img {
  width: min(72%, 440px);
  height: auto;
  object-fit: contain;
  border-radius: 22.4%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}
[hidden] { display: none !important; }

html:has(main.legal), body:has(main.legal) {
  overflow: auto;
  height: auto;
}
.legal { padding: 48px 24px; max-width: 640px; }
.legal a { color: var(--brand); }
.legal h1 { max-width: none; }
.legal h2 { margin-top: 36px; }
.legal h3 {
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 500;
}
.legal .lede { max-width: 52ch; }
.legal .steps { margin: 24px 0 0; padding: 0 0 0 22px; color: var(--ash); line-height: 1.7; }
.legal .hero-actions { margin-top: 28px; }

.compare-scroll {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
}
.compare-scroll:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  font-weight: 400;
  line-height: 1.45;
}
.compare thead th {
  color: var(--text);
  font-weight: 500;
}
.compare tbody th {
  color: var(--text);
  width: 7.5rem;
  padding-right: 16px;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(280px, 0.92fr) 1.08fr;
    gap: 8px 32px;
  }
  .icon-wrap { display: grid; height: 100%; }
}

@media (max-width: 799px) {
  h1 { font-size: 28px; max-width: none; }
  .brand { font-size: 44px; }
  .hero { align-content: center; gap: 12px; }
  .icon-wrap {
    display: grid;
    max-height: 28svh;
    width: min(240px, 70vw);
    justify-self: center;
  }
}

@media (max-width: 679px) {
  .compare { min-width: 620px; }
}

@media (max-width: 359px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    padding: 18px 20px;
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: auto;
  }
  .nav-links .text-btn { min-width: 0; }
  .nav-links .text-btn:nth-child(2) { text-align: center; }
  .nav-links .text-btn:last-child { text-align: right; }
}

@media (max-height: 700px) {
  .brand { font-size: 36px; }
  h1 { font-size: 26px; }
  .lede { font-size: 14px; }
  .hero-actions { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
