/* === АКТ • Альфа Капитал Технологии — стили v2 ===
   Визуальный язык:
   • основной фон белый, акцент Alfa Red (#EF3124)
   • бык как декоративный элемент: hero, watermark в секциях
   • inline-стилей в HTML нет — всё через утилитарные классы
*/

:root {
    /* палитра */
    --bg:           #FFFFFF;
    --bg-soft:     #FAFAFB;
    --bg-section:  #F4F4F6;
    --bg-dark:     #0E0E11;
    --bg-darker:   #07070A;

    --text:         #14141A;
    --text-muted:   #5C5C66;
    --text-dim:     #8C8C96;
    --text-on-dark: #ECEEF2;
    --text-on-dark-muted: #9B9BA5;

    --accent:       #EF3124;
    --accent-deep:  #C8281D;
    --accent-soft:  #FDEBE9;

    --border:       #E6E6EA;
    --border-strong: #C8C8CE;
    --border-dark:  #232328;

    /* размеры */
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 18px;
    --max-w:     1240px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow:    0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 16px 48px rgba(20,20,30,.10);

    --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI Variable', 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Cascadia Mono', Menlo, Consolas, 'Courier New', monospace;

    /* типографика */
    --fs-xs: 12px;
    --fs-sm: 13px;
    --fs-md: 15px;
    --fs-lg: 17px;
    --fs-xl: 20px;
    --fs-h3: 22px;
    --fs-h2: 30px;
    --fs-h1: 48px;
    --fs-hero: 64px;

    /* отступы */
    --gap-1:  4px;
    --gap-2:  8px;
    --gap-3:  12px;
    --gap-4:  16px;
    --gap-5:  24px;
    --gap-6:  32px;
    --gap-7:  48px;
    --gap-8:  64px;
    --gap-9:  96px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: var(--fs-md);
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .15s;
}
a:hover { color: var(--accent-deep); text-decoration: underline; }

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

/* === focus === */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* === a11y skip link === */
.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--text);
    color: var(--bg);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transform: translateY(-200%);
    transition: transform .2s;
    z-index: 999;
    font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

/* === container === */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* === sample banner === */
.sample-banner {
    background: linear-gradient(135deg, #FFF5E0, #FFE9B8);
    border-bottom: 1px solid #E5C268;
    padding: 10px 0;
    font-size: var(--fs-sm);
    color: #6B4D00;
    text-align: center;
}
.sample-banner strong { color: #4A3500; }

/* === marker for prototype data needing replacement === */
.sample {
    position: relative;
    border: 2px dashed #E5C268;
    background: rgba(255, 235, 175, .12);
    border-radius: var(--radius);
    padding: 36px var(--gap-5) var(--gap-5);
}
.sample::before {
    content: 'ОБРАЗЕЦ — заменить на реальные данные';
    position: absolute;
    top: 0;
    left: 0;
    background: #E5C268;
    color: #4A3500;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-bottom-right-radius: var(--radius-sm);
    text-transform: uppercase;
}
.sample-tag {
    display: inline-block;
    background: #E5C268;
    color: #4A3500;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

/* === review-note: комментарий для обсуждения с заказчиком, не идёт в прод === */
.review-note {
    position: relative;
    background: #EAF2FD;
    border: 1px dashed #6AA3E7;
    border-radius: var(--radius-sm);
    padding: 12px 16px 12px 44px;
    margin-top: var(--gap-4);
    font-size: var(--fs-sm);
    color: #2A5285;
    line-height: 1.5;
}
.review-note::before {
    content: '?';
    position: absolute;
    left: 12px;
    top: 12px;
    width: 22px;
    height: 22px;
    background: #2A6FD6;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-weight: 700;
    font-size: 13px;
}
.review-note::after {
    content: 'ДЛЯ ОБСУЖДЕНИЯ';
    position: absolute;
    top: -1px;
    right: -1px;
    background: #2A6FD6;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 0 var(--radius-sm) 0 var(--radius-sm);
}

/* === header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
    font-size: var(--fs-md);
    text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
    width: 40px;
    height: 40px;
}
.brand .brand-text {
    line-height: 1.15;
}
.brand .brand-text small {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav a {
    color: var(--text);
    font-weight: 500;
    font-size: var(--fs-sm);
    padding: 6px 0;
    position: relative;
}
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav a.active {
    color: var(--accent);
}
.nav a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -22px;
    height: 2px;
    background: var(--accent);
}
.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 9px 16px !important;
    border-radius: var(--radius-sm);
}
.nav-cta:hover {
    background: var(--accent-deep) !important;
    color: #fff !important;
    text-decoration: none !important;
}
.nav-cta.active::after { display: none; }

/* === burger === */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    position: relative;
}
.burger span::before, .burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: transform .2s;
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 99;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius-sm);
}
.mobile-nav a:hover { background: var(--bg-section); text-decoration: none; }
.mobile-nav a.active { color: var(--accent); }

