/* Banimark public site. Hand-written, no build step - the page paints from a
   few same-origin requests and works under a strict CSP (no inline style
   blocks, no inline handlers). Poppins headings, Inter text - both OFL,
   self-hosted in fonts/ (licences beside them).
   Look (2026-09): "harbour" - deep-sea ink, teal, one warm amber accent -
   the same palette as the Banimark admin, so site and product read as one. */

/* Poppins for headings and Inter for text - the AidaPay website's pairing.
   Self-hosted (OFL, see fonts/*-OFL.txt): no visitor IP goes to a font CDN. */
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
    --a: #0e7c73;
    --a-soft: #0b6a62;
    --a-ink: #ffffff;
    --a-bright: #2cc7b4;
    --amber: #f0a032;
    --deep: #0b2427;
    --deep-2: #0f3538;
    --deep-fg: #e8f3f1;
    --deep-mut: #8fb0ac;
    --bg: #ffffff;
    --bg-2: #f3f7f6;
    --bg-3: #e8f0ee;
    --fg: #0b1b1e;
    --mut: #52666a;
    --bd: rgba(11, 36, 38, .10);
    --bd-2: rgba(11, 36, 38, .18);
    --code-bg: #f1f6f5;
    --code-fg: #173034;
    --ok: #0c8f3c;
    --warn: #9a5b00;
    --shadow: 0 1px 2px rgba(11, 36, 38, .05), 0 18px 40px -18px rgba(11, 36, 38, .28);
    --radius: 18px;
    --shell: 1180px;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --display: "Poppins", var(--sans);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --a: #2cc7b4;
        --a-soft: #5fe0cf;
        --a-ink: #03231f;
        --bg: #070d0e;
        --bg-2: #0d1618;
        --bg-3: #13201f;
        --fg: #eaf2f1;
        --mut: #93a8a6;
        --bd: rgba(255, 255, 255, .10);
        --bd-2: rgba(255, 255, 255, .19);
        --code-bg: #0d1618;
        --code-fg: #d3e4e1;
        --ok: #4ad2a0;
        --warn: #e8b465;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .75);
    }
}

:root[data-theme="dark"] {
    --a: #2cc7b4;
    --a-soft: #5fe0cf;
    --a-ink: #03231f;
    --bg: #070d0e;
    --bg-2: #0d1618;
    --bg-3: #13201f;
    --fg: #eaf2f1;
    --mut: #93a8a6;
    --bd: rgba(255, 255, 255, .10);
    --bd-2: rgba(255, 255, 255, .19);
    --code-bg: #0d1618;
    --code-fg: #d3e4e1;
    --ok: #4ad2a0;
    --warn: #e8b465;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .75);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.62 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -.021em; margin: 0 0 .5em; font-weight: 700; }
h1, h2 { font-family: var(--display); }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.3vw, 3.8rem); letter-spacing: -.025em; line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.18rem + 1.6vw, 2.4rem); letter-spacing: -.02em; line-height: 1.14; font-weight: 700; }
h3 { font-size: 1.17rem; }
p { margin: 0 0 1.05em; }
a { color: var(--a); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.3em; }
li { margin: .3em 0; }
strong { font-weight: 660; }
hr { border: 0; border-top: 1px solid var(--bd); margin: 44px 0; }
img, svg { max-width: 100%; }

:focus-visible { outline: 2.5px solid var(--a); outline-offset: 2px; border-radius: 4px; }

.skip {
    position: absolute; left: -9999px; top: 8px; z-index: 100;
    background: var(--a); color: var(--a-ink); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { left: 12px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--mut); }
.lead { font-size: 1.14rem; color: var(--mut); max-width: 62ch; }

/* ---------------- nav ---------------- */

.nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--bd);
}
.nav-in { display: flex; align-items: center; gap: 16px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.06rem; }
.logo svg { color: var(--a); }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu > a {
    color: var(--mut); text-decoration: none; font-size: .935rem; font-weight: 550;
    padding: 8px 11px; border-radius: 9px;
}
.menu > a:hover { color: var(--fg); background: var(--bg-2); }
.menu > a.on { color: var(--fg); }
.menu .btn { margin-left: 6px; }
.menu > a.btn, .menu > a.btn:hover { color: var(--a-ink); }   /* the menu's link colour must not win over a button */

