@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #0d120f;
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: #0d120f;
}

body {
  color: #f4f0e6;
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

button,
input {
  font: inherit;
}

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

a {
  color: #173f35;
  text-decoration: none;
}

button:not(:disabled),
a[href] {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

summary::-webkit-details-marker {
  display: none;
}

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

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f4f0e6;
  color: #151817;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

[data-problem-grid] {
  grid-template-columns: minmax(0, 1fr) !important;
}

[data-menu-toggle] {
  display: grid !important;
}

[data-desktop-nav],
[data-header-cta],
[data-hero-aside] {
  display: none !important;
}

[data-mobile-nav] button,
[data-start-link],
[data-demo-link] {
  touch-action: manipulation;
}

[data-target-choice][aria-pressed="true"],
[data-miles-choice][aria-pressed="true"] {
  border-color: #c8933d !important;
  background: rgba(200, 147, 61, 0.12) !important;
  color: #f4f0e6 !important;
}

@keyframes kwBar {
  0%,
  100% { transform: scaleY(0.28); }
  50% { transform: scaleY(1); }
}

@keyframes kwPulse {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (min-width: 768px) {
  [data-problem-grid] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 940px) {
  [data-menu-toggle],
  [data-mobile-nav] {
    display: none !important;
  }

  [data-desktop-nav] {
    display: flex !important;
  }

  [data-header-cta] {
    display: flex !important;
  }

  [data-hero-aside] {
    display: grid !important;
  }
}

@media (min-width: 1280px) {
  [data-problem-grid] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  h1,
  h2,
  h3,
  p {
    overflow-wrap: anywhere;
  }

  [data-sticky-cta] {
    padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
  }
}

@media (hover: hover) {
  button:hover,
  a:hover {
    filter: brightness(1.08);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 4%, rgba(200, 147, 61, 0.09), transparent 28rem),
    #0d120f;
}

.legal-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 40px);
  border-bottom: 1px solid #2b3730;
  background: rgba(13, 18, 15, 0.94);
  backdrop-filter: blur(16px);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f4f0e6;
  font-size: 24px;
  letter-spacing: -0.05em;
}

.legal-brand img {
  display: block;
  width: 38px;
  height: 36px;
}

.legal-header nav,
.legal-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 24px);
}

.legal-header nav a,
.legal-footer a {
  color: #c6c4ba;
  font-size: 13px;
  font-weight: 650;
}

.legal-header nav a[aria-current="page"] {
  color: #d7a957;
}

.legal-header .legal-signin {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #46584e;
  border-radius: 10px;
  color: #f4f0e6;
}

.legal-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 104px) clamp(18px, 4vw, 40px) clamp(72px, 9vw, 120px);
}

.legal-hero {
  max-width: 780px;
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid #2b3730;
}

.legal-kicker,
.legal-date,
.legal-toc > p {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
}

.legal-kicker {
  margin: 0 0 15px;
  color: #d7a957;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.legal-hero h1 {
  margin: 0;
  color: #f4f0e6;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.legal-date {
  margin: 22px 0 0;
  color: #989b92;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.legal-document {
  color: #c6c4ba;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.75;
}

.legal-intro {
  margin: clamp(32px, 5vw, 54px) 0 0;
  color: #f4f0e6;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.58;
}

.legal-summary {
  margin: 30px 0;
  padding: 22px 24px;
  border: 1px solid rgba(215, 169, 87, 0.42);
  border-radius: 14px;
  background: rgba(215, 169, 87, 0.08);
}

.legal-summary strong {
  color: #f4f0e6;
  font-size: 15px;
}

.legal-summary p {
  margin: 8px 0 0;
}

.legal-toc {
  margin: 34px 0 clamp(52px, 8vw, 82px);
  padding: 24px;
  border: 1px solid #2b3730;
  border-radius: 14px;
  background: #111813;
}

.legal-toc > p {
  margin: 0 0 16px;
  color: #d7a957;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.legal-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 0;
  padding-left: 22px;
}

.legal-toc li {
  padding-left: 3px;
  color: #7f8c84;
  font: 500 13px/1.55 "IBM Plex Mono", ui-monospace, monospace;
}

.legal-toc a,
.legal-document a {
  color: #d7a957;
  text-decoration: underline;
  text-decoration-color: rgba(215, 169, 87, 0.45);
  text-underline-offset: 3px;
}

.legal-section {
  scroll-margin-top: 96px;
  padding: clamp(34px, 5vw, 52px) 0;
  border-top: 1px solid #2b3730;
}

.legal-toc + .legal-section {
  border-top: 0;
}

.legal-section h2 {
  margin: 0 0 20px;
  color: #f4f0e6;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.legal-section h3 {
  margin: 30px 0 10px;
  color: #f4f0e6;
  font-size: 18px;
  line-height: 1.35;
}

