/*
 * tipra.ba: the landing page (site/design-handoff/README.md is the spec, `Tipra Landing.dc.html`
 * the pixel reference). Every rule mirrors an inline style of the prototype; there is no inline
 * style in the built HTML (the site's CSP has no 'unsafe-inline'). Mobile first: grids wrap with
 * auto-fit and the header navigation appears from 900px.
 *
 * `url(fonts/…)` is rewritten to the hashed file names by site/build.mjs.
 */

/* IBM Plex Sans 400/500/600 and IBM Plex Mono 400/500, latin + latin-ext (SIL OFL 1.1). */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-400-normal.3b646991d3.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-400-normal.c93d2a12aa.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-500-normal.0717336fb3.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-500-normal.2846035d85.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-600-normal.8960851d69.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-600-normal.b25dfd4f97.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-400-normal.08949f728d.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-ext-400-normal.6bc0f226a5.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-500-normal.01d2854474.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-ext-500-normal.6bb06407c9.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --teal: #0f6e6e;
  --teal-hover: #0b5858;
  --teal-soft: #e4f1f0;
  --teal-dark: #6fc2bd;
  --ink: #1b1f23;
  --muted: #5f6b76;
  --muted-dark: #aab4bd;
  --divider-dark: #3a4148;
  --canvas: #f5f7f8;
  --hair: #d8dee3;
  --inner: #eef1f3;
  --rule: #e9edf0;
  --paper: #fbfaf6;
  --paper-text: #3a4148;
  --chrome-dot: #c3cbd1;
  --dashed: #9aa3ab;
  --amber-border: #e2b86b;
  --amber-bg: #fdf3e1;
  --amber-text: #7a4a00;
  --error: #b3261e;
  --error-bg: #fbeeed;
  --error-text: #8c1d18;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-locked {
  overflow: hidden;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 60;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 15px;
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  border-bottom: 1px solid var(--hair);
  scroll-margin-top: 64px;
}
.section--canvas {
  background: var(--canvas);
}
.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
}
.label {
  margin: 0 0 14px;
  font: 500 13px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.pretty {
  text-wrap: pretty;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* --- buttons ---------------------------------------------------------------------------------- */
.btn {
  border-radius: 6px;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  border: 0;
  padding: 14px 22px;
  font: 500 17px var(--sans);
}
.btn-primary:hover {
  background: var(--teal-hover);
}
.btn-primary--small {
  padding: 9px 16px;
  font: 500 15px var(--sans);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 13px 22px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--canvas);
  text-decoration: none;
  color: var(--ink);
}

/* --- header ----------------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover {
  color: var(--ink);
  text-decoration: none;
}
.wordmark__bar {
  width: 2px;
  height: 24px;
  background: var(--teal);
}
.wordmark__text {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.site-nav {
  display: none;
  gap: 28px;
  font-size: 15px;
}
.site-nav a,
.header-login {
  color: var(--ink);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-login {
  display: none;
  font-size: 15px;
}
@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
  .header-login {
    display: inline;
  }
}

/* --- hero ------------------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: #fff;
  background-image:
    linear-gradient(
      90deg,
      transparent 47px,
      rgba(15, 110, 110, 0.45) 47px,
      rgba(15, 110, 110, 0.45) 48px,
      transparent 48px
    ),
    repeating-linear-gradient(180deg, transparent 0 27px, var(--rule) 27px 28px);
  border-bottom: 1px solid var(--hair);
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 72px 72px;
}
.hero__eyebrow {
  margin: 0 0 20px;
  font: 500 13px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.hero__title {
  margin: 0;
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__sub {
  margin: 24px 0 0;
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--muted);
  max-width: 36em;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__visual {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  align-items: start;
}
.panel-figure {
  margin: 0;
}
.panel-caption {
  font: 500 12px var(--mono);
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* 1 · the scanned document */
.scan {
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 22px 20px;
  transform: rotate(-1.2deg);
  box-shadow:
    0 1px 0 var(--hair),
    4px 6px 0 -1px var(--inner);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--paper-text);
  line-height: 1.5;
}
.scan__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.hl {
  outline: 1.5px solid var(--teal);
  background: rgba(15, 110, 110, 0.07);
}
.scan__issuer {
  padding: 2px 4px;
  margin: -2px -4px;
}
.scan__issuer b {
  font-weight: 500;
}
.scan__title {
  margin: 16px 0 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.scan__number {
  padding: 0 4px;
  margin: 0 -4px;
}
.scan__date {
  padding: 0 4px;
}
.scan__buyer {
  margin-top: 10px;
  padding: 2px 4px;
  margin-left: -4px;
  margin-right: -4px;
}
.scan__lines {
  margin-top: 14px;
  border-top: 1px solid var(--dashed);
  border-bottom: 1px solid var(--dashed);
  padding: 4px 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2px 10px;
  font-variant-numeric: tabular-nums;
}
.scan__totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px 10px;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.scan .muted {
  color: var(--muted);
}
.scan .r {
  text-align: right;
}
.scan__total {
  font-weight: 500;
  color: var(--ink);
}
.scan__total-value {
  padding: 0 4px;
}
.scan__signatures {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--dashed);
  font-size: 10px;
}

