/*
Theme Name: Noria Sites
Description: One theme for noria.co.ke, billgrid.co.ke and siteboss.co.ke.
Version: 4.0.0
Requires PHP: 8.5
Text Domain: noria
*/

@view-transition { navigation: auto; }

@font-face { font-family: "Onest"; src: url("fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
    --brand: #2563eb;
    --brand-2: #22d3ee;
    --brand-deep: #0b1f4d;
    --grad: linear-gradient(110deg, var(--brand), var(--brand-2));
    --radius: 20px;
    --radius-sm: 12px;
    --w: 76rem;
    --gutter: clamp(1.25rem, 4vw, 2rem);
    --pad: max(var(--gutter), (100% - var(--w)) / 2);
    --space: clamp(4.5rem, 10vw, 8rem);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.site-noria { --brand: #2563eb; --brand-2: #22d3ee; --brand-deep: #0b1f4d; }
.site-billgrid { --brand: #1d4ed8; --brand-2: #38bdf8; --brand-deep: #0a1f55; }
.site-siteboss { --brand: #0b84ee; --brand-2: #06d3e8; --brand-deep: #0b2340; }

:root, :root[data-theme="light"] {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #f4f7fc;
    --surface: #ffffff;
    --tint: color-mix(in oklab, var(--brand) 6%, #ffffff);
    --ink: #0b1630;
    --ink-2: #33415c;
    --muted: #64708a;
    --line: #e3e8f1;
    --line-2: #d3dae6;
    --grid: color-mix(in oklab, var(--brand) 8%, transparent);
    --glow-a: color-mix(in oklab, var(--brand) 16%, transparent);
    --glow-b: color-mix(in oklab, var(--brand-2) 16%, transparent);
    --core-bg: rgb(255 255 255 / .78);
    --core-line: rgb(255 255 255 / .95);
    --chip-bg: #ffffff;
    --soft-brand: color-mix(in oklab, var(--brand) 11%, #ffffff);
    --soft-brand-2: color-mix(in oklab, var(--brand-2) 18%, #ffffff);
    --shadow: 0 1px 2px rgb(11 22 48 / .06), 0 12px 32px -14px rgb(11 22 48 / .2);
    --shadow-lg: 0 2px 6px rgb(11 22 48 / .05), 0 32px 70px -30px rgb(11 22 48 / .35);
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #060d1f;
    --bg-soft: #0a1430;
    --surface: #0d1a36;
    --tint: color-mix(in oklab, var(--brand) 14%, #070f24);
    --ink: #eef3ff;
    --ink-2: #c3cde3;
    --muted: #8e9bb8;
    --line: rgb(255 255 255 / .09);
    --line-2: rgb(255 255 255 / .16);
    --grid: rgb(255 255 255 / .05);
    --glow-a: color-mix(in oklab, var(--brand) 38%, transparent);
    --glow-b: color-mix(in oklab, var(--brand-2) 22%, transparent);
    --core-bg: rgb(255 255 255 / .07);
    --core-line: rgb(255 255 255 / .14);
    --chip-bg: #13224a;
    --soft-brand: color-mix(in oklab, var(--brand) 26%, #0d1a36);
    --soft-brand-2: color-mix(in oklab, var(--brand-2) 22%, #0d1a36);
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -18px rgb(0 0 0 / .7);
    --shadow-lg: 0 36px 80px -30px rgb(0 0 0 / .85);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #060d1f;
        --bg-soft: #0a1430;
        --surface: #0d1a36;
        --tint: color-mix(in oklab, var(--brand) 14%, #070f24);
        --ink: #eef3ff;
        --ink-2: #c3cde3;
        --muted: #8e9bb8;
        --line: rgb(255 255 255 / .09);
        --line-2: rgb(255 255 255 / .16);
        --grid: rgb(255 255 255 / .05);
        --glow-a: color-mix(in oklab, var(--brand) 38%, transparent);
        --glow-b: color-mix(in oklab, var(--brand-2) 22%, transparent);
        --core-bg: rgb(255 255 255 / .07);
        --core-line: rgb(255 255 255 / .14);
        --chip-bg: #13224a;
        --soft-brand: color-mix(in oklab, var(--brand) 26%, #0d1a36);
        --soft-brand-2: color-mix(in oklab, var(--brand-2) 22%, #0d1a36);
        --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -18px rgb(0 0 0 / .7);
        --shadow-lg: 0 36px 80px -30px rgb(0 0 0 / .85);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: color-mix(in oklab, var(--brand) 75%, var(--ink)); }
:focus-visible { outline: 2.5px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand); color: #fff; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font); font-weight: 700; line-height: 1.06; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.2rem; line-height: 1.28; letter-spacing: -.015em; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.nowrap { white-space: nowrap; }
.grad-text, .hero-line + .hero-line { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text, .hero-line + .hero-line, .stat-value, .metric-value, .step::before, .receipt-total span:last-child, .s-404 .art-figure { padding-bottom: .16em; margin-bottom: -.16em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 100; top: .75rem; left: .75rem; width: auto; height: auto; clip-path: none; padding: .6rem 1rem; border-radius: var(--radius-sm); background: var(--brand); color: #fff; }
.icon { display: inline-grid; place-items: center; flex: none; }
.icon svg { width: 1.2rem; height: 1.2rem; }

.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
    .scroll-progress { display: block; position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; background: var(--grad); transform-origin: 0 50%; animation: grow-x linear both; animation-timeline: scroll(root); }
}
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Buttons */
.btn, .wp-block-button__link { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem; padding: .75rem 1.5rem; border: 2px solid transparent; border-radius: 999px; background: var(--grad); color: #fff; font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 10px 26px -12px color-mix(in oklab, var(--brand) 75%, transparent); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover, .wp-block-button__link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px color-mix(in oklab, var(--brand) 85%, transparent); }
.btn:active, .wp-block-button__link:active { transform: translateY(0) scale(.98); }
.is-primary .wp-block-button__link::before, .btn:not(.btn-ghost)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); translate: -110% 0; transition: translate .8s var(--ease); }
.is-primary .wp-block-button__link:hover::before, .btn:not(.btn-ghost):hover::before { translate: 110% 0; }
.is-primary .wp-block-button__link::after, .text-link::after, .card-link a::after { content: "\2192"; display: inline-block; transition: transform .3s var(--ease); }
.is-primary .wp-block-button__link:hover::after, .text-link:hover::after, .card-link a:hover::after { transform: translateX(4px); }
.btn-ghost, .is-secondary .wp-block-button__link { background: transparent; border-color: var(--line-2); color: var(--ink); box-shadow: none; }
.btn-ghost:hover, .is-secondary .wp-block-button__link:hover { border-color: var(--brand); background: var(--soft-brand); color: var(--ink); box-shadow: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Top bar and header */
.topbar { position: relative; z-index: 51; display: flex; justify-content: center; gap: 2rem; padding: .5rem var(--pad); border-bottom: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); font-size: .86rem; font-weight: 500; }
.topbar a { display: inline-flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--ink); }
.topbar .pill { flex: none; padding: .12rem .6rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; }
.topbar-contact { display: flex; align-items: center; gap: 1.25rem; }
.topbar-contact a { color: var(--ink-2); font-weight: 600; }
.topbar-contact .icon svg { width: .95rem; height: .95rem; color: var(--brand); }
.topbar .arrow { transition: transform .3s var(--ease); }
.offers { display: grid; min-width: 0; }
.offer { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; translate: 0 .35rem; transition: opacity .4s var(--ease), translate .4s var(--ease), visibility .4s; }
.offer.is-active { opacity: 1; visibility: visible; translate: 0 0; }
.offer-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .offer { transition: none; translate: none; } }
@media (max-width: 640px) { .offer-text { white-space: normal; line-height: 1.35; } }
.topbar a:hover .arrow { transform: translateX(3px); }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: color-mix(in oklab, var(--bg) 85%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgb(11 22 48 / .45); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; padding-inline: var(--pad); }
.brand { display: inline-flex; align-items: center; flex: none; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; width: var(--logo-w, 8.5rem); aspect-ratio: var(--logo-ratio, 4 / 1); background: var(--logo-light) left center / contain no-repeat; }
:root[data-theme="dark"] .brand-logo { background-image: var(--logo-dark, var(--logo-light)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-logo { background-image: var(--logo-dark, var(--logo-light)); } }
.brand-name { font: 750 1.3rem/1 var(--font); letter-spacing: -.03em; }
.nav { display: flex; align-items: center; margin-inline: auto 0; }
.nav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-item { position: relative; }
.nav-link, .nav-item > details > summary { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px; color: var(--ink-2); font-size: .96rem; font-weight: 550; text-decoration: none; cursor: pointer; list-style: none; transition: color .2s, background .2s; }
.nav-item > details > summary::-webkit-details-marker { display: none; }
.nav-link:hover, .nav-item > details > summary:hover, .nav-item > details[open] > summary, .nav-link[aria-current="page"] { background: var(--soft-brand); color: var(--ink); }
.nav-item > details > summary .icon svg { width: .85rem; height: .85rem; transition: transform .3s var(--ease); }
.nav-item > details[open] > summary .icon svg { transform: rotate(180deg); }
.header-inner { position: relative; }
.nav-item { position: static; }
.mega { position: absolute; top: calc(100% + .35rem); left: 50%; display: grid; gap: 1rem; width: min(var(--mega-w, 54rem), calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - 8rem); padding: 1.6rem 2.25rem 1.4rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); translate: -50% 0; animation: drop .35s var(--ease); }
.mega[style*="--cols:1"] { --mega-w: 30rem; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 2rem; }
@keyframes drop { from { opacity: 0; translate: -50% -8px; } }
.mega-groups { columns: var(--cols, 2); column-gap: 3rem; }
.mega-col { display: grid; gap: .25rem; margin-bottom: 1.1rem; break-inside: avoid; }
.mega-col > p { margin-bottom: .2rem; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.mega-col ul { display: grid; gap: 0; list-style: none; }
.mega-col a { display: grid; gap: .2rem; margin-inline: -.85rem; padding: .5rem .85rem; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background .2s; }
.mega-col a:hover { background: var(--bg-soft); color: var(--ink); }
.mega-col a:hover strong { color: var(--brand); }
.mega-col strong { font-size: .98rem; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; transition: color .2s; }
.mega-col span { color: var(--muted); font-size: .87rem; line-height: 1.4; }
.mega-feature { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.5rem; padding: 1rem 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--tint); color: var(--ink); text-decoration: none; isolation: isolate; }
.mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(22rem 8rem at 100% 0%, var(--glow-a), transparent 70%); }
.mega-feature strong { font-size: .98rem; font-weight: 650; }
.mega-feature span { flex: 1 1 18rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.mega-feature em { margin-left: auto; color: var(--brand); font-style: normal; font-size: .9rem; font-weight: 650; white-space: nowrap; }
.mega-feature:hover { color: var(--ink); border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.header-actions { display: flex; align-items: center; gap: .55rem; margin-left: .5rem; }
.header-actions .btn { min-height: 2.6rem; padding: .5rem 1.15rem; font-size: .93rem; }
.header-actions .btn-ghost { border-color: transparent; }
.header-actions .btn-ghost:hover { background: var(--soft-brand); border-color: transparent; }
.icon-btn { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--soft-brand); color: var(--ink); }
.icon-btn svg { width: 1.05rem; height: 1.05rem; }
.theme-menu { position: relative; }
.theme-menu > summary { list-style: none; }
.theme-menu > summary::-webkit-details-marker { display: none; }
.theme-menu[open] > summary { background: var(--soft-brand); color: var(--ink); }
.theme-options { position: absolute; top: calc(100% + .75rem); right: 0; z-index: 60; display: grid; gap: .2rem; width: 15rem; padding: .45rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); animation: drop-right .3s var(--ease); }
.theme-options::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1rem; }
@keyframes drop-right { from { opacity: 0; translate: 0 -6px; } }
.theme-options button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; width: 100%; padding: .6rem .7rem; border: 0; border-radius: 11px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.theme-options button:hover, .theme-options button:focus-visible { background: var(--bg-soft); }
.theme-options button > .icon:first-child { width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--soft-brand); color: var(--brand); }
.theme-options button > .icon svg { width: 1rem; height: 1rem; }
.theme-options strong { display: block; font-size: .93rem; font-weight: 600; line-height: 1.3; }
.theme-options small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.theme-options .tick { color: var(--brand); opacity: 0; transition: opacity .2s; }
.theme-options [aria-checked="true"] { background: var(--soft-brand); }
.theme-options [aria-checked="true"] > .icon:first-child { background: var(--grad); color: #fff; }
.theme-options [aria-checked="true"] .tick { opacity: 1; }
.theme-toggle { list-style: none; }
.theme-toggle::-webkit-details-marker, .theme-toggle::marker { display: none; content: ""; }
.theme-toggle [data-mode] { display: none; }
:root[data-theme-pref="light"] .theme-toggle [data-mode="light"], :root[data-theme-pref="dark"] .theme-toggle [data-mode="dark"], :root[data-theme-pref="system"] .theme-toggle [data-mode="system"], :root:not([data-theme-pref]) .theme-toggle [data-mode="system"] { display: grid; place-items: center; line-height: 0; }
.menu-toggle { display: none; }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(24rem, 92vw); height: 100dvh; max-height: none; margin: 0; padding: 1.25rem; overflow-y: auto; border: 0; border-left: 1px solid var(--line); background: var(--bg); color: var(--ink); translate: 100% 0; transition: translate .5s var(--ease), display .5s allow-discrete, overlay .5s allow-discrete; }
.drawer:popover-open { translate: 0 0; }
@starting-style { .drawer:popover-open { translate: 100% 0; } }
.drawer::backdrop { background: rgb(6 13 31 / 0); transition: background .5s, display .5s allow-discrete, overlay .5s allow-discrete; }
.drawer:popover-open::backdrop { background: rgb(6 13 31 / .45); backdrop-filter: blur(3px); }
@starting-style { .drawer:popover-open::backdrop { background: rgb(6 13 31 / 0); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.drawer nav ul { list-style: none; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer nav a, .drawer nav summary { display: flex; justify-content: space-between; padding: .95rem 0; color: var(--ink); font-size: 1.15rem; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.drawer nav summary::-webkit-details-marker { display: none; }
.drawer nav details ul { padding: 0 0 .75rem; }
.drawer nav details a { padding: .45rem 0; color: var(--ink-2); font-size: 1rem; font-weight: 450; }
.drawer .btn { width: 100%; margin-top: .8rem; }

/* Sections */
:where(.entry > .s), .s { position: relative; padding: var(--space) var(--pad); background: var(--bg); color: var(--ink); }
.s { overflow-x: clip; }
.s.is-alt, .s.tone-tinted, .s.tone-dark { background: var(--bg-soft); }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-3%, 4%) scale(1.08); } }
.s-head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.s-head.is-center, .s-metrics .s-head, .s-tabs .s-head, .s-pricing .s-head { margin-inline: auto; justify-items: center; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; width: fit-content; padding: .28rem .7rem; border: 1.5px solid color-mix(in oklab, var(--brand) 55%, transparent); border-radius: 8px; color: var(--brand); font-size: .8rem; font-weight: 650; letter-spacing: .01em; }
:root[data-theme="dark"] .eyebrow { border-color: color-mix(in oklab, var(--brand-2) 55%, transparent); color: var(--brand-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { border-color: color-mix(in oklab, var(--brand-2) 55%, transparent); color: var(--brand-2); } }
.lead { max-width: 42rem; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.6; }

/* Hero */
.s-hero { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); overflow: hidden; isolation: isolate; background: var(--bg) !important; }
.s-hero::before { content: ""; position: absolute; inset: -30%; z-index: -2; background: radial-gradient(36rem 26rem at 78% 30%, var(--glow-a), transparent 65%), radial-gradient(28rem 22rem at 10% 90%, var(--glow-b), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.s-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 3.75rem 3.75rem; mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 20%, transparent 75%); }
.s-hero.is-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
.s-hero.is-center { text-align: center; }
.s-hero.is-center .hero-copy { justify-items: center; margin-inline: auto; max-width: 56rem; }
.s-hero.is-center .lead { margin-inline: auto; }
.s-hero.is-center .wp-block-buttons, .s-hero.is-center .hero-note, .s-hero.is-center .hero-stats { justify-content: center; }
.s-hero.is-center .hero-visual { max-width: 40rem; margin: clamp(3rem, 6vw, 4.5rem) auto 0; }
.hero-copy { display: grid; gap: 1.5rem; }
.hero-line { display: block; }
.hero-copy .lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); }
.hero-copy .wp-block-buttons { margin-top: .4rem; }
.hero-note { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; }
.hero-note::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, #000 100%, transparent 0); }
.hero-stats { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem 2.5rem; margin-top: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-stats .stat { display: grid; align-content: start; gap: .35rem; }
.stat-value, .metric-value, .art-figure { white-space: nowrap; }
.stat-value { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.hero-visual { position: relative; }

/* Art */
.art { position: relative; isolation: isolate; aspect-ratio: 5 / 4; margin: 1.5rem 1.5rem 1.5rem 0; }
.art-panel { position: absolute; inset: 0; z-index: -1; overflow: hidden; border: 1px solid var(--line); border-radius: 28px 110px 28px 28px; background: radial-gradient(26rem 20rem at 85% 0%, var(--glow-a), transparent 70%), radial-gradient(20rem 16rem at 0% 100%, var(--glow-b), transparent 70%), var(--tint); box-shadow: var(--shadow-lg); }
.art-panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 2.75rem 2.75rem; mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%); }
.art-orbit { position: absolute; inset: 14% 22%; z-index: -1; border: 1.5px dashed color-mix(in oklab, var(--brand) 30%, transparent); border-radius: 50%; animation: spin 60s linear infinite; }
.art-orbit::before, .art-orbit::after { content: ""; position: absolute; width: .75rem; height: .75rem; border-radius: 50%; }
.art-orbit::before { top: 6%; left: 20%; background: var(--brand); box-shadow: 0 0 0 6px color-mix(in oklab, var(--brand) 20%, transparent); }
.art-orbit::after { bottom: 8%; right: 16%; background: var(--brand-2); box-shadow: 0 0 0 6px color-mix(in oklab, var(--brand-2) 22%, transparent); }
@keyframes spin { to { rotate: 360deg; } }
.art-core { container-type: inline-size; position: absolute; top: 44%; left: 50%; display: grid; justify-items: center; gap: .65rem; width: min(13rem, 44%); padding: 1.4rem 1rem; border: 1px solid var(--core-line); border-radius: 28px; background: var(--core-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); text-align: center; translate: -50% -50%; box-shadow: var(--shadow); }
.art-core .icon { width: 4.25rem; height: 4.25rem; border-radius: 22px; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--brand) 70%, transparent); }
.art-core .icon svg { width: 2.1rem; height: 2.1rem; stroke-width: 1.8; }
.art-figure { font-size: clamp(1rem, 13cqi, 2.1rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.art-label { color: var(--ink-2); font-size: .84rem; font-weight: 550; line-height: 1.35; }
.art-chip { position: absolute; z-index: 2; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .7rem; max-width: 62%; padding: .7rem 1rem .7rem .7rem; border: 1px solid var(--line); border-radius: 16px; background: var(--chip-bg); color: var(--ink); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.art-chip .icon { width: 2.25rem; height: 2.25rem; border-radius: 11px; background: var(--soft-brand); color: var(--brand); }
.art-chip .icon svg { width: 1.1rem; height: 1.1rem; }
.art-chip.is-good .icon { background: var(--soft-brand-2); color: color-mix(in oklab, var(--brand-2) 60%, var(--brand)); }
.art-chip.is-warn .icon { background: var(--bg-soft); color: var(--muted); }
.art-chip.is-bad .icon { background: var(--brand); color: #fff; }
.art-chip > div { min-width: 0; }
.art-chip strong { display: block; overflow: hidden; font-size: .86rem; font-weight: 650; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.art-chip small { display: block; overflow: hidden; color: var(--muted); font-size: .76rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.art-chip.c1 { top: 4%; left: -5%; }
.art-chip.c2 { bottom: 21%; right: -7%; animation-delay: -2s; }
.art-chip.c3 { bottom: 3%; left: 8%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.art.is-compact { aspect-ratio: 16 / 10; margin: 0; }
.art.is-compact .art-panel { border-radius: 18px 56px 18px 18px; }
.art.is-compact .art-core { width: auto; padding: 1rem; border-radius: 22px; }
.art.is-compact .art-core .icon { width: 3.25rem; height: 3.25rem; border-radius: 16px; }
.art.is-compact .art-core .icon svg { width: 1.6rem; height: 1.6rem; }
.art.is-compact .art-label, .art.is-compact .art-figure { display: none; }
.art.is-compact .art-chip { max-width: 80%; padding: .5rem .75rem .5rem .5rem; }
.art.is-compact .art-chip .icon { width: 1.75rem; height: 1.75rem; }
.art.is-compact .art-chip.c1 { top: 10%; left: 6%; }
.art.is-compact .art-chip.c2 { top: auto; bottom: 10%; right: 6%; }
.art.is-compact .art-chip.c3, .art.is-compact .art-orbit { display: none; }

/* Marquee strip and metrics */
.s-strip { padding-block: clamp(2.25rem, 4vw, 3rem) !important; border-block: 1px solid var(--line); }
.s-strip .s-head { margin: 0 auto 1.5rem; justify-items: center; text-align: center; }
.s-strip .s-head h2 { color: var(--muted); font-size: .95rem; font-weight: 550; letter-spacing: 0; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip { display: flex; flex: none; gap: .75rem; padding-right: .75rem; list-style: none; animation: marquee 38s linear infinite; }
.marquee:hover .strip { animation-play-state: paused; }
html:not(.js) .strip { flex-wrap: wrap; justify-content: center; animation: none; }
.strip li { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .96rem; font-weight: 550; white-space: nowrap; }
.strip .icon { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--soft-brand); color: var(--brand); }
.strip .icon svg { width: 1rem; height: 1rem; }
@keyframes marquee { to { transform: translateX(-100%); } }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.metric { container-type: inline-size; display: grid; align-content: start; gap: .55rem; padding: 2rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.metric-value { font-size: clamp(1.6rem, 19cqi, 3.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.metric-label { font-size: 1.05rem; font-weight: 650; }
.metric-note { color: var(--muted); font-size: .92rem; }

/* Tabs */
.tabbar { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; width: fit-content; max-width: 100%; margin: 0 auto clamp(2.25rem, 4vw, 3.25rem); padding: .4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.tabbar button { padding: .6rem 1.25rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 .95rem/1.2 var(--font); cursor: pointer; transition: background .3s var(--ease), color .3s; }
.tabbar button:hover { color: var(--ink); }
.tabbar button[aria-selected="true"] { background: var(--grad); color: #fff; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.tab-panel + .tab-panel { margin-top: 4rem; }
html.js .tab-panels.is-ready .tab-panel { margin-top: 0; }
html.js .tab-panels.is-ready .tab-panel:not(.is-active) { display: none; }
html.js .tab-panels.is-ready .tab-panel.is-active { animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; translate: 0 12px; } }
.tab-copy { display: grid; gap: 1.15rem; }
.tab-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -.028em; line-height: 1.1; }
.tab-copy > p { color: var(--ink-2); }

/* Bento and cards */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; align-items: start; gap: 1.1rem; }
.bento-item { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: .75rem; grid-column: span 2; padding: 1.75rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.bento-item.is-md { grid-column: span 3; }
.bento-item.is-wide { grid-column: span 6; }
.bento-item.is-lg { grid-column: span 4; grid-row: span 2; align-self: stretch; border-radius: var(--radius) 64px var(--radius) var(--radius); }
.bento-item.is-sm { align-self: stretch; }
.bento-item.is-lg .art { aspect-ratio: 16 / 8.5; margin: auto 0 0; }
.bento-item .art-chip.c1 { left: 4%; }
.bento-item .art-chip.c2 { right: 4%; }
.bento-item .art-chip.c3 { left: 10%; }
.bento-item > p { color: var(--muted); font-size: .98rem; }
.bento-item.has-link:hover, .card.has-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.bento-item > .icon, .card > .icon { width: 3rem; height: 3rem; margin-bottom: .2rem; border-radius: 14px; background: var(--soft-brand); color: var(--brand); transition: background .3s, color .3s, transform .4s var(--ease); }
.bento-item > .icon svg, .card > .icon svg { width: 1.4rem; height: 1.4rem; }
.bento-item:hover > .icon, .card.has-link:hover > .icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1.1rem; }
.cards.cols-2 { --cols: 2; }
.cards.cols-4 { --cols: 4; }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: .7rem; padding: 1.75rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card > p { color: var(--muted); font-size: .98rem; }
.card-meta { color: var(--brand) !important; font-size: .82rem !important; font-weight: 650; }
.card-link { margin-top: auto !important; padding-top: .5rem; }
.card-link a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-size: .96rem; text-decoration: none; }
.card.has-link .card-link a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-media { margin: -.5rem -.5rem .5rem; }
.card::after, .bento-item::after, .plan::after, .step::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(20rem circle at var(--mx, 50%) var(--my, 50%), var(--glow-a), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover::after, .bento-item:hover::after, .plan:hover::after, .step:hover::after { opacity: 1; }

/* Split, steps, compare */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.split.is-reverse .split-copy { order: 2; }
.split.no-media { grid-template-columns: minmax(0, 46rem); }
.split-copy { display: grid; gap: 1.2rem; }
.split-copy > p:not(.eyebrow):not(.lead) { color: var(--ink-2); }
.ticks { display: grid; gap: .85rem; list-style: none; }
.ticks li { position: relative; padding-left: 2.1rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; top: .1em; left: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; top: .1em; left: 0; width: 1.4rem; height: 1.4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 55% no-repeat; }
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.1rem; counter-reset: step; }
.step { position: relative; isolation: isolate; display: grid; align-content: start; gap: .7rem; padding: 1.75rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before { content: counter(step, decimal-leading-zero); color: transparent; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.step p { color: var(--muted); font-size: .98rem; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
.compare-col { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare-col.is-after { border: 1.5px solid transparent; border-radius: var(--radius) 64px var(--radius) var(--radius); background: linear-gradient(var(--tint), var(--tint)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.compare-label { margin-bottom: 1.2rem !important; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.is-after .compare-label { color: var(--brand); }
.compare-col ul { display: grid; gap: .9rem; list-style: none; }
.compare-col li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.compare-col li::before { content: "\2715"; position: absolute; top: .05em; left: 0; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--bg-soft); color: var(--muted); font-size: .68rem; font-weight: 800; }
.is-after li::before { content: "\2713"; background: var(--grad); color: #fff; }

/* Table, example, pricing */
.wp-block-table { margin: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.wp-block-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .97rem; }
.wp-block-table th, .wp-block-table td { padding: 1.05rem 1.3rem; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.wp-block-table thead th { background: var(--tint); color: var(--ink); font-size: .84rem; font-weight: 650; }
.wp-block-table thead th:nth-child(2) { color: var(--brand); }
.wp-block-table tbody tr:last-child td { border-bottom: 0; }
.wp-block-table td:first-child { color: var(--ink); font-weight: 550; }
.wp-block-table tbody tr { transition: background .2s; }
.wp-block-table tbody tr:hover { background: var(--bg-soft); }
.yes, .no { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; }
.yes { background: var(--grad); color: #fff; }
.no { background: var(--bg-soft); color: var(--muted); }
.yes svg, .no svg { width: .85rem; height: .85rem; }
.table-note { margin-top: 1rem !important; color: var(--muted); font-size: .92rem; }
.example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.receipt { position: relative; padding: 2rem; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; background: var(--surface); box-shadow: var(--shadow-lg); font-variant-numeric: tabular-nums; rotate: 1.5deg; transition: rotate .5s var(--ease); }
.receipt:hover { rotate: 0deg; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: radial-gradient(circle at 10px 0, transparent 9px, var(--surface) 9.5px) 0 0 / 20px 12px repeat-x; }
.receipt-title { margin-bottom: 1.1rem !important; color: var(--brand); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.receipt-line { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1.5px dashed var(--line-2); color: var(--ink-2); font-size: .97rem; }
.receipt-line span:last-child { color: var(--ink); font-weight: 650; white-space: nowrap; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1.1rem; font-weight: 700; }
.receipt-total span:last-child { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.1rem; align-items: stretch; }
.plan { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 1rem; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.is-featured { border: 1.5px solid transparent; border-radius: var(--radius) 64px var(--radius) var(--radius); background: linear-gradient(var(--tint), var(--tint)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan.is-featured::before { content: "Most popular"; position: absolute; top: 1.4rem; right: 1.4rem; padding: .2rem .7rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; }
.plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.plan-price span { color: var(--muted); font-size: .95rem; font-weight: 500; letter-spacing: 0; }
.plan-note { color: var(--muted); font-size: .95rem; }
.plan .ticks { margin-bottom: auto; font-size: .96rem; }
.plan .wp-block-button, .plan .wp-block-button__link { width: 100%; }
.plan:not(.is-featured) .wp-block-button__link { border-color: var(--line-2); background: transparent; color: var(--ink); box-shadow: none; }
.plan:not(.is-featured) .wp-block-button__link:hover { border-color: var(--brand); background: var(--soft-brand); }

/* FAQ */
.s-faq .faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.s-faq .s-head { position: sticky; top: 8rem; margin-bottom: 0; }
.faq { display: grid; gap: .75rem; }
.wp-block-details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.wp-block-details[open] { border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); box-shadow: var(--shadow); }
.wp-block-details summary { position: relative; padding: 1.25rem 3.25rem 1.25rem 1.4rem; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::before, .wp-block-details summary::after { content: ""; position: absolute; top: 50%; right: 1.4rem; width: .9rem; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .4s var(--ease); }
.wp-block-details summary::after { transform: rotate(90deg); }
.wp-block-details[open] summary::after { transform: rotate(0deg); }
.wp-block-details > p { padding: 0 1.4rem 1.35rem; color: var(--ink-2); }
.wp-block-details[open] > p { animation: fadein .4s var(--ease); }

/* Quote, founder, posts */
.wp-block-quote { margin: 0 auto; max-width: 52rem; padding: 0; border: 0; text-align: center; }
.wp-block-quote p { font-size: clamp(1.45rem, 2.7vw, 2rem); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.wp-block-quote cite { display: block; margin-top: 1.25rem; color: var(--muted); font-style: normal; }
.founder { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.founder figure { position: relative; margin: 0; }
.founder figure::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; z-index: -1; border-radius: var(--radius) 90px var(--radius) var(--radius); background: var(--grad); opacity: .85; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius) 90px var(--radius) var(--radius); }
.founder-copy { display: grid; gap: 1.1rem; }
.founder-copy > p:not(.eyebrow):not(.founder-role):not(.lead) { color: var(--ink-2); }
.founder-name { font-size: 1.25rem; font-weight: 700; }
.founder-role { margin-top: -.85rem !important; color: var(--muted); }
.wp-block-latest-posts.post-grid, .post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.1rem; list-style: none; }
.post-grid li, .post-card { position: relative; display: flex; flex-direction: column; gap: .65rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-grid li:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wp-block-latest-posts__featured-image { order: -2; margin: -.6rem -.6rem .4rem; }
.wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.wp-block-latest-posts__post-title, .post-card h3 a { color: var(--ink); font-size: 1.12rem; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; text-decoration: none; }
.wp-block-latest-posts__post-title::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.wp-block-latest-posts__post-date, .post-meta { order: -1; color: var(--brand); font-size: .82rem; font-weight: 600; }
.wp-block-latest-posts__post-excerpt, .post-card > p:not(.post-meta) { color: var(--muted); font-size: .96rem; }
.wp-block-latest-posts__post-excerpt .wp-block-latest-posts__more-link { display: none; }

/* CTA */
.s-cta { padding-block: clamp(4rem, 9vw, 7rem); background: var(--bg) !important; }
.cta-box { position: relative; display: grid; justify-items: center; gap: 1.25rem; overflow: hidden; padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 32px 120px 32px 32px; background: var(--tint); text-align: center; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(30rem 20rem at 20% 110%, var(--glow-b), transparent 65%), radial-gradient(30rem 20rem at 90% 0%, var(--glow-a), transparent 65%); animation: drift 16s ease-in-out infinite alternate; }
.cta-box::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 3rem 3rem; mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%); }
.cta-box h2 { max-width: 40rem; }
.cta-box > p { max-width: 36rem; color: var(--muted); font-size: 1.15rem; }
.cta-box .wp-block-buttons { justify-content: center; margin-top: .5rem; }

/* Prose and articles */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 2.7vw, 2.05rem); }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--brand); }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 4px solid var(--brand); color: var(--ink-2); }
.prose code { padding: .12em .4em; border-radius: 6px; background: var(--bg-soft); font-size: .88em; }
.prose pre { overflow-x: auto; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); font-size: .88rem; line-height: 1.65; }
.prose pre code { padding: 0; background: none; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { padding: .7rem .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font-size: .82rem; font-weight: 650; }
.prose img { border-radius: var(--radius-sm); }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.takeaways { margin-bottom: 2.25rem !important; padding: 1.6rem 1.7rem; border: 1px solid color-mix(in oklab, var(--brand) 30%, var(--line)); border-radius: var(--radius) 56px var(--radius) var(--radius); background: var(--tint); font-size: 1rem; }
.prose .takeaways-title, .takeaways-title { margin: 0 0 .7rem; color: var(--brand); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.takeaways ul { display: grid; gap: .55rem; padding-left: 1.2rem; }
.post-figure { margin: 2.2em 0 !important; }
.post-figure img { width: 100%; border-radius: var(--radius); }
.post-figure figcaption { margin-top: .75rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.page-head { position: relative; display: grid; gap: 1rem; overflow: hidden; padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); background: var(--bg-soft); isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: -40% -10% auto auto; z-index: -1; width: 40rem; height: 30rem; background: radial-gradient(closest-side, var(--glow-a), transparent); }
.page-head h1 { max-width: 52rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-body { padding: clamp(2.5rem, 5vw, 4rem) var(--pad) var(--space); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 1rem var(--pad) 0; color: var(--muted); font-size: .85rem; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--line-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
nav[aria-label="Breadcrumb"] + .entry > .s-hero { padding-top: clamp(1.5rem, 4vw, 3rem); }
.article-head { display: grid; gap: 1.1rem; max-width: 48rem; padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 2rem; margin-inline: auto; box-sizing: content-box; }
.article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--muted); font-size: .9rem; }
.article-top { position: relative; background: var(--bg-soft); }
.article-top .article-head { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.article-cover { margin: 0 0 2.75rem; padding-inline: var(--gutter); background: linear-gradient(to bottom, var(--bg-soft) 55%, transparent 55%); }
.cover-frame { position: relative; max-width: 62rem; margin-inline: auto; overflow: hidden; border-radius: var(--radius) 80px var(--radius) var(--radius); box-shadow: var(--shadow); }
.cover-frame::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: 1; height: 6px; background: var(--grad); }
.cover-frame img { display: block; width: 100%; height: auto; }
.article-body { display: grid; justify-items: center; padding: 0 var(--pad) var(--space); }
.article-body .prose { width: 100%; font-size: 1.1rem; line-height: 1.75; }
.article-foot { width: 100%; max-width: 62rem; margin: 4rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.article-layout { display: grid; width: 100%; max-width: 44rem; }
.article-main { min-width: 0; }
.article-aside { display: none; }
.toc ol { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .4rem .6rem; border-radius: 10px; color: var(--muted); font-size: .9rem; line-height: 1.4; text-decoration: none; transition: color .2s, background .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--brand); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a[aria-current="true"] { background: var(--soft-brand); color: var(--ink); }
.toc-title { margin-bottom: .6rem; padding-inline: .6rem; color: var(--brand); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.toc-inline { margin-bottom: 2rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc-inline summary { color: var(--ink); font-weight: 650; cursor: pointer; }
.toc-inline ol { margin-top: .75rem; }
.post-cta { display: grid; gap: 1rem; padding: 1.5rem; border: 1px solid color-mix(in oklab, var(--brand) 30%, var(--line)); border-radius: var(--radius) 40px var(--radius) var(--radius); background: var(--soft-brand); }
.post-cta p { color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.45; }
.post-cta .btn { justify-self: start; }
@media (min-width: 72rem) {
    .article-layout { grid-template-columns: minmax(0, 44rem) 16.5rem; gap: 3.5rem; max-width: 64rem; }
    .article-aside { display: grid; align-content: start; gap: 1.5rem; position: sticky; top: 6.5rem; align-self: start; }
    .toc-inline { display: none; }
}
.post-card-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; order: -2; }
.post-feature { position: relative; display: grid; gap: 1.5rem; margin-bottom: 1.75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius) 60px var(--radius) var(--radius); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-feature-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 6px); }
.post-feature-copy { display: grid; align-content: center; gap: .85rem; padding: .25rem .5rem 1rem; }
.post-feature h2, .post-feature h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.025em; }
.post-feature h2 a, .post-feature h3 a { color: var(--ink); text-decoration: none; }
.post-feature h2 a::after, .post-feature h3 a::after { content: ""; position: absolute; inset: 0; }
.post-feature-copy > p:not(.post-meta) { color: var(--muted); }
.post-feature .btn { justify-self: start; }
@media (min-width: 56rem) { .post-feature { grid-template-columns: 1.15fr 1fr; align-items: center; } }
@media (prefers-reduced-motion: reduce) { .post-feature { transition: none; } }
.archive-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; list-style: none; }
.archive-filters a { display: inline-block; padding: .45rem 1rem; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font-size: .92rem; font-weight: 550; text-decoration: none; transition: all .25s; }
.archive-filters a:hover, .archive-filters a[aria-current] { border-color: transparent; background: var(--grad); color: #fff; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.pagination .current { border-color: transparent; background: var(--grad); color: #fff; }

/* Footer */
.site-footer { position: relative; margin-top: auto; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); }
.site-footer::before { content: ""; position: absolute; inset: -1px 0 auto; height: 3px; background: var(--grad); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(var(--footer-cols, 3), minmax(0, 1fr)); gap: 2.5rem; padding: clamp(3.5rem, 7vw, 5rem) var(--pad); }
.footer-brand { display: grid; align-content: start; gap: 1.15rem; }
.footer-brand p { max-width: 23rem; font-size: .95rem; }
.footer-contact { display: grid; gap: .55rem; list-style: none; font-size: .94rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); }
.footer-contact a { color: var(--ink-2); text-decoration: none; }
.footer-contact a:hover { color: var(--brand); }
.footer-contact .icon svg { width: 1rem; height: 1rem; margin-top: .25rem; color: var(--brand); }
.footer-col h2 { margin-bottom: 1.1rem; font-size: .95rem; font-weight: 650; letter-spacing: 0; }
.footer-col ul { display: grid; gap: .65rem; list-style: none; }
.footer-col a { color: var(--muted); font-size: .94rem; text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.footer-col a:hover { color: var(--ink); padding-left: .25rem; }
.socials { display: flex; gap: .45rem; list-style: none; }
.socials a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink-2); transition: background .2s, color .2s, transform .3s var(--ease); }
.socials a:hover { border-color: transparent; background: var(--grad); color: #fff; transform: translateY(-2px); }
.socials svg { width: 1rem; height: 1rem; }
.footer-family { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: 1.3rem var(--pad); border-top: 1px solid var(--line); font-size: .92rem; }
.footer-family strong { color: var(--ink); font-weight: 650; }
.footer-family a { color: var(--ink-2); text-decoration: none; }
.footer-family a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding: 1.3rem var(--pad) 1.6rem; border-top: 1px solid var(--line); font-size: .86rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }
.footer-bottom .footer-company { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .25em; }
.footer-bottom .footer-company:hover { color: var(--brand); text-decoration-color: currentColor; }
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 41; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; padding: 0; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; box-shadow: 0 14px 30px -10px color-mix(in oklab, var(--brand) 70%, transparent); transition: transform .35s var(--ease); }
.wa-float::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--brand-2); border-radius: 50%; animation: ping 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ping { 0% { transform: scale(.9); opacity: .8; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); }
.wa-float svg { width: 1.6rem; height: 1.6rem; }
.wa-float .wa-close, body:has(.wa-chat:popover-open) .wa-float .wa-open { display: none; }
body:has(.wa-chat:popover-open) .wa-float .wa-close { display: grid; }
body:has(.wa-chat:popover-open) .wa-float::after { animation: none; opacity: 0; }
.wa-chat { position: fixed; inset: auto 1.25rem 5.5rem auto; width: min(22.5rem, calc(100vw - 2.5rem)); margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; translate: 0 12px; scale: .97; transform-origin: 100% 100%; transition: opacity .3s var(--ease), translate .35s var(--ease), scale .35s var(--ease), display .35s allow-discrete, overlay .35s allow-discrete; }
.wa-chat:popover-open { opacity: 1; translate: 0 0; scale: 1; }
@starting-style { .wa-chat:popover-open { opacity: 0; translate: 0 12px; scale: .97; } }
.wa-chat-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: 1rem 1rem 1rem 1.1rem; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--tint); isolation: isolate; }
.wa-chat-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(16rem 8rem at 100% 0%, var(--glow-a), transparent 70%); }
.wa-chat-head img { width: 2.75rem; height: 2.75rem; border-radius: 14px; object-fit: contain; background: var(--surface); }
.wa-chat-head strong { display: block; font-size: 1rem; font-weight: 650; line-height: 1.25; }
.wa-chat-head small { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .82rem; }
.wa-chat-head small .icon svg { width: .9rem; height: .9rem; color: var(--brand); }
.wa-chat-close { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.wa-chat-close:hover { background: var(--soft-brand); color: var(--ink); }
.wa-chat-close svg { width: 1.05rem; height: 1.05rem; }
.wa-chat-body { display: grid; gap: .9rem; padding: 1.1rem; background-image: radial-gradient(var(--grid) 1px, transparent 1px); background-size: 14px 14px; }
.wa-bubble { position: relative; justify-self: start; max-width: 90%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; background: var(--surface); color: var(--ink-2); font-size: .93rem; line-height: 1.5; box-shadow: var(--shadow); }
.wa-starters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.wa-starters button { padding: .45rem .8rem; border: 1px solid color-mix(in oklab, var(--brand) 35%, var(--line)); border-radius: 999px; background: var(--surface); color: var(--brand); font: 550 .85rem/1.3 var(--font); text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.wa-starters button:hover { border-color: transparent; background: var(--grad); color: #fff; }
.wa-chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); }
.wa-chat-form textarea { flex: 1; min-height: 2.9rem; max-height: 8rem; padding: .7rem .95rem; border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--bg-soft); color: var(--ink); font: 400 .95rem/1.4 var(--font); resize: none; field-sizing: content; transition: border-color .2s, box-shadow .2s, background .2s; }
.wa-chat-form textarea::placeholder { color: var(--muted); }
.wa-chat-form textarea:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 16%, transparent); outline: 0; }
.wa-chat-form button { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; padding: 0; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; transition: transform .3s var(--ease), opacity .2s; }
.wa-chat-form button:hover { transform: scale(1.06); }
.wa-chat-form button svg { width: 1.15rem; height: 1.15rem; }
.wa-chat-form:has(textarea:placeholder-shown) button { opacity: .55; }
.wa-note { margin-top: -.35rem; padding: 0 1rem .75rem; color: var(--muted); font-size: .76rem; text-align: center; }
@media (max-width: 42rem) { .wa-chat { inset: auto .75rem 5.25rem .75rem; width: auto; } }
.s-404 h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.s-404 .path { padding: .1em .45em; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft); color: var(--ink); font-size: .9em; overflow-wrap: anywhere; }
.s-404 .art-figure { font-size: clamp(2.6rem, 5vw, 3.6rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.did-you-mean { display: grid; gap: .75rem; margin-top: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.did-you-mean > p { color: var(--muted); font-size: .92rem; font-weight: 600; }
.did-you-mean ul { display: grid; gap: .5rem; list-style: none; }
.did-you-mean a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.did-you-mean a:hover { border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); transform: translateX(4px); color: var(--ink); }
.did-you-mean .icon { width: 2rem; height: 2rem; border-radius: 10px; background: var(--soft-brand); color: var(--brand); }
.did-you-mean .icon svg { width: 1rem; height: 1rem; }
.did-you-mean a > .icon:last-child { background: none; color: var(--muted); }
.s-404-sections .card > .icon { width: 3rem; height: 3rem; border-radius: 14px; }

/* Motion */
html.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
html.js .reveal.is-in { opacity: 1; translate: 0 0; }
html.js .hero-copy > * { animation: rise .9s var(--ease) both; }
html.js .hero-copy > *:nth-child(2) { animation-delay: .08s; }
html.js .hero-copy > *:nth-child(3) { animation-delay: .16s; }
html.js .hero-copy > *:nth-child(4) { animation-delay: .24s; }
html.js .hero-copy > *:nth-child(n+5) { animation-delay: .32s; }
html.js .hero-visual { animation: rise 1.1s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }

/* Login */
html:has(body.login) { background: var(--bg); }
body.login { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
.login-showcase { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; height: 100vh; height: 100dvh; padding: clamp(1.75rem, 3.5vw, 3rem) clamp(1.75rem, 4vw, 3.5rem); overflow: hidden; isolation: isolate; border-right: 1px solid var(--line); background: var(--bg-soft); }
.login-showcase::before { content: ""; position: absolute; inset: -30%; z-index: -2; background: radial-gradient(32rem 24rem at 80% 25%, var(--glow-a), transparent 65%), radial-gradient(26rem 20rem at 10% 90%, var(--glow-b), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.login-showcase::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 3.5rem 3.5rem; mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 75%); }
.login-showcase-logo { display: block; }
.login-showcase-copy { display: grid; gap: 1rem; max-width: 30rem; }
.login-showcase-title { color: var(--ink); font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 750; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.login-showcase .art { width: min(100%, 29rem); margin: 0 auto; }
.login-showcase .art-chip { max-width: 70%; }
.login-mark { width: 4.25rem; height: 4.25rem; border-radius: 20px; object-fit: contain; }
.login-showcase-note { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .9rem; }
.login-showcase-note .icon svg { width: 1.05rem; height: 1.05rem; color: var(--brand); }
#login { grid-column: 2; align-self: center; justify-self: center; width: min(25rem, 100% - 2.5rem); margin: 0; padding: 2.5rem 0; animation: rise .8s var(--ease) both; }
.login h1.wp-login-logo { display: none; }
.login h1.wp-login-logo a { width: var(--logo-w, 9rem); height: auto; aspect-ratio: var(--logo-ratio, 4 / 1); margin: 0 0 2rem; background: var(--logo-light) left center / contain no-repeat; }
:root[data-theme="dark"] .login h1.wp-login-logo a { background-image: var(--logo-dark, var(--logo-light)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .login h1.wp-login-logo a { background-image: var(--logo-dark, var(--logo-light)); } }
.login-intro { margin-bottom: 1.5rem; }
.login-intro h2 { margin-bottom: .45rem; font-size: clamp(1.75rem, 3vw, 2.15rem); letter-spacing: -.03em; }
.login-intro p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.login form { margin: 0; padding: 1.75rem; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); }
.login label { color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.4; }
.login form .input, .login input[type="text"], .login input[type="password"], .login input[type="email"] { min-height: 3.1rem; margin: .4rem 0 1.1rem; padding: .7rem 1rem; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--bg-soft); color: var(--ink); font: 400 1rem/1.4 var(--font); box-shadow: none; transition: border-color .2s, background .2s, box-shadow .3s; }
.login form .input:hover, .login input[type="text"]:hover, .login input[type="password"]:hover { border-color: color-mix(in oklab, var(--brand) 45%, var(--line-2)); }
.login form .input:focus, .login input[type="text"]:focus, .login input[type="password"]:focus, .login input[type="email"]:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent); outline: 0; }
.login input::placeholder { color: var(--muted); opacity: .8; }
.login input[type="password"]:placeholder-shown { font-family: var(--font); letter-spacing: 0; }
.login .wp-pwd { position: relative; margin: 0; }
.login .wp-pwd input { padding-right: 3.25rem; }
.login #resetpassform .user-pass1-wrap { margin-bottom: 1rem; }
.login #resetpassform .wp-pwd input { margin-bottom: .75rem; }
.login .button.wp-hide-pw { top: .4rem; right: .15rem; width: 3rem; height: 3.1rem; min-width: 0; border: 0; background: transparent; color: var(--muted); box-shadow: none; }
.login .button.wp-hide-pw:hover, .login .button.wp-hide-pw:focus { color: var(--brand); background: transparent; box-shadow: none; }
.login form .forgetmenot { float: none; margin: -.1rem 0 1.25rem; }
.login .forgetmenot label { color: var(--ink-2); font-weight: 500; }
.login input[type="checkbox"] { width: 1.1rem; height: 1.1rem; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--bg-soft); box-shadow: none; }
.login input[type="checkbox"]:checked { border-color: var(--brand); background: var(--brand); }
.login input[type="checkbox"]:checked::before { filter: brightness(0) invert(1); }
.login .submit, .login .reset-pass-submit { display: flex; flex-direction: column-reverse; gap: .65rem; float: none; margin: 0; padding: 0; }
.wp-core-ui.login .button-primary, .login .button-primary { float: none; width: 100%; min-height: 3.15rem; margin: 0; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font: 650 1rem/1 var(--font); text-shadow: none; box-shadow: 0 12px 26px -12px color-mix(in oklab, var(--brand) 75%, transparent); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wp-core-ui.login .button-primary:hover, .wp-core-ui.login .button-primary:focus { background: var(--grad); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px color-mix(in oklab, var(--brand) 85%, transparent); }
.wp-core-ui.login .button-primary:focus-visible { outline: 2.5px solid var(--brand-2); outline-offset: 3px; }
.wp-core-ui.login .button:not(.button-primary):not(.wp-hide-pw) { min-height: 2.9rem; padding: 0 1.25rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .95rem/1 var(--font); box-shadow: none; }
.wp-core-ui.login .button:not(.button-primary):not(.wp-hide-pw):hover { border-color: var(--brand); background: var(--soft-brand); }
.login #pass-strength-result { margin: 0 0 1rem; padding: .55rem .85rem; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.login #pass-strength-result:not(.short):not(.bad):not(.good):not(.strong) { display: none; }
.login #pass-strength-result.short, .login #pass-strength-result.bad, .login #pass-strength-result.good, .login #pass-strength-result.strong { opacity: 1; }
.login #pass-strength-result.good { background: var(--soft-brand); color: var(--ink); }
.login #pass-strength-result.strong { background: var(--soft-brand-2); color: var(--ink); }
.login .indicator-hint, .login .description, .login .pw-weak label { color: var(--muted); font-size: .86rem; }
#login_error, .login .message, .login .notice, .login .success { margin: 0 0 1.25rem; padding: .9rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; background: var(--surface); color: var(--ink-2); font-size: .92rem; box-shadow: none; }
#login_error, .login .notice-error { border-left-color: var(--ink); }
#login_error a, .login .message a { color: var(--brand); }
.login #nav, .login #backtoblog { margin: 1rem 0 0; padding: 0 .25rem; font-size: .9rem; }
.login #nav a, .login #backtoblog a { color: var(--muted); font-weight: 550; text-decoration: none; transition: color .2s; }
.login #nav a:hover, .login #backtoblog a:hover { color: var(--brand); }
.login .privacy-policy-page-link { grid-column: 2; }
body.login.interim-login { display: block; }
.interim-login .login-showcase { display: none; }
.interim-login #login { width: min(22rem, 100% - 2rem); padding: 1.5rem 0; }
@media (max-width: 60rem) {
    body.login { grid-template-columns: minmax(0, 1fr); background: radial-gradient(30rem 20rem at 100% 0%, var(--glow-a), transparent 70%), radial-gradient(24rem 18rem at 0% 100%, var(--glow-b), transparent 70%), var(--bg); }
    .login-showcase { display: none; }
    #login { grid-column: 1; }
    .login h1.wp-login-logo { display: block; }
    .login .privacy-policy-page-link { grid-column: 1; }
}
@media (max-height: 44rem) and (min-width: 60.01rem) {
    .login-showcase .art { width: min(100%, 22rem); }
    .login-showcase-title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
}

@media (max-width: 68rem) {
    .nav, .header-actions .btn { display: none; }
    .menu-toggle { display: inline-grid; }
    .header-actions { margin-left: auto; }
    .topbar-contact { display: none; }
    .s-hero.is-split, .split, .founder, .tab-panel, .example, .s-faq .faq-wrap { grid-template-columns: minmax(0, 1fr); }
    .split.is-reverse .split-copy { order: 0; }
    .s-faq .s-head { position: static; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento-item, .bento-item.is-md { grid-column: span 1; }
    .bento-item.is-lg, .bento-item.is-wide { grid-column: span 2; grid-row: auto; }
    .cards, .cards.cols-4 { --cols: 2; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .founder figure { max-width: 19rem; }
    .art { margin-inline: 1.5rem; }
}

@media (max-width: 42rem) {
    body { font-size: 1rem; }
    .cards, .cards.cols-2, .cards.cols-4, .compare, .bento { --cols: 1; grid-template-columns: minmax(0, 1fr); }
    .bento-item, .bento-item.is-md, .bento-item.is-lg, .bento-item.is-wide { grid-column: auto; }
    .footer-main { grid-template-columns: minmax(0, 1fr); }
    .hero-copy .wp-block-button { flex: 1 1 100%; }
    .hero-copy .wp-block-button__link { width: 100%; }
    .tabbar { border-radius: var(--radius); }
    .art { aspect-ratio: 1 / 1.08; margin: 1rem 0; }
    .art-core { top: 46%; width: auto; padding: 1rem; }
    .art-label, .art-figure { display: none; }
    .art-chip { max-width: 88%; padding: .55rem .8rem .55rem .55rem; }
    .art-chip.c1 { top: 5%; left: 4%; }
    .art-chip.c2 { top: auto; bottom: 25%; right: 4%; }
    .art-chip.c3 { bottom: 5%; left: 4%; }
    .bento-item .art-chip.c1, .bento-item .art-chip.c3 { left: 4%; }
    .bento-item.is-lg .art { aspect-ratio: 1 / 1.08; }
    .topbar { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    html.js .reveal { opacity: 1; translate: none; }
    @view-transition { navigation: none; }
}

.booking { display: none; flex-direction: column; width: min(64rem, calc(100vw - 2rem)); height: min(44rem, calc(100dvh - 2rem)); max-width: none; max-height: none; margin: auto; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; scale: .98; transition: opacity .25s var(--ease), scale .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete; }
.booking[open] { display: flex; opacity: 1; scale: 1; }
.booking-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .6rem .6rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--tint); }
.booking-head strong { font-size: .95rem; font-weight: 650; }
@starting-style { .booking[open] { opacity: 0; scale: .98; } }
.booking::backdrop { background: color-mix(in oklab, #0b1630 55%, transparent); backdrop-filter: blur(4px); }
.booking iframe { display: block; flex: 1; width: 100%; min-height: 0; border: 0; background: var(--surface); }
.booking-close { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.booking-close svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 640px) { .booking { width: 100vw; height: 100dvh; border: 0; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .booking { transition: none; } }
.prose h2[id] { scroll-margin-top: 6.5rem; }

.page-head.is-insights { z-index: 2; overflow: clip visible; padding-bottom: clamp(3rem, 6vw, 4.25rem); border-bottom: 0; }
.page-head.is-insights { justify-items: center; text-align: center; }
.page-head.is-insights h1, .page-head.is-insights .lead { margin-inline: auto; }
.page-head.is-insights .lead { max-width: 44rem; }
.page-head.is-insights .post-search { margin-inline: auto; }
.page-head.is-insights + .page-body .archive-filters { justify-content: center; }
.page-head.is-insights::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--grad); }
.post-search { position: relative; display: flex; align-items: center; gap: .5rem; width: min(100%, 38rem); min-height: 4.25rem; margin-top: .75rem; padding: .45rem .45rem .45rem 1.6rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.post-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px var(--soft-brand), var(--shadow); }
.post-search input[type="search"] { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: clamp(1.05rem, 1.6vw, 1.25rem); outline: none; }
.post-search input[type="search"]::placeholder { color: var(--muted); }
.post-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.post-search-go { display: grid; flex: none; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.post-search-go:hover { transform: translateX(2px); box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--brand) 85%, transparent); }
.post-search-go svg { width: 1.3rem; height: 1.3rem; }
.search-suggest { position: absolute; inset: calc(100% + .6rem) 0 auto 0; z-index: 30; display: grid; gap: .15rem; max-height: min(26rem, 60vh); margin: 0; padding: .5rem; overflow-y: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg, var(--shadow)); list-style: none; text-align: left; }
.search-suggest[hidden] { display: none; }
.search-suggest li a { display: grid; grid-template-columns: 3.25rem 1fr; align-items: center; gap: .85rem; padding: .55rem .65rem; border-radius: 14px; color: var(--ink); text-decoration: none; }
.search-suggest li a img, .search-suggest .thumb { width: 3.25rem; height: 3.25rem; border-radius: 10px; object-fit: cover; background: var(--soft-brand); }
.search-suggest li a strong { display: block; font-size: .96rem; font-weight: 650; line-height: 1.3; }
.search-suggest li a small { color: var(--muted); font-size: .8rem; }
.search-suggest mark { background: none; color: var(--brand); font-weight: 750; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:root[data-theme="dark"] .search-suggest mark { color: var(--brand-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .search-suggest mark { color: var(--brand-2); } }
.search-suggest li[aria-selected="true"] a, .search-suggest li a:hover { background: var(--soft-brand); }
.search-suggest .search-all a { display: flex; justify-content: center; padding: .7rem; color: var(--brand); font-size: .9rem; font-weight: 650; }
.search-suggest .search-none { padding: .9rem; color: var(--muted); font-size: .92rem; }
.search-empty { padding: 2rem 0; color: var(--muted); }
.recent { margin-bottom: 3rem; }
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.recent-head h2, .all-articles { font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.02em; }
.all-articles { margin-bottom: 1.25rem; }
.recent-nav { display: flex; gap: .5rem; }
.recent-prev svg { rotate: 180deg; }
.recent-track { display: grid; grid-auto-columns: 100%; grid-auto-flow: column; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.recent-track::-webkit-scrollbar { display: none; }
.recent-slide { margin: 0; scroll-snap-align: start; }
.recent-slide:hover { transform: none; }
.recent-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.recent-dots button { width: .6rem; height: .6rem; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.recent-dots button[aria-current="true"] { width: 1.6rem; background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .recent-track { scroll-behavior: auto; } .recent-dots button { transition: none; } }

[data-post-grid] { grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.5rem 1.25rem; }
.post-card { box-shadow: 9px 9px 0 color-mix(in oklab, var(--brand) 9%, var(--bg-soft)); }
.post-grid li:hover, .post-card:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 color-mix(in oklab, var(--brand) 16%, var(--bg-soft)); }
.card-arrow { display: grid; place-items: center; align-self: start; width: 2.5rem; height: 2.5rem; margin-top: auto; border-radius: 50%; background: var(--soft-brand); color: var(--brand); transition: background .25s, color .25s, transform .25s var(--ease); }
.card-arrow svg { width: 1.05rem; height: 1.05rem; }
.post-card:hover .card-arrow { background: var(--grad); color: #fff; transform: translateX(3px); }
.post-card[hidden] { display: none; }
.load-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.load-more .btn[hidden] { display: none; }
.post-cta.is-band { width: 100%; max-width: 62rem; margin: 4rem auto 0; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--radius) 64px var(--radius) var(--radius); }
.post-cta.is-band p { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 650; letter-spacing: -.01em; }
@media (min-width: 48rem) { .post-cta.is-band { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; } .post-cta.is-band .btn { justify-self: end; } }
@media (prefers-reduced-motion: reduce) { .card-arrow, .post-search-go, .post-card { transition: none; } }
.article-aside .post-cta { transition: opacity .3s var(--ease), visibility .3s; }
.article-aside .post-cta.is-quiet { opacity: 0; visibility: hidden; }
