/* Fonts are self-hosted: no request leaves for a third-party font server (GDPR). */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
}
@font-face {
    font-family: "Public Sans";
    src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

/* --brand, --accent and --on-accent are injected per site from the admin theme settings. */
:root {
    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --max: 1160px;
    --gutter: clamp(1rem, 4vw, 2rem);

    --bg: color-mix(in srgb, var(--brand) 3%, #fff);
    --surface: #fff;
    --tint: color-mix(in srgb, var(--brand) 7%, #fff);
    --text: color-mix(in srgb, var(--brand) 26%, #0B1416);
    --muted: color-mix(in srgb, var(--text) 72%, var(--bg));
    --line: color-mix(in srgb, var(--text) 16%, var(--bg));
    --field: color-mix(in srgb, var(--text) 45%, var(--bg));
    --link: var(--brand);
    --btn-bg: var(--brand);
    --btn-fg: #fff;
    --ok: #17794f;
    --err: #b3261e;
    color-scheme: light;
}

:root[data-mode="dark"] {
    --bg: color-mix(in srgb, var(--brand) 55%, #000);
    --surface: color-mix(in srgb, var(--brand) 78%, #000);
    --tint: color-mix(in srgb, var(--brand) 68%, #000);
    --text: color-mix(in srgb, var(--brand) 6%, #fff);
    --muted: color-mix(in srgb, var(--text) 74%, var(--bg));
    --line: color-mix(in srgb, var(--text) 18%, var(--bg));
    --field: color-mix(in srgb, var(--text) 50%, var(--bg));
    --link: var(--accent);
    --btn-bg: var(--accent);
    --btn-fg: var(--on-accent);
    --ok: #4fd49b;
    --err: #ff9b92;
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root[data-mode="auto"] {
        --bg: color-mix(in srgb, var(--brand) 55%, #000);
        --surface: color-mix(in srgb, var(--brand) 78%, #000);
        --tint: color-mix(in srgb, var(--brand) 68%, #000);
        --text: color-mix(in srgb, var(--brand) 6%, #fff);
        --muted: color-mix(in srgb, var(--text) 74%, var(--bg));
        --line: color-mix(in srgb, var(--text) 18%, var(--bg));
        --field: color-mix(in srgb, var(--text) 50%, var(--bg));
        --link: var(--accent);
        --btn-bg: var(--accent);
        --btn-fg: var(--on-accent);
        --ok: #4fd49b;
        --err: #ff9b92;
        color-scheme: dark;
    }
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 0.2em; }
img, svg { max-width: 100%; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .announce :focus-visible { outline-color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--btn-bg); color: var(--btn-fg); padding: 0.6rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { top: 1rem; }

.icon { width: 2rem; height: 2rem; display: block; }

/* ---------- Announcement ---------- */
.announce { background: var(--accent); color: var(--on-accent); font-size: 0.95rem; font-weight: 500; padding: 0.55rem 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.logo { height: 56px; width: auto; display: block; }
@media (max-width: 560px) { .logo { height: 46px; } }
.footer-logo { height: 64px; width: auto; display: block; margin-bottom: 0.8rem; }
.brand.has-dark-logo .logo-dark { display: none; }
:root[data-mode="dark"] .brand.has-dark-logo .logo-light { display: none; }
:root[data-mode="dark"] .brand.has-dark-logo .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root[data-mode="auto"] .brand.has-dark-logo .logo-light { display: none; }
    :root[data-mode="auto"] .brand.has-dark-logo .logo-dark { display: block; }
}

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-nav .lang-switch { font-size: 0.9rem; color: var(--muted); }

.icon-btn, .nav-toggle { background: none; border: 1px solid var(--line); color: var(--text); width: 2.5rem; height: 2.5rem; border-radius: 8px; display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover, .nav-toggle:hover { background: var(--tint); }
.nav-toggle { display: none; }

@media (max-width: 880px) {
    .nav-toggle { display: inline-grid; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); }
    .site-nav.open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border: 2px solid transparent; border-radius: 8px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.95rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.07); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); }

/* ---------- Hero ---------- */
.hero { background: var(--brand); color: #fff; padding-top: clamp(3rem, 8vw, 6rem); }
.hero-image {
    background-image:
        linear-gradient(90deg, color-mix(in srgb, var(--brand) 94%, transparent) 0%, color-mix(in srgb, var(--brand) 72%, transparent) 55%, color-mix(in srgb, var(--brand) 45%, transparent) 100%),
        var(--hero-img);
    background-size: cover;
    background-position: center;
}
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); font-weight: 700; line-height: 1; letter-spacing: -0.025em; max-width: 15ch; margin-bottom: 1.25rem; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 58ch; color: color-mix(in srgb, #fff 84%, var(--brand)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ---------- Coverage band (hero) ---------- */
.coverage { margin-top: clamp(3rem, 7vw, 5rem); padding: 2.5rem 0 3rem; border-top: 1px solid rgb(255 255 255 / 0.2); }
.coverage h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.cov-lead { max-width: 64ch; color: color-mix(in srgb, #fff 78%, var(--brand)); font-size: 0.98rem; }
.cov { display: grid; gap: 0.55rem; margin-top: 1.5rem; }
.cov-axis, .cov-row { display: grid; grid-template-columns: 7rem 1fr 3.5rem; gap: 0.9rem; align-items: center; }
.cov-ticks { display: flex; justify-content: space-between; font-size: 0.75rem; color: color-mix(in srgb, #fff 70%, var(--brand)); font-variant-numeric: tabular-nums; }
.cov-city { font-weight: 600; }
.cov-track { position: relative; height: 1.7rem; background: rgb(255 255 255 / 0.1); border-radius: 4px; }
.cov-work { position: absolute; top: 0; bottom: 0; background: rgb(255 255 255 / 0.55); border-radius: 3px; }
.cov-home .cov-work { background: var(--accent); }
.cov-now { position: absolute; top: -5px; bottom: -5px; width: 2px; background: #fff; border-radius: 1px; }
.cov-time { text-align: right; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.cov-note { margin: 0.9rem 0 0; font-size: 0.85rem; color: color-mix(in srgb, #fff 70%, var(--brand)); }
.is-animating .cov-work { transform-origin: left center; animation: cov-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.is-animating .cov-row:nth-child(3) .cov-work { animation-delay: 0.12s; }
.is-animating .cov-row:nth-child(4) .cov-work { animation-delay: 0.24s; }
@keyframes cov-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 560px) {
    .cov-axis, .cov-row { grid-template-columns: 5.2rem 1fr 3rem; gap: 0.5rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 62ch; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.section-head h2 a { color: inherit; text-decoration: none; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.page-head { padding: clamp(2.25rem, 6vw, 4rem) 0 clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; max-width: 20ch; }
.lead { font-size: 1.2rem; max-width: 62ch; color: var(--muted); }
.head-icon { display: inline-block; color: var(--link); margin-bottom: 1rem; }
.head-icon .icon { width: 2.75rem; height: 2.75rem; }

/* ---------- Ruled rows (services and products) ---------- */
.rows { border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1.25rem; align-items: center; padding: 1.4rem 0.5rem; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.row-link:hover { background: var(--tint); }
.section-tint .row-link:hover { background: var(--surface); }
.row-icon { color: var(--link); }
.row-body h3 { font-size: 1.4rem; margin: 0 0 0.2rem; }
.row-body p { margin: 0; color: var(--muted); max-width: 62ch; }
.row-more { font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 0.25em; white-space: nowrap; }
.rows-compact .row-link { padding-block: 1.1rem; }
.rows-compact .row-body h3 { font-size: 1.2rem; }
.rows-compact .row-more { display: none; }
.rows-compact .row-link { grid-template-columns: 3rem 1fr; }

@media (max-width: 640px) {
    .row-link { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
    .row-more { grid-column: 2; }
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.col-title { font-size: 1.6rem; }
.col-title a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--accent); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Principles and steps ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.principles > div { border-top: 3px solid var(--accent); padding-top: 1rem; }
.principles h3 { font-size: 1.3rem; }
.principles p { color: var(--muted); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; gap: 1.75rem; } }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--link); margin-bottom: 0.6rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Call to action ---------- */
.cta-band { background: var(--brand); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 22ch; margin-bottom: 0.4rem; }
.cta-inner p { margin: 0; color: color-mix(in srgb, #fff 80%, var(--brand)); max-width: 52ch; }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; padding-block: 3rem 4rem; }
.prose p { max-width: 68ch; }
.prose > p:first-child { font-size: 1.15rem; }
.prose h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.prose-narrow { max-width: 46rem; margin-inline: 0; }
.prose-narrow p { max-width: none; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; max-width: 68ch; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.95rem; height: 0.5rem; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }

.faq { max-width: 68ch; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 0.7rem 0 0; color: var(--muted); }

.aside { align-self: start; position: sticky; top: 6rem; border-left: 3px solid var(--accent); padding-left: 1.25rem; }
.aside h2 { font-size: 1.35rem; }
.aside p { color: var(--muted); }
@media (max-width: 920px) {
    .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .aside { position: static; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-top: 1.25rem; font-size: 0.9rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.crumbs a { color: var(--muted); }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; }
.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
    width: 100%; font: inherit; color: var(--text); background: var(--surface);
    border: 1px solid var(--field); border-radius: 8px; padding: 0.7rem 0.85rem;
}
.field-check label { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; }
.field-check input { margin-top: 0.4rem; width: 1.1rem; height: 1.1rem; flex: none; }
.err { display: block; color: var(--err); font-size: 0.9rem; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-left: 4px solid var(--ok); background: var(--tint); padding: 1.25rem 1.5rem; max-width: 40rem; }
.notice h2 { font-size: 1.5rem; }
.contact-aside h2 { font-size: 1.3rem; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: color-mix(in srgb, #fff 86%, var(--brand)); font-size: 0.97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 2rem; padding-block: 3.5rem 2rem; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 0.4rem; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-base { border-top: 1px solid rgb(255 255 255 / 0.18); padding-block: 1.25rem 2rem; font-size: 0.9rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= Visual refresh: glowing hero, console panel, tiles ================= */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(820px 480px at 88% -8%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 62%),
        radial-gradient(640px 520px at -8% 108%, color-mix(in srgb, #fff 14%, transparent), transparent 60%),
        var(--brand);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero > * { position: relative; }
.hero.hero-image, .hero.img { background-blend-mode: normal; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid h1 { max-width: 13ch; font-size: clamp(2.6rem, 6.8vw, 5.2rem); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.console {
    background: linear-gradient(160deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.05));
    border: 1px solid rgb(255 255 255 / 0.25); border-radius: 18px; padding: 1.1rem;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 40px 70px -28px rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.console-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.2rem 0.4rem 0.9rem; }
.console-head h2 { font-size: 1.05rem; margin: 0; letter-spacing: 0; }
.console-tag { font-size: 0.78rem; border: 1px solid rgb(255 255 255 / 0.35); border-radius: 999px; padding: 0.1rem 0.65rem; color: color-mix(in srgb, #fff 82%, var(--brand)); white-space: nowrap; }
.tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.tk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 0.9rem; align-items: center; padding: 0.85rem 0.95rem; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12); border-radius: 12px; animation: tk-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.tk:nth-child(2) { animation-delay: 0.15s; } .tk:nth-child(3) { animation-delay: 0.3s; }
.tk-title { font-weight: 600; font-size: 0.97rem; line-height: 1.3; }
.tk-meta { grid-column: 1 / -1; font-size: 0.83rem; color: color-mix(in srgb, #fff 70%, var(--brand)); }
.pill { font-size: 0.76rem; font-weight: 650; padding: 0.15rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.pill.done { background: #1c7f55; color: #fff; }
.pill.wip { background: var(--accent); color: var(--on-accent); }
.pill.auto { background: #fff; color: #0B1118; }
@keyframes tk-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Service tiles */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile { grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 0.7rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); text-decoration: none; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.tile:nth-child(-n+2) { grid-column: span 3; }
.tile::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 11rem; height: 11rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 68%); pointer-events: none; }
.tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--brand) 60%, transparent); }
.tile h3 { font-size: 1.4rem; margin: 0; }
.tile p { color: var(--muted); margin: 0; flex: 1; max-width: 46ch; }
.tile .go { font-weight: 650; color: var(--link); }
.tile .badge { align-self: flex-start; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile, .tile:nth-child(-n+2) { grid-column: span 1; } .tile:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* Icon badges */
.badge, .row-icon, .ri, .head-icon-tile {
    display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 14px; flex: none;
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 34%, var(--bg)), color-mix(in srgb, var(--accent) 12%, var(--bg)));
    color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.badge .icon, .row-icon .icon, .ri .icon, .head-icon-tile .icon { width: 1.65rem; height: 1.65rem; }
.row-link:hover .row-icon, .row:hover .ri { border-color: var(--accent); }
.head-icon { margin-bottom: 1.1rem; }
.head-icon .head-icon-tile { width: 3.8rem; height: 3.8rem; }

/* Platforms strip */
.tech-wrap { padding-block: 2rem; border-block: 1px solid var(--line); background: var(--bg); }
.tech-wrap .container, .tech-wrap .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; }
.tech-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 0; }
.tech { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; padding: 0; margin: 0; }
.tech li { padding: 0.35rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 0.95rem; }

/* Headings, inner-page headers, call to action */
.section-head h2::after, .shead h2::after { content: ""; display: block; width: 3.6rem; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 0.75rem; }
.page-head, .phead { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--tint)), var(--bg)); }
.cta-band, .cta { position: relative; overflow: hidden; background: radial-gradient(700px 360px at 90% 0%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 62%), var(--brand); }
.cta-band > *, .cta > * { position: relative; }
.principles > div, .three > div { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 14px; padding: 1.3rem 1.4rem 1.4rem; }
.aside, aside.side { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 1.3rem; }
@media (prefers-reduced-motion: reduce) { .tk { animation: none; } .tile { transition: none; } }
