/* =============================================================================
   MSOFT CLAIMS — 2026 Editorial Redesign
   =============================================================================
   Design language: editorial / minimal. Peer-tier positioning against
   Riskmaster / Origami / Insurity SIMS. Content-first, restrained accent,
   no ambient motion, no gradient meshes, no cyan.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Palette — warm-editorial neutrals + one rust accent.
       Paper: near-white with warmth. Ink: deep near-black with blue undertone.
       Accent: muted rust — visible but not shouty; distinct from every other
       B2B claims vendor (all of whom use blue). */
    --paper:       #e8f0f7;
    --paper-2:     #dde7f0;
    --paper-3:     #ccd8e5;
    --ink:         #14212E;
    --ink-2:       #364656;
    --ink-3:       #6B7A88;
    --ink-4:       #97A3AE;
    --rule:        #cfd9e4;
    --rule-strong: #a8b8c9;
    --accent:      #0F766E;
    --accent-dim:  #0B5952;
    --accent-soft: #D5EDEA;
    --success:     #4A6741;
    --warn:        #A87330;

    /* Type */
    --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --font-body:    'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Rhythm */
    --max:      1200px;
    --max-narrow: 780px;
    --gutter:   clamp(20px, 4vw, 40px);
    --stack-lg: clamp(80px, 10vw, 140px);
    --stack:    clamp(56px, 7vw, 96px);
    --stack-sm: clamp(32px, 4vw, 56px);

    /* Shape — deliberately small radii for editorial feel */
    --radius:   4px;
    --radius-lg: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* ============================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.018em;
    line-height: 1.15;
    color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
h5 { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }

p { max-width: 64ch; }
p + p { margin-top: 1em; }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 58ch; }

/* Editorial small-caps label — replaces the old .eyebrow. Used above
   section headings to orient the reader. Mono, tight tracking. */
.label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}
.label.plain::before { display: none; }
.label.on-dark { color: var(--accent); }

/* Rare italic accent — restrict to hero + one or two moments. Do NOT sprinkle. */
.serif-italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ink-2);
}

/* ============================================================================
   Containers + sections
   ========================================================================== */
.wrap        { max-width: var(--max);        margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--stack) 0; }
.section-lg { padding: var(--stack-lg) 0; }
.section-sm { padding: var(--stack-sm) 0; }
.section-paper-2 { background: var(--paper-2); }
.section-ink     { background: var(--ink);     color: var(--paper); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: var(--paper); }
.section-ink .lead, .section-ink p { color: rgba(250, 250, 247, 0.72); }
.section-ink .label { color: rgba(250, 250, 247, 0.55); }

.rule { height: 1px; background: var(--rule); border: 0; }

/* ============================================================================
   Buttons — restrained, no gradients, no shadows on hover
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn-primary { background: var(--ink);   color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn-accent  { background: var(--accent); color: var(--paper); }
.btn-accent:hover { background: var(--accent-dim); }
.btn-ghost   { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(250, 250, 247, 0.35); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn .arrow { transition: transform 0.15s ease; font-family: var(--font-body); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid var(--rule-strong);
    padding-bottom: 2px;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================================
   Header / Nav — thin editorial, no blur backdrop
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--gutter);
    max-width: var(--max);
    margin: 0 auto;
    gap: 32px;
}
.brand {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    line-height: 1;
}
.brand-mark {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin-left: auto;
    margin-right: 20px;
}
.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14.5px;
    color: var(--ink-2);
    font-weight: 500;
    transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--accent);
    margin-top: 4px;
}

.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}
@media (max-width: 940px) {
    .nav-links { display: none; }
    .nav-cta .btn { display: none; }
    .menu-toggle { display: inline-flex; }
    .mobile-open .nav-links {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--paper);
        padding: 12px var(--gutter) 24px;
        border-bottom: 1px solid var(--rule);
        gap: 2px;
        margin: 0;
    }
    .mobile-open .nav-links a { padding: 12px 8px; }
}

/* ============================================================================
   Hero — editorial, single column, no dashboard mock, no cyan
   ========================================================================== */
.hero {
    padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-mark { order: -1; }
}
.hero-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-mark img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
}
@media (max-width: 900px) {
    .hero-mark img { max-width: 200px; }
}
.hero .label { margin-bottom: 32px; }
.hero h1 { max-width: 18ch; margin-bottom: 32px; }
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-lead {
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 58ch;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.hero-proof {
    margin-top: clamp(60px, 9vw, 110px);
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.hero-proof .label { margin: 0; }
.hero-proof .peers {
    display: flex;
    gap: clamp(28px, 4vw, 48px);
    flex-wrap: wrap;
    align-items: center;
}
.hero-proof .peers span {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ink-3);
    font-size: 15px;
}

/* ============================================================================
   Section header — two-column editorial masthead
   ========================================================================== */
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 72px);
}
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; align-items: start; gap: 20px; } }
.section-head h2 { max-width: 16ch; }
.section-head .lead { max-width: 52ch; }