.theme {
    display: inline-grid; place-items: center; width: 34px; height: 34px; margin: 0 2px;
    border: 1px solid var(--bd); border-radius: 9px; background: transparent; color: var(--mut); cursor: pointer;
}
.theme:hover { color: var(--fg); border-color: var(--bd-2); }
.theme .i-moon { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme .i-sun { display: none; }
    :root:not([data-theme="light"]) .theme .i-moon { display: block; }
}

.burger { display: none; margin-left: auto; width: 40px; height: 36px; border: 1px solid var(--bd); border-radius: 9px; background: transparent; cursor: pointer; padding: 9px 9px; }
.burger span { display: block; height: 2px; background: var(--fg); border-radius: 2px; margin: 3px 0; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
    .burger { display: block; }
    .menu {
        position: absolute; left: 0; right: 0; top: 62px; display: none;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--bg); border-bottom: 1px solid var(--bd); padding: 12px 20px 18px;
        box-shadow: var(--shadow);
    }
    .nav[data-open] .menu { display: flex; }
    .menu > a { padding: 11px 12px; font-size: 1rem; }
    .menu .btn { margin: 8px 0 0; justify-content: center; }
    .theme { width: 100%; height: 40px; justify-content: center; margin: 6px 0 0; }
}

/* ---------------- buttons ---------------- */

.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    background: var(--a); color: var(--a-ink); text-decoration: none;
    font-weight: 620; font-size: .97rem; padding: 12px 20px; border-radius: 11px;
    border: 1px solid transparent; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s;
    box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--a) 70%, transparent);
}
.btn:hover { transform: translateY(-1px); background: var(--a-soft); color: var(--a-ink); }
.btn:active { transform: none; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 9px; }
.btn-2 {
    background: transparent; color: var(--fg); border-color: var(--bd-2); box-shadow: none;
}
.btn-2:hover { background: var(--bg-2); color: var(--fg); border-color: var(--a); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------- hero ---------------- */

.hero { padding: clamp(46px, 5vw, 86px) 0 clamp(36px, 4vw, 64px); position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -30% 40% 30% -20%; pointer-events: none;
    background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%);
    filter: blur(20px); opacity: .7;
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 54px; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    background: var(--bg-2); border: 1px solid var(--bd); color: var(--mut);
    border-radius: 999px; padding: 5px 13px; font-size: .82rem; font-weight: 560;
}
.pill b { color: var(--a); font-weight: 700; }
.hero h1 { margin-bottom: .34em; }
.hero h1 em { font-style: normal; color: var(--a); }
.hero .lead { font-size: 1.2rem; margin-bottom: 26px; }
.hero .cta-row { margin-bottom: 18px; }
.hero-note { font-size: .88rem; color: var(--mut); margin: 0; }

@media (max-width: 900px) {
    .hero-in { grid-template-columns: 1fr; gap: 36px; }
}

/* a still of the widget, drawn in CSS - no screenshot to go stale */
.shot {
    background: var(--bg-2); border: 1px solid var(--bd); border-radius: 20px; padding: 16px;
    box-shadow: var(--shadow);
}
.shot-bar { display: flex; gap: 6px; padding: 2px 4px 12px; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--bd-2); }
.shot-body { background: var(--bg); border: 1px solid var(--bd); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 15px; font-size: .88rem; line-height: 1.45; }
.msg.them { justify-self: start; background: var(--bg-3); border-bottom-left-radius: 5px; }
.msg.me { justify-self: end; background: var(--a); color: var(--a-ink); border-bottom-right-radius: 5px; }
.msg.tool { justify-self: start; background: transparent; border: 1px dashed var(--bd-2); color: var(--mut); font-family: var(--mono); font-size: .76rem; max-width: 100%; }

/* ---------------- sections ---------------- */

