@font-face {
  font-family: "Vela Sans";
  src: url("/fonts/VelaSans-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Vela Sans";
  src: url("/fonts/VelaSans-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Vela Sans";
  src: url("/fonts/VelaSans-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Vela Sans";
  src: url("/fonts/VelaSans-ExtraBold.woff") format("woff");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("/fonts/Lexend-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("/fonts/Lexend-SemiBold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("/fonts/Lexend-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.public-page {
  --ink: #0b0b0d;
  --ink-2: #363638;
  --text: #363638;
  --muted: #68686d;
  --muted-2: #7a7a80;
  --line: #dedee2;
  --line-soft: #ececef;
  --soft: #f3f3f5;
  --surface: #ffffff;
  --white: #ffffff;
  --green: #48bf9c;
  --green-dark: #148564;
  --red: #ea4335;
  --yellow: #fbbc04;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: "Vela Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.public-page h1,
.public-page h2,
.public-page h3,
.public-page h4 {
  color: var(--ink);
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.public-page a { color: inherit; }
.public-page img { display: block; }
.public-page .shell { width: min(1280px, calc(100% - 40px)); }
.landing-container { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: 20px; }

.public-page .eyebrow {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
}

.public-page :focus-visible {
  outline: 3px solid rgba(66, 133, 244, .5);
  outline-offset: 3px;
}

.landing-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.landing-header .header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.landing-header .brand-link { gap: 14px; }
.landing-header .brand-link img { width: 123px; }
.landing-header .brand-link span {
  padding-left: 14px;
  border-left-color: var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.landing-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 38px); }
.landing-nav a { color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; }
.landing-nav a:hover { color: var(--green-dark); }

.public-page .button {
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.public-page .button-small { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.landing-header .header-action,
.public-page .button.primary { background: var(--green-dark); color: var(--white); box-shadow: none; text-decoration: none; }
.landing-header .header-action:hover,
.public-page .button.primary:hover { background: #0f6c51; }
.public-page .button.ghost { border-color: var(--line); background: var(--white); color: var(--text); }

.public-page .hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(490px, .95fr);
  grid-template-areas: "copy wizard";
  align-items: center;
  column-gap: clamp(42px, 5.2vw, 78px);
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(78px, 8vw, 112px);
  scroll-margin-top: 78px;
}

.public-page .hero-copy { align-self: center; }
.public-page .hero h1 {
  max-width: 690px;
  margin: 18px 0 20px;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.public-page .hero-lede {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.live-dot { background: var(--green); box-shadow: 0 0 0 5px rgba(72, 191, 156, .12); }

.signal-list {
  max-width: 650px;
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.signal-list li {
  min-height: 53px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.signal-list img { width: 21px; height: 21px; }
.signal-list strong { color: var(--ink); }
.signal-number { color: var(--green-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.hero-trust span { position: relative; padding-left: 14px; color: var(--muted); font-size: 12px; font-weight: 700; }
.hero-trust span::before { content: ""; position: absolute; top: .45em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.public-page .wizard-card {
  min-height: 0;
  padding: clamp(25px, 2.7vw, 36px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: none;
}

.public-page .wizard-head h2 { margin-top: 7px; font-size: 26px; }
.public-page .step-count { border-radius: 999px; background: var(--soft); color: var(--muted); }
.public-page .progress { margin: 27px 0 30px; }
.public-page .progress li { border-top-color: var(--line); color: var(--muted); }
.public-page .progress li.active,
.public-page .progress li.done { border-color: var(--green-dark); color: var(--ink); }
.public-page .progress li span { background: var(--soft); }
.public-page .progress li.active span,
.public-page .progress li.done span { background: var(--green-dark); }

.public-page .step-intro h3 { font-size: 20px; }
.public-page .step-intro p { color: var(--muted); font-size: 13px; }
.public-page .step-intro-lead { margin-bottom: 27px; }
.public-page .step-intro-lead p {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.42;
}
.public-page .field > span { color: var(--ink); font-size: 13px; }
.public-page .field em { color: var(--green-dark); }
.public-page .field input,
.public-page .field select,
.public-page .tag-editor {
  border-color: var(--line);
  border-radius: 4px;
  background: var(--white);
}

.public-page .field input:focus,
.public-page .field select:focus,
.public-page .tag-editor:focus-within {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(72, 191, 156, .18);
}

.public-page .tag { border-radius: 3px; background: #e7f6f1; color: var(--text); }
.public-page .tag.page-tag { background: #eef3fb; }
.public-page .tag-add { border-radius: 999px; background: var(--soft); }
.public-page .monitor-summary { border-radius: 4px; background: #edf8f4; }
.public-page .check-row { border-radius: 4px; }
.public-page .submission-note { background: #fff9e6; }
.public-page .form-status { border-radius: 4px; }

.market-section {
  scroll-margin-top: 78px;
  padding: clamp(78px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.market-heading {
  display: block;
}

.market-heading h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.market-heading h2 strong { font-weight: 800; }

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: 16px;
  margin-top: 52px;
}

.market-visual,
.country-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.market-visual { min-width: 0; padding: 24px; }
.skip-map { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-map:focus { z-index: 3; width: auto; height: auto; padding: 9px 12px; overflow: visible; clip: auto; border-radius: 3px; background: var(--ink); color: white; }
.market-map-frame { position: relative; min-height: 380px; display: grid; place-items: center; overflow: hidden; }
.map-loading { margin: 0; color: var(--muted); font-size: 14px; }
.referral-map { width: 100%; height: auto; overflow: visible; touch-action: pan-y; user-select: none; }
.market-map-frame.is-zoomed .referral-map { touch-action: none; cursor: grab; }
.market-map-frame.is-panning .referral-map { cursor: grabbing; }
.map-country {
  vector-effect: non-scaling-stroke;
  stroke: rgba(255, 255, 255, .92);
  stroke-width: .8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 160ms ease, stroke 160ms ease;
}
.map-country.outside-scope { fill: #e8e8eb; }
.map-country.band-low { fill: #cce8df; }
.map-country.band-mid { fill: #91d7c3; }
.map-country.band-high { fill: #48bf9c; }
.map-country.band-very-high { fill: #148564; }
.map-country.has-data { cursor: pointer; }
.map-country.has-data:hover,
.map-country.has-data:focus-visible {
  fill: #fae7ad;
  stroke: #c5a35a;
  outline: none;
}
.map-country.has-data.is-selected,
.map-country.has-data.is-selected:hover,
.map-country.has-data.is-selected:focus-visible {
  fill: #f6ce67;
  stroke: #a98735;
  outline: none;
}

.market-tooltip {
  position: absolute;
  z-index: 5;
  max-width: 220px;
  padding: 8px 10px;
  transform: translate(-50%, calc(-100% - 10px));
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
}

.map-zoom-controls {
  position: absolute;
  z-index: 6;
  top: 10px;
  right: 10px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 18px rgba(11, 11, 13, .09);
  backdrop-filter: blur(8px);
}
.map-zoom-controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 24px/1 "Vela Sans", sans-serif;
  cursor: pointer;
}
.map-zoom-controls button + button { border-top: 1px solid var(--line); }
.map-zoom-controls button:hover:not(:disabled) { background: var(--soft); color: var(--green-dark); }
.map-zoom-controls button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--green-dark); outline-offset: -3px; }
.map-zoom-controls button:disabled { color: #a9aaa6; cursor: default; }

.map-legend { display: flex; flex-wrap: wrap; gap: 9px 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.map-legend i { width: 12px; height: 12px; border: 1px solid rgba(11, 11, 13, .08); border-radius: 2px; }
.legend-low { background: #cce8df; }
.legend-mid { background: #91d7c3; }
.legend-high { background: #48bf9c; }
.legend-very-high { background: #148564; }
.legend-outside { background: #e8e8eb; }

.country-card { display: flex; flex-direction: column; padding: 25px; }
.country-card > label { margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 800; }
.country-card select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); font: inherit; font-size: 14px; }
.country-result { margin-top: 40px; }
.country-result h3 { margin: 10px 0 24px; font-size: 26px; line-height: 1.12; }
.country-result > strong { display: block; color: var(--green-dark); font-family: "Lexend", sans-serif; font-size: clamp(54px, 6vw, 76px); line-height: 1; letter-spacing: -.06em; }
.country-result > p { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.source-link { margin-top: auto; padding-top: 24px; color: var(--green-dark) !important; font-size: 13px; font-weight: 800; text-decoration: none; }

.metric-definition { display: block; margin-top: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.metric-definition > div { padding: 22px 24px; }
.metric-definition strong { color: var(--ink); font-size: 14px; }
.metric-definition p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.market-data-table { margin-top: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.market-data-table summary { padding: 18px 22px; color: var(--ink); font-size: 14px; font-weight: 800; cursor: pointer; }
.market-table-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 4px 22px 24px; }
.market-table-group h3 { margin: 14px 0 8px; font-size: 16px; }
.market-table-group table { width: 100%; border-collapse: collapse; }
.market-table-group th,
.market-table-group td { padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 12px; text-align: left; }
.market-table-group th:last-child,
.market-table-group td:last-child { text-align: right; }
.market-table-group th { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.market-table-group td:last-child { color: var(--green-dark); font-weight: 800; }

.market-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.market-sources p { min-width: 270px; flex: 1 1 340px; display: grid; gap: 3px; margin: 0; }
.market-sources p strong { color: var(--ink); font-size: 13px; }
.market-sources p span { color: var(--muted); font-size: 12px; }
.market-sources a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 11px; font-weight: 700; text-decoration: none; }
.market-sources a:hover { border-color: var(--green); color: var(--green-dark); }
.market-footnote { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.public-page .how-it-works { padding: clamp(78px, 8vw, 112px) 0; border-top: 0; scroll-margin-top: 78px; }
.public-page .section-heading h2 { margin-top: 13px; font-size: clamp(34px, 4vw, 50px); line-height: 1.06; letter-spacing: -.035em; }
.public-page .process-grid { gap: 16px; margin-top: 45px; }
.public-page .process-grid article { min-height: 220px; padding: 25px; border-color: var(--line); border-radius: 6px; background: var(--white); }
.public-page .process-grid span { color: var(--green-dark); }
.public-page .process-grid h3 { margin-top: 50px; font-size: 19px; }
.public-page .process-grid p { color: var(--muted); font-size: 13px; }

.landing-footer { min-height: 0; display: block; padding-top: 54px; border-top: 1px solid var(--line); background: var(--white); }
.landing-footer .footer-grid { display: grid; grid-template-columns: minmax(260px, 2fr) repeat(2, minmax(150px, .65fr)); gap: 60px; }
.landing-footer .footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.landing-footer .footer-brand img { width: 123px; }
.landing-footer .footer-brand p { max-width: 310px; margin: 10px 0 0; color: var(--muted); font-size: 14px; text-align: left; }
.landing-footer h2 { margin: 0 0 9px; font-family: "Vela Sans", sans-serif; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.landing-footer .footer-grid a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.landing-footer .footer-grid a:hover { color: var(--green-dark); }
.landing-footer .footer-bottom { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 45px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

@media (max-width: 1080px) {
  .landing-nav { display: none; }
  .landing-header .header-inner { grid-template-columns: 1fr auto; }
  .public-page .hero { grid-template-columns: minmax(0, 1fr) minmax(450px, .95fr); gap: 34px; }
  .public-page .hero h1 { font-size: clamp(40px, 5vw, 52px); }
  .market-map-frame { min-height: 300px; }
  .market-table-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .public-page .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "wizard"; gap: 48px; }
  .public-page .hero-copy { max-width: 720px; }
  .public-page .wizard-card { width: 100%; max-width: 720px; }
  .market-layout { grid-template-columns: 1fr; }
  .country-card { min-height: 310px; }
  .country-result { margin-top: 28px; }
}

@media (max-width: 640px) {
  .public-page .shell { width: min(100% - 28px, 1280px); }
  .landing-container { padding-inline: 14px; }
  .landing-header,
  .landing-header .header-inner { min-height: 68px; }
  .landing-header .brand-link span { display: none; }
  .landing-header .header-action { min-height: 40px; padding: 8px 14px; font-size: 12px; }
  .public-page .hero { padding-top: 50px; padding-bottom: 70px; }
  .public-page .hero h1 { font-size: clamp(38px, 12vw, 48px); }
  .public-page .hero-lede { font-size: 16px; }
  .signal-list li { align-items: start; padding-block: 13px; }
  .public-page .wizard-card { padding: 22px 16px; }
  .public-page .wizard-head h2 { font-size: 22px; }
  .public-page .step-intro-lead p { font-size: 16px; }
  .public-page .progress li { gap: 4px; font-size: 9px; }
  .public-page .two-fields { grid-template-columns: 1fr; }
  .public-page .form-actions.split { align-items: stretch; }
  .public-page .form-actions .button { flex: 1 1 auto; padding-inline: 14px; }
  .market-section { padding-block: 70px; }
  .market-heading h2 { font-size: 24px; }
  .market-visual { padding: 12px; }
  .market-map-frame { min-height: 180px; }
  .map-zoom-controls { top: 6px; right: 6px; }
  .map-zoom-controls button { width: 44px; height: 44px; }
  .market-layout { margin-top: 34px; }
  .country-card { min-height: 330px; padding: 22px; }
  .market-table-groups { grid-template-columns: 1fr; }
  .market-data-table[open] { max-height: 620px; overflow: auto; }
  .market-sources p { flex-basis: 100%; }
  .public-page .process-grid { grid-template-columns: 1fr; }
  .public-page .process-grid article { min-height: 190px; }
  .landing-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .landing-footer .footer-brand { grid-column: 1 / -1; }
  .landing-footer .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
}

@media (max-width: 390px) {
  .public-page .hero h1 { font-size: 36px; }
  .signal-list li { font-size: 13px; }
  .hero-trust { gap: 9px 14px; }
  .public-page .progress li b { display: none; }
  .market-heading h2 { font-size: 22px; }
  .country-result > strong { font-size: 60px; }
  .market-sources { padding: 16px; }
}

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