/* ============================================================================
   Suite grid — the 10 apps on Home
   ========================================================================== */
.suite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
@media (max-width: 900px) { .suite-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .suite-grid { grid-template-columns: 1fr; } }
.suite-card {
    background: var(--paper);
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--ink);
    transition: background 0.15s ease;
    position: relative;
}
.suite-card:hover { background: var(--paper-2); }
.suite-card .num {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.15em;
    color: var(--ink-4);
    font-weight: 500;
}
.suite-card h3 {
    font-size: 1.25rem;
    font-family: var(--font-display);
    letter-spacing: -0.015em;
}
.suite-card h3 .badge {
    display: inline-block;
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: 3px;
    font-weight: 500;
}
.suite-card h3 .badge.beta { color: var(--warn); background: rgba(168, 115, 48, 0.1); }
.suite-card p {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: none;
}
.suite-card .more {
    margin-top: auto;
    padding-top: 14px;
    font-size: 12.5px;
    color: var(--ink-3);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}
.suite-card:hover .more { color: var(--accent); }

/* ============================================================================
   Editorial stat row — replaces the old stats-band with garish numerals
   ========================================================================== */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 48px);
    padding: clamp(40px, 5vw, 64px) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
@media (max-width: 780px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-row .stat .num {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.02em;
}
.stat-row .stat .num .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.stat-row .stat .lbl {
    font-size: 13.5px;
    color: var(--ink-3);
    margin-top: 10px;
    line-height: 1.4;
    max-width: 24ch;
}

/* ============================================================================
   AI edge section — three-up highlight for Claimsmith / IntelliReview / IntelliMail
   ========================================================================== */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 880px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-card {
    padding: clamp(28px, 3vw, 40px);
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ai-card .marker {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 500;
}
.ai-card h3 { font-size: 1.4rem; }
.ai-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: none; }
.ai-card .tech {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--rule);
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.5;
}

/* ============================================================================
   Peer positioning strip — dark, quiet, one line each
   ========================================================================== */
.peer-strip {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    padding: clamp(40px, 5vw, 72px) 0;
}
@media (max-width: 880px) { .peer-strip { grid-template-columns: 1fr; gap: 32px; } }
.peer-strip h3 {
    font-size: 1.5rem;
    color: var(--paper);
    margin-bottom: 12px;
}
.peer-strip p {
    color: rgba(250, 250, 247, 0.72);
    font-size: 14.5px;
    line-height: 1.55;
}

/* ============================================================================
   CTA strip — quiet, no gradient
   ========================================================================== */
.cta {
    padding: clamp(56px, 7vw, 96px) 0;
    background: var(--paper-2);
    border-top: 1px solid var(--rule);
    text-align: center;
}
.cta h2 { max-width: 22ch; margin: 0 auto 20px; }
.cta p { margin: 0 auto 32px; color: var(--ink-2); max-width: 52ch; font-size: 1.1rem; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============================================================================
   Footer — editorial, minimal
   ========================================================================== */
.site-footer {
    background: var(--ink);
    color: rgba(250, 250, 247, 0.72);
    padding: 80px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(250, 250, 247, 0.12);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo {
    height: 72px;
    width: auto;
    display: block;
    margin-bottom: 18px;
    background: var(--paper);
    padding: 8px;
    border-radius: var(--radius);
}
.footer-brand p { color: rgba(250, 250, 247, 0.6); font-size: 14.5px; max-width: 38ch; }
.footer-col h5 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250, 250, 247, 0.5);
    margin-bottom: 18px;
    font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    color: rgba(250, 250, 247, 0.72);
    font-size: 14.5px;
    transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 12.5px;
    color: rgba(250, 250, 247, 0.5);
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom .made {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
}

/* ============================================================================
   Interior page hero (About / Contact / Products / etc.)
   ========================================================================== */
.page-hero {
    padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 72px);
}
.page-hero .label { margin-bottom: 20px; }
.page-hero h1 { max-width: 22ch; margin-bottom: 20px; }
.page-hero .lead { max-width: 60ch; }

/* ============================================================================
   Product pages — flagship layouts (Platform / IntelliReview / Claimsmith / Mobile)
   ========================================================================== */

/* Category eyebrow in the page hero - matches .label visually so flagship
   product pages read as part of the same system as About / Team / Products. */
.product-category {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 20px;
}
.product-category::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}
.product-category.beta { color: var(--warn); }