.sec { padding: clamp(44px, 5vw, 78px) 0; }
.sec-alt { background: var(--bg-2); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.sec-head { max-width: 66ch; margin-bottom: 38px; }
.sec-head .kicker { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--a); font-weight: 700; margin-bottom: 10px; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
    background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius); padding: 22px;
}
.sec-alt .card { background: var(--bg); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: color-mix(in srgb, var(--a) 13%, transparent); color: var(--a); margin-bottom: 14px; }

.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .16s, transform .16s, box-shadow .16s; }
.card-link:hover { border-color: var(--a); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-link .go { color: var(--a); font-weight: 620; font-size: .92rem; }

/* numbered "how it works" */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps > li { counter-increment: s; list-style: none; background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius); padding: 22px; margin: 0; }
.steps > li::before {
    content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 13px;
    background: var(--a); color: var(--a-ink); border-radius: 9px; font-weight: 700; font-size: .92rem;
}

/* ---------------- code ---------------- */

.code { position: relative; margin: 0 0 18px; }
.code-head {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-3); border: 1px solid var(--bd); border-bottom: 0;
    border-radius: 11px 11px 0 0; padding: 7px 12px;
    font: 600 .78rem/1 var(--mono); color: var(--mut);
}
.code-head .fname { letter-spacing: .01em; }
.code pre {
    margin: 0; padding: 14px 15px; overflow-x: auto;
    background: var(--code-bg); color: var(--code-fg);
    border: 1px solid var(--bd); border-radius: 0 0 11px 11px;
    font: 13.2px/1.65 var(--mono); tab-size: 4;
}
.code.bare pre { border-radius: 11px; }
.copy {
    margin-left: auto; border: 1px solid var(--bd); background: var(--bg); color: var(--mut);
    font: 600 .74rem/1 var(--sans); padding: 5px 9px; border-radius: 7px; cursor: pointer;
}
.copy:hover { color: var(--fg); border-color: var(--bd-2); }
.copy[data-done] { color: var(--ok); border-color: var(--ok); }
code { font-family: var(--mono); font-size: .89em; background: var(--code-bg); padding: .14em .42em; border-radius: 5px; }
pre code { background: none; padding: 0; font-size: inherit; }

/* ---------------- guides ---------------- */

.guide { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 48px; align-items: start; padding: 38px 0 72px; }
@media (max-width: 1000px) { .guide { grid-template-columns: 1fr; gap: 28px; } }

.crumbs { font-size: .87rem; color: var(--mut); padding: 18px 0 0; }
.crumbs a { color: var(--mut); }
.crumbs a:hover { color: var(--a); }
.crumbs span { margin: 0 7px; opacity: .55; }

.guide-head { border-bottom: 1px solid var(--bd); padding-bottom: 26px; margin-bottom: 30px; }
.guide-head .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--bd); color: var(--mut); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 560; }
.tag.solid { background: color-mix(in srgb, var(--a) 13%, transparent); border-color: transparent; color: var(--a); }

.body h2 { margin-top: 2em; scroll-margin-top: 84px; }
.body h2:first-child { margin-top: 0; }
.body h3 { margin-top: 1.7em; scroll-margin-top: 84px; }
.body > ol > li { margin: .5em 0; }

.toc { position: sticky; top: 84px; font-size: .9rem; }
.toc h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--bd); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--mut); text-decoration: none; }
.toc a:hover { color: var(--fg); }
.toc a.on { color: var(--a); border-left-color: var(--a); font-weight: 600; }
@media (max-width: 1000px) { .toc { display: none; } }

.note {
    display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start;
    background: var(--bg-2); border: 1px solid var(--bd); border-left: 3px solid var(--a);
    border-radius: 0 12px 12px 0; padding: 15px 18px; margin: 0 0 18px;
}
.note svg { color: var(--a); margin-top: 2px; }
.note p:last-child { margin-bottom: 0; }
.note.warn { border-left-color: var(--warn); }
.note.warn svg { color: var(--warn); }
.note strong { display: block; margin-bottom: 2px; }

