:root {
  --orange: #ff6508;
  --orange-dark: #c94700;
  --orange-soft: #fff0e7;
  --ink: #202124;
  --muted: #62666d;
  --line: #dedfe1;
  --surface: #f7f7f8;
  --green: #236a57;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 64px;
  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(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  padding: 8px 11px;
  border-radius: 4px;
  color: #45484d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--orange-dark);
  background: var(--orange-soft);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 112px));
  display: grid;
  align-items: end;
  color: var(--white);
  background-image: url("assets/community-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(17, 18, 20, 0.56);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 84px;
}

.hero-copy {
  max-width: 650px;
}

.hero-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffd1b4;
}

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

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

h2 {
  margin-bottom: 14px;
  font-size: 36px;
}

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

.hero-lede {
  max-width: 600px;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 21px;
}

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

.button {
  min-height: 46px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--white);
  background: var(--orange-dark);
  text-decoration: none;
  font-weight: 750;
}

.button:hover,
.button:focus-visible {
  background: #a83b00;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(32, 33, 36, 0.74);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
}

.band {
  padding: 76px 0;
}

.band-soft {
  background: var(--surface);
}

.band-dark {
  color: var(--white);
  background: var(--ink);
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading p,
.lede {
  color: var(--muted);
  font-size: 18px;
}

.band-dark .section-heading p {
  color: #d8dadd;
}

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

.value-item {
  padding-top: 18px;
  border-top: 3px solid var(--orange);
}

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

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 80px;
}

.phone-shot {
  width: 286px;
  margin: 0 auto;
  border: 8px solid var(--ink);
  border-radius: 36px;
  box-shadow: 0 18px 50px rgba(32, 33, 36, 0.18);
}

.feature-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 0 16px 34px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  position: absolute;
  top: 18px;
  left: 0;
  width: 21px;
  height: 21px;
  content: "✓";
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 21px;
  text-align: center;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #45474b;
}

.trust-item {
  min-height: 190px;
  padding: 30px;
  background: var(--ink);
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: #ffb889;
  font-size: 18px;
}

.trust-item p {
  margin: 0;
  color: #d8dadd;
}

.document-hero {
  padding: 70px 0 52px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.document-hero h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 48px;
}

.document-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.updated {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.document-layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 88px;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 70px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.toc a {
  padding: 5px 0;
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--orange-dark);
}

.document section {
  padding: 0 0 34px;
  scroll-margin-top: 90px;
}

.document section + section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.document h2 {
  font-size: 28px;
}

.document h3 {
  margin-top: 24px;
}

.document p,
.document li {
  color: #484b50;
}

.document ul,
.document ol {
  padding-left: 22px;
}

.document li + li {
  margin-top: 7px;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  background: var(--orange-soft);
}

.notice p {
  margin: 0;
  color: var(--ink);
}

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

.support-option {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.support-option p {
  margin: 0 0 14px;
  color: var(--muted);
}

.text-link {
  color: var(--orange-dark);
  font-weight: 750;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 18px 34px 18px 0;
  cursor: pointer;
  font-weight: 750;
}

details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0;
  color: #d8dadd;
  background: #17181a;
}

.footer-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand p {
  max-width: 340px;
  margin: 8px 0 0;
  color: #aeb1b6;
  font-size: 14px;
}

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

.footer-links a {
  color: #eceef0;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffb889;
}

:focus-visible {
  outline: 3px solid #0b66d9;
  outline-offset: 3px;
}

@media (max-width: 820px) {
  h1 {
    font-size: 48px;
  }

  .nav-shell {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .primary-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
  }

  .hero {
    min-height: 650px;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 76px 0 66px;
  }

  .value-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .document-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .toc {
    position: static;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    columns: 2;
  }

  .toc strong {
    column-span: all;
  }
}

@media (max-width: 560px) {
  h1,
  .document-hero h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

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

  .band {
    padding: 58px 0;
  }

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

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

  .toc {
    columns: 1;
  }
}

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