/* EzCommerce landing. One stylesheet for Arabic (RTL) and English (LTR): logical properties only. */
:root {
  --paper: #F7F7F4;      /* page */
  --card: #FFFFFF;
  --ink: #1D1A2B;        /* 15.8:1 on paper */
  --muted: #5C586B;      /* 6.4:1 on paper */
  --line: #E4E2EA;
  --brand: #5A4BD8;      /* text + buttons, 6.1:1 on white */
  --brand-ui: #7367F0;   /* the admin's own purple, decorative and large only */
  --brand-soft: #E9E7FD;
  --kraft: #DDC7A3;      /* parcel paper, ink on it 10:1 */
  --kraft-deep: #C9AE84;
  --ok: #157040;   --ok-bg: #DDF6E8;
  --warn: #A35400; --warn-bg: #FFF0E1;
  --bad: #C2272D;  --bad-bg: #FFE2E3;
  --info: #006B7B; --info-bg: #D6F4F8;
  --grey: #5C586B; --grey-bg: #EDECEF;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Public Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--font); overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3) { line-height: 1.4; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.mono { font-family: var(--mono); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #4A3BC4; }
.btn-ghost { border-color: #C9C5D6; color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgb(247 247 244 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { font-weight: 800; }
.brand span { font-weight: 500; }
html[lang="ar"] .brand { font-weight: 700; }
.primary-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.primary-nav a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.primary-nav a:hover { color: var(--ink); background: var(--grey-bg); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 8px; }
.lang:hover { background: var(--grey-bg); }
@media (max-width: 900px) { .primary-nav { display: none; } .head-actions { margin-inline-start: auto; } .head-demo { display: none; } }

/* Section scaffolding */
section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-block-end: 14px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 750; letter-spacing: -.02em; }
html[lang="ar"] h2 { letter-spacing: 0; font-weight: 700; }
.sec-lede { color: var(--muted); font-size: 18px; max-width: 62ch; margin-block-start: 16px; }
.sec-head { max-width: 760px; margin-block-end: clamp(36px, 5vw, 56px); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) 0; }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); font-weight: 800; letter-spacing: -.03em; max-width: 15ch; }
html[lang="ar"] .hero h1 { letter-spacing: 0; font-weight: 700; max-width: 17ch; }
.hero .lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 58ch; margin-block-start: 22px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; align-items: center; }
.mail-link { display: inline-block; padding: 11px 6px; line-height: 22px; color: var(--muted); font-size: 15px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-block-start: 28px; color: var(--muted); font-size: 15px; padding: 0; list-style: none; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.hero-shot { margin: clamp(40px, 6vw, 72px) 0 0; position: relative; }
.hero-shot::before { /* kraft parcel edge the admin rests on: ties hero to the route section */
  content: ""; position: absolute; inset: 18% -2% -36px; background: var(--kraft); border-radius: 20px 20px 0 0; z-index: -1;
}
figure { margin: 0; min-width: 0; }
figcaption { color: var(--muted); font-size: 14px; margin-block-start: 14px; }
.hero-shot figcaption { position: relative; text-align: center; color: #4A3B22; padding-block-end: 8px; }

/* ---------- Admin mockups (always LTR English, like the real admin) ---------- */
.win {
  direction: ltr; text-align: left; font: 400 13px/1.45 "Public Sans", system-ui, sans-serif; color: #2F2B3D;
  background: #F8F7FA; border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgb(29 26 43 / .06), 0 24px 60px -18px rgb(29 26 43 / .35); border: 1px solid #E6E4EC;
}
.win-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #fff; border-bottom: 1px solid #ECEAF1; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E0E8; }
.win-bar span { margin-left: 12px; font: 500 12px/1 var(--mono); color: #6D6B77; background: #F3F2F7; padding: 5px 10px; border-radius: 6px; }
.admin { display: grid; grid-template-columns: 210px 1fr; min-height: 420px; }
.side { background: #fff; padding: 16px 12px; border-right: 1px solid #ECEAF1; }
.side-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 2px 8px 16px; }
.side-brand svg { width: 22px; height: 22px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: #444050; font-size: 13.5px; }
.side li svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.side li.on { background: linear-gradient(72deg, #7367F0, #9E95F5); color: #fff; box-shadow: 0 2px 6px rgb(115 103 240 / .4); }
.side .hdr { font-size: 11px; color: #8D8A97; text-transform: uppercase; letter-spacing: .06em; padding: 14px 10px 4px; }
.main { padding: 20px 22px; min-width: 0; }
.main h4 { font-size: 18px; font-weight: 600; margin: 0 0 2px; }
.main .sub { color: #6D6B77; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 2px 6px rgb(47 43 61 / .1); }
.stat { display: flex; align-items: center; gap: 12px; padding: 14px; }
.ava { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.ava svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.stat p { color: #6D6B77; margin: 0; font-size: 12.5px; }
.stat b { display: block; font-size: 18px; font-weight: 600; color: #2F2B3D; }
.l-primary { background: #E9E7FD; color: #5A4BD8; } .l-success { background: var(--ok-bg); color: var(--ok); }
.l-warning { background: var(--warn-bg); color: var(--warn); } .l-info { background: var(--info-bg); color: var(--info); }
.l-danger { background: var(--bad-bg); color: var(--bad); } .l-secondary { background: var(--grey-bg); color: var(--grey); }
.card-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 6px; font-weight: 600; font-size: 14.5px; }
.card-h small { font-weight: 400; color: #6D6B77; font-size: 12.5px; }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #6D6B77; font-weight: 600; padding: 9px 16px; border-bottom: 1px solid #ECEAF1; background: #FBFBFD; }
.t td { padding: 9px 16px; border-bottom: 1px solid #F1F0F4; white-space: nowrap; }
.t tr:last-child td { border-bottom: 0; }
.t .num { text-align: right; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 5px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.code { font: 500 12px/1 var(--mono); color: #5A4BD8; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.low { color: var(--bad); font-weight: 600; }
@media (max-width: 960px) {
  .admin { grid-template-columns: 1fr; }
  .side { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .main { padding: 14px 12px; }
  .stats { gap: 10px; }
  .stat { padding: 10px; gap: 9px; }
  .ava { width: 32px; height: 32px; }
  .stat b { font-size: 15px; }
  .t th, .t td { padding: 8px 7px; }
  .t th:first-child, .t td:first-child { padding-left: 12px; }
  .win .main.solo { padding: 10px; }
  .code { font-size: 11px; }
  .hero-shot::before { inset-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .hide-sm { display: none; }
}

/* ---------- Signature: the order route on a shipping label ---------- */
.parcel { background: var(--kraft); margin-block-start: 36px; position: relative; }
.parcel::before { /* tape seam */
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--kraft-deep) 0 22px, transparent 22px 30px); opacity: .55;
}
.parcel .eyebrow { color: #3F2F14; }
.parcel .sec-lede { color: #3F3320; } /* 7.9:1 on kraft */
.label {
  background: #fff; border-radius: 10px; padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 1px 0 rgb(0 0 0 / .08), 0 18px 40px -20px rgb(60 40 10 / .55);
  outline: 1.5px dashed #CFC6B6; outline-offset: -10px;
}
.label-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-block-end: 18px; margin-block-end: 26px; border-bottom: 2px solid var(--ink);
}
.label-head .mono { font-size: 13px; letter-spacing: .06em; color: var(--ink); }
.barcode { width: 150px; height: 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }

.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.stops::before, .stops::after { content: ""; position: absolute; top: 11px; inset-inline: calc(100% / 12); height: 2px; }
.stops::before { background: repeating-linear-gradient(90deg, #BDB6A8 0 6px, transparent 6px 11px); }
.stops::after { background: var(--brand); transform-origin: left; }
[dir="rtl"] .stops::after { transform-origin: right; }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-inline: 4px; }
.dot { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); border: 5px solid #fff; box-shadow: 0 0 0 2px var(--brand); position: relative; z-index: 1; }
.stop:last-child .dot { background: var(--ok); box-shadow: 0 0 0 2px var(--ok); }
.stop .chip { font-size: 13px; }
.stop small { color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 18ch; }

.exits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 8px; margin-block-start: 28px; }
.exit { border-top: 2px dashed currentColor; padding-block-start: 12px; position: relative; text-align: center; }
.exit::before, .exit::after { content: ""; position: absolute; top: -9px; width: 2px; height: 8px; background: currentColor; }
.exit::before { inset-inline-start: 0; } .exit::after { inset-inline-end: 0; }
.exit p { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-block-start: 8px; }
.exit-cancel { grid-column: 1 / span 4; color: var(--bad); }
.exit-refused { grid-column: 5; color: var(--grey); }
.exit-returned { grid-column: 6; color: var(--grey); }
html[lang="ar"] :is(.stop small, .exit p) { line-height: 1.6; }
html[lang="ar"] .route .chip { font-size: 14.5px; }
html[lang="ar"] :is(.shop span, .node .k) { font-family: var(--font); letter-spacing: 0; }

.route-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-start: 24px; }
.note { background: rgb(255 255 255 / .55); border-radius: 12px; padding: 20px; }
.note h3 { font-size: 17px; margin-block-end: 6px; }
.note p { color: #3F3320; font-size: 15.5px; }

/* the one motion moment: the route fills when the label scrolls into view */
.route.play .stops::after { animation: fill 2.1s cubic-bezier(.4, 0, .2, 1) both; }
.route.play .dot { animation: lit .35s ease-out both; animation-delay: calc(var(--i) * .38s); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lit { from { background: #fff; box-shadow: 0 0 0 2px #BDB6A8; } }

@media (max-width: 820px) {
  .stops { grid-template-columns: 1fr; gap: 18px; }
  .stops::before, .stops::after { top: 12px; bottom: 12px; inset-inline-start: 11px; inset-inline-end: auto; width: 2px; height: auto; }
  .stops::before { background: repeating-linear-gradient(180deg, #BDB6A8 0 6px, transparent 6px 11px); }
  .stops::after { transform-origin: top; }
  [dir="rtl"] .stops::after { transform-origin: top; }
  .stop { flex-direction: row; align-items: center; text-align: start; gap: 14px; flex-wrap: wrap; }
  .stop small { flex-basis: 100%; padding-inline-start: 38px; margin-block-start: -8px; max-width: none; }
  .route.play .stops::after { animation-name: fill-y; }
  .exits { grid-template-columns: 1fr; gap: 14px; }
  .exit { grid-column: auto; text-align: start; }
  .exit::before, .exit::after { display: none; }
  .route-notes { grid-template-columns: 1fr; }
}
@keyframes fill-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Feature splits ---------- */
.split > * { min-width: 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev { grid-template-columns: 7fr 5fr; }
.split.rev .split-copy { order: 2; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--muted); }
.ticks li b { color: var(--ink); font-weight: 650; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); } /* checkmarks are not mirrored in RTL */
.reasons { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 22px; }
.reasons .chip { font-size: 13.5px; padding: 4px 11px; }
.prod-head { display: flex; gap: 14px; align-items: center; padding: 16px; }
.thumb { width: 54px; height: 66px; border-radius: 8px; flex: none; background: linear-gradient(160deg, #EADBC4, #C9A87A); position: relative; overflow: hidden; }
.thumb::after { content: ""; position: absolute; inset: 10px 14px 0; background: #fff; opacity: .5; clip-path: polygon(30% 0, 70% 0, 75% 18%, 100% 100%, 0 100%, 25% 18%); }
.prod-head b { font-size: 15px; display: block; }
.prod-head small { color: #6D6B77; font-size: 12.5px; }
.crumbs { margin-left: auto; text-align: right; }
.win .main.solo { padding: 18px; }
@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-copy { order: 0; }
}

/* ---------- One engine, many stores ---------- */
.engine { background: var(--ink); color: #fff; }
.engine .eyebrow { color: #A9A1FF; } /* 7.5:1 on ink */
.engine .sec-lede { color: #C9C5D9; }
.engine-map { display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 28px; align-items: center; }
.node { border: 1px solid #3A3550; border-radius: 14px; padding: 20px; background: #262236; }
.node h3 { font-size: 18px; margin-block-end: 6px; }
.node p { color: #C9C5D9; font-size: 15px; }
.node-engine { border-color: #7367F0; box-shadow: 0 0 0 4px rgb(115 103 240 / .18); }
.node .k { display: inline-block; font: 500 12px/1 var(--mono); color: #A9A1FF; margin-block-end: 10px; letter-spacing: .04em; }
.wire { width: 116px; margin-inline: -28px; height: 2px; background: repeating-linear-gradient(90deg, #7367F0 0 6px, transparent 6px 11px); }
.shops { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0 0 0 0; padding-inline-start: 26px; position: relative; }
.shops::before { content: ""; position: absolute; inset-inline-start: 0; top: 26px; bottom: 26px; border-inline-start: 2px dashed #7367F0; }
.shop { position: relative; }
.shop::before { content: ""; position: absolute; inset-inline-start: -26px; top: 50%; width: 26px; border-top: 2px dashed #7367F0; }
.shop { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; border: 1px solid #3A3550; border-radius: 12px; padding: 14px 16px; background: #221F31; }
.shop i { width: 12px; height: 12px; border-radius: 3px; }
.shop b { font-weight: 600; font-size: 15.5px; }
.shop span { font: 500 12.5px/1.3 var(--mono); color: #B9B4CC; }
.engine-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-start: 40px; }
.engine-foot div { border-top: 1px solid #3A3550; padding-block-start: 16px; color: #C9C5D9; font-size: 15.5px; }
.engine-foot b { color: #fff; display: block; margin-block-end: 4px; }
@media (max-width: 900px) {
  .engine-map { grid-template-columns: 1fr; }
  .engine-map { gap: 16px; }
  .wire { display: none; }
  .shops::before { top: -16px; }
  .engine-foot { grid-template-columns: 1fr; }
}

/* ---------- Storefront / API ---------- */
.api-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.api-grid > div { background: var(--card); padding: 24px; }
.api-grid h3 { font-size: 17px; margin-block-end: 6px; }
.api-grid p { color: var(--muted); font-size: 15.5px; }
.api-grid code { display: inline-block; font: 500 12.5px/1.2 var(--mono); color: var(--brand); background: var(--brand-soft); padding: 4px 7px; border-radius: 5px; margin-block-end: 12px; direction: ltr; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block-end: 28px; }
.offer > div { border-radius: var(--radius); padding: 24px; background: var(--card); border: 1px solid var(--line); }
.offer > div:first-child { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.offer h3 { font-size: 19px; margin-block-end: 6px; }
.offer p { color: var(--muted); }
@media (max-width: 900px) { .api-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .api-grid, .offer { grid-template-columns: 1fr; } }

/* ---------- Team + stack ---------- */
.stack { padding-block-start: 0; }
.stack-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stack-row > div { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 26px; }
.stack-row h3 { font-size: 20px; margin-block-end: 8px; }
.stack-row p { color: var(--muted); }
.perms { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 16px; }
.perms code { font: 500 12.5px/1 var(--mono); padding: 7px 9px; border-radius: 6px; background: var(--grey-bg); color: var(--ink); direction: ltr; }
.tech { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; font-weight: 500; }
@media (max-width: 760px) { .stack-row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 650; font-size: 18px; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 26px/1 var(--font); color: var(--brand); flex: none; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-block-end: 22px; max-width: 70ch; }

/* ---------- CTA + footer ---------- */
.cta-band { padding-block: 0 clamp(64px, 9vw, 110px); }
.cta-card { background: var(--brand); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-card::after { /* hang-tag punch hole, echoes the mark */
  content: ""; position: absolute; inset-inline-end: 28px; top: 28px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper);
}
.cta-card h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.cta-card p { color: #E7E4FF; margin-block-start: 10px; max-width: 56ch; } /* 4.9:1 on brand */
.cta-card .ctas { margin: 0; }
.cta-card .btn-primary { background: #fff; color: var(--brand); }
.cta-card .btn-primary:hover { background: var(--brand-soft); }
.cta-card .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.cta-card .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-card .mail-link { color: #fff; }
.cta-card :focus-visible { outline-color: #fff; }
@media (max-width: 820px) { .cta-card { grid-template-columns: 1fr; } }

.site-foot { border-top: 1px solid var(--line); padding-block: 40px; font-size: 15px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-row a { color: var(--ink); }
.others { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; padding: 0; margin: 10px 0 0; }
.others a, .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (max-width: 480px) {
  .head-actions .btn-primary { display: none; }
  .ctas .btn { flex: 1 1 100%; }
  body { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