.legal-section p {
  margin: 0 0 18px;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.legal-section li {
  margin: 0 0 10px;
  padding-left: 4px;
}

.legal-section strong {
  color: #f4f0e6;
}

.legal-section address {
  padding: 20px 22px;
  border-left: 3px solid #c8933d;
  background: #111813;
  color: #f4f0e6;
  font-style: normal;
}

.legal-emphasis {
  margin: 0 clamp(-18px, -2vw, -24px);
  padding-right: clamp(18px, 2vw, 24px);
  padding-left: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(215, 169, 87, 0.32);
  border-radius: 14px;
  background: rgba(215, 169, 87, 0.045);
}

.legal-emphasis + .legal-emphasis {
  margin-top: 20px;
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 40px);
  border-top: 1px solid #2b3730;
  background: #0d120f;
}

.legal-footer p {
  margin: 0;
  color: #989b92;
  font: 500 10px/1.5 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .legal-header nav a:not(.legal-signin) {
    display: none;
  }

  .legal-toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .legal-footer nav {
    flex-wrap: wrap;
  }
}

.content-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 2%, rgba(200, 147, 61, 0.11), transparent 32rem),
    #0d120f;
}

.content-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  padding: 12px clamp(18px, 4vw, 40px);
  border-bottom: 1px solid #2b3730;
  background: rgba(13, 18, 15, 0.94);
  backdrop-filter: blur(16px);
}

.content-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  color: #f4f0e6;
  font-size: 22px;
  letter-spacing: -0.05em;
}

.content-brand img {
  display: block;
}

.content-brand strong {
  font-weight: 800;
}

.content-brand span {
  font-weight: 600;
}

.content-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.content-header nav a,
.content-signin {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #c6c4ba;
  font-size: 14px;
  font-weight: 600;
}

.content-signin {
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid #46584e;
  border-radius: 10px;
}

.content-shell {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px) 80px;
}

.content-hero {
  padding: clamp(64px, 9vw, 128px) 0 clamp(52px, 7vw, 96px);
}

.content-kicker {
  margin: 0 0 15px;
  color: #c8933d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.content-hero h1 {
  max-width: 930px;
  margin: 0;
  color: #f4f0e6;
  font-size: clamp(38px, 6.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.content-lede {
  max-width: 820px;
  margin: 28px 0 0;
  color: #c6c4ba;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.content-primary,
.content-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 11px;
  font-weight: 800;
}

.content-primary {
  border: 1px solid #f4f0e6;
  background: #f4f0e6;
  color: #151817;
}

.content-secondary {
  border: 1px solid #46584e;
  color: #f4f0e6;
}

.content-section {
  padding: clamp(48px, 7vw, 86px) 0;
  border-top: 1px solid #2b3730;
}

.content-section-alt {
  position: relative;
}

.content-section-alt::before {
  position: absolute;
  z-index: -1;
  inset: 16px clamp(-36px, -2vw, -20px);
  border-radius: 24px;
  background: rgba(30, 40, 34, 0.58);
  content: "";
}

.content-section h2,
.content-final h2 {
  max-width: 820px;
  margin: 0 0 22px;
  color: #f4f0e6;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.content-section > p,
.content-final p {
  max-width: 820px;
  color: #c6c4ba;
  font-size: 17px;
  line-height: 1.75;
}

.content-section p a {
  color: #d7a957;
  text-decoration: underline;
  text-decoration-color: rgba(215, 169, 87, 0.45);
  text-underline-offset: 4px;
}

.content-grid,
.content-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.content-grid article,
.content-steps article {
  padding: clamp(21px, 3vw, 32px);
  border: 1px solid #2b3730;
  border-radius: 17px;
  background: #151b17;
}

.content-grid h3,
.content-steps h3 {
  margin: 0;
  color: #f4f0e6;
  font-size: 20px;
}

.content-grid p,
.content-steps p {
  margin: 12px 0 0;
  color: #989b92;
  font-size: 15px;
  line-height: 1.65;
}

.content-steps article > span {
  display: block;
  margin-bottom: 20px;
  color: #c8933d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.content-checklist {
  max-width: 850px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.content-checklist li {
  position: relative;
  padding: 13px 0 13px 32px;
  border-top: 1px solid #2b3730;
  color: #c6c4ba;
  font-size: 16px;
  line-height: 1.55;
}

.content-checklist li::before {
  position: absolute;
  top: 20px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #80aa8e;
  content: "";
}

.content-faq-list {
  border-top: 1px solid #46584e;
}

.content-faq-list details {
  border-bottom: 1px solid #2b3730;
}

.content-faq-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #f4f0e6;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.content-faq-list summary span {
  color: #c8933d;
}

.content-faq-list p {
  max-width: 820px;
  margin: 0 0 22px;
  color: #c6c4ba;
  font-size: 16px;
  line-height: 1.7;
}

.content-final {
  padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 60px);
  border: 1px solid #46584e;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(200, 147, 61, 0.13), #173f35 70%);
}

.content-final .content-primary {
  margin-top: 12px;
}

.content-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 40px);
  border-top: 1px solid #2b3730;
  color: #989b92;
  font-size: 13px;
}

.content-footer p {
  margin: 0;
}

.content-footer nav {
  display: flex;
  gap: 18px;
}

.content-footer a {
  color: #c6c4ba;
}

@media (max-width: 900px) {
  .content-header nav {
    display: none;
  }
}

@media (max-width: 680px) {
  .content-grid,
  .content-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-signin {
    margin-left: auto;
  }
}
