:root {
  color-scheme: light dark;
  --background: #f7faf8;
  --surface: #ffffff;
  --surface-raised: #e9efec;
  --text: #101714;
  --muted: #52615a;
  --line: #cbd7d1;
  --green: #087a3c;
  --blue: #006bb6;
  --orange: #b95712;
  --link-hover: #004f88;
  --header-line: rgba(16, 23, 20, 0.12);
  --header-background: rgba(247, 250, 248, 0.96);
  --hero-background: #e9f1ed;
  --hero-detail: #34443c;
  --hero-mark-opacity: 0.18;
  --button-text: #ffffff;
  --button-hover: #005793;
  --secondary-border: #667a70;
  --secondary-button-background: rgba(255, 255, 255, 0.72);
  --value-background: #e4eee9;
  --alt-background: #edf3f5;
  --plus-border: #5c9d75;
  --plus-background: #e1f3e7;
  --contact-background: #e6efe9;
  --legal-text: #33413a;
  --footer-background: #e8eeeb;
  --content: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #07100d;
    --surface: #121a18;
    --surface-raised: #1b2224;
    --text: #f5f7f4;
    --muted: #a8b1ac;
    --line: #34413c;
    --green: #2bd86f;
    --blue: #1596f5;
    --orange: #ff973d;
    --link-hover: #66baff;
    --header-line: rgba(255, 255, 255, 0.1);
    --header-background: rgba(7, 16, 13, 0.94);
    --hero-background: #0b1712;
    --hero-detail: #d0d7d3;
    --hero-mark-opacity: 0.22;
    --button-text: #001525;
    --button-hover: #56b5ff;
    --secondary-border: #82918a;
    --secondary-button-background: rgba(7, 16, 13, 0.78);
    --value-background: #0e1814;
    --alt-background: #0d1517;
    --plus-border: #28734a;
    --plus-background: #10251a;
    --contact-background: #13201b;
    --legal-text: #cbd2ce;
    --footer-background: #050b09;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--header-line);
  background: var(--header-background);
}

.nav-shell,
.content-shell,
.legal-shell,
.footer-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

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

.language-link {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(720px, calc(100svh - 112px));
  overflow: hidden;
  background: var(--hero-background);
}

.hero-brand-mark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(2rem, calc((100vw - var(--content)) / 2));
  width: min(34vw, 420px);
  height: auto;
  border-radius: 22%;
  opacity: var(--hero-mark-opacity);
  transform: translateY(-50%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.25;
}

.hero-detail {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: var(--hero-detail);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--button-text);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--button-hover);
  color: var(--button-text);
}

.button.secondary {
  border-color: var(--secondary-border);
  background: var(--secondary-button-background);
  color: var(--text);
}

.status-line {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.value-strip {
  border-block: 1px solid var(--line);
  background: var(--value-background);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-item {
  min-height: 124px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.value-item:last-child {
  border-right: 0;
}

.value-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.value-item span {
  color: var(--muted);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section.alt {
  background: var(--alt-background);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading h2,
.legal-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 4.8vw, 4.3rem);
}

.section-heading p,
.legal-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.step {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--line);
}

.step + .step {
  padding-left: 2rem;
}

.step:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.step h3,
.feature h3,
.plan h3,
.compatibility-item h3,
.provider-request h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.step p,
.feature p,
.plan p,
.compatibility-item p,
.provider-request p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 220px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-mark {
  display: block;
  width: 2rem;
  height: 0.35rem;
  margin-bottom: 2rem;
  background: var(--blue);
}

.feature:nth-child(2) .feature-mark,
.feature:nth-child(3) .feature-mark {
  background: var(--green);
}

.feature:nth-child(4) .feature-mark {
  background: var(--orange);
}

.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.compatibility-item {
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.compatibility-item:first-child {
  padding-left: 0;
}

.compatibility-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.provider-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
}

.provider-request > div {
  max-width: 700px;
}

.provider-request .button {
  flex: 0 0 auto;
}

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

.plan {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.plan.plus {
  border-color: var(--plus-border);
  background: var(--plus-background);
}

.plan-label {
  margin: 0 0 1.5rem;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan ul,
.check-list {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
}

.plan li,
.check-list li {
  margin-block: 0.5rem;
}

.store-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-band {
  border-block: 1px solid var(--line);
  background: var(--contact-background);
}

.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 3rem;
}

.contact-layout h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.contact-layout p {
  margin: 0;
  color: var(--muted);
}

.legal-main {
  padding-block: 4rem 7rem;
}

.legal-shell {
  max-width: 820px;
}

.legal-header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  max-width: 18ch;
}

.legal-meta {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-content {
  padding-top: 1rem;
}

.legal-content section {
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 1rem;
  font-size: 1.55rem;
}

.legal-content h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.08rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  color: var(--legal-text);
}

.legal-content li + li {
  margin-top: 0.65rem;
}

.notice {
  padding: 1.25rem;
  border-left: 4px solid var(--orange);
  background: var(--surface);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 750;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--footer-background);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  padding-block: 3rem;
}

.footer-shell p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.85rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.8rem 1rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .language-link {
    margin-left: auto;
  }

  .hero {
    min-height: calc(100svh - 160px);
  }

  .hero-brand-mark {
    right: -8vw;
    width: min(62vw, 360px);
  }

  .hero-copy {
    padding-block: 4rem;
  }

  .value-grid,
  .steps,
  .feature-grid,
  .plan-grid,
  .compatibility-grid {
    grid-template-columns: 1fr;
  }

  .value-item,
  .value-item:last-child,
  .step,
  .step + .step,
  .step:last-child {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-item:last-child,
  .step:last-child {
    border-bottom: 0;
  }

  .compatibility-item,
  .compatibility-item:first-child,
  .compatibility-item:last-child {
    padding: 1.4rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .compatibility-item:last-child {
    border-bottom: 0;
  }

  .provider-request {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-layout,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .nav-links a {
    white-space: nowrap;
  }

  .hero-brand-mark {
    right: -24vw;
    width: min(86vw, 340px);
  }

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

  .feature,
  .plan {
    padding: 1.4rem;
  }
}

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