:root {
  --navy: #162033;
  --navy-2: #24314a;
  --ivory: #f7f4ee;
  --paper: #fffdf9;
  --teal: #2f7d73;
  --teal-dark: #226258;
  --blue: #4e7298;
  --amber: #d89435;
  --red: #a83f3d;
  --slate: #616b7d;
  --line: #ddd8ce;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(22, 32, 51, 0.12);
  --shadow-soft: 0 12px 36px rgba(22, 32, 51, 0.08);
  --radius: 22px;
  --radius-sm: 13px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--navy);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 82% 4%, rgba(78, 114, 152, 0.12), transparent 31rem),
    radial-gradient(circle at 7% 52%, rgba(47, 125, 115, 0.09), transparent 28rem),
    var(--ivory);
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

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

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

button,
.button {
  touch-action: manipulation;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.62em;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p,
ul,
ol {
  margin: 0 0 1.15em;
}

ul,
ol {
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.4em;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 15px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.91);
  border-bottom: 1px solid rgba(22, 32, 51, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-decoration: none;
}

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

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

.site-nav a {
  padding: 9px 12px;
  color: var(--navy);
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(47, 125, 115, 0.1);
  color: var(--teal-dark);
}

.site-nav .button,
.site-nav .button:hover {
  color: var(--white);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  min-width: 46px;
  min-height: 46px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
}

.announcement {
  color: var(--white);
  background: var(--navy);
}

.announcement .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 9px;
  font-size: 0.88rem;
  text-align: center;
}

.announcement-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--amber);
  border-radius: 50%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: center;
  gap: 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--amber);
}

.hero h1 {
  max-width: 12ch;
}

.hero .lead,
.legal-hero .lead {
  max-width: 63ch;
  color: var(--slate);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.15);
}

.button:hover {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--navy);
  background: transparent;
  border-color: rgba(22, 32, 51, 0.25);
  box-shadow: none;
}

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

.button.small {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 0.91rem;
}

.button[aria-disabled="true"],
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.hero-note {
  margin-top: 18px;
  color: var(--slate);
  font-size: 0.88rem;
}

.visual-stage {
  position: relative;
  min-height: 630px;
  display: grid;
  place-items: center;
}

.visual-stage::before {
  position: absolute;
  width: min(520px, 100%);
  aspect-ratio: 1;
  content: "";
  background: linear-gradient(145deg, rgba(47, 125, 115, 0.18), rgba(78, 114, 152, 0.09));
  border-radius: 43% 57% 63% 37% / 46% 37% 63% 54%;
  transform: rotate(-8deg);
}

.phone {
  position: relative;
  z-index: 2;
  width: 320px;
  padding: 12px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 43px;
  box-shadow: 0 35px 80px rgba(22, 32, 51, 0.25);
  transform: rotate(2.2deg);
}

.phone-screen {
  min-height: 610px;
  overflow: hidden;
  padding: 38px 17px 20px;
  background: var(--ivory);
  border-radius: 33px;
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 92px;
  height: 24px;
  background: #111827;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 2px 22px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.score-ring {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: conic-gradient(var(--teal) 0 79%, #dce6e2 79% 100%);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.score-ring::before {
  position: absolute;
}

.phone-card {
  margin: 12px 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(22, 32, 51, 0.06);
}

.phone-card.primary {
  color: var(--white);
  background: var(--navy);
  border: 0;
}

.phone-card p {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.45;
}

.phone-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  color: var(--teal-dark);
  background: rgba(47, 125, 115, 0.1);
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
}

.chip.amber {
  color: #704711;
  background: #f8e8d1;
}

.metric-float {
  position: absolute;
  z-index: 3;
  width: 190px;
  padding: 14px 16px;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(22, 32, 51, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.metric-float strong {
  display: block;
  font-size: 1.28rem;
}

.metric-float span {
  color: var(--slate);
  font-size: 0.76rem;
}

.metric-float.one {
  top: 95px;
  right: -20px;
}

.metric-float.two {
  bottom: 80px;
  left: -28px;
}

.section {
  padding: 88px 0;
}

.section.dark {
  color: var(--white);
  background: var(--navy);
}

.section.soft {
  background: rgba(255, 253, 249, 0.6);
  border-block: 1px solid rgba(22, 32, 51, 0.07);
}

.section-heading {
  max-width: 750px;
  margin-bottom: 42px;
}

.section-heading p {
  color: var(--slate);
  font-size: 1.08rem;
}

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

.grid-3,
.grid-4,
.legal-card-grid {
  display: grid;
  gap: 20px;
}

.grid-3,
.legal-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.legal-card,
.info-card {
  padding: 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.feature-card .number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--teal);
  border-radius: 13px;
  font-weight: 900;
}

.feature-card p,
.legal-card p,
.info-card p {
  color: var(--slate);
}

.feature-card p:last-child,
.legal-card p:last-child,
.info-card p:last-child {
  margin-bottom: 0;
}

.legal-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
}

