/* Tracquire — site styles
   Palette: frost and slate with a teal accent (a fintech ground: calm, paper-white, bank-like),
   one warm amber reserved for "approved" and highlights inside the payment graphics. */
:root {
  --bg: #f7f9fa;
  --surface: #ecf0f2;
  --card: #ffffff;
  --ink: #1f3038;
  --muted: #56666d;
  --line: #d5dde1;
  --accent: #0d7480;
  --accent-dark: #095861;
  --accent-soft: #d9ecec;
  --accent-2: #f0b44c;
  --deep: #10262d;
  --deep-2: #18343c;
  --ok: #1d8a5a;
  --danger: #b3412f;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --r: 6px;
  --r-lg: 10px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --nav-h: 68px;
  --shadow: 0 1px 2px rgba(16, 38, 45, .06), 0 8px 24px rgba(16, 38, 45, .08);
  --shadow-lg: 0 2px 4px rgba(16, 38, 45, .06), 0 24px 60px rgba(16, 38, 45, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.4vw, 64px); letter-spacing: -0.036em; line-height: 1.02; }
h2 { font-size: clamp(32px, 3.8vw, 52px); }
h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
h2 .muted { color: #7d8b91; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 40ch; }
.label { font: 500 13px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.stack > * + * { margin-top: 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .06s; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px rgba(13,116,128,.24); }
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px rgba(13,116,128,.3); }
.btn--secondary { background: transparent; color: var(--ink); border-color: #b9c6cc; }
.btn--secondary:hover { border-color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: var(--accent-soft); }
.btn .arrow { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  color: var(--accent); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .25s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }

/* ---------- nav ---------- */
.skip-link { position: absolute; left: var(--pad); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); text-decoration: none; }
.skip-link:focus { top: 12px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 249, 250, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__bar { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; color: var(--deep); }
.logo__mark { width: 30px; height: 30px; color: var(--accent); transition: transform .3s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg); }
.logo--light { color: #fff; }
.logo--light .logo__mark { color: #fff; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links > a:not(.btn) {
  padding: 10px 12px; border-radius: var(--r); text-decoration: none; color: var(--ink); font-size: 16px;
  background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat;
  background-size: 0 2px; background-position: 12px calc(100% - 6px); transition: background-size .25s var(--ease), color .2s;
}
.nav__links > a:not(.btn):hover, .nav__links > a[aria-current="page"] { background-size: calc(100% - 24px) 2px; }
.nav__links > a[aria-current="page"] { color: var(--accent-dark); }
.nav__cta { margin-left: 12px; min-height: 44px; }
.nav__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--pad) 32px; background: var(--bg); margin: 0;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links > a:not(.btn) { padding: 18px 0; font-size: 22px; border-bottom: 1px solid var(--line); background: none; }
  .nav__cta { margin: 24px 0 0; min-height: 56px; }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; }
  html:not(.js) .nav__links { position: static; visibility: visible; opacity: 1; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 132px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--surface { background: var(--surface); }
.section--deep { background: var(--deep); color: #e7eef0; }
.section--deep .muted, .section--deep .lead { color: #a8bac0; }
.section--deep h2 .muted { color: #7f979e; }
.section--deep .label { color: var(--accent-2); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { max-width: none; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 32px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

/* ---------- cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--lift:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c3cfd4; }
.card p { color: var(--muted); }
.card__visual { margin: -28px -28px 8px; height: 240px; background: var(--surface); border-bottom: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; position: relative; overflow: hidden; display: grid; place-items: center; }
.card__more { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.card__more .arrow { width: 14px; height: 14px; transition: transform .2s var(--ease); }
a.card:hover .card__more .arrow { transform: translateX(3px); }
.section--deep .card { background: var(--deep-2); border-color: #2a4952; }
.section--deep .card p { color: #a8bac0; }
.section--deep .card__visual { background: #132d34; border-color: #2a4952; }

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.tick-list li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%230d7480' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.section--deep .tick-list li::before { background-color: #1f4952; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 112px); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 28px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts div { display: grid; gap: 4px; }
.hero__facts dt { font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hero__facts dd { margin: 0; font-weight: 500; font-size: 18px; }
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero > .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .hero__facts { grid-template-columns: 1fr 1fr; } .btn-row .btn { width: 100%; } }

.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.page-hero__copy { display: grid; gap: 24px; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* entrance: once, on load */
.js [data-enter] > * { opacity: 0; transform: translateY(14px); animation: enter .8s var(--ease) forwards; }
.js [data-enter] > *:nth-child(2) { animation-delay: .1s; }
.js [data-enter] > *:nth-child(3) { animation-delay: .2s; }
.js [data-enter] > *:nth-child(4) { animation-delay: .3s; }
.js [data-enter] > *:nth-child(5) { animation-delay: .4s; }
.js [data-enter-visual] { opacity: 0; transform: translateY(20px) scale(.985); animation: enter 1s var(--ease) .25s forwards; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* ---------- stage: scalable home for the payment graphics ---------- */
.stage { position: relative; width: 100%; container-type: inline-size; }
.stage--hero { aspect-ratio: 1 / .92; }
.stage--hero::before, .stage--panel::before {
  content: ""; position: absolute; inset: 4% 0 0 6%; border-radius: 18px;
  background:
    radial-gradient(circle at 70% 30%, rgba(13,116,128,.12), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(31,48,56,.05) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(31,48,56,.05) 31px 32px),
    var(--surface);
  border: 1px solid var(--line);
}
.stage > * { position: absolute; }

/* --- countertop terminal --- */
.term {
  width: 40cqw; aspect-ratio: .6; padding: 3.2cqw 3cqw 3.6cqw;
  background: linear-gradient(170deg, #2c3f46 0%, #1a2a30 45%, #121e23 100%);
  border-radius: 3.6cqw 3.6cqw 5cqw 5cqw;
  box-shadow: inset 0 .3cqw 0 rgba(255,255,255,.12), inset 0 -.6cqw 0 rgba(0,0,0,.35), 0 3cqw 6cqw rgba(16,38,45,.28), 0 .8cqw 1.4cqw rgba(16,38,45,.2);
  display: flex; flex-direction: column; gap: 3cqw;
}
.term__head { display: flex; justify-content: space-between; align-items: center; padding: 0 .6cqw; }
.term__brand { font: 600 1.8cqw/1 var(--font); letter-spacing: .18em; color: #8fa5ac; text-transform: uppercase; }
.term__leds { display: flex; gap: .9cqw; }
.term__leds i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #3d5259; }
.term__screen {
  position: relative; aspect-ratio: 1 / .78; border-radius: 1.6cqw; overflow: hidden;
  background: linear-gradient(180deg, #f4fbfa, #dff0ee); color: var(--deep);
  box-shadow: inset 0 0 0 .5cqw #0b1519, inset 0 .9cqw 1.6cqw rgba(0,0,0,.18);
  font-family: var(--mono);
}
.term__state { position: absolute; inset: 5.4cqw .5cqw .5cqw; padding: 1.6cqw 2.4cqw 2.4cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw; text-align: center; }
.term__merchant { position: absolute; top: .5cqw; left: .5cqw; right: .5cqw; height: 4.9cqw; padding: 0 2.2cqw; display: flex; align-items: center; justify-content: space-between; font-size: 1.6cqw; color: #4f666c; border-bottom: 1px solid #c9e0de; background: rgba(255,255,255,.45); border-radius: 1.1cqw 1.1cqw 0 0; }
.term__amount { font: 500 5.4cqw/1 var(--font); letter-spacing: -0.03em; }
.term__hint { font-size: 1.9cqw; color: #4f666c; }
.term__waves { width: 7cqw; height: 7cqw; color: var(--accent); }
.term__spinner { width: 7cqw; height: 7cqw; border-radius: 50%; border: .8cqw solid #bfdcda; border-top-color: var(--accent); animation: spin .8s linear infinite; }
.term__ok { width: 8cqw; height: 8cqw; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.term__ok svg { width: 4.6cqw; height: 4.6cqw; }
.term__approved { font: 600 2.6cqw/1 var(--font); color: var(--ok); letter-spacing: .02em; }
.term__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; flex: 1; }
.term__keys span {
  display: grid; place-items: center; border-radius: 1.2cqw; font: 500 2.4cqw/1 var(--font); color: #d6e2e5;
  background: linear-gradient(180deg, #34494f, #263a40); box-shadow: inset 0 .25cqw 0 rgba(255,255,255,.1), 0 .3cqw 0 #0b1519;
}
.term__keys .k-x { background: linear-gradient(180deg, #c4533f, #a2402f); color: #fff; }
.term__keys .k-c { background: linear-gradient(180deg, #e6b04a, #c9932f); color: #3a2a06; }
.term__keys .k-o { background: linear-gradient(180deg, #2c9b67, #1f7c50); color: #fff; }
.term__slot { height: 1.4cqw; margin: 0 6cqw; border-radius: 1cqw; background: #0a1418; box-shadow: inset 0 .3cqw .5cqw rgba(0,0,0,.6); }

/* three-state loop: tap -> processing -> approved (4s) */
.term__state { opacity: 0; animation: termState 4s infinite; }
.term__state--tap { animation-name: termTap; }
.term__state--wait { animation-name: termWait; }
.term__state--ok { animation-name: termOk; }
@keyframes termTap { 0%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes termWait { 0%, 40% { opacity: 0; } 44%, 60% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes termOk { 0%, 62% { opacity: 0; } 66%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- payment card --- */
.pcard {
  width: 46cqw; aspect-ratio: 1.586; border-radius: 2.6cqw; padding: 3.4cqw 3.6cqw; color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.18), transparent 50%),
    linear-gradient(135deg, #0f7c88 0%, #0b5d67 55%, #08434b 100%);
  box-shadow: 0 2.4cqw 5cqw rgba(8, 67, 75, .35), inset 0 .2cqw 0 rgba(255,255,255,.25);
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
}
.pcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: repeating-radial-gradient(circle at 115% 120%, transparent 0 2.2cqw, rgba(255,255,255,.05) 2.2cqw 2.4cqw);
}
.pcard__top { display: flex; justify-content: space-between; align-items: center; }
.pcard__name { font: 600 2.6cqw/1 var(--font); letter-spacing: -0.01em; }
.pcard__type { font: 500 1.7cqw/1 var(--mono); letter-spacing: .14em; opacity: .8; }
.pcard__mid { display: flex; align-items: center; gap: 2.6cqw; }
.pcard__chip { width: 7.6cqw; height: 5.8cqw; }
.pcard__nfc { width: 4.4cqw; height: 4.4cqw; opacity: .9; }
.pcard__num { font: 500 3cqw/1 var(--mono); letter-spacing: .12em; }
.pcard__foot { display: flex; justify-content: space-between; align-items: end; margin-top: 2cqw; font: 500 1.7cqw/1.3 var(--mono); letter-spacing: .08em; opacity: .9; }
.pcard--dark { background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.1), transparent 50%), linear-gradient(135deg, #24363d, #111d21); }
.pcard--sand { color: var(--deep); background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.6), transparent 50%), linear-gradient(135deg, #f4d494, #e4ae4c); }

/* --- receipt --- */
.receipt {
  width: 30cqw; padding: 3cqw 2.8cqw 4.4cqw; background: #fffdf8; color: #2a3338;
  font: 400 1.75cqw/1.55 var(--mono); box-shadow: 0 1.6cqw 3cqw rgba(16,38,45,.14);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 1.4cqw) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 2.8cqw 1.4cqw repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 1.4cqw) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 2.8cqw 1.4cqw repeat-x;
}
.receipt__shop { text-align: center; font-weight: 500; font-size: 2.1cqw; letter-spacing: .06em; }
.receipt__meta { text-align: center; color: #6b767b; margin-bottom: 1.6cqw; }
.receipt__row { display: flex; justify-content: space-between; gap: 2cqw; }
.receipt__rule { border-top: .25cqw dashed #b9c2c6; margin: 1.4cqw 0; }
.receipt__total { font-weight: 500; font-size: 2.1cqw; }
.receipt__ok { margin-top: 1.4cqw; text-align: center; letter-spacing: .1em; font-weight: 500; }
.receipt__bars { margin: 1.8cqw auto 0; height: 4cqw; width: 80%; background: repeating-linear-gradient(90deg, #2a3338 0 .3cqw, transparent .3cqw .7cqw, #2a3338 .7cqw 1.3cqw, transparent 1.3cqw 1.6cqw, #2a3338 1.6cqw 1.8cqw, transparent 1.8cqw 2.4cqw); }

/* --- toast / notification chip --- */
.toast {
  display: flex; align-items: center; gap: 2cqw; padding: 2cqw 2.6cqw 2cqw 2cqw; border-radius: 2cqw;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 2cqw; line-height: 1.3; color: var(--ink);
}
.toast__icon { width: 6cqw; height: 6cqw; border-radius: 1.6cqw; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.toast__icon svg { width: 3.4cqw; height: 3.4cqw; }
.toast b { font-weight: 600; display: block; font-size: 2.2cqw; }
.toast span { color: var(--muted); }
.toast__amt { margin-left: 2cqw; font: 500 2.4cqw/1 var(--mono); color: var(--ok); }

/* hero placement */
.stage--hero .receipt { left: 14%; top: 7%; transform: rotate(-4deg); }
.stage--hero .term { left: 37%; top: 14%; }
.stage--hero .pcard { left: 2%; top: 52%; transform: rotate(-8deg); animation: tapCard 4s var(--ease) infinite; transform-origin: 70% 30%; }
.stage--hero .toast { right: 0; top: 4%; animation: toastIn 4s var(--ease) infinite; }
@keyframes tapCard {
  0%, 6% { transform: translate(0, 0) rotate(-8deg); }
  24%, 40% { transform: translate(31cqw, -6cqw) rotate(-3deg) scale(.96); }
  58%, 100% { transform: translate(0, 0) rotate(-8deg); }
}
@keyframes toastIn {
  0%, 64% { opacity: 0; transform: translateY(-1.6cqw); }
  70%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-1.6cqw); }
}
.stage:hover .pcard, .stage:hover .term__state, .stage:hover .toast { animation-play-state: running; }

/* --- browser checkout window --- */
.win { width: 100%; background: #fff; border-radius: 1.6cqw; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 2.2cqw; }
.win__bar { display: flex; align-items: center; gap: 1cqw; padding: 1.6cqw 2cqw; background: #eef2f4; border-bottom: 1px solid var(--line); }
.win__bar i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #cdd6da; }
.win__url { margin-left: 2cqw; flex: 1; max-width: 60%; padding: .9cqw 1.6cqw; border-radius: 1cqw; background: #fff; font: 400 1.8cqw/1 var(--mono); color: var(--muted); display: flex; align-items: center; gap: 1cqw; }
.win__url svg { width: 1.8cqw; height: 1.8cqw; flex: none; }
.win__body { display: grid; grid-template-columns: 1.1fr 1fr; }
.co__form { padding: 3.4cqw; display: grid; gap: 2cqw; align-content: start; }
.co__title { font-weight: 600; font-size: 2.8cqw; letter-spacing: -0.02em; }
.co__field { display: grid; gap: .8cqw; }
.co__field small { font-size: 1.7cqw; color: var(--muted); }
.co__input { display: flex; align-items: center; justify-content: space-between; gap: 1cqw; height: 6cqw; padding: 0 1.8cqw; border: 1px solid var(--line); border-radius: 1cqw; font: 400 2.1cqw/1 var(--mono); color: var(--ink); background: #fff; }
.co__input--focus { border-color: var(--accent); box-shadow: 0 0 0 .6cqw rgba(13,116,128,.15); }
.co__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.co__brand { width: 5cqw; height: 3.2cqw; border-radius: .6cqw; background: linear-gradient(135deg, #0f7c88, #08434b); }
.co__pay { height: 6.6cqw; border-radius: 1cqw; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; gap: 1.2cqw; font-weight: 600; font-size: 2.3cqw; position: relative; overflow: hidden; }
.co__pay svg { width: 2.2cqw; height: 2.2cqw; }
.co__pay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 3.2s ease-in-out infinite; }
@keyframes sheen { 0%, 40% { transform: translateX(-100%); } 75%, 100% { transform: translateX(100%); } }
.co__secure { font-size: 1.7cqw; color: var(--muted); display: flex; align-items: center; gap: .8cqw; justify-content: center; }
.co__secure svg { width: 1.8cqw; height: 1.8cqw; }
.co__summary { padding: 3.4cqw; background: #f6f8f9; border-left: 1px solid var(--line); display: grid; gap: 1.8cqw; align-content: start; }
.co__item { display: grid; grid-template-columns: 7cqw 1fr auto; gap: 1.6cqw; align-items: center; }
.co__thumb { width: 7cqw; height: 7cqw; border-radius: 1.2cqw; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.co__thumb svg { width: 4cqw; height: 4cqw; }
.co__item small { display: block; color: var(--muted); font-size: 1.7cqw; }
.co__line { display: flex; justify-content: space-between; color: var(--muted); }
.co__total { display: flex; justify-content: space-between; font-weight: 600; font-size: 2.6cqw; padding-top: 1.6cqw; border-top: 1px solid var(--line); }
.co__mono { font-family: var(--mono); }

/* --- phone tap to pay --- */
.phone {
  width: 34cqw; aspect-ratio: .49; border-radius: 6cqw; padding: 1.6cqw; background: #142329;
  box-shadow: 0 3cqw 6cqw rgba(16,38,45,.28), inset 0 0 0 .4cqw #2f444b;
}
.phone__screen { position: relative; height: 100%; border-radius: 4.6cqw; overflow: hidden; background: linear-gradient(180deg, #0f5f69, #093b42); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 7cqw 3cqw 4cqw; text-align: center; }
.phone__notch { position: absolute; top: 1.8cqw; left: 50%; width: 9cqw; height: 2.6cqw; margin-left: -4.5cqw; border-radius: 2cqw; background: #050c0e; }
.phone__shop { font-size: 2.2cqw; opacity: .8; }
.phone__amt { font: 500 7cqw/1 var(--font); letter-spacing: -0.03em; margin-top: 1.6cqw; }
.phone__rings { position: relative; width: 18cqw; height: 18cqw; margin: auto; display: grid; place-items: center; }
.phone__rings i { position: absolute; inset: 0; border-radius: 50%; border: .4cqw solid rgba(255,255,255,.5); animation: ring 3s ease-out infinite; }
.phone__rings i:nth-child(2) { animation-delay: 1s; }
.phone__rings i:nth-child(3) { animation-delay: 2s; }
.phone__rings svg { width: 8cqw; height: 8cqw; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
.phone__hint { font-size: 2.2cqw; opacity: .85; }
.phone__bar { margin-top: 3cqw; width: 100%; height: 6cqw; border-radius: 3cqw; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 2.1cqw; }

/* --- invoice --- */
.invoice { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 1.6cqw; box-shadow: var(--shadow-lg); padding: 4cqw; font-size: 2.3cqw; display: grid; gap: 2.4cqw; }
.invoice__head { display: flex; justify-content: space-between; align-items: start; }
.invoice__no { font: 500 1.9cqw/1.4 var(--mono); color: var(--muted); }
.invoice__to { font-weight: 600; font-size: 3cqw; letter-spacing: -0.02em; }
.invoice__status { position: relative; height: 4.4cqw; width: 14cqw; }
.invoice__status span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 3cqw; font: 500 1.8cqw/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: 0; animation: 3.6s infinite; }
.invoice__status .s1 { background: #eef2f4; color: var(--muted); animation-name: st1; }
.invoice__status .s2 { background: #fcefd4; color: #8a5a08; animation-name: st2; }
.invoice__status .s3 { background: #d9f0e4; color: #136b43; animation-name: st3; }
@keyframes st1 { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes st2 { 0%, 32% { opacity: 0; } 36%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes st3 { 0%, 64% { opacity: 0; } 68%, 97% { opacity: 1; } 100% { opacity: 0; } }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice td { padding: 1.3cqw 0; border-bottom: 1px solid #edf1f3; }
.invoice td:last-child { text-align: right; font-family: var(--mono); }
.invoice__total { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 3cqw; }
.invoice__total span:last-child { font-family: var(--mono); font-weight: 500; }
.invoice__btn { height: 6.4cqw; border-radius: 1cqw; background: var(--deep); color: #fff; display: grid; place-items: center; font-weight: 600; }
.invoice__recur { display: flex; align-items: center; gap: 1.2cqw; color: var(--muted); font-size: 1.9cqw; }
.invoice__recur svg { width: 2.4cqw; height: 2.4cqw; }

/* --- statement --- */
.statement { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 1.2cqw; box-shadow: var(--shadow-lg); padding: 4.4cqw; font-size: 2.2cqw; }
.statement__top { display: flex; justify-content: space-between; align-items: start; padding-bottom: 2.4cqw; border-bottom: .4cqw solid var(--ink); }
.statement__title { font-weight: 600; font-size: 3cqw; letter-spacing: -0.02em; }
.statement__period { font: 400 1.8cqw/1.5 var(--mono); color: var(--muted); text-align: right; }
.statement__row { display: grid; grid-template-columns: 1fr auto auto; gap: 3cqw; padding: 1.7cqw 0; border-bottom: 1px solid #edf1f3; align-items: center; }
.statement__row span:nth-child(2) { font: 400 1.9cqw/1 var(--mono); color: var(--muted); }
.statement__row span:last-child { font-family: var(--mono); min-width: 12cqw; text-align: right; }
.statement__row--flag { background: linear-gradient(90deg, rgba(240,180,76,.22), rgba(240,180,76,.06)); margin: 0 -2cqw; padding-left: 2cqw; padding-right: 2cqw; border-radius: .6cqw; border-bottom-color: transparent; }
.statement__row--flag span:first-child::after { content: "?"; display: inline-grid; place-items: center; width: 2.6cqw; height: 2.6cqw; margin-left: 1.2cqw; border-radius: 50%; background: var(--accent-2); color: #3a2a06; font: 600 1.7cqw/1 var(--font); vertical-align: .2cqw; }
.statement__sum { display: flex; justify-content: space-between; align-items: center; padding-top: 2.6cqw; }
.statement__sum b { font-size: 2.8cqw; }
.statement__rate { font: 500 4.8cqw/1 var(--font); letter-spacing: -0.03em; color: var(--danger); }
.statement__rate small { display: block; font: 500 1.7cqw/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: right; }

/* --- ACH transfer --- */
.ach { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 1.6cqw; box-shadow: var(--shadow-lg); padding: 4cqw; display: grid; gap: 3.6cqw; font-size: 2.2cqw; }
.ach__accts { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2cqw; }
.ach__acct { border: 1px solid var(--line); border-radius: 1.2cqw; padding: 2.4cqw; display: grid; gap: .8cqw; }
.ach__acct small { font: 500 1.6cqw/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ach__acct b { font-weight: 600; }
.ach__acct span { font-family: var(--mono); color: var(--muted); font-size: 1.9cqw; }
.ach__flow { width: 10cqw; height: 4cqw; color: var(--accent); }
.ach__flow path.dash { stroke-dasharray: 2 3; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }
.ach__amt { display: flex; justify-content: space-between; align-items: baseline; }
.ach__amt b { font: 500 5cqw/1 var(--font); letter-spacing: -0.03em; }
.ach__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.ach__step { display: grid; gap: 1.2cqw; font-size: 1.9cqw; color: var(--muted); }
.ach__step i { height: .9cqw; border-radius: 1cqw; background: #e3e9ec; position: relative; overflow: hidden; }
.ach__step i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: fill 3.6s var(--ease) infinite; }
.ach__step:nth-child(2) i::after { animation-name: fill2; }
.ach__step:nth-child(3) i::after { animation-name: fill3; background: var(--ok); }
@keyframes fill { 0% { transform: scaleX(0); } 25%, 95% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fill2 { 0%, 25% { transform: scaleX(0); } 50%, 95% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fill3 { 0%, 50% { transform: scaleX(0); } 75%, 95% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* --- routing diagram --- */
.route { width: 100%; height: auto; overflow: visible; }
.route .node rect { fill: #fff; stroke: var(--line); }
.route .node--hub rect { fill: var(--deep); stroke: var(--deep); }
.route text { font: 500 15px var(--font); fill: var(--ink); }
.route .node--hub text { fill: #fff; }
.route .sub { font: 400 12px var(--mono); fill: var(--muted); }
.route .node--hub .sub { fill: #9fb4ba; }
.route .wire { fill: none; stroke: #b7c5cb; stroke-width: 1.5; }
.route .pulse { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 18 400; animation: pulse 3.2s linear infinite; }
.route .pulse:nth-of-type(2) { animation-delay: .4s; }
.route .pulse:nth-of-type(3) { animation-delay: .8s; }
.route .pulse:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes pulse { from { stroke-dashoffset: 418; } to { stroke-dashoffset: 0; } }
.section--deep .route .node rect { fill: #18343c; stroke: #2e525b; }
.section--deep .route text { fill: #e7eef0; }
.section--deep .route .sub { fill: #8ea6ad; }
.section--deep .route .node--hub rect { fill: var(--accent); stroke: var(--accent); }
.section--deep .route .node--hub .sub { fill: #cfe7e9; }
.section--deep .route .wire { stroke: #33565f; }
.section--deep .route .pulse { stroke: var(--accent-2); }

/* card visuals: the stage is placed by --x, --y, --w and crops at the visual's edge */
.card__visual { display: block; }
.card__visual .stage { position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, 100%); transition: transform .4s var(--ease); }
a.card:hover .card__visual .stage { transform: translateY(-4px); }
.stage--flow > * { position: relative; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.step { counter-increment: step; display: grid; gap: 14px; padding-top: 24px; border-top: 2px solid var(--line); position: relative; }
.step::before { content: "0" counter(step); font: 500 14px/1 var(--mono); color: var(--accent); }
.step::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.step:hover::after { width: 100%; }
.step p { color: var(--muted); }
.section--deep .step { border-top-color: #2e525b; }
.section--deep .step::before { color: var(--accent-2); }
.section--deep .step::after { background: var(--accent-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- processor cards ---------- */
.proc { display: grid; gap: 18px; }
.proc__name { font-weight: 600; font-size: 28px; letter-spacing: -0.03em; color: var(--deep); display: flex; align-items: center; gap: 12px; }
.proc__name::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c, var(--accent)); }
.proc__best { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.section--surface .chips li { background: #fff; }

/* ---------- industries ---------- */
.ind { display: grid; gap: 12px; }
.ind__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); transition: transform .25s var(--ease); }
.ind__icon svg { width: 28px; height: 28px; }
.card:hover .ind__icon { transform: rotate(-6deg) scale(1.04); }
.ind__tag { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }

/* ---------- pricing models table ---------- */
.models { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.models th, .models td { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.models th { font: 500 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #f3f6f7; }
.models td:first-child { font-weight: 600; width: 22%; }
.models td { color: var(--muted); }
.models td:first-child { color: var(--ink); }
.models tr:last-child td { border-bottom: 0; }
.models tbody tr { transition: background-color .2s; }
.models tbody tr:hover { background: #f8fbfb; }
@media (max-width: 760px) {
  .models, .models tbody, .models tr, .models td { display: block; width: 100% !important; }
  .models thead { display: none; }
  .models tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .models td { border: 0; padding: 6px 20px; }
  .models td::before { content: attr(data-th); display: block; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
}

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.calc__in { padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; align-content: start; }
.calc__out { padding: clamp(24px, 3vw, 40px); background: var(--deep); color: #e7eef0; display: grid; gap: 22px; align-content: start; }
.calc__big { font: 500 clamp(48px, 6vw, 80px)/1 var(--font); letter-spacing: -0.04em; color: #fff; }
.calc__meter { height: 10px; border-radius: 10px; background: #24434b; overflow: hidden; }
.calc__meter i { display: block; height: 100%; width: 30%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), #f6cf86); transition: width .4s var(--ease); }
.calc__scale { display: flex; justify-content: space-between; font: 400 13px/1 var(--mono); color: #8ea6ad; }
.calc__note { color: #a8bac0; font-size: 15px; }
.calc__out .btn { justify-self: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field > legend, .field__label { font-weight: 500; font-size: 15px; }
.field small { color: var(--muted); font-size: 14px; }
.field__opt { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #c3ced3; border-radius: var(--r);
  background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2356666d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 14px no-repeat; padding-right: 40px; }
input:hover, select:hover, textarea:hover { border-color: #95a7ae; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(13,116,128,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 14px; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; display: inline-flex; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.check span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #c3ced3; border-radius: 999px; background: #fff; font-size: 15px; transition: background-color .15s, border-color .15s, color .15s; }
.check span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #95a7ae; transition: inherit; }
.check input[type="radio"] + span::before { border-radius: 50%; }
.check input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.check input:checked + span::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 48px); display: grid; gap: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card .btn { width: 100%; } }
.form-status { padding: 16px 18px; border-radius: var(--r); font-weight: 500; }
.form-status:empty { display: none; }
.form-status--ok { background: #ddf2e7; color: #11603c; }
.form-status--err { background: #f8e1dc; color: #8a2f20; }
.form-done { display: grid; gap: 18px; justify-items: start; padding: 12px 0; }
.form-done__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }

.contact-aside { display: grid; gap: 28px; align-content: start; }
.contact-aside dl { margin: 0; display: grid; gap: 22px; }
.contact-aside dt { font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.contact-aside dd { margin: 0; font-size: 18px; }
.contact-aside address { font-style: normal; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.faq__item { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.faq__item p { color: var(--muted); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { background: var(--deep); color: #fff; border-radius: 16px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -8%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255,255,255,.04) 22px 23px); pointer-events: none; }
.cta h2 { max-width: 16ch; }
.cta p { color: #a8bac0; margin-top: 16px; max-width: 46ch; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta .btn { width: 100%; } }

/* ---------- prose pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: #c5d3d7; padding: clamp(56px, 7vw, 88px) 0 32px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 36ch; color: #93a8ae; }
.footer h2 { font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #7f979e; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; color: #e1eaec; display: inline-block; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .25s var(--ease); }
.footer a:hover { background-size: 100% 1px; }
.footer address { font-style: normal; color: #e1eaec; line-height: 1.6; }
.footer .logo { padding: 0; background: none; }
.footer__disclaimer { margin-top: 48px; padding-top: 24px; border-top: 1px solid #24434b; font-size: 14px; color: #7f979e; max-width: 100ch; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: #7f979e; }
.footer__legal span:last-child { display: flex; gap: 20px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-enter] > *, .js [data-enter-visual] { opacity: 1; transform: none; }
  .term__state--tap, .term__state--wait { opacity: 0 !important; }
  .term__state--ok { opacity: 1 !important; }
  .stage--hero .toast { opacity: 1; }
  .invoice__status .s3 { opacity: 1 !important; }
  .invoice__status .s1, .invoice__status .s2 { opacity: 0 !important; }
}

/* ---------- stage compositions on inner pages ---------- */
.stage--panel::before { inset: 0; }
.stage--hero::before { inset: 4% 0 0 6%; }
.stage--instore { aspect-ratio: 1 / .86; }
.stage--instore .receipt { left: 9%; top: 12%; transform: rotate(-5deg); }
.stage--instore .term { left: 46%; top: 7%; width: 37cqw; }
.stage--mobile { aspect-ratio: 1 / .86; }
.stage--mobile .phone { left: 16%; top: 7%; width: 30cqw; }
.stage--mobile .pcard { left: 48%; top: 44%; width: 42cqw; transform: rotate(10deg); animation: tapPhone 4s var(--ease) infinite; }
@keyframes tapPhone {
  0%, 8% { transform: translate(0, 0) rotate(10deg); }
  28%, 46% { transform: translate(-14cqw, -22cqw) rotate(2deg) scale(.95); }
  66%, 100% { transform: translate(0, 0) rotate(10deg); }
}
.stage--procs { aspect-ratio: 1 / .8; }
.stage--procs .pcard { width: 40cqw; }
.stage--procs .pcard:nth-child(1) { left: 6%; top: 8%; transform: rotate(-9deg); }
.stage--procs .pcard:nth-child(2) { left: 30%; top: 22%; transform: rotate(-3deg); }
.stage--procs .pcard:nth-child(3) { left: 52%; top: 38%; transform: rotate(4deg); }
.stage--procs .pcard { transition: transform .5s var(--ease); }
.stage--procs:hover .pcard:nth-child(1) { transform: rotate(-12deg) translate(-2cqw, -1cqw); }
.stage--procs:hover .pcard:nth-child(3) { transform: rotate(7deg) translate(2cqw, 1cqw); }
.stage--calc { aspect-ratio: 1 / .86; }

/* ---------- MCC underwriting sheet ---------- */
.mcc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(18px, 2.4vw, 28px); font-size: 15px; }
.mcc__head { display: flex; justify-content: space-between; font-weight: 600; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.mcc__id { font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mcc__row { display: grid; grid-template-columns: 56px 1fr 72px; gap: 14px; align-items: center; padding: 12px 8px; border-bottom: 1px solid #edf1f3; transition: background-color .2s; }
.mcc__row:hover { background: #f5f9f9; }
.mcc__row code { font: 500 14px var(--mono); color: var(--accent-dark); }
.mcc__row--on { background: rgba(240,180,76,.16); border-radius: 6px; }
.lvl { height: 8px; border-radius: 8px; background: #e3e9ec; position: relative; overflow: hidden; }
.lvl::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.lvl--1::after { width: 30%; background: var(--ok); }
.lvl--2::after { width: 58%; background: var(--accent-2); }
.lvl--3::after { width: 90%; background: var(--danger); }
.mcc__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; font-weight: 500; }
.mcc__ok { font: 500 13px/1 var(--mono); padding: 8px 12px; border-radius: 999px; background: #d9f0e4; color: #136b43; animation: okPulse 3s ease-in-out infinite; }
@keyframes okPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(29,138,90,.0); } 50% { box-shadow: 0 0 0 6px rgba(29,138,90,.14); } }
.chips--dark { gap: 10px; align-content: start; }
.chips--dark li { background: var(--deep-2); color: #e1eaec; border: 1px solid #2e525b; padding: 10px 16px; font-size: 15px; transition: border-color .2s, transform .2s var(--ease); }
.chips--dark li:hover { border-color: var(--accent-2); transform: translateY(-2px); }

.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 14px; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--muted); }
.next-steps li::before { content: counter(n); width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font: 600 14px/28px var(--font); text-align: center; }
.contact-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 960px) { .contact-aside { position: static; } }

/* ---------- underwriting file ---------- */
.file { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(18px, 2.4vw, 28px); font-size: 15px; display: grid; gap: 16px; color: var(--ink); }
.file__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.file__no { font: 500 12px/1.6 var(--mono); letter-spacing: .05em; color: var(--muted); }
.file__name { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.file__tag { font: 500 12px/1 var(--mono); padding: 8px 10px; border-radius: 6px; background: var(--surface); white-space: nowrap; }
.file__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.file__list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #edf1f3; }
.file__list em { font: 400 13px/1 var(--mono); font-style: normal; color: var(--muted); }
.file__list i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b9c6cc; position: relative; animation: fileTick 4s var(--ease) infinite; }
.file__list i::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: 0; animation: fileTickMark 4s var(--ease) infinite; }
.file__list li:nth-child(2) i, .file__list li:nth-child(2) i::after { animation-delay: .25s; }
.file__list li:nth-child(3) i, .file__list li:nth-child(3) i::after { animation-delay: .5s; }
.file__list li:nth-child(4) i, .file__list li:nth-child(4) i::after { animation-delay: .75s; }
.file__list li:nth-child(5) i, .file__list li:nth-child(5) i::after { animation-delay: 1s; }
@keyframes fileTick { 0%, 10% { background: transparent; border-color: #b9c6cc; } 18%, 92% { background: var(--accent); border-color: var(--accent); } 100% { background: transparent; border-color: #b9c6cc; } }
@keyframes fileTickMark { 0%, 10% { opacity: 0; } 18%, 92% { opacity: 1; } 100% { opacity: 0; } }
.file__status { position: relative; height: 44px; }
.file__st { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 8px; font-weight: 600; animation: 4s infinite; }
.file__st--1 { background: #fcefd4; color: #8a5a08; animation-name: fileSt1; }
.file__st--2 { background: #d9f0e4; color: #136b43; animation-name: fileSt2; opacity: 0; }
@keyframes fileSt1 { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fileSt2 { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .file__list i { background: var(--accent) !important; border-color: var(--accent) !important; }
  .file__list i::after, .file__st--2 { opacity: 1 !important; }
  .file__st--1 { opacity: 0 !important; }
}

/* ---------- high-risk industry tiles ---------- */
.hr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.hr-tile { display: grid; gap: 10px; align-content: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.hr-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c3cfd4; }
.hr-tile .ind__icon { width: 44px; height: 44px; border-radius: 10px; }
.hr-tile .ind__icon svg { width: 24px; height: 24px; }
.hr-tile:hover .ind__icon { transform: rotate(-6deg) scale(1.04); }
.hr-tile h3 { font-size: 19px; }
.hr-tile p { color: var(--muted); font-size: 15px; }
@media (max-width: 1024px) { .hr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hr-grid { grid-template-columns: 1fr; } }
