/* =====================================================================
   BuildPro — public website
   ===================================================================== */

.site { background: var(--paper); }
.site main:focus { outline: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    color: #fff; background: rgba(8, 15, 27, 0.88);
    backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line-dark);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.site-nav__links { display: flex; gap: 4px; list-style: none; margin-left: auto; }
.site-nav__links a {
    display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--steel-300);
    border-radius: var(--radius); transition: color 0.15s, background-color 0.15s;
}
.site-nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.site-nav__actions { display: flex; align-items: center; gap: 12px; margin-left: 12px; padding-left: 20px; border-left: 1px solid var(--line-dark); }
.site-nav__signin { font-size: 14px; font-weight: 600; color: #fff; padding: 8px 6px; }
.site-nav__signin:hover { color: var(--accent-300); }
.site-header__toggle {
    display: none; margin-left: auto; width: 42px; height: 42px; align-items: center; justify-content: center;
    color: #fff; background: transparent; border: 1px solid var(--line-dark-2); border-radius: var(--radius);
}

@media (max-width: 1080px) {
    .site-header__toggle { display: inline-flex; }
    .site-nav {
        position: fixed; inset: 68px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px 24px 24px; background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
        max-height: calc(100vh - 68px); overflow-y: auto;
    }
    .site-nav.is-open { display: flex; }
    .site-nav__links { flex-direction: column; margin: 0; }
    .site-nav__links a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
    .site-nav__actions { margin: 18px 0 0; padding: 0; border: 0; justify-content: space-between; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(1000px 500px at 80% -10%, rgba(63, 120, 214, 0.20), transparent 60%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
    padding: 96px 0 72px;
}
.hero__grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(143, 177, 226, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 177, 226, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(143, 177, 226, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 177, 226, 0.035) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 40%, transparent 85%);
}
.hero__inner { position: relative; }
.hero__copy { max-width: 820px; }
.hero__title { margin-top: 22px; }
.hero__brand {
    display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px;
    letter-spacing: 0.42em; color: var(--steel-300);
}
.hero__headline {
    display: block; margin-top: 14px;
    font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02;
}
.hero__lead { max-width: 640px; margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--steel-300); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__actions--center { justify-content: center; }
.hero__chain {
    margin-top: 34px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--steel-400);
}
.hero__chain i { font-style: normal; color: var(--accent); margin: 0 8px; }

/* ---------- Workspace preview ---------- */
.workspace {
    position: relative; margin: 64px 0 0; overflow: hidden;
    background: var(--navy-850); border: 1px solid var(--line-dark-2); border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.ws-bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
    height: 44px; padding: 0 14px; font-size: 12.5px; color: var(--steel-400);
    background: var(--navy-900); border-bottom: 1px solid var(--line-dark);
}
.ws-bar__crumbs { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.ws-bar__crumbs i { font-style: normal; color: var(--steel-500); }
.ws-bar__crumbs strong { color: #fff; font-weight: 600; }
.ws-mark { width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg) scale(0.8); margin-right: 4px; }
.ws-bar__tabs { display: flex; gap: 2px; }
.ws-bar__tabs span { padding: 5px 11px; border-radius: 3px; }
.ws-bar__tabs .is-on { color: #fff; background: rgba(63, 120, 214, 0.22); box-shadow: inset 0 -2px 0 var(--accent); }
.ws-bar__meta { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.ws-pill { font-family: var(--font-mono); font-size: 11px; padding: 2px 7px; border: 1px solid var(--line-dark-2); border-radius: 3px; color: var(--steel-300); }
.ws-saved { display: inline-flex; align-items: center; gap: 6px; }
.ws-saved::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fb37f; }

.ws-body { display: grid; grid-template-columns: 52px minmax(0, 1fr) 300px; min-height: 480px; }
.ws-tools { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; background: var(--navy-900); border-right: 1px solid var(--line-dark); }
.ws-tool { display: grid; place-items: center; width: 36px; height: 36px; color: var(--steel-400); border-radius: 4px; }
.ws-tool .icon { width: 18px; height: 18px; }
.ws-tool.is-on { color: #fff; background: var(--accent); }
.ws-canvas { position: relative; display: flex; align-items: center; justify-content: center; padding: 28px 28px 52px; background: #0b1627; }
.ws-canvas__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(127, 176, 228, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 176, 228, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
}
.ws-canvas .plan { position: relative; max-width: 560px; }
.ws-canvas .plan--dark { --plan-room: #0b1627; }
.ws-status {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 18px; align-items: center;
    height: 32px; padding: 0 14px; font-family: var(--font-mono); font-size: 11px; color: var(--steel-500);
    background: rgba(10, 19, 34, 0.9); border-top: 1px solid var(--line-dark);
}
.ws-status b { font-weight: 500; color: var(--steel-200); }
.ws-status__sep { width: 1px; height: 14px; background: var(--line-dark-2); }
.ws-side { display: flex; flex-direction: column; background: var(--navy-900); border-left: 1px solid var(--line-dark); }
.ws-panel { padding: 14px 16px; border-bottom: 1px solid var(--line-dark); }
.ws-panel:last-child { border-bottom: 0; }
.ws-panel__title {
    display: flex; justify-content: space-between; margin-bottom: 10px;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-400);
}
.ws-panel__title span { color: var(--accent-300); letter-spacing: 0.06em; }
.ws-panel--3d .axo { max-height: 150px; margin: 0 auto; }
.ws-props, .ws-qty { display: grid; gap: 6px; margin: 0; font-size: 12.5px; }
.ws-props div, .ws-qty div { display: flex; justify-content: space-between; gap: 12px; }
.ws-props dt, .ws-qty dt { color: var(--steel-400); }
.ws-props dd, .ws-qty dd { margin: 0; color: #fff; font-family: var(--font-mono); font-size: 12px; text-align: right; }
.preview-caption { margin-top: 14px; font-size: 12.5px; color: var(--steel-500); text-align: center; }

@media (max-width: 1000px) {
    .ws-body { grid-template-columns: 44px minmax(0, 1fr); }
    .ws-side { display: none; }
    .ws-bar { grid-template-columns: 1fr auto; }
    .ws-bar__tabs { display: none; }
}
@media (max-width: 600px) {
    .hero { padding: 64px 0 48px; }
    .ws-tools { display: none; }
    .ws-body { grid-template-columns: 1fr; min-height: 0; }
    .ws-canvas { padding: 16px 12px 44px; }
    .ws-status span:nth-child(n+4) { display: none; }
    .hero__lead { font-size: 16px; }
}

/* ---------- Axonometric model ---------- */
.axo { width: 100%; height: auto; }
.axo polygon { stroke-linejoin: round; }
.axo--dark .ax-ground { fill: rgba(127, 176, 228, 0.05); stroke: rgba(127, 176, 228, 0.22); stroke-width: 0.8; }
.axo--dark .ax-grid { stroke: rgba(127, 176, 228, 0.12); stroke-width: 0.6; }
.axo--dark .ax-plinth { fill: #3a4d68; }
.axo--dark .ax-plinth-e { fill: #2c3d55; }
.axo--dark .ax-wall-s { fill: #d4deeb; stroke: #0a1322; stroke-width: 0.6; }
.axo--dark .ax-wall-e { fill: #a7b7cc; stroke: #0a1322; stroke-width: 0.6; }
.axo--dark .ax-glass { fill: #4c7fc4; stroke: #0a1322; stroke-width: 0.5; }
.axo--dark .ax-glass.ax-e { fill: #3a6aad; }
.axo--dark .ax-door { fill: #22334d; stroke: #0a1322; stroke-width: 0.5; }
.axo--dark .ax-roof-b { fill: #1e3350; stroke: #0a1322; stroke-width: 0.6; }
.axo--dark .ax-roof-f { fill: #34507a; stroke: #0a1322; stroke-width: 0.6; }
.axo--dark .ax-barge, .axo--dark .ax-fascia { fill: #15243a; stroke: #0a1322; stroke-width: 0.5; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { color: #fff; background: var(--navy-900); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 17px; color: var(--ink-3); }
.section-head--light p:not(.eyebrow) { color: var(--steel-300); }
.section-head--left { margin: 0 0 40px; text-align: left; }

/* Principles */
.principles { border-bottom: 1px solid var(--line); }
.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.principle { position: relative; padding: 36px 32px 40px; }
.principle + .principle { border-left: 1px solid var(--line); }
.principle__index { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.principle h2 { margin-top: 18px; font-size: 21px; font-weight: 700; }
.principle p { margin-top: 12px; color: var(--ink-3); }
.principle__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; color: var(--ink-2) !important; font-size: 14.5px; }
.principle__flow .icon { width: 14px; height: 14px; color: var(--accent); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 30px 26px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 0.2s; }
.feature:hover { background: var(--paper-2); }
.feature__top { display: flex; justify-content: space-between; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); border: 1px solid var(--accent-100); background: var(--accent-050); border-radius: var(--radius); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature__num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.feature h3 { margin-top: 22px; font-size: 18px; }
.feature p { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }
.roadmap-note {
    display: flex; gap: 12px; align-items: flex-start; max-width: 900px; margin: 32px auto 0; padding: 14px 18px;
    font-size: 14px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.roadmap-note .icon { color: var(--accent); margin-top: 2px; }

/* Split feature sections */
.split__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.split--reverse .split__copy { order: 2; }
.split__copy h2 { margin-top: 14px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.split__copy > p:not(.eyebrow):not(.integrity) { margin-top: 16px; font-size: 16.5px; color: var(--ink-3); }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.integrity {
    display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding: 12px 14px;
    font-size: 13.5px; color: var(--warn); background: var(--warn-bg); border-left: 3px solid #d89b2b;
}
.integrity .icon { margin-top: 1px; }

.paper {
    position: relative; padding: 24px 24px 0; background: #fff;
    border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow);
}
.paper::before {
    content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none;
}
.paper > svg { position: relative; max-height: 440px; margin: 0 auto; }
.paper__strip {
    position: relative; display: flex; justify-content: space-between; gap: 12px; margin: 16px -24px 0; padding: 10px 24px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3);
    border-top: 1px solid var(--line); background: var(--paper-2);
}
.paper--blueprint { background: #0e1d33; border-color: #0e1d33; }
.paper--blueprint::before { border-color: rgba(127, 176, 228, 0.18); }
.paper--blueprint .paper__strip { background: #0b182b; border-top-color: rgba(127, 176, 228, 0.18); color: var(--steel-400); }

/* Structural frame drawing */
.frame { width: 100%; height: auto; }
.frame .st-grid { stroke: rgba(127, 176, 228, 0.45); stroke-width: 0.8; stroke-dasharray: 14 4 2 4; }
.frame .st-bubble { fill: #0e1d33; stroke: #7fb0e4; stroke-width: 1; }
.frame .st-bubble-t { font-family: var(--font-mono); font-size: 11px; fill: #cfe0f5; }
.frame .st-beam { stroke: rgba(143, 178, 236, 0.35); }
.frame .st-footing { fill: none; stroke: #7fb0e4; stroke-width: 0.9; stroke-dasharray: 4 3; }
.frame .st-col { fill: #d6e3f5; }
.frame .st-tag { font-family: var(--font-mono); font-size: 10px; fill: #9fc3ee; }
.frame .st-tag--muted { fill: #6f8fb8; }

/* Civil drawing */
.civil { width: 100%; height: auto; }
.civil .cv-contour { fill: none; stroke: #b8a57f; stroke-width: 1; }
.civil .cv-clabel { font-family: var(--font-mono); font-size: 9px; fill: #8b7a57; }
.civil .cv-plot { fill: rgba(63, 120, 214, 0.04); stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 10 3 2 3; }
.civil .cv-point { font-family: var(--font-mono); font-size: 11px; font-weight: 500; fill: var(--ink); }
.civil .cv-building { fill: #dfe7f3; stroke: var(--ink); stroke-width: 1.6; }
.civil .cv-blabel { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; fill: var(--ink-2); }
.civil .cv-road { fill: #e9ecf1; }
.civil .cv-kerb { stroke: #6a7890; stroke-width: 1.4; }
.civil .cv-cl { stroke: #6a7890; stroke-width: 1; stroke-dasharray: 16 8; }
.civil .cv-rlabel { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; fill: var(--ink-3); }
.civil .cv-drive { stroke: #6a7890; stroke-width: 1; }
.civil .cv-drain { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 6 3; }
.civil .cv-mh { fill: #fff; stroke: var(--accent); stroke-width: 1.5; }
.civil .cv-dlabel { font-family: var(--font-mono); font-size: 9px; fill: var(--accent-600); }
.civil .cv-spot path { stroke: var(--ink-2); stroke-width: 1.2; }
.civil .cv-spot text, .civil .cv-bm text { font-family: var(--font-mono); font-size: 9px; fill: var(--ink-2); }
.civil .cv-bm path { fill: var(--ink); }
.civil .cv-north circle { fill: #fff; stroke: var(--ink-2); }
.civil .cv-north path { fill: var(--ink); }
.civil .cv-north text { font-family: var(--font-display); font-weight: 700; font-size: 11px; fill: var(--ink); }

/* 2D ↔ 3D */
.twin__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: stretch; }
.twin__panel { margin: 0; display: flex; flex-direction: column; background: var(--navy-850); border: 1px solid var(--line-dark-2); border-radius: var(--radius); overflow: hidden; }
.twin__panel figcaption {
    display: flex; justify-content: space-between; padding: 12px 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
    color: var(--steel-300); border-bottom: 1px solid var(--line-dark);
}
.twin__panel figcaption span + span { color: var(--steel-500); letter-spacing: 0.06em; }
.twin__panel svg { flex: 1; padding: 22px; max-height: 380px; margin: auto; }
.twin__panel .plan--dark { --plan-room: #0d1829; }
.twin__link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; }
.twin__line { width: 1px; flex: 1; background: linear-gradient(var(--line-dark), var(--accent), var(--line-dark)); }
.twin__chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; white-space: nowrap;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: #fff; background: var(--accent); border-radius: 999px;
}
.twin__chip .icon { width: 14px; height: 14px; }
.propagation {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin-top: 44px; counter-reset: prop;
}
.propagation li {
    counter-increment: prop; display: flex; align-items: center;
    font-size: 13px; color: var(--steel-300);
}
.propagation li::before {
    content: counter(prop, decimal-leading-zero); margin-right: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--accent-300);
}
.propagation li + li::after { content: none; }
.propagation li:not(:last-child)::after { content: ""; width: 26px; height: 1px; margin: 0 12px; background: var(--line-dark-2); }

@media (max-width: 860px) {
    .twin__grid { grid-template-columns: 1fr; gap: 0; }
    .twin__link { flex-direction: row; padding: 14px 0; }
    .twin__line { width: auto; height: 1px; flex: 1; }
}

/* Quantities & BQ */
.qbq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.sheet-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.sheet-card__head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.sheet-card__head strong { font-weight: 500; color: var(--ink); }
.sheet-card__head span { color: var(--ink-4); letter-spacing: 0.04em; font-size: 11px; }
.qty-list { margin: 0; padding: 6px 18px; }
.qty-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.qty-list div:last-child { border-bottom: 0; }
.qty-list dt { color: var(--ink-2); }
.qty-list dd { margin: 0; font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.qty-list small { display: inline-block; width: 28px; color: var(--ink-4); font-size: 11.5px; }
.qty-source { margin: 0 18px 18px; padding: 14px 16px; font-size: 13px; color: var(--ink-3); background: var(--accent-050); border: 1px solid var(--accent-100); border-radius: var(--radius); }
.qty-source__title { font-weight: 600; color: var(--ink); margin-bottom: 4px !important; }
.qty-source ul { margin-top: 6px; padding-left: 18px; display: grid; gap: 3px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bq-table { width: 100%; min-width: 620px; font-size: 13px; }
.bq-table th, .bq-table td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.bq-table thead th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
.bq-table td.num, .bq-table th.num { text-align: right; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.bq-table td:first-child { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.bq-section th { padding-top: 14px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--accent-600); background: var(--paper-2); }
.bq-subtotal td { font-weight: 600; color: var(--ink-2); background: #fbfcfd; }
.bq-subtotal td:first-child { font-family: var(--font-sans); font-size: 12.5px; color: var(--ink-2); text-align: right; }
.bq-table tfoot td { padding: 12px 14px; font-weight: 700; color: #fff; background: var(--navy-800); border: 0; }
.bq-table tfoot td:first-child { font-family: var(--font-sans); text-align: right; font-size: 13px; color: #fff; }
.sheet-card__note { display: flex; gap: 8px; padding: 12px 18px; font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--paper-2); }
.sheet-card__note .icon { width: 16px; height: 16px; color: var(--accent); margin-top: 1px; }

/* Drawing sheet */
.drawing-sheet { padding: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.drawing-sheet__frame { display: grid; grid-template-columns: minmax(0, 1fr) 190px; border: 1.5px solid var(--ink); min-height: 360px; }
.drawing-sheet__plan { display: flex; align-items: center; justify-content: center; padding: 18px; }
.drawing-sheet__plan svg { max-height: 330px; }
.title-block { width: 100%; font-size: 12px; border-left: 1.5px solid var(--ink); }
.title-block th, .title-block td { padding: 7px 10px; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: top; }
.title-block tr:last-child td { border-bottom: 0; }
.title-block td + td { border-left: 1px solid var(--ink); }
.title-block small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.12em; color: var(--ink-4); margin-bottom: 2px; }
.title-block__brand { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; color: #fff; background: var(--ink); }
.title-block__pending { color: var(--warn); font-weight: 600; }

/* AI */
.ai__flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-step { display: flex; flex-direction: column; padding: 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.ai-step__label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ai-step__label span { display: grid; place-items: center; width: 22px; height: 22px; font-family: var(--font-mono); font-size: 11px; color: #fff; background: var(--ink); border-radius: 50%; }
.ai-prompt { margin: 0; padding: 16px 18px; font-size: 17px; line-height: 1.5; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.code { flex: 1; margin: 0; padding: 16px 18px; font-size: 12.5px; line-height: 1.65; color: #cfe0f5; background: var(--navy-900); border-radius: var(--radius); overflow-x: auto; }
.code b { font-weight: 500; color: #8db2ec; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.checks .icon { width: 16px; height: 16px; padding: 2px; color: #fff; background: var(--success); border-radius: 50%; }
.ai-step__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.ai__note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; color: var(--ink-3); text-align: center; }
.ai__note .icon { color: var(--accent); }

/* Workflow timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(9, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 43px; height: 1px; background: var(--line-dark-2); }
.timeline__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding-right: 12px; }
.timeline__num { font-family: var(--font-mono); font-size: 26px; font-weight: 500; color: var(--steel-500); line-height: 1; }
.timeline__node { width: 11px; height: 11px; margin: 11px 0 12px; background: var(--navy-900); border: 2px solid var(--accent); transform: rotate(45deg); }
.timeline__step strong { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; }
.timeline__step span:last-child { font-size: 13px; color: var(--steel-400); }
.timeline__step:hover .timeline__num { color: #fff; }
.timeline__step:hover .timeline__node { background: var(--accent); }
@media (max-width: 1080px) {
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .timeline::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
    .timeline__step { display: grid; grid-template-columns: 11px 44px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 12px 0; }
    .timeline__node { grid-row: 1 / 3; margin: 5px 0 0; }
    .timeline__num { grid-column: 2; grid-row: 1 / 3; font-size: 18px; }
    .timeline__step strong { grid-column: 3; }
    .timeline__step span:last-child { grid-column: 3; }
}

/* Disciplines */
.disciplines__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.who { list-style: none; border-top: 1px solid var(--line); }
.who li { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.who strong { font-size: 14.5px; }
.who span { font-size: 14px; color: var(--ink-3); }
.hub svg { width: 100%; max-width: 480px; margin: 0 auto; overflow: visible; }
.hub__ring { fill: none; stroke: var(--line-2); stroke-dasharray: 3 5; }
.hub__ring--inner { stroke: var(--accent-100); stroke-dasharray: none; }
.hub__spoke { stroke: var(--accent-300); stroke-width: 1; }
.hub__node { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.hub__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; fill: var(--ink-2); }
.hub__core { fill: var(--navy-900); }
.hub__core-t { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.2em; fill: #fff; }

/* Security */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trust-item { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: #fff; }
.trust-item__icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius); }
.trust-item h3 { font-size: 16px; }
.trust-item p { margin-top: 6px; font-size: 14px; color: var(--ink-3); }

/* Pricing */
.pricing__card {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px;
    background: #fff; border: 1px solid var(--line-2); border-left: 4px solid var(--accent); border-radius: var(--radius);
}
.pricing__card h2 { margin-top: 12px; font-size: 30px; font-weight: 800; }
.pricing__card p:not(.eyebrow) { margin-top: 10px; max-width: 620px; color: var(--ink-3); }

/* FAQ */
.faq { padding-top: 40px; }
.faq__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    position: relative; padding: 20px 40px 20px 0; list-style: none; cursor: pointer;
    font-family: var(--font-display); font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
    border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-3); }

/* Final CTA */
.cta { position: relative; overflow: hidden; padding: 120px 0; color: #fff; text-align: center; background: var(--navy-950); }
.cta__inner { position: relative; max-width: 820px; }
.cta h2 { font-size: clamp(32px, 4.8vw, 56px); font-weight: 800; letter-spacing: -0.025em; }
.cta p { max-width: 640px; margin: 20px auto 0; font-size: 18px; color: var(--steel-300); }

/* Footer */
.site-footer { padding: 72px 0 32px; color: var(--steel-300); background: var(--navy-900); border-top: 1px solid var(--line-dark); }
.site-footer .brand { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.site-footer__brand p { margin-top: 16px; font-size: 14px; max-width: 320px; }
.site-footer__tag { color: var(--steel-500); font-family: var(--font-mono); font-size: 12px !important; letter-spacing: 0.08em; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer h2 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); }
.site-footer ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.site-footer a { font-size: 14px; color: var(--steel-300); }
.site-footer a:hover { color: #fff; }
.site-footer__bottom {
    display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px;
    font-size: 12.5px; color: var(--steel-500); border-top: 1px solid var(--line-dark);
}
.site-footer__note { max-width: 640px; text-align: right; }

/* Prose pages (legal, help) */
.prose-page { max-width: 820px; padding-top: 72px; padding-bottom: 96px; }
.prose-page__head { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.prose-page__head h1 { margin-top: 12px; font-size: 40px; font-weight: 800; }
.prose-page__meta { margin-top: 14px; color: var(--ink-3); }
.prose h2 { margin: 36px 0 12px; font-size: 21px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.roadmap-table { width: 100%; margin-top: 16px; font-size: 14px; border: 1px solid var(--line); }
.roadmap-table th, .roadmap-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.roadmap-table thead th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .split__inner, .qbq__grid, .disciplines__inner, .faq__inner { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse .split__copy { order: 0; }
    .ai__flow { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .section { padding: 72px 0; }
    .principles__grid { grid-template-columns: 1fr; }
    .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
    .feature-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .who li { grid-template-columns: 1fr; gap: 2px; }
    .pricing__card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .drawing-sheet__frame { grid-template-columns: 1fr; }
    .title-block { border-left: 0; border-top: 1.5px solid var(--ink); }
    .site-footer__top { grid-template-columns: 1fr; }
    .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
    .site-footer__bottom { flex-direction: column; }
    .site-footer__note { text-align: left; }
    .propagation { flex-direction: column; align-items: flex-start; max-width: 320px; margin-left: auto; margin-right: auto; }
    .propagation li:not(:last-child)::after { display: none; }
    .container { padding: 0 16px; }
    .paper { padding: 14px 14px 0; }
    .paper__strip { margin: 12px -14px 0; padding: 8px 14px; font-size: 9.5px; }
}
