:root {
  --bg: #f7f9f7;
  --surface: #ffffff;
  --text: #0b1117;
  --muted: #50606b;
  --line: #dce5df;
  --green: #0b7a3c;
  --green-dark: #075b2d;
  --blue: #0d5bd6;
  --blue-soft: #eaf2ff;
  --shadow: 0 24px 70px rgba(12, 28, 18, 0.12);
  --radius: 8px;
  font-family:
    Inter, "Inter var", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
article[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9f7 44%, #eef7f0 100%);
  color: var(--text);
  font-feature-settings: "cv02", "cv03", "cv04", "tnum";
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 18px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid rgba(11, 17, 23, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 46px;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: #18222b;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 780;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green) 0%, #069654 100%);
  box-shadow: 0 12px 26px rgba(6, 150, 84, 0.22);
}

.button {
  padding: 0 22px;
}

.button-secondary {
  border: 1px solid #aab8b0;
  background: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(600px, 1.22fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  min-height: 560px;
  padding: 36px clamp(20px, 4vw, 72px) 30px;
}

.hero-copy {
  max-width: 620px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 780;
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  min-height: 500px;
}

.product-preview,
.app-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-preview {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.preview-header strong {
  font-size: 18px;
  font-weight: 760;
}

.preview-header span,
.offer-title-row span,
.offer-meta-grid span,
.decision-gates span,
.lift-grid span,
.comparison-row span {
  color: #667589;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.preview-header > span,
.offer-title-row span {
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--green-dark);
  background: #dcf7e8;
  letter-spacing: 0;
  text-transform: none;
}

.offer-preview {
  z-index: 2;
  padding: 14px;
}

.offer-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #cfdbe8;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(36, 57, 80, 0.08);
}

.offer-card + .offer-card {
  margin-top: 10px;
}

.offer-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.offer-title-row strong {
  font-size: 15px;
  font-weight: 740;
}

.message-stack {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #d3dfeb;
  border-radius: var(--radius);
  background: #f8fbff;
}

.message-stack span {
  display: block;
  border-radius: 7px;
  padding: 8px 12px;
  color: #ffffff;
  background: linear-gradient(90deg, #2c75b8 0%, #56a0f8 100%);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
  text-align: center;
}

.message-stack-america span {
  background: linear-gradient(90deg, #095f3e 0%, #1d8f6d 55%, #1a66c8 100%);
}

.message-stack-nordics span {
  background: linear-gradient(90deg, #164f8f 0%, #287fc4 54%, #50a9f5 100%);
}

.offer-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 8px;
}

.offer-meta-grid div {
  min-height: 50px;
  padding: 9px;
  border: 1px solid #d3dfeb;
  border-radius: var(--radius);
  background: #fbfdff;
}

.offer-meta-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.25;
}

.localized-currency-row strong {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--green-dark);
}

.localized-currency-row i {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #d8f7e5;
}

.localized-currency-row i::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  content: "";
  transform: rotate(42deg);
}

.experiment-dashboard {
  padding: 14px;
}

.decision-gates,
.lift-grid,
.comparison-row {
  display: grid;
  gap: 8px;
}

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

.decision-gates div,
.lift-grid div,
.comparison-row div {
  border: 1px solid #d3dfeb;
  border-radius: var(--radius);
  background: #ffffff;
}

.decision-gates div {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 6px;
}

.decision-gates strong {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 5px solid var(--green);
  border-radius: 999px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
}

.decision-gates span {
  margin-top: 5px;
  font-size: 11px;
}

.lift-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.lift-grid div {
  min-height: 66px;
  padding: 11px;
}

.lift-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  font-weight: 760;
  line-height: 1;
  color: var(--green-dark);
}

.lift-grid small {
  color: #344150;
  font-weight: 750;
}

.insight-chart {
  position: relative;
  min-height: 220px;
  margin-top: 10px;
  border: 1px solid #cfdbe8;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fbfdff;
}

.chart-svg {
  display: block;
  width: 100%;
  height: 220px;
}

.chart-grid-line {
  stroke: #dbe3ec;
  stroke-width: 1;
}

.chart-series {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-series-control {
  stroke: #98a8bd;
}

.chart-series-variant {
  stroke: var(--green);
}

.chart-points circle {
  stroke: #fbfdff;
  stroke-width: 3;
}

.chart-points-control {
  fill: #98a8bd;
}

.chart-points-variant {
  fill: var(--green);
}

.comparison-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.comparison-row div {
  padding: 12px;
}

.comparison-row strong {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.apps-section {
  padding: 58px clamp(20px, 4vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

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

.app-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: start;
  min-height: 248px;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(20, 42, 31, 0.06);
}

.app-card::before {
  position: absolute;
  inset: 0;
  border-top: 4px solid transparent;
  content: "";
  pointer-events: none;
}

.app-card-primary::before {
  border-top-color: var(--green);
}

.app-card:not(.app-card-primary)::before {
  border-top-color: var(--blue);
}

.app-card img,
.geo-mark {
  width: 92px;
  height: 92px;
  border-radius: 16px;
}

.app-card img {
  display: block;
}

.geo-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0d5bd6, #043f9f);
}

.geo-mark span {
  width: 42px;
  height: 42px;
  border: 5px solid #ffffff;
  border-radius: 14px;
  box-shadow: 18px 18px 0 -8px #ffffff;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

h3 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 740;
  line-height: 1.16;
}

.status-row span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: #dcf7e8;
  font-size: 12px;
  font-weight: 800;
}

.app-card p {
  color: var(--muted);
  line-height: 1.55;
}

.app-card .app-benefits {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.app-card .app-benefits li {
  position: relative;
  padding-left: 17px;
  color: #42525c;
  font-size: 13.5px;
  font-weight: 520;
  line-height: 1.42;
}

.app-card .app-benefits li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.app-card .app-benefits strong {
  color: #15222b;
  font-weight: 700;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) repeat(3, minmax(130px, 1fr));
  gap: 28px;
  padding: 44px clamp(20px, 4vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: clamp(18px, 4vw, 48px);
}

.waitlist-modal:target {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 20, 0.46);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr);
  width: min(940px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid #d5e1da;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(8, 15, 20, 0.28);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.modal-close {
  align-self: start;
  border: 1px solid #cddbd2;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 760;
}

.modal-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: #ffffff;
}

.legal-page {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-header {
  margin-bottom: 34px;
}

.legal-header > p:first-child {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 760;
}

.legal-header h1 {
  max-width: 820px;
  font-size: clamp(46px, 7vw, 86px);
}

.legal-header p,
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.legal-card-grid article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.legal-card-grid span {
  display: block;
  margin-bottom: 12px;
  color: #667589;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-card-grid strong {
  font-size: 16px;
  line-height: 1.35;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  max-width: 720px;
  font-size: clamp(28px, 4vw, 42px);
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.legal-section a,
.legal-card-grid a {
  color: var(--green-dark);
  font-weight: 760;
}

.site-footer div {
  display: grid;
  gap: 10px;
  align-content: start;
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong {
  color: var(--text);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.not-found-panel {
  width: min(520px, calc(100vw - 40px));
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }

  .offer-preview,
  .experiment-dashboard {
    position: relative;
    inset: auto;
    width: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    gap: 16px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy p,
  .section-heading p {
    font-size: 16px;
  }

  .app-grid,
  .hero-visual,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .app-card img,
  .geo-mark {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .offer-meta-grid,
  .decision-gates,
  .lift-grid,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }
}
