/* =========================================================
   IQ BIBLE
   Brand Homepage

   Design tokens below are transcribed from the brand
   source of truth: brand.iqbible.com / assets/css/brand.css.
   Where this file and brand.css disagree, brand.css wins.
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    /* ---- Core palette (verbatim from brand.css) ---- */
    --bg: #f7f6fc;
    --ink: #1a1330;
    --brand: #6d28d9;
    --brand-2: #9333ea;
    --brand-hover: #5b21b6;
    --brand-soft: rgba(109, 40, 217, 0.09);
    --line: #eae7f2;
    --muted: #6b6480;
    --muted2: #a09bb3;

    --surface: #ffffff;
    --surface-tint: #faf7ff;

    /* ---- On-ink (text/accents over the dark surface) ---- */
    --on-ink: #e6def7;
    --on-ink-muted: #a79fc0;
    --brand-on-ink: #b79dee;

    /* ---- Radius scale ---- */
    --radius-pill: 999px;
    --radius-panel: 22px;
    --radius-card: 18px;
    --radius-control: 12px;

    /* ---- Elevation ---- */
    --shadow-soft: 0 4px 14px rgba(26, 19, 48, 0.05);
    --shadow-panel: 0 24px 60px rgba(26, 19, 48, 0.14);
    --shadow-glow: 0 10px 24px rgba(109, 40, 217, 0.30);

    /* ---- Legacy aliases (so existing rules keep resolving) ---- */
    --purple: var(--brand);
    --purple-dark: var(--brand-hover);
    --text: var(--ink);
    --paper: var(--bg);
    --white: var(--surface);
    --black: var(--ink);
    --dark: var(--ink);

    /* ---- Hero split ---- */
    --container-bg-color: var(--ink);

    --left-bg-color: rgba(109, 40, 217, 0.90);
    --left-button-hover-color: rgba(109, 40, 217, 1);

    --right-bg-color: rgba(26, 19, 48, 0.92);
    --right-button-hover-color: rgba(109, 40, 217, 0.30);

    --hover-width: 72%;
    --other-width: 28%;

    --split-pos: 50%;
    --split-diagonal: 60px;

    --speed: 800ms;

    --nav-height: 76px;
    --section-width: 1200px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: var(--surface);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: rgba(109, 40, 217, 0.18);
}


/* =========================================================
   SHARED
   ========================================================= */

.section-container {
    width: min(var(--section-width), 90%);
    margin: 0 auto;
}

.eyebrow {
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
}

em {
    color: var(--brand);
    font-style: normal;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    height: var(--nav-height);
    width: 100%;

    display: flex;
    align-items: center;

    padding: 0 5%;

    background: var(--surface);

    position: relative;
    z-index: 20;

    border-bottom: 1px solid var(--line);
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--ink);

    font-size: 1.35rem;
    font-weight: 900;

    letter-spacing: -0.02em;

    text-decoration: none;
}

.logo img,
.footer-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.logo span,
.footer-logo span {
    color: var(--brand);
    font-weight: 900;
}


/* =========================================================
   FOOTER LOGO
   ========================================================= */

