/* OTA PG landing page: calm and plain, because it is about people's money.
   White and cool grey with OTA blue as the one accent, hairline borders,
   Gabarito (the ota.my font) at a medium weight, no hard shadows or tilted
   cards. Light-only, like ota.my. */
@font-face {
  font-family: "Gabarito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/static/fonts/gabarito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gabarito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/static/fonts/gabarito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f7f8fa; --surface: #ffffff; --tint: #eef1f8; --line: #e3e6eb;
  --ink: #101828; --ink-soft: #566173;
  --accent: #2741d6; --accent-hover: #1f35b5; --accent-soft: #e8ecfd;
  --dark: #111a33; --dark-ink: #f3f5fa; --dark-soft: rgb(243 245 250 / .72); --dark-accent: #a9b8ff;
  --ok: #15803d;
  --font: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgb(16 24 40 / .04); --lift: 0 12px 32px -12px rgb(16 24 40 / .18);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
/* Jump links land below the sticky top bar. */
main [id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.landing { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { margin: 0; color: inherit; font-weight: 650; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; text-wrap: balance; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sec-lead { font-size: 17.5px; color: var(--ink-soft); margin: 16px 0 32px; max-width: 58ch; }
.fine { font-size: 13.5px; color: var(--ink-soft); margin: 16px 0 0; max-width: 92ch; }

/* buttons: plain, squared-off, no bounce */
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15.5px var(--font); padding: 10px 18px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; white-space: nowrap; }
.pill-btn.big { font-size: 16px; padding: 12px 22px; }
.pill-btn.primary { background: var(--accent); color: #fff; }
.pill-btn.primary:hover { background: var(--accent-hover); }
.pill-btn.quiet { background: var(--surface); color: var(--ink); border-color: var(--line); }
.pill-btn.quiet:hover { border-color: #c9ced6; }
@media (prefers-reduced-motion: reduce) { .pill-btn { transition: none; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }

/* ---- top bar + hero ---- */
.nav { background: rgb(255 255 255 / .94); color: var(--ink); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(1.4) blur(8px); }
.nav-in { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 21px; letter-spacing: -.02em; color: inherit; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { color: var(--accent); font-weight: 650; }
.nav nav { display: flex; gap: 4px; margin: 0 auto; }
.nav nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 12px; border-radius: 6px; }
.nav nav a:hover { background: #f1f3f7; color: var(--ink); }
/* Back to OTA's main site (data-site: ota.my, or staging.ota.my on staging). */
.site-pill { margin-left: -6px; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-pill:hover { background: #dbe2fc; }
.env { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #fdf3d8; color: #8a5a00; text-transform: capitalize; }
@media (max-width: 900px) { .nav nav { display: none; } .nav-in > .pill-btn { margin-left: auto; } }
@media (max-width: 560px) { .nav .env { display: none; } .brand { font-size: 20px; } }
/* The smallest phones: logo, ota.my pill and log in on one row. */
@media (max-width: 360px) { .nav-in { gap: 12px; } .brand { font-size: 18px; gap: 8px; } .brand img { width: 26px; height: 26px; } .site-pill { margin-left: -4px; padding: 3px 9px; font-size: 12.5px; } .nav-in > .pill-btn { padding: 8px 12px; font-size: 14.5px; } }

.hero { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 88px; }
@media (max-width: 940px) { .hero-in { grid-template-columns: 1fr; padding-bottom: 56px; } }
.kicker { margin: 0 0 18px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.tag { color: var(--accent); }
.kicker a { color: inherit; text-underline-offset: 3px; }
.kicker a:hover { color: var(--accent); }
.lead { font-size: 18px; line-height: 1.6; margin: 22px 0 30px; max-width: 34em; color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; }
.badges li { position: relative; padding-left: 22px; color: var(--ink-soft); font-weight: 500; font-size: 14.5px; }
.badges li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- hero animation: a checkout taking payments ---- */
.flow { position: relative; min-height: 600px; }
.flow-tabs { position: absolute; left: 42%; top: 0; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #f1f3f7; border: 1px solid var(--line); }
.flow-tabs span { position: relative; overflow: hidden; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.flow-tabs span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.flow-tabs i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }

.device { position: absolute; left: 42%; top: 58px; width: 290px; height: 540px; margin-left: -145px; padding: 10px; border-radius: 46px; background: #1c2026; box-shadow: 0 30px 60px -24px rgb(16 24 40 / .45); z-index: 2; }
.notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 999px; background: #1c2026; z-index: 4; }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #f6f8fa; color: #0f172a; font-family: var(--font); padding: 44px 16px 16px; }
.scr-head { display: flex; align-items: center; gap: 10px; }
.scr-head .m-logo { width: 34px; height: 34px; border-radius: 10px; background: #0f766e; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.scr-head b { display: block; font-size: 15px; line-height: 1.1; }
.scr-head small { font-size: 11.5px; opacity: .65; }
.scr-head .lock { margin-left: auto; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgb(21 128 61 / .12); color: var(--ok); }
.scr-amt { text-align: center; margin: 10px 0 6px; }
.scr-amt small { display: block; font-size: 12px; opacity: .6; }
.scr-amt b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.stage { position: relative; height: 336px; }
.panel { position: absolute; inset: 0; opacity: 0; transform: translateX(30px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; display: flex; flex-direction: column; }
/* The old screen leaves before the new one arrives, so the two never overlap. */
.panel.on { opacity: 1; transform: none; transition-delay: .18s; }
.panel.out { opacity: 0; transform: translateX(-30px); transition-duration: .18s; }
.panel h4 { margin: 4px 0 10px; font-size: 15px; font-weight: 700; }

.mrow { display: flex; align-items: center; gap: 10px; padding: 8px 11px; margin-bottom: 7px; border-radius: 14px; background: #fff; border: 2px solid rgb(0 0 0 / .08); transition: border-color .2s, transform .15s, background .2s; }
.mrow img { width: 38px; height: 26px; object-fit: contain; }
.mrow b { display: block; font-size: 14px; }
.mrow small { font-size: 11.5px; opacity: .6; }
.mrow i { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(0 0 0 / .2); transition: border .2s; flex: none; }
.mrow.sel { border-color: #0f766e; background: #ecfdf8; }
.mrow.sel i { border: 6px solid #0f766e; }
.pressed { transform: scale(.97); }
.paybtn, .approve, .back { margin-top: auto; padding: 13px; border-radius: 14px; text-align: center; font-weight: 700; font-size: 15px; background: #a7d3cd; color: #fff; transition: background .25s, transform .15s; }
.paybtn.ready, .approve { background: #0f766e; }
.banks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.banks span { display: grid; place-items: center; height: 58px; border-radius: 12px; background: #fff; border: 2px solid rgb(0 0 0 / .08); transition: border-color .2s, transform .15s; }
.banks img { max-width: 70%; max-height: 30px; }
.banks span.sel { border-color: #0f766e; box-shadow: 0 0 0 3px rgb(15 118 110 / .15); }

.p-bank { background: #fff; border-radius: 16px; padding: 0 14px 14px; text-align: center; }
.bank-bar { display: flex; align-items: center; gap: 8px; margin: 0 -14px 16px; padding: 10px 14px; border-radius: 16px 16px 0 0; background: #ffcc00; font-size: 12px; font-weight: 700; color: #111; }
.bank-bar img { height: 22px; background: #fff; border-radius: 6px; padding: 2px 4px; }
.bank-ask { margin: 8px 0 0; font-size: 13px; opacity: .7; }
.bank-amt { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.bank-to { margin: 2px 0 0; font-size: 13px; }
.approve { background: #111; }

.qrbox { position: relative; width: 196px; height: 196px; margin: 4px auto 0; padding: 8px; background: #fff; border-radius: 16px; }
.qrbox img { width: 100%; height: 100%; display: block; }
.scan { position: absolute; left: 10px; right: 10px; top: 12px; height: 3px; border-radius: 3px; background: #ed2e67; box-shadow: 0 0 14px 4px rgb(237 46 103 / .45); }
.flow.live .p-qr.on .scan { animation: scan 1.4s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 14px); } }
.crn { position: absolute; width: 22px; height: 22px; border: 4px solid #ed2e67; }
.crn.tl { top: -4px; left: -4px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.crn.tr { top: -4px; right: -4px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.crn.bl { bottom: -4px; left: -4px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.crn.br { bottom: -4px; right: -4px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.hint { text-align: center; font-size: 12.5px; opacity: .7; margin: 12px 0 4px; }
.qr-timer { text-align: center; font-size: 12.5px; }
.qr-timer b { font-variant-numeric: tabular-nums; }

.cardviz { position: relative; height: 150px; border-radius: 16px; padding: 16px; color: #fff; background: linear-gradient(135deg, #1b2a8c, #2741d6 55%, #7a5cff); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; box-shadow: 0 10px 24px -10px rgb(39 65 214 / .7); }
.cardviz .chip { position: absolute; top: 18px; left: 16px; width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #f8d77a, #c9a03b); }
.cardviz img { position: absolute; top: 14px; right: 14px; height: 22px; background: #fff; border-radius: 4px; padding: 2px 4px; }
.cardviz b { font: 600 17px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; }
.cardviz div { display: flex; justify-content: space-between; font-size: 11px; opacity: .85; letter-spacing: .08em; }
.fields { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin: 12px 0; }
.fields span { background: #fff; border: 2px solid rgb(0 0 0 / .08); border-radius: 12px; padding: 6px 10px; font-size: 11px; opacity: .9; }
.fields b { display: block; font-size: 14px; }

.p-proc, .p-paid { align-items: center; justify-content: center; text-align: center; gap: 6px; }
.ring { width: 64px; height: 64px; border-radius: 50%; border: 6px solid rgb(15 118 110 / .15); border-top-color: #0f766e; margin-bottom: 10px; }
.flow.live .p-proc.on .ring { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.p-proc b, .p-paid > b { font-size: 18px; font-weight: 700; }
.p-proc small { font-size: 12.5px; opacity: .65; }
.tick { position: relative; width: 78px; height: 78px; border-radius: 50%; background: #16a34a; display: grid; place-items: center; margin-bottom: 8px; }
.tick span { width: 30px; height: 16px; border-left: 6px solid #fff; border-bottom: 6px solid #fff; transform: rotate(-45deg) translate(2px, -3px); }
.tick::before, .tick::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid #16a34a; opacity: 0; }
.flow.live .p-paid.on .tick { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.flow.live .p-paid.on .tick::before { animation: burst .9s ease-out .15s both; }
.flow.live .p-paid.on .tick::after { animation: burst .9s ease-out .35s both; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@keyframes burst { from { transform: scale(.8); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.rcpt { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; width: 100%; margin: 14px 0; padding: 12px 14px; background: #fff; border-radius: 14px; text-align: left; font-size: 12.5px; }
.rcpt span { opacity: .6; }
.rcpt b { text-align: right; font-weight: 700; }
.back { width: 100%; background: transparent; color: #0f766e; border: 2px solid #0f766e; }

.tap { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgb(39 65 214 / .35); border: 3px solid rgb(39 65 214 / .85); opacity: 0; pointer-events: none; z-index: 5; }
.tap.go { animation: tap .6s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.6); } 30% { opacity: 1; transform: scale(.75); } 100% { opacity: 0; transform: scale(1.3); } }

.toasts { position: absolute; right: -112px; top: 150px; width: 236px; display: grid; gap: 10px; z-index: 3; }
.toast { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--lift); transition: transform .45s cubic-bezier(.2, 1.2, .4, 1), opacity .45s; }
.toast.in { transform: translateX(60px) scale(.9); opacity: 0; }
.toast.older { transform: scale(.94); opacity: .7; }
.toast img { width: 36px; height: 36px; object-fit: contain; flex: none; background: #fff; border-radius: 8px; border: 1px solid var(--line); padding: 3px; }
.toast b { display: block; color: var(--ok); font-size: 18px; font-weight: 650; line-height: 1.1; }
.toast span { display: block; font-size: 13px; font-weight: 600; }
.toast small { font-size: 11.5px; color: var(--ink-soft); }
.tally { position: absolute; right: -60px; bottom: 60px; z-index: 3; padding: 14px 18px; border-radius: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--lift); }
.tally small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.tally b { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tally span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 1340px) { .toasts { right: -56px; } .tally { right: -20px; } }
@media (max-width: 1100px) { .toasts { right: -24px; width: 210px; } }
@media (max-width: 940px) {
  .flow { min-height: 640px; max-width: 520px; width: 100%; margin: 0 auto; }
  .device, .flow-tabs { left: 50%; }
  .toasts { right: -8px; } .tally { right: -8px; bottom: 20px; }
}
@media (max-width: 560px) {
  .flow { min-height: 610px; }
  .device { width: 262px; height: 520px; margin-left: -131px; }
  .toasts { right: -8px; top: auto; bottom: 0; width: 196px; }
  .toast:nth-child(n+2) { display: none; }
  .tally { display: none; }
  .flow-tabs span { padding: 5px 10px; font-size: 13px; }
  .scr-head small { display: none; }
  .mrow small { display: none; }
  .mrow { padding: 10px; }
  .scr-amt { margin: 8px 0 6px; }
  .scr-amt b { font-size: 26px; }
  .stage { height: 330px; }
  .qrbox { width: 176px; height: 176px; }
  .cardviz { height: 132px; }
}
@media (prefers-reduced-motion: reduce) { .panel, .toast, .mrow { transition: none; } }

/* ---- logo strip ---- */
.logos { padding: 40px 0 0; }
.logos-in { display: grid; gap: 14px; }
.logos-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.tiles li { position: relative; display: grid; place-items: center; height: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.tiles img { max-height: 30px; max-width: 76%; object-fit: contain; }
.tiles li.soon img { opacity: .5; filter: grayscale(.4); }
.tiles li span { position: absolute; top: -9px; right: -6px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 0 7px; font-size: 11.5px; font-weight: 500; color: var(--ink-soft); }

/* ---- sections ---- */
.sec { padding: 88px 0; }
@media (max-width: 720px) { .sec { padding: 60px 0; } }
.sec.dark { background: var(--dark); color: var(--dark-ink); }
.sec.dark .eyebrow { color: var(--dark-accent); }
.sec.dark .sec-lead { color: var(--dark-soft); }
.sec.tinted { background: var(--tint); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 940px) { .two { grid-template-columns: 1fr; gap: 36px; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 66px; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 19px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.steps b { display: block; font-size: 17px; font-weight: 600; }
.steps span { color: var(--ink-soft); font-size: 15.5px; }

.phone-wrap { display: grid; place-items: center; }
.phone { width: min(330px, 100%); padding: 14px; border-radius: 40px; background: #1c2026; box-shadow: 0 30px 60px -24px rgb(16 24 40 / .4); }
.mock { background: #f6f8fa; color: #0f172a; border-radius: 28px; padding: 20px 18px; font-family: var(--font); }
.mock-top { display: flex; gap: 12px; align-items: center; }
.mock-top b { display: block; font-size: 17px; }
.mock-top div span { font-size: 13px; opacity: .7; }
.mock-logo { width: 40px; height: 40px; border-radius: 12px; background: #0f766e; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.mock-amt { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 12px; padding: 12px 0; border-top: 1px solid rgb(0 0 0 / .08); border-bottom: 1px solid rgb(0 0 0 / .08); }
.mock-amt b { font-size: 28px; }
.mock-m { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1.5px solid rgb(0 0 0 / .1); font-weight: 600; font-size: 14px; }
.mock-m img { width: 34px; height: 22px; object-fit: contain; }
.mock-m i { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(0 0 0 / .2); }
.mock-m.on { border-color: #0f766e; }
.mock-m.on i { border: 5px solid #0f766e; }
.mock-pay { margin-top: 14px; padding: 13px; border-radius: 14px; background: #0f766e; color: #fff; text-align: center; font-weight: 700; font-size: 15px; }
.mock-foot { margin-top: 10px; text-align: center; font-size: 12px; opacity: .55; }

/* ---- pricing ---- */
.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.rate { position: relative; display: grid; gap: 4px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.rate img { height: 26px; width: auto; max-width: 110px; object-fit: contain; justify-self: start; background: var(--surface); padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); box-sizing: content-box; margin-bottom: 8px; }
.rate .what { font-weight: 600; font-size: 16px; line-height: 1.25; }
.rate .price { font-size: 36px; font-weight: 650; letter-spacing: -.025em; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; }
.rate .per { font-size: 14px; color: var(--ink-soft); }
.rate.soon { background: var(--bg); border-style: dashed; }
.rate.soon .price { font-size: 24px; }
.price-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 32px; }
.price-head .sec-lead { margin-bottom: 0; }
.view-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.view-switch button { font: inherit; font-weight: 500; font-size: 14px; padding: 6px 14px; border: 0; border-radius: 6px; background: none; color: var(--ink); cursor: pointer; }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.rate s, .terms s, .rate-table s { opacity: .6; }
.rate-table { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rate-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.rate-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rate-table th, .rate-table td { text-align: left; padding: 13px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.rate-table thead th { border-top: 0; background: var(--bg); color: var(--ink-soft); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rate-table tbody th { font-weight: 600; }
.rate-table tbody th small { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-soft); }
.rate-table td { color: var(--ink-soft); }
.rate-table .p { text-align: right; white-space: nowrap; color: var(--ink); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; width: 1%; }
.rate-table thead .p { font-size: 12px; color: var(--ink-soft); }
.rate-table tr.group th { background: var(--tint); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 20px; }
.soon-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 6px; border: 1px dashed #c9ced6; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.rate-table .how-m { display: none; }
@media (max-width: 640px) {
  .rate-table .how-m { display: block; font-size: 13px; }
  .rate-table th, .rate-table td { padding: 11px 12px; font-size: 15px; }
  .rate-table tr.group th { padding: 7px 12px; }
  .rate-table thead th:last-child, .rate-table tbody td:last-child { display: none; }
}
.terms { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.terms li { padding: 8px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.terms b { font-weight: 600; }

/* ---- invoices ---- */
.sec.white { background: var(--surface); border-top: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
/* The email card overlaps only the sheet's bottom edge, never an amount. */
.inv-viz { position: relative; padding: 0 0 116px; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--lift); padding: 18px 20px 8px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; }
.sheet-head .file { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sheet-head .file i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 3px 5px; border-radius: 4px; background: #e7f4ec; color: #17734a; }
.sheet-head .rows { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.inv-steps { list-style: none; display: flex; gap: 6px; margin: 14px 0 6px; padding: 0; }
.inv-steps li { font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); }
.inv-steps li.done { color: var(--ok); }
.inv-steps li.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.inv-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.inv-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 11px 6px; border-top: 1px dashed #e4e7ef; border-radius: 6px; }
.inv-list span { min-width: 0; }
.inv-list span b { font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }
.inv-list > li > b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv-list em { grid-column: 1 / -1; justify-self: start; position: relative; font-style: normal; }
.st.sent { background: var(--accent-soft); color: var(--accent); }
.st.sched { background: #f1f3f7; color: var(--ink-soft); }
.inv-list .live .st { padding: 0; min-width: 120px; height: 20px; }
.inv-list .live .st i { position: absolute; left: 0; top: 0; white-space: nowrap; }
.inv-list .live .ok { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .inv-list .live .wait { animation: stWait 5s ease-in-out infinite; }
  .inv-list .live .ok { animation: stOk 5s ease-in-out infinite; }
  .inv-list .live { animation: rowFlash 5s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .inv-list .live .wait { opacity: 0; } .inv-list .live .ok { opacity: 1; } }
.inv-mail { position: absolute; right: -28px; bottom: 0; width: 260px; display: grid; gap: 3px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--lift); font-size: 13px; }
.inv-mail small { color: var(--ink-soft); font-size: 12px; }
.inv-mail b { font-size: 14px; font-weight: 600; }
.inv-mail span { color: var(--ink-soft); }
.inv-mail .pay { justify-self: start; margin-top: 8px; padding: 6px 14px; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 600; }
@media (max-width: 1240px) { .inv-mail { right: 0; } }
@media (max-width: 560px) { .inv-viz { padding-bottom: 0; } .inv-mail { position: static; width: auto; margin-top: 12px; } }

/* ---- what you get: four picture tiles ---- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }
.bento article { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 22px; }
.bento h3 { font-size: 19px; line-height: 1.25; margin-top: 18px; }
.bento p { margin: 8px 0 0; color: var(--ink-soft); font-size: 15px; }
.viz { height: 190px; border-radius: 8px; position: relative; overflow: hidden; display: grid; place-items: center; background: var(--tint); }
.payout, .orders, .ledger, .rf { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }

/* One sale travelling from the customer to the merchant's bank. */
.payout { position: relative; width: 88%; padding: 14px 14px 16px; }
.pay-amt small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.pay-amt b { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.trk { position: relative; margin-top: 14px; }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.track::before { content: ""; position: absolute; left: 16%; right: 16%; top: 9px; height: 3px; border-radius: 3px; background: #e4e7ef; }
.track li { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; }
.track i { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #d5d9e2; z-index: 1; }
.track b { font-size: 13px; font-weight: 600; }
.track span { font-size: 11px; font-weight: 500; color: var(--ink-soft); line-height: 1.15; }
.track .t3 i { border-color: var(--ok); background: #dcfce7; }
.track .t3 span { color: var(--ok); }
/* The dot centres sit at 1/6, 1/2 and 5/6 of the track; the coin is 14px wide. */
.coin { position: absolute; left: calc(16.67% - 7px); top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(39 65 214 / .2); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .coin { animation: coin 4.5s ease-in-out infinite; }
  .track .t1 i { animation: stop1 4.5s infinite; } .track .t2 i { animation: stop2 4.5s infinite; } .track .t3 i { animation: stop3 4.5s infinite; }
  @keyframes coin { 0% { opacity: 0; left: calc(16.67% - 7px); } 8% { opacity: 1; } 40% { left: calc(50% - 7px); } 72% { left: calc(83.33% - 7px); opacity: 1; } 80%, 100% { left: calc(83.33% - 7px); opacity: 0; } }
  @keyframes stop1 { 0%, 100% { border-color: #d5d9e2; } 6%, 95% { border-color: var(--accent); background: var(--accent-soft); } }
  @keyframes stop2 { 0%, 36% { border-color: #d5d9e2; background: #fff; } 42%, 95% { border-color: var(--accent); background: var(--accent-soft); } }
  @keyframes stop3 { 0%, 70% { transform: none; } 76% { transform: scale(1.3); } 84%, 100% { transform: none; } }
}

/* An order list where the middle order flips to Paid on its own. */
.orders { list-style: none; margin: 0; padding: 8px 12px; width: 90%; font-size: 12.5px; }
.orders li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 7px 0; border-bottom: 1px dashed #e4e7ef; }
.orders li:last-child { border-bottom: 0; }
.orders span { font-weight: 500; }
.orders b { font-variant-numeric: tabular-nums; text-align: right; }
.orders em { grid-column: 1 / -1; justify-self: start; position: relative; font-style: normal; }
.st, .st i { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 1px 9px; border-radius: 999px; }
.st.paid, .st .ok { background: #dcfce7; color: var(--ok); }
.st.wait, .st .wait { background: #fef3c7; color: #a16207; }
.orders .live .st { padding: 0; min-width: 120px; height: 20px; }
.orders .live .st i { position: absolute; left: 0; top: 0; white-space: nowrap; }
.orders .live .ok { opacity: 0; }
.orders .live { border-radius: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .orders .live .wait { animation: stWait 5s ease-in-out infinite; }
  .orders .live .ok { animation: stOk 5s ease-in-out infinite; }
  .orders .live { animation: rowFlash 5s ease-in-out infinite; }
  @keyframes stWait { 0%, 40% { opacity: 1; transform: none; } 48%, 92% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; } }
  @keyframes stOk { 0%, 44% { opacity: 0; transform: translateY(6px) scale(.9); } 52% { opacity: 1; transform: scale(1.12); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  @keyframes rowFlash { 0%, 46% { background: transparent; } 54% { background: #ecfdf3; } 80%, 100% { background: transparent; } }
}
@media (prefers-reduced-motion: reduce) { .orders .live .wait { opacity: 0; } .orders .live .ok { opacity: 1; } }

.ledger { list-style: none; margin: 0; padding: 12px 14px; width: 86%; font-size: 13px; }
.ledger li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #e4e7ef; }
.ledger li:last-child { border-bottom: 0; }
.ledger b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger .in { color: var(--ok); }
.ledger .bal { font-weight: 600; }

.rf { position: relative; width: 82%; padding: 18px; display: grid; gap: 12px; justify-items: center; }
.rf-amt { font-size: 26px; font-weight: 650; }
.rf-btn, .rf-done { padding: 8px 22px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.rf-btn { background: var(--ink); color: var(--surface); }
.rf-done { position: absolute; bottom: 18px; background: #dcfce7; color: var(--ok); border: 1px solid var(--ok); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rf-btn { animation: rfbtn 4s ease-in-out infinite; }
  .rf-done { animation: rfdone 4s ease-in-out infinite; }
  @keyframes rfbtn { 0%, 35% { opacity: 1; transform: scale(1); } 42% { transform: scale(.92); } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes rfdone { 0%, 48% { opacity: 0; transform: translateY(6px); } 56%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .rf-btn { opacity: 0; } .rf-done { opacity: 1; } }

/* ---- developers ---- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 5px; border-left: 2px solid var(--dark-accent); border-bottom: 2px solid var(--dark-accent); transform: rotate(-45deg); }
.code { margin: 0; padding: 24px; border-radius: 12px; background: rgb(0 0 0 / .28); color: var(--dark-ink); border: 1px solid rgb(255 255 255 / .12); font: 13.5px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-x: auto; }
.code .c { color: var(--dark-soft); }
.dev-cta { margin: 28px 0 0; }

/* ---- FAQ ---- */
.faq { align-items: start; }
.qa { display: grid; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.qa summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; font-size: 16.5px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; font-weight: 300; color: var(--ink-soft); }
.qa details[open] summary::after { content: "−"; }
.qa details p { margin: 0 0 20px; color: var(--ink-soft); }

/* ---- start band ---- */
.steps-mini { padding: 26px; }
.steps-mini b { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.steps-mini ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }

/* ---- footer ---- */
.foot { background: var(--dark); color: var(--dark-ink); padding: 44px 0 56px; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot .brand b { color: var(--dark-accent); }
.foot p { margin: 8px 0 0; color: var(--dark-soft); }
.foot strong { color: var(--dark-ink); }
.foot a { color: var(--dark-ink); }
.foot-right { max-width: 460px; }
.foot ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot .fine { color: var(--dark-soft); }

.tip { position: fixed; z-index: 60; pointer-events: none; max-width: 280px; padding: 9px 12px; border-radius: 8px; background: var(--ink); color: var(--surface); font-size: 13.5px; line-height: 1.4; }
.tip b { display: block; }

/* ---- legal pages: terms, privacy, refunds ---- */
.doc { max-width: 800px; padding-top: 48px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.doc .doc-meta { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; }
.doc .intro { font-size: 17.5px; color: var(--ink-soft); margin: 20px 0 0; }
.doc h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.015em; margin: 44px 0 10px; padding-top: 4px; }
.doc h3 { font-size: 17px; letter-spacing: -.01em; margin: 24px 0 6px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; }
.doc p { margin: 10px 0; }
.doc ol, .doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--ink-soft); }
.doc a { color: var(--accent); text-underline-offset: 2px; }
/* Numbered sections and clauses (3. and 3.1) without typing the numbers. */
.doc { counter-reset: sec; }
.doc h2.n { counter-increment: sec; }
.doc h2.n::before { content: counter(sec) ". "; }
.doc ol.cl { list-style: none; padding-left: 0; counter-reset: cl; }
.doc ol.cl > li { counter-increment: cl; position: relative; padding-left: 48px; margin: 10px 0; }
.doc ol.cl > li::before { content: counter(sec) "." counter(cl); position: absolute; left: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.doc ol.cl ul { margin: 6px 0; }
.doc .note { margin: 18px 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; }
.doc .note p { margin: 0; }
.doc .toc { margin: 28px 0 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.doc .toc b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.doc .toc ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 20px; }
.doc .toc li { font-size: 15px; margin: 3px 0; break-inside: avoid; }
.doc .toc a { color: var(--ink); text-decoration: none; }
.doc .toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 640px) { .doc .toc ol { columns: 1; } .doc ol.cl > li { padding-left: 40px; } }
.draft { margin: 0 0 24px; padding: 10px 14px; border-radius: 8px; background: #fdf3d8; color: #6b4600; font-size: 14.5px; }
.nav nav a[aria-current="page"] { color: var(--ink); background: #f1f3f7; }

/* ---- API reference (/docs) ---- */
.docs-in { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-side { position: sticky; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; padding: 36px 0 32px; }
.docs-toc summary { display: none; }
.docs-toc nav { display: grid; font-size: 14.5px; }
.docs-toc nav b { margin: 18px 0 4px; padding: 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.docs-toc nav b:first-child { margin-top: 0; }
.docs-toc nav a { padding: 5px 10px; border-radius: 6px; color: var(--ink-soft); text-decoration: none; }
.docs-toc nav a:hover { background: #f1f3f7; color: var(--ink); }
.docs-toc nav a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.docs-main { min-width: 0; max-width: 820px; padding: 40px 0 96px; }
.docs-main h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.docs-main .intro { font-size: 17.5px; color: var(--ink-soft); margin: 18px 0 0; max-width: 60ch; }
.docs-main h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; margin: 64px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.docs-main h3 { font-size: 18px; letter-spacing: -.01em; margin: 34px 0 8px; }
.docs-main p, .docs-main li { font-size: 16px; line-height: 1.7; }
.docs-main p { margin: 10px 0; }
.docs-main ul { padding-left: 22px; margin: 10px 0; }
.docs-main li { margin: 6px 0; }
.docs-main a { color: var(--accent); text-underline-offset: 2px; }
.docs-main code { font: 13.5px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: #eceff5; padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.docs-main .code { margin: 14px 0; padding: 18px 20px; background: var(--dark); border-color: var(--dark); font-size: 13px; line-height: 1.6; }
.docs-main .code code, .docs-main .code span { background: none; padding: 0; font: inherit; }
.docs-main .code .c { color: var(--dark-accent); }
.docs-main .ep { margin: 6px 0 12px; }
.docs-main .ep code { display: inline-block; font-size: 14.5px; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.docs-main .ep b { margin-right: 6px; color: var(--accent); font-weight: 700; }
.docs-main .doc-meta { margin-top: 32px; color: var(--ink-soft); font-size: 14.5px; }
.tbl { margin: 14px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.ref { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.ref th { text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: #f8f9fb; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.ref td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref tr:last-child td { border-bottom: 0; }
.ref td:first-child { min-width: 9em; }
.ref td:first-child code { white-space: nowrap; }
.ref td + td code { white-space: normal; }
.req { display: inline-block; margin-left: 4px; font-size: 11.5px; font-weight: 600; color: #a14b00; }
@media (max-width: 960px) {
  .docs-in { grid-template-columns: 1fr; gap: 0; }
  .docs-side { position: static; max-height: none; overflow: visible; padding: 20px 0 0; }
  .docs-toc { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
  .docs-toc summary { display: block; cursor: pointer; padding: 12px 16px; font-weight: 600; }
  .docs-toc nav { padding: 0 6px 12px; }
  .docs-main { padding-top: 24px; }
  .docs-main h2 { margin-top: 48px; }
}
/* Phones: each table row becomes a small block, so names and codes never break mid-word. */
@media (max-width: 640px) {
  .ref thead { display: none; }
  .ref tr { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); }
  .ref tr:last-child { border-bottom: 0; }
  .ref td { display: block; padding: 2px 0; border: 0; min-width: 0; }
  .ref td:first-child { min-width: 0; }
  .ref td:nth-child(2):not(:last-child) { font-size: 13px; color: var(--ink-soft); }
  .docs-main .ref code { overflow-wrap: normal; }
  .docs-main .code { padding: 14px 16px; font-size: 12.5px; }
}
