:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5c6874;
  --paper: #ffffff;
  --soft: #f3f7f8;
  --line: #dce4e8;
  --navy: #10223a;
  --blue: #156fa8;
  --cyan: #47b8cc;
  --red: #d93d4f;
  --green: #2d8a65;
  --shadow: 0 16px 42px rgba(16, 34, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

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

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

a:hover {
  color: var(--red);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 70px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(760px, 78svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 18, 30, 0.48);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 64px;
  color: #fff;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-primary:hover {
  color: #fff;
  background: #b92f40;
}

.button-secondary {
  color: #fff;
  background: rgba(16, 34, 58, 0.76);
  border-color: rgba(255, 255, 255, 0.52);
}

.button-secondary:hover {
  color: #fff;
  background: var(--navy);
}

.band {
  padding: 76px 0;
}

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

.band-dark {
  color: #fff;
  background: var(--navy);
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2,
.support-intro h1,
.legal-heading h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p,
.support-intro p,
.legal-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.feature-card {
  min-height: 250px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 22px;
}

.feature-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.two-column {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.two-column h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.18;
}

.two-column p {
  color: rgba(255, 255, 255, 0.78);
}

.safety-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.safety-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 650;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-list a {
  padding: 18px 0;
  color: var(--ink);
  border-top: 3px solid var(--line);
  font-weight: 750;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--blue);
  border-color: var(--cyan);
}

.download-band {
  padding: 42px 0;
  color: #fff;
  background: var(--navy);
}

.download-shell {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.download-shell > img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
}

.download-shell h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.download-shell p:not(.eyebrow) {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.download-notice {
  min-height: 26px;
  width: min(1100px, calc(100% - 40px));
  margin: 12px auto 0;
  color: #b8e8d3;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.page-hero {
  padding: 64px 0 50px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.legal-heading,
.support-intro {
  width: min(950px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-heading .document-meta {
  color: var(--green);
  font-weight: 750;
}

.legal-layout {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 90px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

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

.legal-toc a:hover {
  color: var(--blue);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 34px;
  margin: 0 0 34px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.25;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.address {
  padding-left: 18px;
  border-left: 4px solid var(--cyan);
}

.support-layout {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 90px;
}

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

.support-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-card h2 {
  margin: 0;
  font-size: 23px;
}

.support-card p {
  color: var(--muted);
}

.contact-band {
  margin-top: 52px;
  padding: 38px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.contact-band h2 {
  margin: 0;
  font-size: 30px;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-heading {
  max-width: 720px;
}

.contact-heading .eyebrow {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

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

.contact-form label:not(.form-consent) {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 2px solid transparent;
  border-radius: 6px;
  font: inherit;
  line-height: 1.45;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(71, 184, 204, 0.2);
}

.form-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.form-consent input {
  width: 19px;
  min-height: 19px;
  margin: 3px 0 0;
  accent-color: var(--cyan);
}

.form-consent a,
.text-link {
  color: #fff;
}

.contact-band .form-hint,
.contact-band .form-status {
  margin: 0;
  font-size: 14px;
}

.contact-band .form-status {
  min-height: 24px;
  color: #b8e8d3;
  font-weight: 750;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.text-link {
  font-size: 14px;
}

.site-footer {
  padding: 38px 0;
  background: #0b1727;
  color: rgba(255, 255, 255, 0.74);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.footer-links a {
  color: #fff;
  font-size: 14px;
}

@media (max-width: 900px) {
  .feature-grid,
  .link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }
}

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

  .nav-shell {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 8px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-image {
    object-position: center 65%;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding: 54px 0 44px;
  }

  .hero h1 {
    font-size: 43px;
  }

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

  .band {
    padding: 58px 0;
  }

  .section-shell,
  .footer-shell,
  .legal-heading,
  .support-intro,
  .legal-layout,
  .support-layout {
    width: min(100% - 32px, 1100px);
  }

  .section-head h2,
  .support-intro h1,
  .legal-heading h1 {
    font-size: 34px;
  }

  .feature-grid,
  .link-list,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

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

  .legal-content h2 {
    font-size: 24px;
  }

  .contact-band {
    padding: 26px;
  }

  .download-shell {
    width: min(100% - 32px, 1100px);
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .download-shell > img {
    width: 74px;
    height: 74px;
  }

  .download-shell .button {
    grid-column: 1 / -1;
  }

  .download-notice {
    width: min(100% - 32px, 1100px);
    text-align: left;
  }

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

  .form-actions .button {
    width: 100%;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

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