:root {
  color-scheme: dark;
  --background: #101012;
  --surface: #18181c;
  --text: #f5f2f1;
  --muted: #aaa5a4;
  --line: rgba(255, 255, 255, .1);
  --red: #f06b60;
  --orange: #f5a078;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 5%, rgba(181, 66, 54, .18), transparent 34rem),
    radial-gradient(ellipse at 8% 30%, rgba(108, 48, 47, .12), transparent 32rem),
    var(--background);
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #ff9a84;
  text-underline-offset: 3px;
}

a:hover { color: #ffc0a5; }

.wrap {
  width: min(880px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(16, 16, 18, .86);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(240, 107, 96, .3), rgba(245, 160, 120, .12));
  box-shadow: 0 0 24px rgba(240, 107, 96, .16);
}

.brand-mark span {
  border-radius: 2px;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.brand-mark span:last-child { opacity: .48; }

.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 15px; }
.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.language-select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.home-link {
  color: #e7d8d5;
  font-size: 13px;
  text-decoration: none;
}

.home-link:hover { color: var(--orange); }

main { padding: 58px 0 78px; }

.eyebrow {
  margin: 0 0 12px;
  color: #f4a28d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.035em;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
}

h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
}

h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

p, li { color: #c1bcbb; }
p { margin: 10px 0; }
ul { padding-left: 23px; }
li { margin: 5px 0; }
strong { color: var(--text); }

.lead {
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 16px;
}

.legal-card {
  margin: 18px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
}

.legal-card p:first-child { margin-top: 0; }
.legal-card p:last-child { margin-bottom: 0; }

.notice {
  margin: 24px 0;
  padding: 17px 20px;
  border: 1px solid rgba(240, 107, 96, .3);
  border-radius: 14px;
  background: rgba(240, 107, 96, .07);
}

.notice p { margin: 0; }

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

.back {
  display: inline-flex;
  margin-top: 34px;
  color: #ff9a84;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.back:hover { color: #ffc0a5; }

footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: #918b8a;
  font-size: 12px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
}

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

.footer-links a {
  color: #aaa5a4;
  text-decoration: none;
}

.footer-links a:hover { color: var(--orange); }

:focus-visible {
  outline: 2px solid #ffab8c;
  outline-offset: 4px;
}

@media (max-width: 560px) {
  .wrap { width: min(880px, calc(100% - 32px)); }
  .header-row { min-height: 68px; flex-wrap: wrap; padding: 10px 0; }
  main { padding: 42px 0 58px; }
  .legal-card { padding: 18px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

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