/* 2 · the Tipra check card */
.card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 8px;
  overflow: hidden;
}
.check {
  font-size: 13.5px;
}
.check__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.check__number {
  font-weight: 600;
}
.badge {
  font: 500 11px var(--mono);
  background: var(--teal-soft);
  color: var(--teal);
  padding: 3px 8px;
  border-radius: 4px;
}
.check__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  font-variant-numeric: tabular-nums;
}
.check__grid > span {
  padding: 9px 10px;
  border-bottom: 1px solid var(--inner);
  text-align: right;
}
.check__grid > .check__label {
  padding: 9px 0 9px 16px;
  color: var(--muted);
  text-align: left;
}
.check__grid > .check__mark {
  padding: 9px 16px 9px 0;
  color: var(--teal);
  text-align: left;
}
.check__grid > .check__total {
  padding: 10px;
  border-bottom: 0;
  font-weight: 600;
}
.check__grid > .check__total.check__label {
  padding: 10px 0 10px 16px;
  color: var(--ink);
}
.check__grid > .check__total.check__mark {
  padding: 10px 16px 10px 0;
  color: var(--teal);
  font-weight: 400;
}
.check__foot {
  padding: 12px 16px;
  border-top: 1px solid var(--hair);
  background: var(--canvas);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  font-size: 13px;
  color: var(--teal-hover);
  font-weight: 500;
}

/* 3 · the program's entry window */
.entry {
  font-size: 13px;
}
.entry__bar {
  padding: 8px 12px;
  background: var(--inner);
  border-bottom: 1px solid var(--hair);
  display: flex;
  gap: 6px;
  align-items: center;
}
.entry__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chrome-dot);
}
.entry__title {
  margin-left: 6px;
  font: 500 11px var(--mono);
  color: var(--muted);
}
.entry__fields {
  padding: 14px 14px 4px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
  font-variant-numeric: tabular-nums;
}
.entry__label {
  color: var(--muted);
}
.entry__value {
  border: 1px solid var(--hair);
  padding: 4px 8px;
  font-family: var(--mono);
}
.entry__value--amount {
  text-align: right;
}
.entry__ok {
  margin: 14px;
  padding: 12px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal-hover);
}
.entry__ok-title {
  font-weight: 600;
}
.entry__ok-body {
  font-size: 12.5px;
  margin-top: 2px;
}
.entry__chips {
  padding: 0 14px 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font: 500 11.5px var(--mono);
  color: var(--muted);
}
.entry__chips span {
  border: 1px solid var(--hair);
  padding: 3px 8px;
  border-radius: 4px;
}

/* --- problem ---------------------------------------------------------------------------------- */
.facts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0 40px;
}
.fact {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  font-size: 20px;
  line-height: 1.4;
  text-wrap: pretty;
}

/* --- steps ------------------------------------------------------------------------------------ */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 28px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 14px var(--mono);
  flex: none;
}
.step__line {
  flex: 1;
  height: 1px;
  background: var(--hair);
}
.step__title {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step__body {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}
.mini {
  margin-top: auto;
  min-height: 132px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--canvas);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  font: 12.5px var(--mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mini--dashed {
  border-style: dashed;
  border-color: var(--dashed);
}
.chip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 5px 8px;
}
.chip__value--muted {
  color: var(--muted);
}
.chip__value--teal {
  color: var(--teal);
  font-weight: 500;
}
.chip__check {
  color: var(--teal);
}
.chip--amber {
  border-color: var(--amber-border);
  background: var(--amber-bg);
  color: var(--amber-text);
}
.chip--amber .chip__value {
  white-space: nowrap;
}
.chip--success {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-hover);
}

/* --- benefits --------------------------------------------------------------------------------- */
.benefits {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.benefit {
  padding: 28px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.benefit__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}
.soon {
  font: 500 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--teal-soft);
  color: var(--teal);
  padding: 3px 7px;
  border-radius: 4px;
}
.benefit__body {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

/* --- program ---------------------------------------------------------------------------------- */
.program {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px 64px;
  align-items: end;
}
.program__body {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
  text-wrap: pretty;
}
.program__note {
  margin: 16px 0 0;
  color: var(--muted);
}

/* --- security (dark) -------------------------------------------------------------------------- */
.security {
  scroll-margin-top: 64px;
  background: var(--ink);
  color: #fff;
}
.security__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px 64px;
}
.security .label {
  color: var(--muted-dark);
}
.security__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--divider-dark);
}
.security__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider-dark);
}
.security__mark {
  color: var(--teal-dark);
}