table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: .94rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bd); vertical-align: top; }
th { font-weight: 640; color: var(--mut); font-size: .84rem; letter-spacing: .02em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

/* the "we'll do it for you" offer - deliberately loud, and never a code block */
.dfy {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--a) 12%, var(--bg)), var(--bg-2));
    border: 1px solid color-mix(in srgb, var(--a) 32%, var(--bd));
    border-radius: var(--radius); padding: 26px 28px; margin: 0 0 30px;
}
.dfy h2 { font-size: 1.32rem; margin-bottom: .4em; }
.dfy p { margin-bottom: .55em; max-width: 60ch; }
.dfy p:last-child { margin-bottom: 0; }
.dfy-cta { display: grid; gap: 9px; justify-items: center; text-align: center; }
.dfy-cta .muted { font-size: .84rem; }
@media (max-width: 760px) {
    .dfy { grid-template-columns: 1fr; gap: 18px; }
    .dfy-cta { justify-items: stretch; }
    .dfy-cta .btn { width: 100%; }
}

/* the "what you are about to do" outline at the top of every guide */
.howgoes { border: 1px solid var(--bd); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 30px; background: var(--bg-2); }
.howgoes h2 { font-size: 1.16rem; margin: 0 0 14px; }
.outline { counter-reset: o; list-style: none; padding: 0; margin: 0 0 4px; }
.outline li {
    counter-increment: o; position: relative; padding: 5px 0 5px 34px; margin: 0; font-size: .97rem;
}
.outline li::before {
    content: counter(o); position: absolute; left: 0; top: 5px;
    width: 23px; height: 23px; border-radius: 7px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--a) 15%, transparent); color: var(--a);
    font-size: .78rem; font-weight: 700;
}
.once {
    display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start;
    margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--bd); font-size: .94rem;
}
.once svg { color: var(--ok); margin-top: 3px; }

/* long prerequisite sections fold away - the detail is there, not in the face */
.fold { border: 1px solid var(--bd); border-radius: 12px; padding: 0 16px; margin: 0 0 18px; background: var(--bg-2); }
.fold > summary { cursor: pointer; padding: 13px 0; font-weight: 600; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "▸ "; color: var(--a); font-weight: 700; }
.fold[open] > summary::before { content: "▾ "; }
.fold[open] { padding-bottom: 8px; }
.fold > summary + * { margin-top: 4px; }

/* ---------------- pricing ---------------- */

.tiers { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius); padding: 26px; position: relative; }
.tier.hot { border-color: var(--a); box-shadow: var(--shadow); }
.tier .flag { position: absolute; top: -11px; left: 26px; background: var(--a); color: var(--a-ink); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.tier h3 { margin-bottom: .3em; }
.tier .amt { font-size: 2.15rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.tier .per { color: var(--mut); font-size: .92rem; }
.tier ul { list-style: none; padding: 0; margin: 18px 0; }
.tier li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; font-size: .94rem; margin: .5em 0; }
.tier li svg { color: var(--ok); margin-top: 4px; }
.tier .btn { width: 100%; }

/* ---------------- faq ---------------- */

.faq { max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--bd); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; font-size: 1.04rem; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut);
    transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 34px 18px 0; color: var(--mut); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------------- closing band ---------------- */

.band { background: var(--bg-2); border-top: 1px solid var(--bd); }
.band-in { padding: clamp(42px, 5vw, 72px) 0; text-align: center; }
.band-in .lead { margin: 0 auto 26px; }
.band-in .cta-row { justify-content: center; }

/* ---------------- footer ---------------- */

.foot { background: var(--bg); border-top: 1px solid var(--bd); padding: 46px 0 0; font-size: .93rem; }
.foot-in { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }
.foot h2 { font-size: .79rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: .45em 0; }
.foot a { color: var(--fg); text-decoration: none; }
.foot a:hover { color: var(--a); text-decoration: underline; }
.foot-brand p { color: var(--mut); max-width: 34ch; margin: .6em 0 0; }
.foot-brand .ver { font-family: var(--mono); font-size: .8rem; }
.foot-legal { border-top: 1px solid var(--bd); padding-top: 18px; padding-bottom: 26px; color: var(--mut); font-size: .86rem; }