.footer-logo {
    color: #fff;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}


/* =========================================================
   NAV LINKS
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin-left: auto;
}

.nav-links a {
    position: relative;

    color: #3d3552;

    font-size: 0.82rem;
    font-weight: 600;

    text-decoration: none;

    transition: color 200ms ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--brand);

    transition: width 200ms ease;
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-search {
    display: inline-flex;
    align-items: center;
    color: #3d3552;
}

.nav-search:hover {
    color: var(--brand);
}

.nav-search::after {
    display: none;
}

.nav-search svg {
    display: block;
}

/* Icon-only in the desktop bar; the word shows in the mobile menu. */
.nav-search-label {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

main {
    width: 100%;
    padding: 28px 4% 0;
}

.container {
    position: relative;

    width: 100%;

    /* Leave room above (nav + main padding + hero-intro) and below
       (hero-outro) so the outro paragraph sits within the first screen
       on laptop viewports, not just tall desktop ones. */
    height: min(
        560px,
        calc(100vh - var(--nav-height) - 250px)
    );

    min-height: 420px;

    overflow: hidden;

    background: var(--container-bg-color);

    border-radius: var(--radius-panel);
}


/* =========================================================
   SPLIT PANELS
   ========================================================= */

.split {
    position: absolute;

    inset: 0;

    overflow: hidden;

    transition:
        clip-path var(--speed) ease-in-out,
        opacity var(--speed) ease-in-out;
}

.split.left {
    z-index: 1;

    background:
        url("../media/img/left.png")
        center center
        no-repeat;

    background-size: cover;
}

.split.right {
    z-index: 2;

    background:
        url("../media/img/right.png")
        center center
        no-repeat;

    background-size: cover;
}

/* Diagonal seam: both panels share the same two points
   (split-pos ± diagonal, at 0% and 100% height) so they
   always tile edge-to-edge with no gap or overlap. */

.split.left,
.split.left::before {
    clip-path: polygon(
        0 0,
        calc(var(--split-pos) + var(--split-diagonal)) 0,
        calc(var(--split-pos) - var(--split-diagonal)) 100%,
        0 100%
    );
}

.split.right,
.split.right::before {
    clip-path: polygon(
        calc(var(--split-pos) + var(--split-diagonal)) 0,
        100% 0,
        100% 100%,
        calc(var(--split-pos) - var(--split-diagonal)) 100%
    );
}

/* =========================================================
   HERO OVERLAYS
   ========================================================= */

.split.left::before,
.split.right::before {
    content: "";

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    transition:
        clip-path var(--speed) ease-in-out,
        opacity var(--speed) ease-in-out;
}

.split.left::before {
    background: var(--left-bg-color);
}

.split.right::before {
    background: var(--right-bg-color);
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.split .content {
    position: absolute;

    top: 0;
    height: 100%;

    z-index: 5;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;

    transition:
        width var(--speed) ease-in-out,
        opacity var(--speed) ease-in-out;
}

.split.left .content {
    left: 0;

    width: var(--split-pos);
}

.split.right .content {
    right: 0;

    width: calc(100% - var(--split-pos));
}


/* =========================================================
   PANEL LABEL
   ========================================================= */

.panel-label {
    position: static;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
}


/* =========================================================
   HERO HEADINGS
   ========================================================= */

.split .content h2 {
    position: static;

    margin: 0;

    color: #fff;

    font-size: clamp(2.2rem, 4vw, 4rem);

    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.03em;

    white-space: nowrap;

    transform: none;

    transition:
        font-size var(--speed) ease-in-out,
        opacity var(--speed) ease-in-out;
}


/* =========================================================
   HERO PARAGRAPHS
   ========================================================= */

.split .content p {
    position: static;

    width: min(80%, 600px);

    margin: 22px auto 0;

    color: #fff;

    text-align: center;

    font-size: 1.05rem;

    line-height: 1.6;

    transition:
        font-size var(--speed) ease-in-out,
        opacity var(--speed) ease-in-out;
}


/* =========================================================
   HERO BUTTON
   ========================================================= */

.split .content .button {
    position: static;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 15rem;
    height: 3.5rem;

    margin-top: 28px;

    color: #fff;

    border: 2px solid #fff;
    border-radius: var(--radius-control);

    font-size: 0.95rem;
    font-weight: 800;

    text-decoration: none;

    letter-spacing: -0.01em;

    transition:
        background 200ms ease,
        border-color 200ms ease,
        opacity var(--speed) ease-in-out,
        transform 200ms ease;
}


/* =========================================================
   HERO BUTTON HOVERS
   ========================================================= */

.split.left .button:hover {
    background-color: var(--left-button-hover-color);
    transform: translateY(-2px);
}

.split.right .button:hover {
    background-color: var(--right-button-hover-color);
    transform: translateY(-2px);
}


/* =========================================================
   HERO SPLIT ANIMATION
   ========================================================= */

.hover-left {
    --split-pos: var(--hover-width);
}

.hover-left .right {
    opacity: 0.55;
}

.hover-left .right .content {
    opacity: 0.7;
}

.hover-left .right .content h2 {
    opacity: 0.75;
}

.hover-left .right .content p {
    font-size: 0.82rem;
    line-height: 1.5;
}

.hover-left .right .content .button {
    opacity: 0.7;
}


.hover-right {
    --split-pos: var(--other-width);
}

.hover-right .left {
    opacity: 0.55;
}

.hover-right .left .content {
    opacity: 0.7;
}

.hover-right .left .content h2 {
    opacity: 0.75;
}

.hover-right .left .content p {
    font-size: 0.82rem;
    line-height: 1.5;
}

.hover-right .left .content .button {
    opacity: 0.7;
}


/* =========================================================
   HERO INTRO
   ========================================================= */

.hero-intro {
    padding: 32px 10px 20px;
    text-align: center;
}

.hero-outro {
    padding: 5px;
    text-align: center;
}

.hero-intro h1 {
    color: var(--ink);

    font-size: clamp(2.2rem, 5vw, 4.4rem);

    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.03em;
}

.hero-intro h1 span {
    color: var(--brand);
}

.hero-outro p {
    max-width: 860px;

    margin: 18px auto 0;

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.6;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    padding: 115px 0 125px;
    background: var(--surface);
}

.intro-inner {
    display: grid;

    grid-template-columns: 190px 1fr;

    gap: 70px;
}

.intro-label {
    padding-top: 10px;

    color: var(--brand);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    line-height: 1.5;
}

.intro-content {
    max-width: 850px;
}

.intro-content h2 {
    color: var(--ink);

    font-size: clamp(2.2rem, 4vw, 4rem);

    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -0.03em;
}

.intro-content p {
    max-width: 720px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.products {
    padding: 120px 0 135px;
    background: var(--bg);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin-top: 18px;

    color: var(--ink);

    font-size: clamp(2.3rem, 4vw, 3.7rem);

    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 600px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.7;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    position: relative;

    overflow: hidden;

    min-width: 0;

    padding: 32px;

    border: 1px solid var(--line);
    border-radius: var(--radius-card);

    box-shadow: var(--shadow-soft);

    transition:
        transform 350ms ease,
        box-shadow 350ms ease;
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-panel);
}


/* =========================================================
   CARD COLORS
   ========================================================= */

.bible-card {
    background: var(--surface);
}

.api-card {
    background: #f3eefc;

    border-color: #e7ddf7;

    color: var(--ink);
}


/* =========================================================
   PRODUCT TOP
   ========================================================= */

.product-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.product-number {
    color: var(--muted2);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.api-card .product-number {
    color: var(--muted2);
}

.product-label {
    color: var(--brand);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.api-card .product-label {
    color: var(--brand);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.product-image {
    width: 100%;
    height: 340px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: transparent;
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition:
        transform 500ms ease;
}

.product-card:hover .product-image img {
    transform: scale(1.025);
}


/* =========================================================
   API CARD IMAGE
   ========================================================= */

.api-card .product-image {
    background: transparent;
}


/* =========================================================
   PRODUCT BODY
   ========================================================= */

.product-body {
    padding-top: 25px;
}

.product-body h3 {
    color: var(--ink);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.product-body p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* =========================================================
   PRODUCT LINK
   ========================================================= */

.product-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 24px;

    color: var(--brand);

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: -0.01em;

    text-decoration: none;
}

.api-card .product-link {
    color: var(--brand);
}

.product-link span {
    font-size: 1.1rem;

    transition:
        transform 200ms ease;
}

.product-link:hover {
    color: var(--brand-hover);
}

.product-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   PHILOSOPHY
   ========================================================= */

.philosophy {
    padding: 130px 0;
    background: var(--surface);
}

.philosophy-inner {
    display: grid;

    grid-template-columns: 1fr 1.5fr;

    gap: 100px;
}

.philosophy-heading h2 {
    max-width: 430px;

    margin-top: 18px;

    color: var(--ink);

    font-size: clamp(2.2rem, 4vw, 3.5rem);

    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -0.03em;
}

.beliefs {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;
}

.belief {
    padding-top: 10px;

    border-top: 1px solid var(--line);
}

.belief-number {
    display: block;

    margin-bottom: 55px;

    color: var(--muted2);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.belief h3 {
    color: var(--ink);

    font-size: 1.2rem;
    font-weight: 800;

    letter-spacing: -0.02em;
}

.belief p {
    margin-top: 16px;

    color: var(--muted);

    font-size: 0.88rem;

    line-height: 1.7;
}


/* =========================================================
   DEVELOPER SECTION
   ========================================================= */

.developer-section {
    padding: 130px 0;

    background: var(--ink);

    color: #fff;
}

.developer-inner {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 100px;
}

.developer-copy h2 {
    max-width: 570px;

    margin-top: 18px;

    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 900;

    line-height: 0.98;

    letter-spacing: -0.03em;
}

.developer-copy h2 span {
    display: block;

    color: var(--brand-on-ink);
}

.developer-copy p {
    max-width: 560px;

    margin-top: 30px;

    color: var(--on-ink-muted);

    font-size: 0.98rem;

    line-height: 1.8;
}

.developer-actions {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 35px;
}

.developer-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 22px;

    background: var(--brand);
    border-radius: var(--radius-control);

    color: #fff;

    font-size: 0.9rem;
    font-weight: 800;

    letter-spacing: -0.01em;

    text-decoration: none;

    box-shadow: var(--shadow-glow);

    transition:
        background 200ms ease,
        transform 200ms ease;
}

.developer-button:hover {
    background: var(--brand-hover);

    transform: translateY(-2px);
}

.developer-text-link {
    color: var(--on-ink-muted);

    font-size: 0.85rem;
    font-weight: 600;

    text-decoration: none;
}

.developer-text-link:hover {
    color: #fff;
}


/* =========================================================
   CODE WINDOW
   ========================================================= */

.code-window {
    overflow: hidden;

    background: var(--ink);

    border: 1px solid #2e2450;
    border-radius: var(--radius-panel);

    box-shadow: var(--shadow-panel);
}

.code-header {
    height: 48px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 0 18px;

    border-bottom: 1px solid #2e2450;

    color: var(--on-ink-muted);

    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    font-size: 0.72rem;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #4b4270;
}

.code-content {
    padding: 30px 0 35px;

    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    font-size: 0.82rem;

    line-height: 2.4;
}

.code-line {
    display: grid;

    grid-template-columns: 48px 1fr;

    padding: 0 25px;

    color: var(--on-ink);
}

.line-number {
    color: #5b5470;
}

.code-comment {
    color: var(--on-ink-muted);
}

.code-line b {
    color: var(--brand-on-ink);

    font-weight: 700;
}


/* =========================================================
   OPEN SOURCE
   ========================================================= */

.open-source {
    padding: 100px 0;

    background: var(--bg);
}

.open-source-inner {
    display: grid;

    grid-template-columns: 1fr 1.4fr;

    align-items: center;

    gap: 90px;
}

.open-source-mark {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 280px;

    padding: 45px;

    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: var(--radius-card);

    box-shadow: var(--shadow-glow);

    color: #fff;
}

.open-source-mark span {
    font-size: clamp(2rem, 4vw, 3.4rem);

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.03em;
}

.open-source-mark strong {
    font-size: clamp(2.5rem, 5vw, 4.5rem);

    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -0.03em;
}

.open-source-copy {
    max-width: 580px;
}

.open-source-copy h2 {
    margin-top: 15px;

    color: var(--ink);

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.03em;
}

.open-source-copy p {
    margin-top: 22px;

    color: var(--muted);

    font-size: 0.98rem;

    line-height: 1.8;
}

.dark-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 28px;

    color: var(--ink);

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: -0.01em;

    text-decoration: none;
}

.dark-link span {
    transition:
        transform 200ms ease;
}

.dark-link:hover {
    color: var(--brand);
}

.dark-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   MISSION
   ========================================================= */

.mission {
    padding: 155px 0;

    background: var(--surface);
}

.mission-inner {
    max-width: 1100px;
}

.mission h2 {
    max-width: 1050px;

    margin-top: 25px;

    color: var(--ink);

    font-size: clamp(2.6rem, 6vw, 5.5rem);
    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.03em;
}

.mission p {
    margin-top: 35px;

    color: var(--muted);

    font-size: 1rem;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    padding: 125px 0;

    background: #f0ebfa;

    text-align: center;
}

.final-cta .eyebrow {
    color: var(--brand);
}

.final-cta h2 {
    margin-top: 18px;

    color: var(--ink);

    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.03em;
}

.final-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 14px;

    margin-top: 45px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 190px;
    height: 52px;

    padding: 0 25px;

    border-radius: var(--radius-control);

    font-size: 0.9rem;
    font-weight: 800;

    letter-spacing: -0.01em;

    text-decoration: none;

    transition:
        background 200ms ease,
        color 200ms ease,
        border-color 200ms ease,
        transform 200ms ease;
}

.primary-button {
    background: var(--brand);

    color: #fff;

    box-shadow: var(--shadow-glow);
}

.primary-button:hover {
    background: var(--brand-hover);

    transform: translateY(-2px);
}

.secondary-button {
    background: var(--surface);

    color: #3d3552;

    border: 1.5px solid #e3ddf3;
}

.secondary-button:hover {
    border-color: var(--brand);

    color: var(--brand);

    transform: translateY(-2px);
}


/* =========================================================
   CAPABILITIES  ("What's inside")
   ========================================================= */

.capabilities {
    padding: 120px 0;
    background: var(--surface);
}

.capability-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 40px 32px;
}

.capability {
    min-width: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background: var(--brand-soft);

    color: var(--brand);
}

.capability h3 {
    color: var(--ink);

    font-size: 1.02rem;
    font-weight: 800;

    letter-spacing: -0.02em;
}

.capability p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 0.88rem;

    line-height: 1.65;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq {
    padding: 120px 0;
    background: var(--bg);
}

.faq-inner {
    display: grid;

    grid-template-columns: 1fr 1.6fr;

    gap: 90px;
}

.faq-heading {
    align-self: start;
}

.faq-heading h2 {
    margin-top: 16px;

    color: var(--ink);

    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -0.03em;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 4px;

    color: var(--ink);

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: -0.01em;

    list-style: none;

    cursor: pointer;

    transition: color 200ms ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";

    flex: none;

    color: var(--brand);

    font-size: 1.3rem;
    font-weight: 400;

    line-height: 1;

    transition: transform 200ms ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--brand);
}

.faq-item p {
    max-width: 640px;

    padding: 0 4px 24px;

    color: var(--muted);

    font-size: 0.92rem;

    line-height: 1.75;
}


/* =========================================================
   MISSION LINE  (bookend)
   ========================================================= */

.mission-line {
    margin-top: 32px;

    color: var(--brand);

    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 800;

    letter-spacing: -0.01em;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    padding: 110px 0;

    background: var(--ink);

    color: #fff;
}

.contact-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 40px;
}

.contact-copy {
    max-width: 480px;
}

.contact-copy h2 {
    margin-top: 15px;

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;

    line-height: 1.05;

    letter-spacing: -0.03em;
}

.contact-copy p {
    margin-top: 18px;

    color: var(--on-ink-muted);

    font-size: 0.95rem;

    line-height: 1.7;
}

.contact-actions {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 16px;
}

.contact-alt {
    color: var(--on-ink-muted);
}

.contact-alt:hover {
    color: #fff;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: var(--ink);

    color: #fff;
}

.footer-top {
    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 100px;

    padding-top: 75px;
    padding-bottom: 70px;
}

.footer-logo {
    color: #fff;

    font-size: 1.35rem;

    font-weight: 900;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    color: var(--brand-on-ink);

    font-weight: 900;
}

.footer-brand p {
    max-width: 270px;

    margin-top: 18px;

    color: var(--on-ink-muted);

    font-size: 0.8rem;

    line-height: 1.6;
}

.footer-tagline {
    margin-top: 14px;

    color: var(--brand-on-ink);

    font-size: 0.9rem;
    font-weight: 800;

    letter-spacing: -0.01em;
}

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.footer-column strong {
    margin-bottom: 8px;

    color: #fff;

    font-size: 0.72rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.footer-column a {
    color: var(--on-ink-muted);

    font-size: 0.8rem;

    text-decoration: none;

    transition:
        color 200ms ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 22px;
    padding-bottom: 22px;

    border-top: 1px solid #2e2450;

    color: #6f6885;

    font-size: 0.68rem;

    letter-spacing: 0.02em;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border: 0;

    background: transparent;

    color: var(--ink);

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    gap: 5px;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background: currentColor;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   SUPPORT CHAT
   ========================================================= */

.support-chat {
    position: fixed;

    right: 28px;
    bottom: 28px;

    z-index: 1000;
}


/* Chat button */

.chat-toggle {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: var(--brand);

    color: #fff;

    cursor: pointer;

    box-shadow: var(--shadow-glow);

    transition:
        transform 200ms ease,
        background 200ms ease;
}

.chat-toggle:hover {
    background: var(--brand-hover);

    transform: translateY(-3px);
}

.chat-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border: 2px solid #fff;

    border-radius: 50%;

    font-size: 0.8rem;

    font-weight: 700;
}


/* Chat panel */

.chat-panel {
    position: absolute;

    right: 0;
    bottom: 72px;

    width: 330px;

    overflow: hidden;

    background: var(--surface);

    border: 1px solid var(--line);
    border-radius: var(--radius-card);

    box-shadow: 0 20px 60px rgba(26, 19, 48, 0.18);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(12px)
        scale(0.97);

    transform-origin: bottom right;

    transition:
        opacity 200ms ease,
        visibility 200ms ease,
        transform 200ms ease;
}

.support-chat.chat-open .chat-panel {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* Chat header */

.chat-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    background: var(--ink);

    color: #fff;
}

.chat-header div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.chat-header strong {
    font-size: 0.85rem;
}

.chat-header span {
    color: var(--on-ink-muted);

    font-size: 0.68rem;
}

.chat-close {
    width: 30px;
    height: 30px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--on-ink-muted);

    font-size: 1.5rem;

    line-height: 1;

    cursor: pointer;
}

.chat-close:hover {
    color: #fff;
}


/* Chat body */

.chat-body {
    padding: 22px 20px 20px;
}

.chat-body p {
    color: var(--muted);

    font-size: 0.82rem;

    line-height: 1.6;
}

.chat-start {
    width: 100%;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 18px;

    border: 0;
    border-radius: var(--radius-control);

    background: var(--brand);

    color: #fff;

    font-size: 0.82rem;

    font-weight: 800;

    letter-spacing: -0.01em;

    cursor: pointer;

    transition:
        background 200ms ease;
}

.chat-start:hover {
    background: var(--brand-hover);
}

.chat-start span {
    font-size: 1rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .nav-links {
        gap: 1.3rem;
    }

    .intro-inner {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .intro-label {
        padding-top: 0;
    }

    .philosophy-inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .developer-inner {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .open-source-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .open-source-mark {
        min-height: 220px;
    }

    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 36px 28px;
    }

    .faq-inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;

        gap: 60px;
    }
}


/* =========================================================
   TABLET / SMALL
   ========================================================= */

@media (max-width: 800px) {

    .navbar {
        padding: 0 5%;
    }

    main {
        padding: 20px 3% 0;
    }

    .container {
        height: 560px;

        min-height: 0;
    }

    .split .content h2 {
        font-size: 2rem;
    }

    .split .content p {
        width: 80%;

        font-size: 0.95rem;
    }

    .split .content .button {
        width: 12rem;

        height: 3.2rem;

        font-size: 0.85rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 360px;
    }

    .beliefs {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .belief-number {
        margin-bottom: 25px;
    }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 768px) {

    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: flex;

        margin-left: auto;
    }

    .nav-links {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        padding: 12px 24px 20px;

        margin-left: 0;

        background: rgba(255, 255, 255, 0.98);

        backdrop-filter: blur(12px);

        border-top: 1px solid var(--line);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        z-index: 100;
    }

    .nav-links a {
        width: 100%;

        padding: 13px 0;

        border-bottom:
            1px solid var(--line);
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .nav-search {
        gap: 10px;
    }

    .nav-search svg {
        width: 15px;
        height: 15px;
    }

    .nav-search-label {
        display: inline;
    }

    .navbar.menu-open .nav-links {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .navbar.menu-open .menu-toggle span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .navbar.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .navbar.menu-open .menu-toggle span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .navbar {
        height: 64px;
    }

    .logo {
        font-size: 1.2rem;
    }

    main {
        padding: 15px 0 0;
    }

    .container {
        height: 600px;

        min-height: 0;

        border-radius: var(--radius-card);
    }


    /* -----------------------------------------
       STACK HERO PANELS
       ----------------------------------------- */

    .split {
        width: 100%;
        height: 50%;
    }

    .split.left {
        top: 0;
        left: 0;
    }

    .split.right {
        top: 50%;
        right: 0;
    }

    .split.left,
    .split.right,
    .split.left::before,
    .split.right::before {
        clip-path: none;
    }

    .split.left .content,
    .split.right .content {
        left: 0;
        right: 0;
        width: 100%;
    }


    /* -----------------------------------------
       DISABLE DESKTOP EXPANSION
       ----------------------------------------- */

    .hover-left .left,
    .hover-left .right,
    .hover-right .left,
    .hover-right .right {
        width: 100%;

        opacity: 1;
    }

    .hover-left .left .content,
    .hover-left .right .content,
    .hover-right .left .content,
    .hover-right .right .content {
        opacity: 1;
    }


    /* -----------------------------------------
       MOBILE HERO CONTENT
       ----------------------------------------- */

    .split .content {
        padding: 25px 20px;
    }

    .panel-label {
        margin-bottom: 12px;

        font-size: 0.58rem;
    }

    .split .content h2 {
        font-size: 1.8rem;

        line-height: 1.05;
    }

    .split .content p {
        width: 85%;

        margin-top: 14px;

        font-size: 0.86rem;

        line-height: 1.5;
    }

    .split .content .button {
        width: 11rem;

        height: 3rem;

        margin-top: 20px;

        font-size: 0.8rem;
    }


    /* -----------------------------------------
       HERO INTRO
       ----------------------------------------- */

    .hero-intro {
        padding: 42px 20px 30px;
    }

    .hero-intro h1 {
        font-size: 2.35rem;

        line-height: 1.02;
    }

    .hero-outro p {
        margin-top: 15px;

        font-size: 0.85rem;

        line-height: 1.55;
    }


    /* -----------------------------------------
       INTRO
       ----------------------------------------- */

    .intro {
        padding: 80px 0 85px;
    }

    .intro-content h2 {
        font-size: 2.25rem;
    }

    .intro-content p {
        margin-top: 25px;

        font-size: 0.95rem;
    }


    /* -----------------------------------------
       PRODUCTS
       ----------------------------------------- */

    .products {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 2.35rem;
    }

    .product-card {
        min-height: 430px;

        padding: 30px;
    }

    .product-image {
        height: 260px;
    }

    .product-body {
        padding-top: 25px;
    }

    .product-body h3 {
        font-size: 1.5rem;
    }


    /* -----------------------------------------
       PHILOSOPHY
       ----------------------------------------- */

    .philosophy {
        padding: 85px 0;
    }

    .philosophy-heading h2 {
        font-size: 2.3rem;
    }


    /* -----------------------------------------
       DEVELOPER
       ----------------------------------------- */

    .developer-section {
        padding: 85px 0;
    }

    .developer-copy h2 {
        font-size: 2.8rem;
    }

    .developer-actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 22px;
    }

    .code-content {
        font-size: 0.68rem;
    }

    .code-line {
        grid-template-columns: 35px 1fr;

        padding: 0 12px;
    }


    /* -----------------------------------------
       OPEN SOURCE
       ----------------------------------------- */

    .open-source {
        padding: 70px 0;
    }

    .open-source-mark {
        min-height: 180px;

        padding: 30px;
    }


    /* -----------------------------------------
       CAPABILITIES / FAQ / CONTACT
       ----------------------------------------- */

    .capabilities {
        padding: 80px 0;
    }

    .capability-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .faq {
        padding: 80px 0;
    }

    .faq-item summary {
        font-size: 0.94rem;
    }

    .contact {
        padding: 80px 0;
    }


    /* -----------------------------------------
       MISSION
       ----------------------------------------- */

    .mission {
        padding: 95px 0;
    }

    .mission h2 {
        font-size: 2.7rem;
    }


    /* -----------------------------------------
       FINAL CTA
       ----------------------------------------- */

    .final-cta {
        padding: 90px 0;
    }

    .final-cta h2 {
        font-size: 2.8rem;
    }

    .final-actions {
        flex-direction: column;

        width: 100%;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .footer-top {
        padding-top: 60px;

        padding-bottom: 55px;
    }

    .footer-links {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 40px 25px;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;

        padding-top: 20px;

        padding-bottom: 25px;
    }


    /* -----------------------------------------
       CHAT
       ----------------------------------------- */

    .support-chat {
        right: 18px;
        bottom: 18px;
    }

    .chat-panel {
        right: -2px;

        width:
            min(
                330px,
                calc(100vw - 36px)
            );
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .container {
        height: 620px;
    }

    .split .content p {
        width: 88%;

        font-size: 0.82rem;
    }

    .hero-intro h1 {
        font-size: 2.05rem;
    }

    .hero-outro p {
        font-size: 0.8rem;
    }

    .product-card {
        min-height: 450px;
    }

    .mission h2 {
        font-size: 2.35rem;
    }

    .final-cta h2 {
        font-size: 2.4rem;
    }
}


/* =========================================================
   GEPHEN CMS — content typography
   Added by the Gephen port. Powers Markdown-authored pages
   (.prose) and the blog index/post layouts. Uses the same
   brand tokens as the rest of the sheet.
   ========================================================= */

.page-body {
    padding: 60px 0 120px;
    background: var(--surface);
}

.prose {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.prose > :first-child { margin-top: 0; }

.prose h2 {
    color: var(--ink);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 56px 0 18px;
}

.prose h3 {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 40px 0 14px;
}

.prose p { margin: 20px 0; }

.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brand-hover); }

.prose ul, .prose ol { margin: 20px 0; padding-left: 24px; }
.prose li { margin: 10px 0; }

.prose blockquote {
    margin: 28px 0;
    padding: 6px 22px;
    border-left: 3px solid var(--brand);
    background: var(--surface-tint);
    border-radius: 0 12px 12px 0;
    color: var(--ink);
}

.prose img { border-radius: var(--radius-card); margin: 28px 0; }

.prose code {
    background: var(--brand-soft);
    color: var(--brand);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.9em;
}

.prose pre {
    background: var(--ink);
    color: #e6def7;
    padding: 18px 20px;
    border-radius: var(--radius-card);
    overflow-x: auto;
    margin: 28px 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.prose pre code { background: none; color: inherit; padding: 0; }

.prose hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 0.95rem;
}

.prose th, .prose td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
}

.prose th { color: var(--ink); font-weight: 800; }

/* ---- blog index ---- */

.post-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 10px 0 40px;
}

.post-list-item {
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.post-list-item:first-child { border-top: 1px solid var(--line); }

.post-list-item time {
    display: block;
    color: var(--muted2);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.post-list-item h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.post-list-item h2 a { color: var(--ink); }
.post-list-item h2 a:hover { color: var(--brand); }

.post-list-item p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.7;
}

.post-empty {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

/* ---- single post ---- */

.post-header {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 0 10px;
    text-align: center;
}

.post-header time {
    color: var(--muted2);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.post-header h1 {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.post-tags {
    margin: 16px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* On a single post the tag row sits under the body, centered like the header. */
.prose + .post-tags,
.section-container > .post-tags {
    max-width: 720px;
    margin-top: 40px;
}

.post-tags a {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}

.post-tags a:hover {
    background: var(--brand);
    color: #fff;
}

/* Category label under a post title. */
.post-category {
    margin-top: 12px;
}

.post-category a {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: none;
}

.post-category a:hover {
    text-decoration: underline;
}

/* Category chips across the top of the blog index. */
.tax-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto 8px;
}

.tax-chips a {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 150ms ease, color 150ms ease;
}

.tax-chips a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.tax-chips a span {
    color: var(--muted2);
    font-weight: 800;
}

/* Tag cloud at the foot of the blog index and taxonomy pages. */
.tag-cloud {
    max-width: 760px;
    margin: 48px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
}

.tag-cloud h2 {
    width: 100%;
    margin-bottom: 4px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.tag-cloud a {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}

.tag-cloud a:hover,
.tag-cloud a.is-current {
    background: var(--brand);
    color: #fff;
}

.tag-cloud a span {
    opacity: 0.65;
    font-weight: 800;
}

.back-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--brand);
    font-weight: 700;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-page {
    max-width: 760px;
}

.search-form {
    margin: 8px auto 0;
}

#search-input {
    width: 100%;
    padding: 16px 20px;
    font: inherit;
    font-size: 1.05rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-control);
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

#search-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.search-status {
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.search-results {
    list-style: none;
    margin: 8px auto 40px;
    padding: 0;
}

.search-hit {
    border-bottom: 1px solid var(--line);
}

.search-hit:first-child {
    border-top: 1px solid var(--line);
}

.search-hit a {
    display: block;
    padding: 20px 4px;
    text-decoration: none;
    color: inherit;
}

.search-hit a:hover {
    background: var(--surface-tint);
}

.search-hit-meta {
    display: block;
    color: var(--muted2);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-hit-title {
    display: block;
    margin-top: 6px;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.search-hit a:hover .search-hit-title {
    color: var(--brand);
}

.search-hit-snippet {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.search-hit mark,
.search-hit-title mark {
    background: var(--brand-soft);
    color: var(--brand);
    padding: 0 2px;
    border-radius: 3px;
}

/* Build stamp — small, muted, centered at the very bottom of every page. */
.build-stamp {
    margin: 0;
    padding: 14px 0 20px;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--muted);
    opacity: 0.6;
}