/* === hero === */
.hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.hero-bull {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 640px;
    height: 640px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    /* slight fade-out at edges via mask */
    -webkit-mask-image: radial-gradient(circle at 40% 50%, black 35%, transparent 75%);
    mask-image: radial-gradient(circle at 40% 50%, black 35%, transparent 75%);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    background: var(--accent-soft);
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
.hero h1 {
    font-size: var(--fs-hero);
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-weight: 800;
    max-width: 880px;
    color: var(--text);
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
    margin-top: 24px;
    font-size: var(--fs-xl);
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.5;
}
.hero-actions {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* === buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--fs-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; text-decoration: none; }
.btn-primary svg { stroke: #fff; }
.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--text); text-decoration: none; }

/* === stats === */
.stats {
    margin-top: 72px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-5);
    padding-top: var(--gap-6);
    border-top: 1px solid var(--border);
}
.stat .num {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat .num .accent { color: var(--accent); }
.stat .label {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    max-width: 220px;
}

/* === sections === */
section {
    padding: 96px 0;
    position: relative;
}
section.section-soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
section.section-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}
section.section-dark .section-eyebrow { color: var(--accent); }
section.section-dark .section-title { color: var(--text-on-dark); }
section.section-dark .section-sub  { color: var(--text-on-dark-muted); }

.section-head {
    max-width: 760px;
    margin-bottom: var(--gap-7);
}
.section-eyebrow {
    color: var(--accent);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    display: block;
}
.section-title {
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--text);
}
.section-sub {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: var(--fs-lg);
    line-height: 1.55;
}

/* watermark - bull horns in section corner */
.section-watermark {
    position: absolute;
    right: -50px;
    bottom: -40px;
    width: 380px;
    opacity: 0.08;
    pointer-events: none;
    transform: rotate(-6deg);
}
.section-watermark.tl { right: auto; left: -50px; top: -40px; bottom: auto; transform: rotate(8deg); }
.section-watermark.tr { right: -50px; top: -40px; bottom: auto; transform: rotate(-8deg); }

/* === grid === */
.grid {
    display: grid;
    gap: var(--gap-5);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === card === */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--gap-5);
    transition: all .18s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.card:hover {
    border-color: var(--text);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.card .icon {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--gap-4);
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }

.card .tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: var(--gap-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}
.card p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: var(--gap-2);
    flex: 1;
}
/* === chip list: works inside .card OR standalone === */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.chip {
    background: var(--bg-section);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
    white-space: nowrap;
}
/* .meta = chips + top divider (inside cards) */
.card .meta,
.meta {
    margin-top: var(--gap-4);
    padding-top: var(--gap-4);
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.card .card-link {
    margin-top: var(--gap-4);
    color: var(--accent);
    font-weight: 600;
    font-size: var(--fs-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card .card-link:hover { text-decoration: none; gap: 10px; }

/* === compact category tile (used on homepage) === */
.cat-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 22px 20px;
    transition: all .15s;
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.cat-tile:hover {
    border-color: var(--text);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
}
.cat-tile .icon {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-tile .icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; }
.cat-tile h3 {
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.3;
}
.cat-tile .count {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-family: var(--font-mono);
    margin-top: 2px;
}
.cat-tile .items {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    flex: 1;
}

/* === category === */
.category {
    margin-top: var(--gap-8);
}
.category:first-of-type { margin-top: var(--gap-7); }
.category-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: var(--gap-3);
    border-bottom: 2px solid var(--text);
    margin-bottom: var(--gap-5);
}
.category-head h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.category-head .count {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-family: var(--font-mono);
}

/* === stack blocks === */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-4);
    margin-top: var(--gap-6);
}
.stack-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--gap-5);
    position: relative;
}
.stack-block.sample {
    border-style: dashed;
    border-color: #E5C268;
    background: rgba(255, 235, 175, .12);
    padding-top: 36px;
}
.stack-block.sample::before { font-size: 10px; padding: 3px 8px; }
.stack-block h4 {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: var(--gap-3);
}
.stack-block ul {
    list-style: none;
}
.stack-block li {
    padding: 7px 0;
    border-bottom: 1px dashed var(--border);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--text);
}
.stack-block li:last-child { border-bottom: none; }

