/* ZinPay website. Brand tokens and the Inter font come from /brand/brand.css. */

:root {
  /* Status colors used only inside the product illustrations. */
  --status-ok: #1E6B48; --status-ok-soft: #E4F2EA; --status-ok-dot: #2E9163;
  --status-warn: #7A5200; --status-warn-soft: #FBF0D9; --status-warn-dot: #C88A0A;
  --status-bad-dot: #C0392B;
  --status-neutral: #554C53; --status-neutral-soft: #EFEAEE; --status-neutral-dot: #B5ABB3;
  --shadow-card: 0 24px 48px -28px rgba(79, 40, 72, .35);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 16px/1.5 var(--zinpay-font);
  color: var(--zinpay-ink);
  background: var(--zinpay-canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; }
table { border-collapse: collapse; }
button { font: inherit; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

section[id] { scroll-margin-top: 72px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  padding: 10px 16px; border-radius: var(--zinpay-radius-md);
  color: #fff; background: var(--zinpay-plum);
}
.skip-link:focus { top: 16px; }

/* Shared type */

.eyebrow {
  font: 600 13px/1.4 var(--zinpay-font);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--zinpay-plum);
}

h1 {
  font-weight: 600; font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08; letter-spacing: -.035em; text-wrap: balance;
}

h2 {
  font-weight: 600; font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18; letter-spacing: -.025em; text-wrap: balance;
}

h3 { font: 600 17px/1.35 var(--zinpay-font); letter-spacing: -.01em; }

.lede { font-size: 18px; line-height: 1.6; color: var(--zinpay-muted); max-width: 36em; text-wrap: pretty; }

/* Buttons extend .zinpay-button from brand.css */

.zinpay-button { display: inline-block; text-decoration: none; cursor: pointer; }
.zinpay-button:disabled { opacity: .6; cursor: default; }

.button-secondary {
  color: var(--zinpay-plum); background: transparent;
  box-shadow: inset 0 0 0 1px var(--zinpay-line);
}
.button-secondary:hover { background: var(--zinpay-soft-plum); }

/* Check list */

.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  background: var(--zinpay-plum);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 5; padding: 14px 0;
  background: color-mix(in srgb, var(--zinpay-canvas) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--zinpay-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .zinpay-logo { width: 148px; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header .zinpay-button { padding: 10px 18px; }

.nav-link { font: 500 14px/20px var(--zinpay-font); color: var(--zinpay-ink); text-decoration: none; }
.nav-link:hover { color: var(--zinpay-plum); }

/* Sections */

.section { padding: 104px 0; }
.section--white { background: #fff; border-block: 1px solid var(--zinpay-line); }
.section--dark { color: #fff; background: var(--zinpay-deep-plum); }
.section--dark .eyebrow { color: #E7CFE1; }
.section--dark .lede { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 46em; margin-bottom: 52px; }
.section-head h2 { margin-top: 12px; }
.section-head .lede { margin-top: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-copy h2 { margin: 12px 0 16px; }
.split--reverse .split-copy { order: 2; }

/* Product illustrations: shared parts */

.window {
  overflow: hidden; border-radius: 14px;
  font-size: 13px; line-height: 1.4; text-align: left;
  background: #fff; border: 1px solid var(--zinpay-line);
  box-shadow: var(--shadow-card);
}
.window-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--zinpay-canvas); border-bottom: 1px solid var(--zinpay-line);
}
.window-app { font-weight: 600; }
.window-crumb { color: var(--zinpay-muted); }
.window-crumb::before { content: "/"; margin-right: 10px; color: var(--zinpay-line); }
.window-user {
  display: grid; place-items: center; width: 24px; height: 24px; margin-left: auto;
  border-radius: 50%; font: 600 10px/1 var(--zinpay-font);
  color: var(--zinpay-plum); background: var(--zinpay-soft-plum);
}
.window-body { display: grid; grid-template-columns: 156px minmax(0, 1fr); }

.mock-nav { display: grid; gap: 2px; align-content: start; padding: 10px 8px; border-right: 1px solid var(--zinpay-line); }
.mock-nav li {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 6px 8px; border-radius: 6px; color: var(--zinpay-muted); white-space: nowrap;
}
.mock-nav li.is-active { font-weight: 500; color: var(--zinpay-deep-plum); background: var(--zinpay-soft-plum); }
.mock-nav b {
  min-width: 18px; padding: 0 5px; border-radius: 999px; text-align: center;
  font: 500 11px/18px var(--zinpay-font); color: #fff; background: var(--zinpay-plum);
}

.mock-main { min-width: 0; padding: 14px 16px 16px; }
.mock-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.mock-toolbar strong { font: 600 14px/1.4 var(--zinpay-font); }
.mock-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

.mock-btn {
  display: inline-block; padding: 5px 10px; border-radius: 7px; white-space: nowrap;
  font: 500 12px/18px var(--zinpay-font);
  color: var(--zinpay-ink); background: #fff; border: 1px solid var(--zinpay-line);
}
.mock-btn--primary { color: #fff; background: var(--zinpay-plum); border-color: var(--zinpay-plum); }

.mock-table { width: 100%; }
.mock-table th {
  padding: 6px 10px 6px 0; text-align: left;
  font: 500 11.5px/1.4 var(--zinpay-font); color: var(--zinpay-muted);
  border-bottom: 1px solid var(--zinpay-line);
}
.mock-table td { padding: 9px 10px 9px 0; vertical-align: middle; border-bottom: 1px solid var(--zinpay-line); }
.mock-table tr > :last-child { padding-right: 0; }
.mock-table tbody tr:last-child td { border-bottom: 0; }
.mock-table .num { text-align: right; padding-right: 18px; }
.mock-table small { display: block; font-size: 11.5px; color: var(--zinpay-muted); }
.mock-table .muted { color: var(--zinpay-muted); }

.mock-note {
  margin-top: 10px; padding: 8px 10px; border-radius: 8px;
  font-size: 12px; color: var(--status-warn); background: var(--status-warn-soft);
}

.pill {
  display: inline-block; padding: 2px 9px; border-radius: 999px; white-space: nowrap;
  font: 500 11.5px/18px var(--zinpay-font);
}
.pill--ok { color: var(--status-ok); background: var(--status-ok-soft); }
.pill--plum { color: var(--zinpay-plum); background: var(--zinpay-soft-plum); }
.pill--neutral { color: var(--status-neutral); background: var(--status-neutral-soft); }
.pill--warn { color: var(--status-warn); background: var(--status-warn-soft); }

.dot { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; vertical-align: 1px; }
.dot--ok { background: var(--status-ok-dot); }
.dot--warn { background: var(--status-warn-dot); }
.dot--bad { background: var(--status-bad-dot); }
.dot--neutral { background: var(--status-neutral-dot); }

.chip {
  display: inline-block; padding: 2px 8px; border-radius: 6px; white-space: nowrap;
  font: 500 11px/18px var(--zinpay-font);
  color: var(--zinpay-deep-plum); background: var(--zinpay-soft-plum); border: 1px solid var(--zinpay-line);
}

.swatch { display: inline-block; flex: none; width: 12px; height: 12px; margin-right: 8px; border-radius: 4px; vertical-align: -1px; }

/* Hero */

.hero { padding: 80px 0 104px; }
.hero-copy { max-width: 880px; margin-inline: auto; text-align: center; }
.hero-copy h1 { margin: 16px 0 22px; }
.hero-copy .lede { margin-inline: auto; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.hero-visual {
  max-width: 1040px; margin: 64px auto 0; padding: 32px;
  border-radius: 28px; background: var(--zinpay-soft-plum);
}
.hero-visual .window { font-size: 13.5px; }
.hero-visual .mock-table td { padding-block: 11px; }

/* How it works */

.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.flow li { position: relative; }
.flow li::before {
  content: ""; position: absolute; top: 16px; left: 32px; right: -24px; height: 1px;
  background: var(--zinpay-line);
}
.flow li:last-child::before { display: none; }
.flow-num {
  position: relative; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; font: 600 14px/1 var(--zinpay-font);
  color: var(--zinpay-plum); background: var(--zinpay-soft-plum);
}
.flow h3 { margin: 18px 0 6px; }
.flow p { font-size: 14px; line-height: 1.55; color: var(--zinpay-muted); }

/* Apps */

.tab-list {
  display: inline-flex; gap: 4px; max-width: 100%; padding: 4px; margin-bottom: 24px;
  overflow-x: auto; border-radius: 12px; background: #fff; border: 1px solid var(--zinpay-line);
}
html:not(.js) .tab-list { display: none; }
.tab-list [role="tab"] {
  padding: 9px 18px; border: 0; border-radius: 9px; white-space: nowrap; cursor: pointer;
  font: 500 14px/20px var(--zinpay-font); color: var(--zinpay-muted); background: transparent;
}
.tab-list [role="tab"]:hover { color: var(--zinpay-plum); }
.tab-list [role="tab"][aria-selected="true"] { color: #fff; background: var(--zinpay-plum); }
.tab-list [role="tab"]:focus-visible { outline: 3px solid var(--zinpay-plum); outline-offset: 2px; }

.tab-panel {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 56px; align-items: center;
  padding: 44px; border-radius: 24px; background: #fff; border: 1px solid var(--zinpay-line);
}
.tab-panel[hidden] { display: none; }
/* Until script.js has set the panels up, show only the first one so nothing jumps. */
html.js .tabs:not([data-ready]) .tab-panel ~ .tab-panel { display: none; }
html:not(.js) .tab-panel + .tab-panel { margin-top: 24px; }

.panel-app { font: 500 13px/1.4 var(--zinpay-font); color: var(--zinpay-plum); }
.panel-copy h3 { margin: 8px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.panel-copy > p { color: var(--zinpay-muted); }

/* Vendor management */

.match {
  display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.05fr) 28px minmax(0, 1fr);
  gap: 16px; align-items: center;
  padding: 36px; border-radius: 24px; background: var(--zinpay-canvas); border: 1px solid var(--zinpay-line);
}
.match-col { display: grid; gap: 12px; }
.match-label { font: 600 12px/1.4 var(--zinpay-font); letter-spacing: .06em; text-transform: uppercase; color: var(--zinpay-muted); }
.match-arrow { color: var(--zinpay-plum); }
.match-arrow svg { width: 28px; height: 28px; }

.record { padding: 16px; border-radius: 12px; font-size: 13.5px; background: #fff; border: 1px solid var(--zinpay-line); }
.record-source { font-size: 12px; color: var(--zinpay-muted); }
.record-name { margin: 4px 0; font: 600 15px/1.35 var(--zinpay-font); }
.record-line { color: var(--zinpay-muted); }

.review { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--zinpay-plum); box-shadow: var(--shadow-card); }
.review-score { font: 500 14px/1.2 var(--zinpay-font); color: var(--zinpay-muted); }
.review-score span { margin-right: 4px; font: 600 32px/1 var(--zinpay-font); letter-spacing: -.03em; color: var(--zinpay-ink); }
.signals { margin: 14px 0 16px; border-top: 1px solid var(--zinpay-line); }
.signals li { display: flex; align-items: center; padding: 9px 0; font: 500 13px/1.4 var(--zinpay-font); border-bottom: 1px solid var(--zinpay-line); }
.signals em { margin-left: auto; padding-left: 12px; font-style: normal; font-weight: 400; text-align: right; color: var(--zinpay-muted); }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }

.payee { padding: 20px; border-radius: 14px; background: var(--zinpay-soft-plum); border: 1px solid var(--zinpay-line); }
.payee-name { font: 600 16px/1.35 var(--zinpay-font); }
.payee-meta { margin-top: 6px; font-size: 13px; color: var(--zinpay-muted); }
.payee dt { margin-top: 14px; font: 600 11px/1.4 var(--zinpay-font); letter-spacing: .06em; text-transform: uppercase; color: var(--zinpay-muted); }
.payee dd { margin-top: 4px; font-size: 13.5px; }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.points h3 { margin-bottom: 8px; }
.points p { font-size: 15px; line-height: 1.6; color: var(--zinpay-muted); }

/* Routing */

.route-card { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--zinpay-line); box-shadow: var(--shadow-card); }
.route-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font: 500 14px/1.4 var(--zinpay-font); color: var(--zinpay-muted); }
.route-head strong { font: 600 24px/1.2 var(--zinpay-font); letter-spacing: -.02em; color: var(--zinpay-ink); }
.route-steps { display: grid; gap: 10px; margin-top: 18px; }
.route-steps li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 14px; border-radius: 12px; border: 1px solid var(--zinpay-line);
}
.route-steps li.is-skipped { background: var(--zinpay-canvas); }
.route-steps li.is-skipped .route-method { color: var(--zinpay-muted); }
.route-steps li.is-selected { background: var(--zinpay-soft-plum); border-color: var(--zinpay-plum); }
.route-rank {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font: 600 13px/1 var(--zinpay-font); background: #fff; border: 1px solid var(--zinpay-line);
}
.route-method { font: 500 14px/1.4 var(--zinpay-font); }
.route-rule { font-size: 13px; color: var(--zinpay-muted); }
.route-foot { margin-top: 16px; padding-top: 14px; font-size: 13px; color: var(--zinpay-muted); border-top: 1px solid var(--zinpay-line); }

/* AI */

.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; margin-top: 40px; }
.ai-grid h3 { margin-bottom: 6px; font-size: 16px; }
.ai-grid p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }

.chat {
  display: grid; gap: 12px; padding: 20px; border-radius: 18px;
  font-size: 14px; color: var(--zinpay-ink); background: #fff;
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .55);
}
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--zinpay-line); }
.chat-title { font: 600 14px/1.4 var(--zinpay-font); }
.chat-cost { font-size: 12px; color: var(--zinpay-muted); }
.chat-msg {
  max-width: 92%; padding: 12px 14px; border-radius: 12px; line-height: 1.5;
  background: var(--zinpay-canvas); border: 1px solid var(--zinpay-line);
}
.chat-msg--user { justify-self: end; color: #fff; background: var(--zinpay-plum); border-color: var(--zinpay-plum); }
.chat-tools { display: grid; gap: 6px; padding-left: 4px; font-size: 12.5px; }
.chat-tools li { display: flex; align-items: center; }
.chat-tools code { font: 400 12px/1.4 var(--mono); }
.chat-tools em { margin-left: 8px; font-style: normal; color: var(--zinpay-muted); }
.chat-confirm {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px;
  border-radius: 12px; background: var(--zinpay-soft-plum); border: 1px dashed var(--zinpay-plum);
}
.chat-confirm > div { margin-right: auto; }
.chat-confirm-title { font: 600 14px/1.4 var(--zinpay-font); }
.chat-confirm-meta { font-size: 12.5px; color: var(--zinpay-muted); }

/* Enrollment */

.enroll { overflow: hidden; border-radius: 18px; font-size: 14px; background: #fff; border: 1px solid var(--zinpay-line); box-shadow: var(--shadow-card); }
.enroll-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font: 600 14px/1.4 var(--zinpay-font); border-bottom: 1px solid var(--zinpay-line); }
.enroll-saved { margin-left: auto; font-weight: 400; font-size: 12px; color: var(--zinpay-muted); }

.enroll-trail { display: flex; padding: 18px 12px 16px; background: var(--zinpay-canvas); border-bottom: 1px solid var(--zinpay-line); }
.enroll-trail li {
  position: relative; flex: 1; padding: 28px 4px 0; text-align: center;
  font: 500 11.5px/1.35 var(--zinpay-font); color: var(--zinpay-muted);
}
.enroll-trail li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; background: #fff; border: 1.5px solid var(--zinpay-line);
}
.enroll-trail li::after {
  content: ""; position: absolute; top: 8px; left: calc(50% + 13px); width: calc(100% - 26px); height: 1.5px;
  background: var(--zinpay-line);
}
.enroll-trail li:last-child::after { display: none; }
.enroll-trail li.is-done::before {
  border-color: var(--zinpay-plum);
  background: var(--zinpay-plum) 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='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.enroll-trail li.is-done::after { background: var(--zinpay-plum); }
.enroll-trail li.is-current { color: var(--zinpay-deep-plum); }
.enroll-trail li.is-current::before { border-color: var(--zinpay-plum); box-shadow: 0 0 0 3px var(--zinpay-soft-plum); }

.enroll-form { display: grid; gap: 14px; padding: 20px; }
.enroll-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.enroll-field { display: grid; gap: 5px; font: 500 12.5px/1.4 var(--zinpay-font); }
.enroll-input {
  padding: 9px 12px; border-radius: 10px; font: 400 14px/1.4 var(--zinpay-font);
  background: #fff; border: 1px solid var(--zinpay-line);
}
.enroll-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--zinpay-muted); }
.enroll-box {
  flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 4px;
  background: var(--zinpay-plum) 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='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.enroll-form .mock-btn { justify-self: start; padding: 8px 16px; font-size: 13px; }

/* Multi-tenant brand preview */

.theme-demo { --t: #733D68; --t-soft: #F3EAF1; }
.theme-demo[data-theme="teal"] { --t: #1F6F78; --t-soft: #E4F0F1; }
.theme-demo[data-theme="navy"] { --t: #2F4B8A; --t-soft: #E8EDF7; }

.theme-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.theme-switch button {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 500 13px/18px var(--zinpay-font); color: var(--zinpay-ink);
  background: #fff; border: 1px solid var(--zinpay-line);
}
.theme-switch button:hover { border-color: var(--zinpay-muted); }
.theme-switch button[aria-pressed="true"] { border-color: var(--t); box-shadow: inset 0 0 0 1px var(--t); }
.theme-switch button:focus-visible { outline: 3px solid var(--t); outline-offset: 2px; }

.theme-stage {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; align-items: start;
  padding: 28px; border-radius: 24px; background: var(--t-soft);
  transition: background-color .25s ease;
}
.theme-app, .theme-mail {
  overflow: hidden; border-radius: 12px; font-size: 13px;
  background: #fff; border: 1px solid var(--zinpay-line); box-shadow: var(--shadow-card);
}
.theme-app-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: #fff; background: var(--t); transition: background-color .25s ease; }
.theme-logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font: 600 12px/1 var(--zinpay-font); background: rgba(255, 255, 255, .22); }
.theme-name { font: 600 13px/1.4 var(--zinpay-font); }
.theme-app-body { padding: 12px 14px 6px; }
.theme-app-title { margin-bottom: 8px; font: 600 13px/1.4 var(--zinpay-font); }
.theme-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--zinpay-line); }
.theme-btn { padding: 4px 10px; border-radius: 7px; font: 500 12px/18px var(--zinpay-font); color: #fff; background: var(--t); transition: background-color .25s ease; }
.theme-mail { padding-bottom: 16px; }
.theme-mail-bar { height: 6px; background: var(--t); transition: background-color .25s ease; }
.theme-mail-title { padding: 14px 14px 0; font: 600 13.5px/1.4 var(--zinpay-font); }
.theme-mail-body { padding: 6px 14px 0; font-size: 12.5px; color: var(--zinpay-muted); }
.theme-link { display: inline-block; margin: 10px 14px 0; font: 500 12.5px/1.4 var(--zinpay-font); text-decoration: underline; color: var(--t); transition: color .25s ease; }

/* Foundation */

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature {
  padding: 28px; border-radius: var(--zinpay-radius-lg);
  background: var(--zinpay-canvas); border: 1px solid var(--zinpay-line);
}
.feature-icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px;
  border-radius: var(--zinpay-radius-md);
  color: var(--zinpay-plum); background: var(--zinpay-soft-plum);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; font-size: 18px; }
.feature p { color: var(--zinpay-muted); }

/* Contact */

.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-copy h2 { margin: 12px 0 16px; }

.contact-form {
  display: grid; gap: 20px; padding: 32px;
  border-radius: var(--zinpay-radius-lg);
  background: #fff; border: 1px solid var(--zinpay-line);
}
.field label { display: block; margin-bottom: 6px; font: 500 14px/20px var(--zinpay-font); }
.field input, .field textarea {
  width: 100%; padding: 10px 12px;
  font: 400 16px/1.5 var(--zinpay-font); color: var(--zinpay-ink);
  background: #fff; border-radius: var(--zinpay-radius-md);
  border: 1px solid color-mix(in srgb, var(--zinpay-muted) 75%, white);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible {
  border-color: var(--zinpay-plum);
  outline: 3px solid color-mix(in srgb, var(--zinpay-plum) 30%, transparent);
}
.contact-form .zinpay-button { justify-self: start; }

.form-status { padding: 12px 16px; border-radius: var(--zinpay-radius-md); font: 500 14px/20px var(--zinpay-font); }
.form-status[data-state="success"] { color: var(--zinpay-deep-plum); background: var(--zinpay-soft-plum); }
.form-status[data-state="error"] { color: #8A1C1C; background: #FBEAEA; }

/* Footer */

.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--zinpay-line); font-size: 14px; color: var(--zinpay-muted); }
.site-footer .container { display: flex; align-items: center; gap: 16px; }
.site-footer .zinpay-icon { width: 28px; height: 28px; }
.footer-note { margin-right: auto; font-size: 13px; }

/* Smaller screens */

@media (max-width: 1040px) {
  .nav-link { display: none; }
  .split, .tab-panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--reverse .split-copy { order: 0; }
  .tab-panel { padding: 32px; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .flow li:nth-child(3n)::before { display: none; }
  .match { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .match-arrow { justify-self: center; transform: rotate(90deg); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero-visual { margin-top: 44px; padding: 16px; border-radius: 20px; }
  .section-head { margin-bottom: 40px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li::before { display: none; }
  .points { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .contact .container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .theme-stage { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .col-wide { display: none; }
  .site-footer .container { flex-wrap: wrap; }
  .footer-note { flex-basis: 100%; order: 3; }
}

@media (max-width: 600px) {
  .container { width: min(1200px, 100% - 32px); }
  .site-header .zinpay-logo { width: 132px; }
  .lede { font-size: 17px; }
  .window-body { grid-template-columns: minmax(0, 1fr); }
  .mock-nav, .col-method, .col-id { display: none; }
  .mock-main { padding: 12px; }
  .mock-table .num { padding-right: 10px; }
  .mock-table .pill { white-space: normal; }
  .tab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-list [role="tab"] { padding-inline: 8px; }
  .tab-panel { padding: 20px; border-radius: 18px; }
  .panel-copy h3 { font-size: 22px; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .flow li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
  .flow h3 { margin: 4px 0 4px; }
  .flow p { grid-column: 2; }
  .match { padding: 16px; border-radius: 18px; }
  .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .chat, .route-card { padding: 16px; }
  .chat-msg { max-width: 100%; }
  .enroll-row { grid-template-columns: minmax(0, 1fr); }
  .enroll-trail { padding-inline: 4px; }
  .enroll-trail li { font-size: 10.5px; }
  .contact-form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .theme-stage, .theme-app-bar, .theme-btn, .theme-mail-bar, .theme-link { transition: none; }
}