/* --- FAQ -------------------------------------------------------------------------------------- */
.faq__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 24px;
}
.faq__title {
  margin-bottom: 40px;
}
.faq__list {
  border-top: 1px solid var(--ink);
}
.faq__item {
  border-bottom: 1px solid var(--hair);
}
.faq__q {
  margin: 0;
}
.faq__button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 22px 0;
  font: 500 19px var(--sans);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__button:hover {
  color: var(--teal);
}
.faq__sign {
  font: 400 22px var(--mono);
  color: var(--teal);
  flex: none;
}
.faq__button .faq__sign--open,
.faq__button[aria-expanded="true"] .faq__sign--closed {
  display: none;
}
.faq__button[aria-expanded="true"] .faq__sign--open {
  display: inline;
}
.faq__answer {
  padding: 0 40px 24px 0;
  color: var(--muted);
  text-wrap: pretty;
}

/* --- CTA band --------------------------------------------------------------------------------- */
.cta {
  background-color: var(--teal);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0 27px,
    rgba(255, 255, 255, 0.08) 27px 28px
  );
  color: #fff;
}
.cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cta__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 16ch;
  text-wrap: balance;
}
.cta__sub {
  margin: 0;
  font-size: 20px;
  max-width: 34em;
  text-wrap: pretty;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 12px;
}
.btn-light {
  background: #fff;
  color: var(--teal);
  border: 0;
  padding: 14px 24px;
  font: 600 17px var(--sans);
}
.btn-light:hover {
  background: var(--teal-soft);
}
.cta__or {
  font-size: 17px;
}
.cta__or a,
.cta__or a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- footer ----------------------------------------------------------------------------------- */
.site-footer {
  background: #fff;
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.footer-col--brand {
  gap: 10px;
  font-size: inherit;
}
.footer-col--muted {
  color: var(--muted);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .wordmark__bar {
  height: 22px;
}
.footer-brand .wordmark__text {
  font-size: 22px;
}
.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.footer-heading {
  font: 500 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.footer-link {
  color: var(--ink);
}
.footer-parent {
  margin-top: 6px;
}
.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 32px;
  border-top: 1px solid var(--hair);
  font-size: 14px;
  color: var(--muted);
}

/* --- plain pages (legal, 404) ----------------------------------------------------------------- */
.page {
  border-bottom: 1px solid var(--hair);
}
.page__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 24px;
  min-height: 50vh;
}
.page__title {
  margin: 0 0 24px;
}
.page__body {
  margin: 0 0 32px;
  color: var(--muted);
}

/* --- demo modal ------------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(27, 31, 35, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.dialog {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--hair);
}
.dialog__head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.dialog__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.dialog__sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.dialog__close {
  background: none;
  border: 1px solid var(--hair);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
  flex: none;
}
.dialog__close:hover {
  background: var(--canvas);
}
.success {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.success__mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.success__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}
.success__body {
  margin: 0;
  color: var(--muted);
}
.success__close {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 10px 18px;
  font: 500 15px var(--sans);
  cursor: pointer;
  color: var(--ink);
}
.form {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px 16px;
}
.form__alert {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid var(--error);
  background: var(--error-bg);
  color: var(--error-text);
  border-radius: 6px;
  font-size: 15px;
}
.form__alert a,
.form__alert a:hover {
  color: var(--error-text);
  text-decoration: underline;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.field--wide {
  grid-column: 1 / -1;
}
.field__hint {
  font-weight: 400;
  color: var(--muted);
  margin-top: -6px;
  font-size: 13px;
}
.input {
  font: 400 16px var(--sans);
  padding: 11px 12px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  width: 100%;
}
.input[aria-invalid="true"] {
  border-color: var(--error);
}
textarea.input {
  resize: vertical;
}
.field__error {
  color: var(--error);
  font-weight: 400;
  font-size: 13px;
}
.consent {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.consent__label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  cursor: pointer;
}
.consent__box {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--teal);
  flex: none;
}
.consent .field__error {
  padding-left: 30px;
}
.form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--inner);
}
.form__cancel {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 12px 18px;
  font: 500 16px var(--sans);
  cursor: pointer;
  color: var(--ink);
  margin-top: 12px;
}
.form__cancel:hover {
  background: var(--canvas);
}
.form__submit {
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  font: 500 16px var(--sans);
  cursor: pointer;
  margin-top: 12px;
}
.form__submit:disabled {
  background: #5f8f8f;
  cursor: default;
}
/* Bots fill every field; people never see this one. */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