/* Two-up split: prose on left, an aside block on right (spec sheet / stack) */
.product-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
}
@media (max-width: 900px) { .product-split { grid-template-columns: 1fr; } }
.product-split .prose { max-width: 62ch; }
.product-split .prose p { margin-bottom: 1em; color: var(--ink-2); }
.product-split .prose h3 { margin: clamp(28px, 4vw, 44px) 0 12px; }

/* Aside: spec-sheet look — small labels + short values */
.spec-sheet {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 32px);
    position: sticky;
    top: 90px;
}
.spec-sheet h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.spec-sheet dl { display: grid; grid-template-columns: 1fr; gap: 16px; }
.spec-sheet dt {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 4px;
}
.spec-sheet dd { font-size: 14px; color: var(--ink); line-height: 1.5; }
.spec-sheet dd .mono { font-family: var(--font-mono); font-size: 12.5px; }

@media (max-width: 900px) { .spec-sheet { position: static; } }

/* Capability list — 2-column grid of features */
.capability-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    margin-top: 24px;
}
@media (max-width: 700px) { .capability-list { grid-template-columns: 1fr; gap: 24px; } }
.capability-list li {
    display: block;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
}
.capability-list h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.005em;
    margin-bottom: 6px;
    color: var(--ink);
}
.capability-list p {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.5;
    max-width: none;
}

/* Benchmark / proof block — large editorial callout */
.proof-block {
    padding: clamp(48px, 6vw, 80px) 0;
    text-align: center;
}
.proof-block .quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 0.5;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
    font-style: italic;
}
.proof-block .headline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    line-height: 1.15;
    max-width: 26ch;
    margin: 0 auto 20px;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.proof-block .headline em { color: var(--accent); font-style: italic; font-weight: 400; }
.proof-block .sub {
    font-size: 15px;
    color: var(--ink-3);
    max-width: 56ch;
    margin: 0 auto;
}

/* Persona strip — who uses this product */
.persona-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 880px) { .persona-strip { grid-template-columns: 1fr; } }
.persona-card {
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
}
.persona-card .label { margin-bottom: 14px; }
.persona-card h4 {
    font-size: 1.15rem;
    font-family: var(--font-display);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}
.persona-card p {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.5;
    max-width: none;
}

/* Tech chips — for stack listing */
.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.tech-chips .chip {
    padding: 6px 12px;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: var(--ink-2);
}

/* ============================================================================
   Products landing — grouped grid
   ========================================================================== */
.product-group { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
.product-group:first-of-type { border-top: 0; padding-top: 0; }
.product-group-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 40px;
    align-items: baseline;
    margin-bottom: 32px;
}
@media (max-width: 800px) { .product-group-head { grid-template-columns: 1fr; gap: 12px; } }
.product-group-head h2 { font-size: 1.7rem; }
.product-group-head p { color: var(--ink-2); max-width: none; }

.product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
@media (max-width: 700px) { .product-list { grid-template-columns: 1fr; } }
.product-list.one-col { grid-template-columns: 1fr; }
.product-list-item {
    background: var(--paper);
    padding: clamp(24px, 3vw, 36px);
    display: block;
    color: var(--ink);
    transition: background 0.15s ease;
}
.product-list-item:hover { background: var(--paper-2); }
.product-list-item .row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.product-list-item h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.015em;
}
.product-list-item .badge {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}
.product-list-item .badge.beta { color: var(--warn); background: rgba(168, 115, 48, 0.1); }
.product-list-item p {
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.55;
    max-width: none;
    margin-bottom: 12px;
}
.product-list-item .more {
    font-size: 12.5px;
    color: var(--ink-3);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}
.product-list-item:hover .more { color: var(--accent); }

