/* Pixa Cards — site styles */
:root {
  --ink: #16162e;
  --ink-2: #4a4a66;
  --ink-3: #7c7c95;
  --paper: #f5f6fa;
  --white: #ffffff;
  --indigo: #393989;
  --indigo-deep: #22226b;
  --indigo-night: #17174a;
  --saffron: #f37321;
  --green: #0b7d46;
  --line: #e2e3ec;
  --line-2: #d0d2df;
  --ok: #0b7d46;
  --warn: #b85a12;
  --bad: #b3261e;

  --f-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --wrap: 1120px;
}

*, *::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(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(44px, 8.4vw, 104px); line-height: .94; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(34px, 5.2vw, 64px); line-height: 1; letter-spacing: -.03em; font-weight: 700; }
h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 25px/1 var(--f-display); letter-spacing: -.03em; }
.logo-mark { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; }
.logo-mark i { width: 9px; height: 9px; border-radius: 2px; background: var(--indigo); }
.logo-mark i:nth-child(2) { background: var(--saffron); }
.logo-mark i:nth-child(3) { background: var(--green); }
.logo-mark i:nth-child(4) { background: var(--indigo); opacity: .35; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 860px) { .nav-links .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; font-size: 17px;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--indigo-deep); color: var(--white); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- the card ---------- */
.pcard {
  --w: 460px;
  position: relative; width: min(var(--w), 100%); aspect-ratio: 1.586; border-radius: calc(var(--w) * .055);
  background:
    radial-gradient(120% 90% at 0% 0%, #4a4ab0 0%, transparent 55%),
    linear-gradient(150deg, var(--indigo) 0%, var(--indigo-deep) 48%, var(--indigo-night) 100%);
  color: #fff; overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 40px 80px -30px rgba(34,34,107,.55), 0 18px 30px -18px rgba(23,23,74,.5);
}
.pcard .px { position: absolute; inset: 0; z-index: -1; }
.pcard .px rect { transform-box: fill-box; transform-origin: center; }
.pcard-top { position: absolute; top: 7.5%; left: 7%; right: 7%; display: flex; justify-content: space-between; align-items: center; }
.pcard-brand { font: 700 clamp(18px, 5.4cqw, 28px)/1 var(--f-display); letter-spacing: -.03em; display: flex; align-items: center; gap: .4em; }
.pcard { container-type: inline-size; }
.pcard-chip { position: absolute; left: 7%; top: 38%; width: 12.5%; aspect-ratio: 1.3; border-radius: 18%; background: linear-gradient(135deg, #f4d58d, #c9a24a 55%, #e9c97a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.pcard-chip::after { content: ""; position: absolute; inset: 22% 30%; border: 1px solid rgba(0,0,0,.22); border-radius: 3px; }
.pcard-nfc { position: absolute; left: 22%; top: 40%; width: 6%; opacity: .8; }
.pcard-num { position: absolute; left: 7%; bottom: 12%; font: 500 clamp(13px, 4.2cqw, 20px)/1 var(--f-body); letter-spacing: .14em; opacity: .9; font-variant-numeric: tabular-nums; }
.pcard-rupay { position: absolute; right: 6.5%; bottom: 9.5%; width: 27%; height: auto; }
.pcard-sm { --w: 300px; }

@media (prefers-reduced-motion: no-preference) {
  .pcard.assemble .px rect { animation: px-in .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
  @keyframes px-in { from { opacity: 0; transform: scale(.2); } }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { max-width: 11ch; margin: 0 auto; }
.hero .lede { margin: 26px auto 34px; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-card { display: flex; justify-content: center; margin-top: 64px; perspective: 1400px; }
.hero-card .pcard { --w: 520px; transform: rotateX(14deg) rotateZ(-4deg); }
.hero-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 56px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--green); }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section.pt0 { padding-top: 0; }
.footer-tag { margin-top: 14px; max-width: 30ch; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .lede { margin: 18px auto 0; }

/* what you get — asymmetric tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: var(--white); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 10px; min-height: 320px; overflow: hidden; position: relative; }
.tile p { margin: 0; color: var(--ink-2); max-width: 30ch; }
.tile-a { grid-column: span 4; background: var(--indigo-deep); color: #fff; }
.tile-a h3, .tile-a p { color: #fff; } .tile-a p { opacity: .82; }
.tile-b { grid-column: span 2; }
.tile-art { margin-top: auto; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile-a, .tile-b { grid-column: auto; } }

.merchant-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.merchant-row span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 500; }
/* One colour per chip. Scoped to .merchant-row so they beat the base rule above (classes, not inline styles: the CSP blocks those). */
.merchant-row .chip-saffron, .merchant-row .chip-green, .merchant-row .chip-white,
.merchant-row .chip-yellow, .merchant-row .chip-sky, .merchant-row .chip-lilac { box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.merchant-row .chip-saffron { background: #ffb37a; color: #4a1f00; }
.merchant-row .chip-green   { background: #7ee0a8; color: #063d22; }
.merchant-row .chip-white   { background: #ffffff; color: #22226b; }
.merchant-row .chip-yellow  { background: #ffd84d; color: #3d2f00; }
.merchant-row .chip-sky     { background: #9ad7ff; color: #08324d; }
.merchant-row .chip-lilac   { background: #d9c2ff; color: #2e1466; }
/* "Your crypto. Your card." tile: coins flow along a dotted path into a tilted card, ₹ badge on its corner.
   .flow-art takes the height left in the tile (so the tile keeps its grid size); .flow-stage is the largest
   298×149 box that fits in it. Everything inside is placed in % of the stage, so it scales and never overflows. */
.tile-b p { max-width: 34ch; }
.flow-art { position: relative; flex: 1 1 0; min-height: 112px; width: 100%; container-type: size; }
.flow-stage { position: absolute; left: 0; bottom: 0; width: min(100cqw, 200cqh, 340px); aspect-ratio: 298 / 149; container-type: inline-size; }
@media (max-width: 860px) {
  /* One column: no neighbour tile to match, so give the illustration its full width. */
  .flow-art { flex: none; min-height: 0; max-width: 340px; aspect-ratio: 298 / 149; }
}
.flow-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-path path { fill: none; stroke: var(--indigo); stroke-opacity: .32; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0 7; }
.flow-card { position: absolute; left: 33.4%; top: 12.7%; width: 64%; transform: rotate(-6deg); }
.flow-card .pcard { --w: 220px; width: 100%; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 30px -16px rgba(34,34,107,.5); }
.rupee-badge { position: absolute; right: -4%; top: -9%; width: 15%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--saffron); color: #fff; font: 700 clamp(13px, 4.6cqw, 17px)/1 var(--f-body); box-shadow: 0 0 0 3px var(--white), 0 6px 12px -6px rgba(243,115,33,.7); }
.flow-art .flow-coin.coin { position: absolute; width: 12.08%; height: auto; aspect-ratio: 1; margin: 0; font-size: 0; z-index: 1; box-shadow: 0 4px 10px -6px rgba(23,23,74,.45); }
.flow-coin.usdt { left: 1.34%; top: 69.8%; }
.flow-coin.usdc { left: 5.37%; top: 44.3%; }
.flow-coin.eth  { left: 12.08%; top: 21.5%; }
.flow-coin.bnb  { left: 22.15%; top: 5.37%; }
/* One subtle motion: the coins drift once toward the card and settle. Never loops. */
@media (prefers-reduced-motion: no-preference) {
  .flow-coin { animation: flow-in .9s cubic-bezier(.2,.75,.25,1) both; }
  .flow-coin.usdt { --fx: -14px; --fy: 10px; animation-delay: .15s; }
  .flow-coin.usdc { --fx: -16px; --fy: 4px; animation-delay: .25s; }
  .flow-coin.eth  { --fx: -14px; --fy: -4px; animation-delay: .35s; }
  .flow-coin.bnb  { --fx: -12px; --fy: -10px; animation-delay: .45s; }
  @keyframes flow-in { from { opacity: 0; transform: translate(var(--fx, -12px), var(--fy, 0)); } }
}
.coin { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--f-display); color: #fff; border: 3px solid var(--white); margin-right: -12px; }
.coin.usdt { background: #26a17b; } .coin.usdc { background: #2775ca; } .coin.eth { background: #627eea; } .coin.bnb { background: #f0b90b; color: #2a2100; }
/* Logos (site.js upgrades .coin circles; if a logo fails, the circle comes back) */
.coin.has-logo { position: relative; background: var(--white); color: transparent; overflow: hidden; }
.coin-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.coin-icon { position: relative; display: inline-block; width: 34px; height: 34px; flex: none; line-height: 0; vertical-align: middle; }
.coin-icon .coin { width: 100%; height: 100%; border: 0; margin: 0; font-size: 0; }
.coin-badge { position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--white); object-fit: cover; }
.chip[data-net] { display: inline-flex; align-items: center; gap: 6px; }
.chip-logo { width: 18px; height: 18px; border-radius: 50%; flex: none; object-fit: cover; }

/* how it works — real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; }
.step::before { counter-increment: s; content: counter(s); font: 700 56px/1 var(--f-display); color: var(--indigo); letter-spacing: -.04em; display: block; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 10px 0 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* payment networks */
.networks { background: var(--white); border-radius: var(--r-lg); padding: 12px 32px; }
.net-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.net-row:last-child { border-bottom: 0; }
.net-row .tok { font: 700 26px/1 var(--f-display); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.net-row .tok .coin { width: 30px; height: 30px; border-width: 0; font-size: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-weight: 500; font-size: 15px; color: var(--ink-2); }
@media (max-width: 560px) { .net-row { grid-template-columns: 1fr; gap: 12px; } .networks { padding: 4px 20px; } }

/* fees */
.fees { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.fees-more { margin: 16px 4px 0; font-size: 15px; font-weight: 600; }
/* ---------- fees panel (home, /card): 5 white tiles + 1 dark highlight ---------- */
.fees-panel { background: #eef0f7; border-radius: var(--r-lg); padding: 24px; }
.fp-head { text-align: center; margin: 14px 0 26px; }
.fp-head p { margin: 8px 0 0; color: var(--ink-3); }
.fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .fee-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fee-grid { grid-template-columns: 1fr; } }
.ftile { --c: var(--indigo); --bg: var(--paper); --art: 72px; position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: 196px;
  background: var(--white); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.ft-pkg    { --bg: #ffe3cc; --c: #e0620f; }
.ft-month  { --bg: #d6f5e3; --c: #0b7d46; }
.ft-txn    { --bg: #fff2bf; --c: #a77a00; }
.ft-limit  { --bg: #dcefff; --c: #1673b8; }
.ft-accept { --bg: #ece2ff; --c: #5b3cc4; }
.ft-badge { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--bg); color: var(--c); }
.ft-badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-label { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.ft-value { margin-top: 4px; font: 700 28px/1.15 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.ft-note { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
/* The value and note stop short of the corner art, so an illustration never sits behind them. */
.ft-value, .ft-note, .ft-title { max-width: calc(100% - var(--art) - 12px); }
/* Corner illustrations: behind the text (z-index -1 inside the isolated tile), in the tile's colours. */
.ft-art { position: absolute; right: 14px; bottom: 14px; width: var(--art); height: var(--art); z-index: -1; opacity: .9;
  color: var(--c); fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ft-art .fl { fill: var(--bg); }
.ft-art .fl-dark { fill: var(--c); fill-opacity: .22; stroke: none; }
.ft-art .bold { stroke-width: 4.5; }
.ft-art .track { stroke: var(--bg); stroke-width: 9; }
.ft-art .prog { stroke-width: 9; }
.ft-art .hub { fill: currentColor; stroke: none; }
.ft-art text { fill: currentColor; stroke: none; font: 700 16px/1 var(--f-display); }
/* Acceptance: a mini Pixa card peeking out of the corner. */
.ft-card { position: absolute; right: -16px; bottom: -14px; width: 90px; transform: rotate(-12deg); z-index: -1; opacity: .95; }
.ft-card .pcard { --w: 90px; width: 100%; box-shadow: 0 10px 18px -10px rgba(34,34,107,.5); }
.ft-card .pcard-brand { font-size: 10px; }
/* No surprises: dark highlight tile */
.ft-dark { --art: 80px; background: #22226b; color: #fff; }
.ft-dark .ft-badge { background: rgba(255,255,255,.15); color: #fff; }
.ft-title { font: 600 22px/1.2 var(--f-display); color: #fff; }
.ft-dark .ft-note { margin-top: 8px; color: rgba(255,255,255,.8); }
.ft-art.ft-shield { width: 110px; height: 110px; right: -8px; bottom: -8px; opacity: 1; }
.ft-shield .sh { fill: #fff; fill-opacity: .1; stroke: none; }
.ft-shield .px-s { fill: #f37321; stroke: none; }
.ft-shield .px-g { fill: #0b7d46; stroke: none; }
@media (max-width: 520px) {
  .ftile { --art: 56px; min-height: 0; }
  .ft-card { width: 70px; right: -14px; bottom: -12px; }
  .ft-card .pcard { --w: 70px; }
  .ft-card .pcard-brand { font-size: 8px; }
  .ft-dark { --art: 70px; }
  .ft-art.ft-shield { width: 90px; height: 90px; }
}
.fee { display: flex; justify-content: space-between; gap: 24px; padding: 26px 34px; border-bottom: 1px solid var(--line); align-items: baseline; }
.fee:last-child { border-bottom: 0; }
.fee dt { color: var(--ink-2); font-weight: 500; }
.fee dd { margin: 0; font: 700 clamp(20px, 2.6vw, 28px)/1.15 var(--f-display); letter-spacing: -.02em; text-align: right; }
.fee dd small { display: block; font: 400 14px/1.4 var(--f-body); color: var(--ink-3); letter-spacing: 0; margin-top: 4px; }
@media (max-width: 560px) { .fee { flex-direction: column; gap: 6px; padding: 22px; } .fee dd { text-align: left; } }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 600 20px/1.35 var(--f-display); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* closing cta */
.closer { background: var(--indigo-deep); color: #fff; border-radius: var(--r-lg); padding: 80px 32px; text-align: center; position: relative; overflow: hidden; }
.closer h2 { color: #fff; max-width: 14ch; margin: 0 auto; }
.closer p { color: rgba(255,255,255,.78); margin: 18px auto 30px; max-width: 34em; }
.closer .btn { background: #fff; color: var(--ink); }
.closer .btn:hover { background: var(--paper); }

/* ---------- feature cards (home, under the tiles) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.fcard { background: var(--white); border-radius: var(--r-lg); padding: 12px 12px 26px; display: flex; flex-direction: column; min-width: 0; }
.fcard h3 { font-size: 22px; margin: 20px 14px 0; }
.fcard p { margin: 8px 14px 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.fc-tag { margin: auto 14px 0; padding-top: 16px; color: var(--indigo); font-size: 14px; font-weight: 600; }
@media (hover: hover) and (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .fcard { transition: transform .2s ease, box-shadow .2s ease; }
  .fcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(34,34,107,.35); }
}
/* 16:9 image area. Illustrations are placed in % of this box, so they scale and never overflow it. */
.fc-media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; container-type: inline-size; background: var(--paper); }
.fc-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Pay your way: coins at angles and sizes on indigo → white, with sparkles */
.fc-pay { background: linear-gradient(160deg, #dcdcf6 0%, #eeeefb 55%, #fff 100%); }
.fc-media .fc-coin.coin { position: absolute; margin: 0; font-size: 0; height: auto; aspect-ratio: 1; border-width: 3px; box-shadow: 0 10px 22px -12px rgba(23,23,74,.5); }
.fc-coin.usdt { width: 25%; left: 17%; top: 30%; transform: rotate(-12deg); z-index: 2; }
.fc-coin.usdc { width: 19%; left: 36%; top: 14%; transform: rotate(9deg); z-index: 1; }
.fc-coin.eth  { width: 22%; left: 49%; top: 40%; transform: rotate(-6deg); z-index: 3; }
.fc-coin.bnb  { width: 16%; left: 66%; top: 20%; transform: rotate(14deg); z-index: 2; }
.fc-spark { position: absolute; width: 1.6%; aspect-ratio: 1; border-radius: 50%; background: var(--indigo); opacity: .28; }
.fc-spark.s1 { left: 10%; top: 18%; } .fc-spark.s2 { left: 30%; top: 80%; width: 1.1%; } .fc-spark.s3 { left: 62%; top: 9%; width: 1.2%; }
.fc-spark.s4 { left: 85%; top: 58%; } .fc-spark.s5 { left: 80%; top: 84%; width: 1%; background: var(--saffron); opacity: .6; }
/* Delivered in minutes: small tilted indigo card on pale lavender → warm cream, white chat bubble with a green tick */
.fc-delivery { background: linear-gradient(135deg, #eceefb 0%, #f7f4ff 55%, #fff3e8 100%); }
.fc-card { position: absolute; left: 24%; top: 17%; width: 52%; transform: rotate(-7deg); }
.fc-card .pcard { --w: 200px; width: 100%; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 30px -12px rgba(34,34,107,.45); }
.fc-bubble { position: absolute; left: 66%; top: 11%; width: 15%; aspect-ratio: 1; display: grid; place-items: center; background: var(--white); color: var(--ok);
  border-radius: 50% 50% 50% 12%; box-shadow: 0 0 0 1px #e2e3ec, 0 8px 16px -8px rgba(34,34,107,.35); }
.fc-bubble svg { width: 52%; height: auto; }
/* No sign-up needed: shield with padlock and a one-time address pill, on pale saffron → white */
.fc-safe { background: linear-gradient(160deg, #fde3cf 0%, #fff4ea 55%, #fff 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; }
.fc-shield { width: 17%; height: auto; color: var(--indigo); filter: drop-shadow(0 10px 14px rgba(34,34,107,.18)); }
.fc-pill { font: 500 clamp(11px, 4.4cqw, 15px)/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); background: var(--white);
  padding: .55em 1em; border-radius: 999px; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(34,34,107,.4); white-space: nowrap; }

/* ---------- footer ---------- */
.footer { padding: 72px 0 48px; color: var(--ink-2); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-2); }
.footer h4 { margin: 0 0 12px; font: 600 15px/1 var(--f-body); color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-grid > * { min-width: 0; }
.footer a[data-email-wrap] { overflow-wrap: anywhere; }
.footer .legal { margin-top: 28px; max-width: 860px; font-size: 13px; color: var(--ink-3); display: grid; gap: 10px; }
.footer .legal p { margin: 0; overflow-wrap: break-word; text-wrap: pretty; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- card page ---------- */
.card-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 0 32px; }
.card-hero h1 { font-size: clamp(44px, 7vw, 88px); }
.card-hero .lede { margin: 24px 0 32px; }
@media (max-width: 860px) { .card-hero { grid-template-columns: 1fr; text-align: left; } }
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.where div { background: var(--white); border-radius: var(--r-md); padding: 26px; }
.where p { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .where { grid-template-columns: 1fr; } }

/* ---------- prose pages ---------- */
.prose { max-width: 720px; margin: 0 auto; padding: 64px 0 96px; }
.prose h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 24px; }
.prose h2 { font-size: 26px; letter-spacing: -.01em; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.note { background: #fff1e6; border-radius: var(--r-sm); padding: 14px 18px; color: #6b3409; font-size: 15px; }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: 1.25fr .9fr; gap: 32px; align-items: start; padding: 40px 0 96px; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .co-summary { order: -1; } }
.co h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.panel { background: var(--white); border-radius: var(--r-lg); padding: 32px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 24px; letter-spacing: -.015em; margin-bottom: 4px; display: flex; gap: 12px; align-items: baseline; }
.panel h2 .n { font: 700 15px/1 var(--f-body); color: var(--white); background: var(--indigo); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; transform: translateY(-3px); }
.panel .hint { color: var(--ink-3); font-size: 15px; margin: 0 0 20px; }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; min-height: 72px; justify-content: center; transition: box-shadow .12s, background .12s; }
.opt label b { font-weight: 600; }
.opt label span { font-size: 14px; color: var(--ink-3); }
.opt input:checked + label { box-shadow: inset 0 0 0 2px var(--indigo); background: #f2f2fb; }
.opt input:focus-visible + label { outline: 3px solid var(--saffron); outline-offset: 2px; }
.opt input:disabled + label { opacity: .5; cursor: not-allowed; }
.pay-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.pay-grid label { flex-direction: row; align-items: center; gap: 12px; justify-content: flex-start; }
.pay-grid .coin { width: 34px; height: 34px; border: 0; margin: 0; font-size: 0; flex: none; }
.pay-grid .t { display: flex; flex-direction: column; }

.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-weight: 600; font-size: 15px; }
.input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--white); font: 400 17px var(--f-body); color: var(--ink); }
.input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px #e3e3f6; }
.input[aria-invalid="true"] { border-color: var(--bad); }
.err { color: var(--bad); font-size: 14px; min-height: 1em; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.money .input { padding-left: 30px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--indigo); flex: none; }

.co-summary { position: sticky; top: 88px; }
/* On one-column layouts the summary sits above the form; pinning it there would cover the steps. */
@media (max-width: 900px) { .co-summary { position: static; } }
.co-summary .pcard { --w: 380px; margin: 0 auto 24px; }
.lines { display: grid; gap: 12px; margin: 0; }
.lines div { display: flex; justify-content: space-between; gap: 16px; }
.lines dt { color: var(--ink-2); }
.lines dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.lines .total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.lines .total dt { color: var(--ink); font-weight: 600; }
.lines .total dd { font: 700 26px/1 var(--f-display); letter-spacing: -.02em; }
.estimate { color: var(--ink-3); font-size: 14px; text-align: right; min-height: 1.4em; margin-top: 6px; }
.s-note { color: var(--ink-3); font-size: 13px; line-height: 1.45; margin: 4px 0 0; }
.s-to { color: var(--ink-2); font-size: 14px; line-height: 1.45; margin: 10px 0 0; overflow-wrap: anywhere; }
.em-hint { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.em-hint .link-btn { margin-left: 4px; }

/* packages: checkout grid + table on Home and /card */
.pkg-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin-top: 12px; }
.pkg-grid .opt label { min-height: 84px; }
.pkg-grid .pk-amt { font: 700 24px/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pk-wrap { margin-top: 20px; }
.pk-wrap h3 { font-size: 22px; margin: 0 0 12px; }
.pk-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-lg); overflow: hidden; font-variant-numeric: tabular-nums; }
.pk-table th, .pk-table td { padding: 16px 34px; text-align: left; border-bottom: 1px solid var(--line); }
.pk-table thead th { color: var(--ink-3); font-size: 14px; font-weight: 600; padding-top: 18px; padding-bottom: 12px; }
.pk-table tbody th { font: 700 20px/1.2 var(--f-display); letter-spacing: -.01em; }
.pk-table td:last-child, .pk-table thead th:last-child { text-align: right; }
.pk-table tbody tr:last-child > * { border-bottom: 0; }
.pk-note { color: var(--ink-3); font-size: 14px; margin: 10px 4px 0; }
@media (max-width: 560px) { .pk-table th, .pk-table td { padding: 14px 18px; } .pk-table tbody th { font-size: 17px; } }
.co-summary .btn { width: 100%; margin-top: 22px; }
/* ---------- coupon (checkout summary) ---------- */
.link-btn { background: none; border: 0; padding: 0; font: 600 14px/1.4 var(--f-body); color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.coupon-box { margin-top: 14px; }
.coupon-form { margin-top: 10px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1 1 auto; min-width: 0; min-height: 44px; font-size: 16px; text-transform: uppercase; }
.co-summary .coupon-row .btn { width: auto; margin-top: 0; flex: none; min-height: 44px; }
.coupon-form .err { display: block; margin-top: 6px; }
/* Coupon errors: one red box under the field (role="alert" on #cp-err). Wraps on any width, never scrolls sideways. */
.cp-alert { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 10px 14px; min-width: 0;
  border: 1.5px solid #b3261e; border-radius: 10px; background: #fdecec; color: #8c1d18; font-size: 15px; line-height: 1.45; }
.cp-alert-ic { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.cp-alert-t { min-width: 0; overflow-wrap: anywhere; }
.lines .s-coupon dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.lines .s-coupon dt b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.lines .s-coupon dd { color: var(--ok); }
.form-error { background: #fdecea; color: var(--bad); border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; margin-top: 16px; }

/* payment screen */
.status { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: #f2f2fb; color: var(--indigo-deep); font-weight: 600; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.status.wait .dot { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .status.wait .dot { animation: none; } }
.status .timer { margin-left: auto; font-variant-numeric: tabular-nums; }
.status.ok { background: #e7f4ec; color: var(--ok); }
.status.warn { background: #fff1e6; color: var(--warn); }
.status.bad { background: #fdecea; color: var(--bad); }
.payto { display: grid; grid-template-columns: 1fr 200px; gap: 28px; margin-top: 26px; align-items: start; }
@media (max-width: 620px) { .payto { grid-template-columns: 1fr; } .payto .qr { order: -1; justify-self: center; } }
.qr { width: 200px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--line); padding: 10px; background: #fff; }
.kv { display: grid; gap: 6px; margin-bottom: 22px; }
.kv .k { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.kv .v { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.amount { font: 700 clamp(30px, 4.4vw, 40px)/1.05 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; word-break: break-all; }
/* Deposit address on the payment screen only. Scoped so the class can never style text elsewhere. */
.payto .addr { font: 500 16px/1.45 ui-monospace, "SF Mono", Menlo, Consolas, monospace; word-break: break-all; background: var(--paper); padding: 12px 14px; border-radius: 12px; flex: 1 1 100%; }
.copy { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.copy:hover { background: var(--line); }
.copy.done { background: #e7f4ec; color: var(--ok); }
.warnbox { margin-top: 6px; background: #fff1e6; color: #6b3409; border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; }
.warnbox b { color: #4d2506; }
.okbox { margin: 16px auto 0; max-width: 52ch; background: #e7f4ec; color: #0a4d2c; border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; }
.done-art { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f4ec; color: var(--ok); margin-bottom: 18px; }
.order-id { font-variant-numeric: tabular-nums; font-weight: 600; }
.prose[data-center] { text-align: center; }

/* fixes */
[hidden] { display: none !important; }
.pay-grid .t { color: var(--ink); font-size: 16px; }
.pay-grid .t b { font-weight: 600; }
.pay-grid .t span { color: var(--ink-3); font-size: 14px; }
.panel .check { margin-top: 20px; }
@container (max-width: 260px) { .pcard-num { display: none; } }
body { overflow-x: clip; }

/* ---------- skip link + mobile menu ---------- */
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.menu { position: relative; display: none; }
@media (max-width: 860px) { .menu { display: block; } }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 32px)); background: var(--white); border-radius: var(--r-md); padding: 8px; box-shadow: 0 24px 48px -16px rgba(22,22,46,.28), 0 0 0 1px var(--line); display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--paper); }
@media (max-width: 400px) { .nav-links .btn-sm { padding: 0 14px; } }

/* ---------- inner page head ---------- */
.page-head { padding: 72px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(42px, 7vw, 80px); max-width: 14ch; margin: 0 auto; }
.page-head .lede { margin: 22px auto 0; }
.page-head + .section { padding-top: 56px; }

/* ---------- how it works: guide ---------- */
.guide { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; counter-reset: g; }
.guide-step { background: var(--white); border-radius: var(--r-lg); padding: 34px; display: grid; grid-template-columns: 72px 1fr; gap: 8px 24px; }
.guide-step::before { counter-increment: g; content: counter(g); grid-row: span 3; font: 700 64px/0.9 var(--f-display); color: var(--indigo); letter-spacing: -.04em; }
.guide-step p { margin: 6px 0 0; color: var(--ink-2); }
.guide-step ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }
@media (max-width: 600px) { .guide-step { grid-template-columns: 1fr; padding: 26px; } .guide-step::before { grid-row: auto; font-size: 48px; } }
.tip { margin-top: 14px; background: var(--paper); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--ink-2); }
.tip b { color: var(--ink); }

/* ---------- networks table ---------- */
.nettable { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.netline { display: grid; grid-template-columns: 1.1fr 1.2fr 1.9fr 1fr; gap: 16px; padding: 22px 30px; border-bottom: 1px solid var(--line); align-items: center; }
.netline:last-child { border-bottom: 0; }
.netline.head { color: var(--ink-3); font-size: 14px; font-weight: 600; padding-top: 18px; padding-bottom: 14px; }
.netline .asset { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.netline .asset .coin { width: 34px; height: 34px; border: 0; margin: 0; font-size: 0; flex: none; }
.netline .contract { font: 500 13px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink-2); word-break: break-all; }
.netline .contract a { color: inherit; }
.netline .conf { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) {
  .netline { grid-template-columns: 1fr; gap: 6px; padding: 20px 22px; }
  .netline.head { display: none; }
  .netline .conf::before { content: "Confirms in: "; color: var(--ink-3); }
}

/* ---------- refund network fee table (/refunds; rows from src/refundfees.js) ---------- */
.prose h3#network-fee { font-size: 20px; margin: 28px 0 8px; }
.refund-fees { margin: 20px 0 14px; }
.refund-fees .netline { grid-template-columns: 1fr 1.6fr 1.2fr; padding: 18px 26px; }
.refund-fees .netline.head { padding-top: 16px; padding-bottom: 12px; }
.refund-fees .netline > span { color: var(--ink); min-width: 0; }
.refund-fees .netline.head > span { color: var(--ink-3); }
.refund-fee-amt { font-weight: 600; }
.refund-fee-today { display: block; font-weight: 400; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.prose .refund-fee-note { font-size: 15px; }
@media (max-width: 760px) {
  .refund-fees .netline { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .refund-fee-amt::before { content: "Network fee: "; color: var(--ink-3); font-weight: 400; }
}

/* ---------- faq groups ---------- */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 4px; }
.faq-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.faq-jump a { padding: 9px 16px; border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); }
.faq-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); }
.see-all { text-align: center; margin-top: 36px; }

/* ---------- forms on inner pages ---------- */
.narrow { max-width: 640px; margin: 0 auto; }
textarea.input { min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form-ok { background: #e7f4ec; color: var(--ok); border-radius: var(--r-sm); padding: 14px 16px; font-weight: 500; }
.panel .btn-block { width: 100%; margin-top: 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.channels:has(> .channel[hidden]) { grid-template-columns: minmax(0, 1fr); }
.channel { background: var(--white); border-radius: var(--r-md); padding: 24px; text-decoration: none; color: var(--ink); display: grid; gap: 4px; justify-items: center; text-align: center; }
.channel b { font: 600 19px/1.2 var(--f-display); }
.channel span { color: var(--ink-3); font-size: 15px; word-break: break-word; }
a.channel:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); color: var(--ink); }
@media (max-width: 560px) { .channels { grid-template-columns: minmax(0, 1fr); } }

/* ---------- security / about ---------- */
.never { background: var(--indigo-deep); color: #fff; border-radius: var(--r-lg); padding: 40px; }
.never h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.never ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.never li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.never li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--saffron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts div { background: var(--white); border-radius: var(--r-md); padding: 28px; }
.facts strong { display: block; font: 700 clamp(30px, 4vw, 42px)/1 var(--f-display); letter-spacing: -.03em; margin-bottom: 10px; }
.facts span { color: var(--ink-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--ink-3); font-size: 15px; margin-top: -8px; }
.guide-step > * { grid-column: 2; }
@media (max-width: 600px) { .guide-step > * { grid-column: 1; } }

/* ---------- /c/<token>: card activation page (prefix cl-) ---------- */
.cl-section { padding: 48px 0 72px; }
.cl-wrap { max-width: 560px; display: grid; gap: 24px; justify-items: center; }
.cl-card { width: min(100%, 380px); }
.cl-card .pcard { --w: 380px; }
.cl-panel { width: 100%; text-align: center; }
.cl-h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.12; margin: 0 auto; max-width: 16ch; }
.cl-lede { margin: 14px auto 0; font-size: 17px; color: var(--ink-2); max-width: 40ch; }
.cl-form { margin: 26px 0 0; }
.cl-btn { width: 100%; min-height: 60px; font-size: 18px; }
.cl-note { margin: 16px 0 0; }
.cl-support { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 480px) { .cl-section { padding: 24px 0 48px; } .cl-panel { padding: 24px 20px; } }

/* ---------- /media-kit (prefix mk-) ---------- */
.mk-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 0 40px; }
.mk-hero h1 { font-size: clamp(44px, 7vw, 88px); }
.mk-hero .lede { margin: 24px 0 30px; }
.mk-hero-card { display: flex; justify-content: center; min-width: 0; }
.mk-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.mk-jump a { padding: 8px 15px; border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); }
.mk-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); color: var(--ink); }
@media (max-width: 860px) { .mk-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; } }

.mk-body { padding-bottom: 96px; }
.mk-sec { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px 56px; padding: 56px 0; border-top: 1px solid var(--line-2); scroll-margin-top: 80px; }
.mk-side h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.025em; }
.mk-side p { margin: 14px 0 0; color: var(--ink-2); max-width: 34ch; }
.mk-main { min-width: 0; }
.mk-stack { display: grid; gap: 16px; align-content: start; }
@media (max-width: 860px) { .mk-sec { grid-template-columns: 1fr; padding: 44px 0; } .mk-side p { max-width: 60ch; } }

.mk-box { background: var(--white); border-radius: var(--r-md); padding: 24px; min-width: 0; }
.mk-box h3 { font-size: 19px; }
.mk-box p { margin: 10px 0 0; color: var(--ink-2); }
.mk-box-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.mk-copy { flex: none; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.mk-copy:hover { background: var(--line); }

.mk-facts { margin: 0; background: var(--white); border-radius: var(--r-md); padding: 6px 24px; }
.mk-facts > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mk-facts > div:last-child { border-bottom: 0; }
.mk-facts dt { color: var(--ink-3); font-weight: 500; font-size: 15px; }
.mk-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .mk-facts { padding: 4px 18px; } .mk-facts > div { grid-template-columns: 1fr; } }

.mk-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .mk-logos { grid-template-columns: 1fr; } }
.mk-logo { background: var(--white); border-radius: var(--r-md); padding: 10px; box-shadow: inset 0 0 0 1px var(--line); }
/* The preview box gets its height from aspect-ratio; the logo is centred inside it with max-* in % of that box. */
.mk-prev { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.mk-prev img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 80%; max-height: 62%; }
.mk-prev .mk-sq { max-height: 86%; }
.mk-prev .mk-sym { max-height: 40%; }
.mk-prev .mk-icon { max-height: 60%; border-radius: 22%; box-shadow: 0 8px 18px -10px rgba(22,22,46,.4); }
.mk-prev-light { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mk-prev-dark { background: #22226b; }
.mk-prev-check { background-color: #fff; background-image: linear-gradient(45deg, #eceef4 25%, transparent 25%, transparent 75%, #eceef4 75%), linear-gradient(45deg, #eceef4 25%, transparent 25%, transparent 75%, #eceef4 75%);
  background-size: 20px 20px; background-position: 0 0, 10px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.mk-logo-foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 8px 6px; }
.mk-logo-foot span { font-weight: 600; }
.mk-logo-foot a { font-weight: 600; font-size: 15px; }

.mk-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 560px) { .mk-rules { grid-template-columns: 1fr; } }
.mk-rules > div { background: var(--white); border-radius: var(--r-md); padding: 24px; }
.mk-rules h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.mk-rules h3::before { content: ""; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.mk-do h3::before { background: var(--green); }
.mk-dont h3::before { background: var(--saffron); }
.mk-rules ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 16px; }

.mk-swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .mk-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.mk-sw { background: var(--white); border-radius: var(--r-md); padding: 10px 10px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.mk-chip { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; margin-bottom: 8px; }
.mk-sw b { padding: 0 6px; font-weight: 600; }
.mk-hex { margin: 0 2px; padding: 3px 6px; border: 0; border-radius: 8px; background: transparent; color: var(--indigo); font: 500 14px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; cursor: pointer; }
.mk-hex:hover { background: var(--paper); }
.mk-use { padding: 0 6px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.mk-c-indigo { background: #393989; } .mk-c-deep { background: #22226b; } .mk-c-night { background: #17174a; }
.mk-c-lavender { background: #bcbcd8; } .mk-c-saffron { background: #f37321; } .mk-c-green { background: #0b7d46; }
.mk-c-ink { background: #16162e; } .mk-c-paper { background: #f5f6fa; box-shadow: inset 0 0 0 1px var(--line-2); }

.mk-box .mk-sample-display { margin: 14px 0 0; font: 800 clamp(34px, 5vw, 56px)/1.02 var(--f-display); letter-spacing: -.035em; color: var(--ink); overflow-wrap: break-word; }
.mk-box .mk-sample-body { margin: 14px 0 0; font: 400 clamp(19px, 2vw, 22px)/1.5 var(--f-body); color: var(--ink); max-width: 36ch; }
.mk-box .mk-meta { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

.mk-figure { margin: 0; }
.mk-figure img { width: 100%; height: auto; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -24px rgba(34,34,107,.35); }
.mk-figure figcaption { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.mk-figure figcaption a { font-weight: 600; font-size: 15px; justify-self: start; }

.mk-lines { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--r-md); }
.mk-lines li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); font: 600 19px/1.3 var(--f-display); letter-spacing: -.01em; }
.mk-lines li:last-child { border-bottom: 0; }
.mk-sub { font-size: 19px; margin-top: 16px; }
.mk-points { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mk-points > div { background: var(--white); border-radius: var(--r-md); padding: 20px 22px; }
.mk-points dt { font-weight: 600; }
.mk-points dd { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 560px) { .mk-points { grid-template-columns: 1fr; } .mk-lines li { padding: 14px 18px; } }

.mk-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.mk-table th, .mk-table td { padding: 14px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.mk-table thead th { color: var(--ink-3); font-size: 14px; font-weight: 600; padding-bottom: 10px; }
.mk-table tbody th { font: 700 18px/1.3 var(--f-display); width: 30%; }
.mk-table tbody tr:last-child > * { border-bottom: 0; }
.mk-say td { width: 50%; color: var(--ink-2); }
.mk-say thead th:first-child { color: var(--green); }
.mk-say thead th:last-child { color: var(--warn); }
@media (max-width: 560px) { .mk-table th, .mk-table td { padding: 12px 16px; } }
.mk-more { margin: 14px 4px 0; font-weight: 600; font-size: 15px; }

.mk-contacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .mk-contacts { grid-template-columns: 1fr; } }
.mk-contacts a { display: inline-block; margin-top: 8px; font-weight: 600; overflow-wrap: anywhere; }
.mk-fine { margin: 16px 4px 0; font-size: 13px; color: var(--ink-3); }

.mk-toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 12px); max-width: calc(100vw - 32px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.mk-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .mk-toast { transition: none; } }