/* === pricing card === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-5);
    margin-top: var(--gap-6);
}
.price-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--gap-6) var(--gap-5);
    display: flex;
    flex-direction: column;
}
.price-card.featured {
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: var(--shadow);
}
.price-card h3 { font-size: var(--fs-xl); font-weight: 700; }
.price-card .formula {
    margin-top: var(--gap-3);
    padding: var(--gap-3);
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--text);
}
.price-card .contract {
    margin-top: var(--gap-3);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.price-card ul {
    margin-top: var(--gap-4);
    list-style: none;
    flex: 1;
}
.price-card li {
    padding: 8px 0;
    font-size: var(--fs-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--gap-2);
}
.price-card li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF3124' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    margin-top: 1px;
}

/* === table === */
.req-table {
    margin-top: var(--gap-6);
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-md);
}
.req-table th, .req-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.req-table th {
    width: 280px;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-section);
}
.req-table td.mono { font-family: var(--font-mono); font-size: var(--fs-sm); }
.req-table .placeholder {
    color: var(--accent);
    font-style: italic;
}

/* === news === */
.news-list { margin-top: var(--gap-6); }
.news-item {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: var(--gap-5);
    padding: var(--gap-5) 0;
    border-bottom: 1px solid var(--border);
    align-items: baseline;
}
.news-date {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.news-item h4 { font-size: var(--fs-lg); font-weight: 600; }
.news-item p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 6px; }
.news-tag {
    background: var(--bg-section);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* === vacancies === */
.vac-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-4);
    margin-top: var(--gap-6);
}
.vac {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--gap-5);
}
.vac h4 { font-size: var(--fs-md); font-weight: 600; }
.vac .vac-meta {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: 4px;
}

/* === accreditation === */
.accred-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-5);
    margin-top: var(--gap-6);
}
.accred {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--gap-5);
}
.accred h4 { font-size: var(--fs-lg); font-weight: 700; }
.accred p.intro {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: var(--gap-2);
}
.accred dl { margin-top: var(--gap-4); }
.accred dt {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: var(--gap-3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.accred dd { font-family: var(--font-mono); font-size: var(--fs-sm); margin-top: 2px; }

/* === breadcrumbs === */
.breadcrumbs {
    padding: 20px 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-dim); }

/* === product detail === */
.product-hero {
    padding: 80px 0 56px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.product-hero .horns-bg {
    position: absolute;
    right: -80px;
    bottom: -60px;
    width: 500px;
    opacity: 0.06;
    transform: rotate(-8deg);
    pointer-events: none;
}
.product-hero .container { position: relative; z-index: 1; }
.product-hero .tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.product-hero h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    margin-top: var(--gap-4);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.product-hero p.brief {
    margin-top: var(--gap-4);
    color: var(--text-muted);
    font-size: var(--fs-xl);
    max-width: 760px;
    line-height: 1.5;
}
.product-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-4);
    margin-top: var(--gap-6);
    padding-top: var(--gap-6);
    border-top: 1px solid var(--border);
}
.product-meta .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.product-meta .value { font-size: var(--fs-md); font-weight: 600; margin-top: 4px; }

.feature-list {
    margin-top: var(--gap-4);
    list-style: none;
}
.feature-list li {
    padding: var(--gap-3) 0;
    border-bottom: 1px dashed var(--border);
    font-size: var(--fs-md);
    display: flex;
    gap: var(--gap-3);
    align-items: flex-start;
}
.feature-list li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* === modules block (sub-modules of a platform) === */
.modules-list {
    margin-top: var(--gap-4);
    display: grid;
    gap: var(--gap-3);
}
.module-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}
.module-card .module-name {
    font-size: var(--fs-lg);
    font-weight: 700;
}
.module-card .module-brief {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: 4px;
}
.module-card .chips {
    margin-top: 12px;
}