/* ==========================================================================
   2026-09 redesign: audience switch, hero art, timeline, industries,
   bento features, insights showcase, deep sections, enterprise diagram.
   ========================================================================== */

/* ---- audience switch: SMEs | Enterprise (two real pages, plain links) ---- */
.aud { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--bd); margin-left: 6px; }
.aud a { padding: 5px 13px; border-radius: 999px; font-size: .82rem; font-weight: 650; color: var(--mut); text-decoration: none; }
.aud a:hover { color: var(--fg); }
.aud a[aria-current="page"] { background: var(--deep); color: #fff; }
@media (max-width: 860px) { .aud { margin: 0 auto 0 4px; } .aud a { padding: 5px 10px; } }
@media (max-width: 380px) { .aud a { padding: 4px 8px; font-size: .76rem; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; text-decoration: none;
    background: var(--bg); border: 1px solid var(--bd); color: var(--fg); border-radius: 999px;
    padding: 5px 14px 5px 6px; font-size: .84rem; font-weight: 560; box-shadow: var(--shadow);
}
.eyebrow b { background: var(--amber); color: #2b1a00; border-radius: 999px; padding: 2px 9px; font-size: .74rem; letter-spacing: .02em; }
.eyebrow:hover { border-color: var(--a); }

/* ---- hero ---- */
.hero2 { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 80px); }
.hero2::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 380px at 8% 0%, color-mix(in srgb, var(--a-bright) 20%, transparent), transparent 70%),
        radial-gradient(520px 360px at 100% 30%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 70%);
}
.hero2::after {
    /* a faint grid, like harbour charts - fades out downwards */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(var(--bd) 1px, transparent 1px), linear-gradient(90deg, var(--bd) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.hero2-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.hero2 h1 .hl { display: block; background: linear-gradient(95deg, var(--a), var(--a-bright) 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { font-size: 1.2rem; margin-bottom: 28px; }
.proof { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--mut); }
.proof li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.proof svg { color: var(--ok); flex: none; }
@media (max-width: 960px) { .hero2-in { grid-template-columns: 1fr; gap: 40px; } }

/* hero art: a dashboard card with a chat card over it - HTML, never a stale screenshot */
.art { position: relative; min-height: 440px; }
.art-card { position: absolute; background: var(--bg); border: 1px solid var(--bd); border-radius: 20px; box-shadow: var(--shadow); }
.art-dash { right: 0; top: 0; width: 78%; padding: 18px; }
.art-chat { left: 0; bottom: 0; width: 64%; padding: 14px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); }
.art-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: var(--deep); color: #fff; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
.art-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.art-float.f1 { right: 6%; bottom: 24%; animation: bob 5s ease-in-out infinite; }
.art-float.f2 { left: 34%; top: 38%; animation: bob 6s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-7px); } }
@media (max-width: 960px) { .art { min-height: 0; display: grid; gap: 14px; } .art-card, .art-float { position: static; width: auto; } .art-float { justify-self: start; } }

.mini-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mini-h b { font-size: .95rem; }
.mini-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--bg-2); font-size: .7rem; font-weight: 650; color: var(--mut); }
.mini-seg span { padding: 3px 8px; border-radius: 6px; }
.mini-seg span.on { background: var(--deep); color: #fff; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-kpi { border: 1px solid var(--bd); border-radius: 12px; padding: 10px 11px; }
.mini-kpi small { display: block; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
.mini-kpi strong { display: block; font-family: var(--display); font-size: 1.45rem; letter-spacing: -.03em; line-height: 1.15; margin-top: 3px; }
.mini-kpi em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: 1px 7px; border-radius: 99px; }
.mini-chart { margin-top: 12px; border: 1px solid var(--bd); border-radius: 12px; padding: 10px 10px 4px; }
.mini-chart svg { display: block; width: 100%; height: 86px; }

.bub { max-width: 86%; padding: 9px 13px; border-radius: 15px; font-size: .86rem; line-height: 1.45; margin: 0 0 8px; }
.bub.them { background: var(--bg-3); border-bottom-left-radius: 5px; }
.bub.me { background: var(--a); color: var(--a-ink); margin-left: auto; border-bottom-right-radius: 5px; }
.bub-row { display: flex; flex-direction: column; }
.chip { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px; padding: 5px 10px; border-radius: 9px; border: 1px dashed var(--bd-2); color: var(--mut); font: 600 .74rem/1.3 var(--mono); align-self: flex-start; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--a-bright); flex: none; }
.chip.human i { background: var(--amber); }
.chat-foot { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--ok); font-weight: 650; margin-top: 2px; }