.legal-card .icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--teal-dark);
  background: rgba(47, 125, 115, 0.11);
  border-radius: 14px;
  font-weight: 900;
}

.legal-card a {
  margin-top: auto;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.trust-item {
  padding: 27px;
  background: rgba(255, 255, 255, 0.035);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
}

.trust-item span {
  color: #cbd3df;
  font-size: 0.9rem;
}

.legal-hero {
  padding: 72px 0 52px;
  border-bottom: 1px solid rgba(22, 32, 51, 0.08);
}

.legal-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 24px;
  color: var(--slate);
  font-size: 0.9rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  color: #704711;
  background: #f8e8d1;
  border-radius: 999px;
  font-weight: 850;
}

.status-pill.green {
  color: var(--teal-dark);
  background: #dcece7;
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 54px;
  padding: 56px 0 92px;
}

.toc {
  position: sticky;
  top: 112px;
  padding: 20px;
  background: rgba(255, 253, 249, 0.74);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.81rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 8px;
  color: var(--slate);
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--navy);
  background: rgba(47, 125, 115, 0.08);
}

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

.policy-content > section {
  padding: 0 0 35px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

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

.policy-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.policy-content h3 {
  margin-top: 1.6em;
  letter-spacing: -0.02em;
}

.notice {
  padding: 18px 20px;
  margin: 22px 0;
  background: #f8e8d1;
  border-left: 4px solid var(--amber);
  border-radius: 0 14px 14px 0;
}

.notice.info {
  background: #e6edf4;
  border-color: var(--blue);
}

.notice.success {
  background: #dcece7;
  border-color: var(--teal);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.92rem;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--navy);
  background: #efece6;
}

tr:last-child td {
  border-bottom: 0;
}

.country-tool {
  padding: 28px;
  margin: 30px 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.country-tool label {
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
}

.country-tool select {
  width: 100%;
  min-height: 52px;
  padding: 10px 44px 10px 14px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 12px;
}

.country-result {
  min-height: 190px;
  padding-top: 22px;
}

.country-result h2 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.country-result p {
  color: #dbe1ea;
}

.country-result a {
  color: #bfe0d8;
}

.country-result .status-pill {
  margin-bottom: 13px;
}

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

.choice-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.choice-card h3 {
  margin-top: 0;
}

.choice-card .choice-status {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 850;
}

.request-builder {
  padding: 25px;
  margin-top: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.field {
  margin-bottom: 17px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #c8c4bc;
  border-radius: 11px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-help {
  margin-top: 5px;
  color: var(--slate);
  font-size: 0.82rem;
}

.copy-result {
  min-height: 1.5em;
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 800;
}

details {
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
}

details + details {
  margin-top: 12px;
}

summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 850;
}

details > div {
  padding: 0 20px 19px;
  color: var(--slate);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 30px;
  padding: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #2d4264);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.cta-panel p {
  margin: 0;
  color: #d5dce7;
}

.cta-panel .button {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.site-footer {
  padding: 58px 0 30px;
  color: #d7dde7;
  background: #101827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px;
}

.footer-brand p {
  max-width: 32ch;
  color: #aeb8c8;
}

.footer-title {
  display: block;
  margin-bottom: 13px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: #c8d0dc;
  font-size: 0.92rem;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 42px;
  color: #9da9ba;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.muted {
  color: var(--slate);
}

.kicker {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .policy-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .visual-stage {
    min-height: 670px;
  }

  .grid-4,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .legal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    min-height: 68px;
  }

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

  .site-nav {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    padding: 56px 0 60px;
  }

  .hero-grid {
    gap: 42px;
  }

  .visual-stage {
    min-height: 610px;
  }

  .phone {
    width: 285px;
  }

  .phone-screen {
    min-height: 555px;
  }

  .metric-float {
    width: 160px;
  }

  .metric-float.one {
    top: 76px;
    right: 0;
  }

  .metric-float.two {
    bottom: 58px;
    left: 0;
  }

  .section {
    padding: 65px 0;
  }

  .grid-3,
  .grid-4,
  .legal-card-grid,
  .choice-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .toc {
    display: block;
  }

  .policy-layout {
    gap: 30px;
    padding-top: 36px;
  }

  .legal-hero {
    padding-top: 50px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

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

@media (max-width: 390px) {
  .brand span {
    display: none;
  }

  .phone {
    width: 260px;
  }

  .metric-float {
    width: 145px;
    padding: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .announcement,
  .toc,
  .site-footer,
  .button-row {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .policy-layout {
    display: block;
    padding: 0;
  }

  a {
    color: #000;
  }
}