/* ============================================================================
   Team grid — 4-up (or 2/1) editorial cards
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.team-card:hover { border-color: var(--rule-strong); }
.team-card-open {
    display: block;
    border-style: dashed;
    border-color: var(--rule-strong);
    background: transparent;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.team-card-open:hover { border-color: var(--accent); background: var(--paper-2); }
.team-photo-open {
    color: var(--ink-3);
    background: transparent;
    font-style: normal;
    font-weight: 400;
    font-size: 3.5rem;
}
.team-card-open:hover .team-photo-open { color: var(--accent); }
.team-photo {
    aspect-ratio: 1/1;
    background: var(--paper-2);
    border-bottom: 1px solid var(--rule);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 4rem;
    letter-spacing: -0.02em;
}
.team-info {
    padding: 20px 22px;
}
.team-info .name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 4px;
}
.team-info .role {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
}

/* ============================================================================
   Contact — form + info column
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { position: sticky; top: 90px; }
@media (max-width: 900px) { .contact-info { position: static; } }

.info-block {
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    align-items: flex-start;
}
.info-block:first-of-type { border-top: 1px solid var(--rule); }
.info-block .ico {
    width: 40px; height: 40px;
    border-radius: var(--radius-lg);
    background: var(--paper-2);
    color: var(--ink-2);
    display: grid; place-items: center;
    border: 1px solid var(--rule);
}
.info-block .ico svg { width: 18px; height: 18px; }
.info-block h5 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 500;
}
.info-block p { font-size: 15px; color: var(--ink); margin-bottom: 2px; max-width: none; }
.info-block a:hover { color: var(--accent); }
.info-block small { color: var(--ink-3); font-size: 13px; }

.schedule-card {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    margin-top: 28px;
}
.schedule-card h4 { color: var(--paper); font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.schedule-card p { color: rgba(250, 250, 247, 0.72); font-size: 14.5px; margin-bottom: 18px; max-width: none; }

.contact-form {
    background: var(--paper);
    padding: clamp(28px, 4vw, 40px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--rule);
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form > p { margin-bottom: 28px; font-size: 14.5px; color: var(--ink-2); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 8px;
    font-weight: 500;
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23364656' d='M5 6L0 0h10z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 20px;
    font-size: 13.5px;
    color: var(--ink-2);
}
.checkbox-row input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ink); }
.checkbox-row a { color: var(--ink); border-bottom: 1px solid var(--rule-strong); }
.checkbox-row a:hover { color: var(--accent); border-color: var(--accent); }

.form-submit { width: 100%; justify-content: center; padding: 15px 16px; font-size: 15px; }

.form-success,
.form-error {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}
.form-success {
    background: rgba(74, 103, 65, 0.08);
    border: 1px solid rgba(74, 103, 65, 0.3);
    color: var(--success);
}
.form-success strong { color: var(--success); }
.form-error {
    background: rgba(184, 92, 56, 0.06);
    border: 1px solid rgba(184, 92, 56, 0.28);
    color: var(--accent-dim);
}
.form-error strong { display: block; margin-bottom: 4px; color: var(--accent-dim); }
.field-error {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--accent-dim);
}
.field input.input-validation-error,
.field select.input-validation-error,
.field textarea.input-validation-error { border-color: var(--accent); }

/* ============================================================================
   Privacy — sidebar TOC + long-form body
   ========================================================================== */
.privacy-meta {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    font-size: 13.5px;
}
@media (max-width: 760px) { .privacy-meta { grid-template-columns: 1fr 1fr; } }
.privacy-meta strong {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}
@media (max-width: 900px) { .privacy-layout { grid-template-columns: 1fr; gap: 32px; } }
.privacy-toc {
    position: sticky;
    top: 90px;
    padding-top: 4px;
}
@media (max-width: 900px) { .privacy-toc { position: static; } }
.privacy-toc h4 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 12px;
    font-weight: 500;
}
.privacy-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.privacy-toc a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--ink-2);
    border-radius: var(--radius);
    border-left: 2px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.privacy-toc a:hover { color: var(--ink); background: var(--paper-2); border-color: var(--accent); }

.privacy-content { max-width: 720px; }
.privacy-content section { padding: 0 0 40px; }
.privacy-content h2 { font-size: 1.5rem; margin-bottom: 14px; padding-top: 24px; }
.privacy-content h3 { font-size: 1.1rem; margin: 24px 0 10px; font-weight: 500; font-family: var(--font-body); letter-spacing: -0.005em; }
.privacy-content p { margin-bottom: 14px; max-width: none; color: var(--ink); }
.privacy-content p.muted { color: var(--ink-3); }
.privacy-content ul { margin: 0 0 14px 22px; color: var(--ink); }
.privacy-content li { margin-bottom: 6px; }
.privacy-content a {
    color: var(--ink);
    border-bottom: 1px solid var(--rule-strong);
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
}
.privacy-content a:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================================
   Map placeholder
   ========================================================================== */
.map-card {
    margin-top: 56px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--paper-2);
    position: relative;
    aspect-ratio: 16/6;
    display: grid;
    place-items: center;
    background-image:
        linear-gradient(rgba(20, 33, 46, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 33, 46, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}
.map-card .pin { position: relative; }
.map-card .pin .dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 1px var(--ink);
}
.map-card .label {
    position: absolute;
    bottom: 20px; left: 20px;
    background: var(--paper);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    border: 1px solid var(--rule);
}
.map-card .label strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

/* ============================================================================
   Reveal — kept simple, no delays cascade
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 48px; }
.hide-mobile { display: initial; }
@media (max-width: 640px) { .hide-mobile { display: none; } }