/* ---- stack strip ---- */
.strip { border-block: 1px solid var(--bd); background: var(--bg-2); }
.strip-in { display: flex; align-items: center; gap: 12px 26px; flex-wrap: wrap; padding: 18px 20px; }
.strip-in > span { font-size: .82rem; color: var(--mut); font-weight: 600; letter-spacing: .02em; }
.strip-in a { color: var(--fg); text-decoration: none; font-weight: 650; font-size: .95rem; opacity: .8; }
.strip-in a:hover { opacity: 1; color: var(--a); }

/* ---- "one question at 11:48 pm" ---- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--bd-2) 0 8px, transparent 8px 14px); }
.timeline > li { counter-increment: t; position: relative; margin: 0; padding: 58px 18px 20px; background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius); }
.timeline > li::before {
    content: counter(t); position: absolute; left: 18px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center; background: var(--deep); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 0 0 5px var(--bg-2);
}
.timeline time { position: absolute; right: 16px; top: 14px; font: 600 .74rem var(--mono); color: var(--mut); }
.timeline h3 { font-size: 1.04rem; }
.timeline p { font-size: .93rem; color: var(--mut); margin: 0 0 12px; }
.timeline .bub, .timeline .chip { font-size: .8rem; }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .timeline::before { display: none; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---- industries: tabs with JS, every panel stacked without it ---- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button {
    font: 600 .9rem var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--bd-2); background: var(--bg); color: var(--fg); transition: background .16s, color .16s, border-color .16s;
}
.tabs button:hover { border-color: var(--a); }
.tabs button[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
html:not(.js) .tabs { display: none; }
.js .ind:not(.on) { display: none; }
.ind { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border: 1px solid var(--bd); border-radius: 24px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow); margin-bottom: 18px; animation: indIn .35s ease both; }
@keyframes indIn { from { opacity: 0; transform: translateY(6px); } }
.ind-body { padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; }
.ind-body .kick { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--a); font-weight: 700; margin-bottom: 8px; }
.ind-body h3 { font-family: var(--display); font-size: 1.7rem; letter-spacing: -.025em; }
.ind-body > p { color: var(--mut); }
.ind-chat { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; }
@media (max-width: 860px) { .ind { grid-template-columns: 1fr; } }

/* an image slot: the photo when it exists, a drawn placeholder until then */
.ph {
    position: relative; margin: 0; min-height: 340px; overflow: hidden;
    background:
        radial-gradient(420px 260px at 20% 10%, color-mix(in srgb, var(--a-bright) 38%, transparent), transparent 70%),
        radial-gradient(360px 240px at 90% 90%, color-mix(in srgb, var(--amber) 30%, transparent), transparent 70%),
        linear-gradient(160deg, var(--deep-2), var(--deep));
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .ph-label { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(4, 16, 18, .66); color: #fff; font-size: .8rem; font-weight: 650; backdrop-filter: blur(6px); }
.ph .ph-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.ph .ph-art svg { width: 64px; height: 64px; }
@media (max-width: 860px) { .ph { min-height: 220px; } }

/* ---- bento features ---- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento .card { position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.bento .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--bd-2); }
.bento .wide { grid-column: span 2; }
.bento .num { position: absolute; right: 18px; top: 14px; font: 700 .8rem var(--mono); color: var(--mut); opacity: .7; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .wide { grid-column: auto; } }
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; font: 600 .78rem var(--mono); }
.flow span { padding: 6px 10px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--bd); }
.flow span.key { background: color-mix(in srgb, var(--a) 12%, transparent); border-color: color-mix(in srgb, var(--a) 35%, transparent); color: var(--a); }
.flow b { color: var(--mut); font-weight: 400; }

/* ---- showcase: split copy + a mock ---- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin: .7em 0; }
.ticks svg { color: var(--a); margin-top: 3px; }
.mock { background: var(--bg); border: 1px solid var(--bd); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.mock h4 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 4px; letter-spacing: -.02em; }
.mock .sub { font-size: .82rem; color: var(--mut); margin-bottom: 16px; }
.bars { display: grid; gap: 11px; }
.bars div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .86rem; font-weight: 600; }
.bars i { grid-column: 1 / -1; height: 8px; border-radius: 5px; background: var(--bg-3); overflow: hidden; }
.bars i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: 5px; background: linear-gradient(90deg, var(--a), var(--a-bright)); }
.idea { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--bd); font-size: .88rem; margin-top: 8px; }
.idea b { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: color-mix(in srgb, var(--amber) 22%, transparent); color: #8a5300; font-size: .75rem; }

/* ---- deep sections ---- */
.deep { background: radial-gradient(700px 400px at 90% 0%, rgba(44, 199, 180, .18), transparent 70%), radial-gradient(600px 380px at 0% 100%, rgba(240, 160, 50, .12), transparent 70%), var(--deep); color: var(--deep-fg); }
.deep h2, .deep h3 { color: #fff; }
.deep .lead, .deep .muted, .deep p { color: var(--deep-mut); }
.deep .kicker { color: #5fe0cf !important; }
.deep .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.deep a { color: #5fe0cf; }
.deep code { background: rgba(255, 255, 255, .08); color: #d3e4e1; }

/* ---- enterprise: where everything sits ---- */
.arch { display: grid; gap: 12px; }
.arch-zone { border: 1.5px dashed color-mix(in srgb, var(--a) 55%, transparent); border-radius: 20px; padding: 16px; position: relative; background: color-mix(in srgb, var(--a) 5%, var(--bg)); }
.arch-zone > small { position: absolute; top: -10px; left: 16px; padding: 0 8px; background: var(--bg); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a); }
.arch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.arch-box { background: var(--bg); border: 1px solid var(--bd); border-radius: 14px; padding: 12px; font-size: .84rem; }
.arch-box b { display: block; font-size: .92rem; margin-bottom: 2px; }
.arch-box span { color: var(--mut); }
.arch-box.core { background: var(--deep); color: #fff; border-color: var(--deep); }
.arch-box.core span { color: var(--deep-mut); }
.arch-edge { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; }
.arch-edge .arch-box { flex: 1; }
.arch-arrow { color: var(--mut); font: 600 .74rem var(--mono); text-align: center; }
@media (max-width: 560px) { .arch-row { grid-template-columns: 1fr; } }

.kicker { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--a); font-weight: 700; margin-bottom: 10px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.cross { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 26px; border-radius: 20px; border: 1px solid var(--bd); background: var(--bg-2); margin-top: 34px; }
.cross p { margin: 0; }

/* the timeline on a deep section: glass cards, light type */
.deep .timeline > li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.deep .timeline > li::before { background: var(--a-bright); color: #03231f; box-shadow: 0 0 0 5px var(--deep); }
.deep .timeline::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 8px, transparent 8px 14px); }
.deep .timeline time { color: var(--deep-mut); }


/* the install row on the homepage: six guides, one line, no repeated prose */
.stacklinks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.stacklinks a {
    display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
    text-decoration: none; font-size: .95rem; font-weight: 550; transition: border-color .16s, color .16s;
}
.stacklinks a:hover { border-color: var(--a); color: var(--a); }
.stacklinks a.all { border-color: transparent; color: var(--a); padding-left: 8px; }
