:root {
  --bg: #13151a;
  --surface: #1e2128;
  --accent: #d98e31;
  --steel: #7992a8;
  --text: #ebedef;
  --muted: #9aa2ac;
  --hairline: rgba(255, 255, 255, 0.08);
  --max: 42rem;
  --inset: clamp(1.25rem, 4vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #f0a84a;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
}

.skip-link:focus {
  left: var(--inset);
  z-index: 100;
}

.corner-nav {
  position: absolute;
  left: var(--inset);
  bottom: var(--inset);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.corner-nav a {
  color: var(--muted);
  text-decoration: none;
}

.corner-nav a:hover {
  color: var(--accent);
}

main {
  max-width: calc(var(--max) + var(--inset) * 2);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 5rem) var(--inset) clamp(6rem, 14vw, 8rem);
}

.editorial-hero {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 2.5rem;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.editorial-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-tagline {
  margin: 0 0 2rem;
  max-width: 36ch;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  margin: 0;
}

.hero-metrics div {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
}

.hero-metrics dt {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-metrics dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.section-intro {
  margin-bottom: 1.75rem;
}

.section-intro h2,
.section-intro-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.section-intro p {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.9375rem;
}

.steps-features {
  margin-bottom: 3rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steps-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 50%;
}

.steps-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.steps-list p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 48ch;
}

.legal-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}

.legal-panel summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
}

.legal-panel summary::-webkit-details-marker {
  display: none;
}

.legal-panel summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--muted);
}

.legal-panel[open] summary::after {
  content: "−";
}

.legal-body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid var(--hairline);
}

.legal-body p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.support-email {
  font-size: 1rem !important;
  font-weight: 600;
}

.support-email a {
  color: var(--text);
}

.site-footer {
  padding: 1.5rem var(--inset) 5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 30rem) {
  .corner-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}