/* === prose === */
.prose { max-width: 800px; }
.prose h2 { font-size: var(--fs-h3); font-weight: 700; margin-top: var(--gap-7); margin-bottom: var(--gap-3); }
.prose h3 { font-size: var(--fs-lg); font-weight: 700; margin-top: var(--gap-5); }
.prose p { margin-top: var(--gap-3); }
.prose ul, .prose ol { margin-top: var(--gap-3); padding-left: 24px; }
.prose li { padding: 3px 0; }

/* === callout === */
.callout {
    margin-top: var(--gap-7);
    padding: var(--gap-6);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
}
.callout h3 { font-size: var(--fs-xl); font-weight: 700; }
.callout p { margin-top: var(--gap-3); color: var(--text-muted); }

/* === footer === */
.site-footer {
    background: var(--bg-darker);
    color: var(--text-on-dark-muted);
    padding: var(--gap-8) 0 var(--gap-5);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}
.site-footer .horns-fade {
    position: absolute;
    right: -80px;
    top: -40px;
    width: 360px;
    opacity: 0.05;
    transform: rotate(-12deg);
    pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: var(--gap-7);
}
.site-footer h5 {
    color: var(--bg);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--gap-3);
    font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; font-size: var(--fs-sm); }
.site-footer a { color: var(--text-on-dark-muted); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer .brand { color: #fff; }
.site-footer .brand .brand-text small { color: var(--text-on-dark-muted); }
.site-footer .desc {
    margin-top: var(--gap-4);
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--text-on-dark-muted);
}
.site-footer .legal-strip {
    margin-top: var(--gap-7);
    padding-top: var(--gap-5);
    border-top: 1px solid var(--border-dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--gap-3);
    font-size: var(--fs-xs);
    color: var(--text-dim);
}
.site-footer .legal-strip a { color: var(--text-dim); }

/* === sub-section h2 (smaller than section title) === */
.h2-sub {
    font-size: var(--fs-h2);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

/* override: dd by default has mono font; use sans-serif for free text */
.accred dd.dd-text { font-family: var(--font); }

/* empty registry placeholder cell in tables */
.req-table td.tc-empty {
    font-style: italic;
    color: var(--text-muted);
}

/* === clickable card (entire card is a link) === */
a.card {
    color: inherit;
    text-decoration: none;
}
a.card:hover { text-decoration: none; color: inherit; }
a.card:hover .card-link { gap: 10px; }

/* Inside .sample wrapper, first child has no top margin */
.sample > *:first-child { margin-top: 0; }

/* === utilities === */
.list-indent { padding-left: 24px; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--gap-3); }
.mt-4 { margin-top: var(--gap-4); }
.mt-5 { margin-top: var(--gap-5); }
.mt-6 { margin-top: var(--gap-6); }
.mt-7 { margin-top: var(--gap-7); }
.mt-8 { margin-top: var(--gap-8); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.font-mono { font-family: var(--font-mono); }

/* === responsive === */
@media (max-width: 1100px) {
    .hero h1 { font-size: 52px; }
    .hero-bull { width: 560px; right: -100px; opacity: 0.08; }
}
@media (max-width: 900px) {
    .hero { padding: 72px 0 56px; }
    .hero h1 { font-size: 42px; }
    .hero-bull { width: 420px; opacity: 0.06; }
    .section-title { font-size: 34px; }
    section { padding: 72px 0; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .vac-grid, .accred-grid { grid-template-columns: 1fr; }
    .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap-5); }
    .product-meta { grid-template-columns: repeat(2, 1fr); }
    .news-item { grid-template-columns: 90px 1fr; }
    .news-item .news-tag { grid-column: 2 / 3; justify-self: start; }
}
@media (max-width: 640px) {
    .nav { display: none; }
    .burger { display: inline-flex; }
    .hero { padding: 56px 0 40px; }
    .hero h1 { font-size: 32px; }
    .hero p.lead { font-size: 17px; }
    .hero-bull { display: none; }
    .section-title { font-size: 26px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .site-footer .footer-grid { grid-template-columns: 1fr; }
    .req-table th { width: 100%; display: block; }
    .req-table td { display: block; padding-top: 0; }
    .product-meta { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; }
    .news-item .news-tag { grid-column: 1; }
}
