:root {
    --bg-page: #faf6ec;
    --bg-card: #f4ebd9;
    --heading-color: #2c1810;
    --text-color: #4a3728;
    --text-muted: #6e6153;
    --accent-gold: #dfb26c;
    --accent-gold-hover: #c99b4f;
    --red-string: #b92e2e;
    --pin-red: #e74c3c;
    --pin-red-deep: #8b1a1a;
    --sticky-yellow: #f1db6d;
    --cork-dark: #3a2312;
    --cork-border: #503119;
    /* "Conflicted" pair, Hilo's own — investigate-blue vs. detective-red, lifted from
       the extension's investigate card (hilo-overlay.css ext-inv, ext-blue, ext-red).
       Blue = investigation, red = connection. Plus a black "widget" surface for punch. */
    --ink-widget: #181818;
    --ink-widget-border: #333333;
    --on-ink: #eeeeee;
    --on-ink-dim: #cfcfcf;
    --on-ink-muted: #a9a9a9;
    --accent-blue: #1f6fb2;
    --accent-blue-bright: #4da6ff;
    --surface-blue: #e9f0f7;
    --font-mono: 'Courier New', monospace;
    --font-serif: Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-page);
    color: var(--text-color);
    font-family: var(--font-serif);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === NAV === */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 246, 236, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(223, 178, 108, 0.2);
}

.nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--heading-color);
}

.brand-name {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.brand-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--heading-color); }
.nav-links a.active { color: var(--heading-color); font-weight: 700; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.link-signin {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.link-signin:hover { color: var(--heading-color); }

.btn-gold {
    background: var(--accent-gold);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(223, 178, 108, 0.3);
}
.btn-gold:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(223, 178, 108, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--heading-color);
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    border: 1.5px solid var(--accent-gold);
    cursor: pointer;
}
.btn-outline:hover {
    background: rgba(223, 178, 108, 0.1);
    border-color: var(--accent-gold-hover);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--heading-color);
    border-radius: 2px;
    transition: all 0.3s;
}

/* === HERO === */
.hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.hero-content h1,
.hero-content p,
.hero-content .hero-actions,
.hero-content .hero-tags {
    pointer-events: none;
}

.hero-content .hero-actions a,
.hero-content .hero-actions button {
    pointer-events: auto;
}

.hero-card {
    z-index: 5;
}

/* Floating evidence cards - base styles moved to .hero-card below */

.hero-card-pin {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 40% 35%, #e74c3c, #8b1a1a);
    border-radius: 50%;
}

.hero-card-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hero-card-bullet {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.hero-card-1 {
    top: 35%;
    left: 10%;
}

.hero-card-2 {
    top: 30%;
    right: 8%;
}

.hero-card-3 {
    bottom: 25%;
    right: 11%;
}

/* Hover effects on hero cards */
.hero-card {
    position: absolute;
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: 3px;
    box-shadow: 2px 3px 10px rgba(0,0,0,0.1);
    opacity: 0.75;
    pointer-events: auto;
    cursor: pointer;
}

.hero-card-1 { animation: floatCard1 6s ease-in-out infinite; }
.hero-card-2 { animation: floatCard2 7s ease-in-out infinite 1s; }
.hero-card-3 { animation: floatCard3 5.5s ease-in-out infinite 2s; }

.hero-card:hover {
    opacity: 1;
    box-shadow: 4px 8px 24px rgba(0,0,0,0.2);
    z-index: 8;
    animation-play-state: paused;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes floatCard2 {
    0%, 100% { transform: translateY(0) rotate(1.5deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes floatCard3 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-7px) rotate(0deg); }
}

/* Detective character */
.hero-detective {
    position: absolute;
    bottom: 8%;
    left: 18%;
    width: 100px;
    opacity: 0.8;
    animation: floatCard1 8s ease-in-out infinite 0.5s;
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
    z-index: 5;
}

.hero-detective:hover {
    opacity: 1;
    transform: scale(1.08) translateY(-4px);
    animation: none;
}

.hero-detective img {
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.15));
    transition: filter 0.3s;
}

.hero-detective:hover img {
    filter: drop-shadow(4px 8px 16px rgba(0,0,0,0.25));
}

.hero h1 {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 5.5rem;
    font-weight: 500;
    color: var(--heading-color);
    letter-spacing: -2px;
    margin-bottom: 1.75rem;
    line-height: 1.05;
}

.hero h1 .highlight {
    display: inline-block;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--accent-gold-hover);
    background: none;
    padding: 0;
}

.hero p .highlight {
    font-weight: 700;
    color: var(--heading-color);
    background-image: linear-gradient(120deg, rgba(241, 219, 109, 0.55) 0%, rgba(223, 178, 108, 0.45) 100%);
    background-repeat: no-repeat;
    background-size: 100% 38%;
    background-position: 0 88%;
    padding: 0 2px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--heading-color);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-family: 'Inter Tight', var(--font-sans);
    font-weight: 500;
    letter-spacing: -0.3px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* === RED STRING DIVIDER === */
.red-string-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.red-string-divider::before,
.red-string-divider::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1.5px;
    background: var(--red-string);
    opacity: 0.35;
}

.red-string-divider .pin {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 40% 35%, #e74c3c, #8b1a1a);
    border-radius: 50%;
    margin: 0 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* === FEATURES === */
.features {
    padding: 4rem 0 6rem;
}

.features .section-title {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
}

.key-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--heading-color);
    background: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin: 0 0.15rem;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25), 0 0 10px rgba(223,178,108,0.55);
}

/* ── Demo strip ───────────────────────────────────────── */
.hiw-demo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4.5rem;
    padding: 0;
    background: none;
    border: none;
    flex-wrap: wrap;
}

.hiw-demo__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

/* fixed-height slot: vertically centers each visual so the keys, bar and
   cards share one midline — captions below then all land on the same row. */
.hiw-demo__visual {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* bar variant: bar stays centered on the shared midline (aligned with the
   arrows, keys and cards); its caption floats just beneath the bar. */
.hiw-demo__visual--bar {
    position: relative;
}
.hiw-demo__visual--bar .hiw-demo__caption {
    position: absolute;
    top: calc(50% + 14px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    max-width: none;
}

.hiw-demo__step--keys {
    flex-direction: column;
    align-items: center;
}

.hiw-demo__keys-row {
    display: flex;
    gap: 0.5rem;
}

.hiw-demo__key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--heading-color);
    color: #f4ebd9;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 900;
    border-radius: 12px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.4), 0 0 18px rgba(223,178,108,0.18);
    animation: hiw-key-press 3s ease-in-out infinite;
    flex-shrink: 0;
}
.hiw-demo__key:nth-child(2) { animation-delay: 0.15s; }

/* keys press at the very start of each 3s beat — the trigger */
@keyframes hiw-key-press {
    0%           { transform: translateY(0);   box-shadow: 0 4px 0 rgba(0,0,0,0.4), 0 0 18px rgba(223,178,108,0.18); }
    5%           { transform: translateY(4px);  box-shadow: 0 0px 0 rgba(0,0,0,0.4), 0 0 6px  rgba(223,178,108,0.1);  }
    14%, 100%    { transform: translateY(0);   box-shadow: 0 4px 0 rgba(0,0,0,0.4), 0 0 18px rgba(223,178,108,0.18); }
}

/* progress bar */
.hiw-demo__step--bar { min-width: 160px; }
.hiw-demo__bar-track {
    width: 160px;
    height: 8px;
    background: rgba(74,55,40,0.1);
    border-radius: 99px;
    overflow: hidden;
}
.hiw-demo__bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-gold), var(--red-string));
    border-radius: 99px;
    animation: hiw-bar 3s linear infinite;
}
/* bar starts filling right after the ⌘⌘ press, reaches full mid-beat;
   the card then appears and holds — one cause→effect chain per 3s beat. */
@keyframes hiw-bar {
    0%,  14% { width: 0%;   opacity: 1; }
    50%      { width: 100%; opacity: 1; }
    60%      { width: 100%; opacity: 0; }
    61%      { width: 0%;   opacity: 0; }
    64%      { width: 0%;   opacity: 1; }
    100%     { width: 0%;   opacity: 1; }
}

/* evidence card — three types cycle, each styled like its Hilo-map card */
.hiw-demo__step--card { min-width: 190px; }
.hiw-demo__cards {
    position: relative;
    width: 190px;
    height: 92px;
}
.hiw-demo__card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.7rem 0.95rem;
    border-radius: 8px;
    box-shadow: 2px 3px 12px rgba(0,0,0,0.13);
    opacity: 0;
    animation: hiw-card-cycle 9s ease-in-out infinite;
}
/* stagger each type by one third of the 9s loop — one per 3s bar beat */
.hiw-demo__card--collect     { animation-delay: 0s; }
.hiw-demo__card--investigate { animation-delay: 3s; }
.hiw-demo__card--note        { animation-delay: 6s; }

/* COLLECT = warm near-white paper, red pin/tag (map collect card) */
.hiw-demo__card--collect {
    background: #fffdf6;
    border: 1px solid rgba(201,155,79,0.32);
}
.hiw-demo__card--collect .hiw-demo__card-tag { color: var(--red-string); }

/* INVESTIGATE = cool blue-tinted paper, blue tag (map investigate card) */
.hiw-demo__card--investigate {
    background: #eef4fb;
    border: 1px solid rgba(31,111,178,0.28);
}
.hiw-demo__card--investigate .hiw-demo__card-tag { color: #1f6fb2; }

/* NOTE = sticky yellow (map note card) */
.hiw-demo__card--note {
    background: #f6e79c;
    border: 1px solid rgba(201,155,79,0.5);
    font-family: var(--font-serif);
}
.hiw-demo__card--note .hiw-demo__card-tag { color: #9a6b12; }
.hiw-demo__card--note .hiw-demo__card-title { font-family: var(--font-serif); font-style: italic; }

/* each card owns one 3s beat (33.3% of the 9s loop). It appears the moment
   its bar fills (~16%), holds, then clears before the next beat's key press. */
@keyframes hiw-card-cycle {
    0%       { opacity: 0; transform: translateY(8px) rotate(-2deg); }
    16%      { opacity: 0; transform: translateY(8px) rotate(-2deg); }
    20%, 30% { opacity: 1; transform: translateY(0)   rotate(-1.5deg); }
    33%      { opacity: 0; transform: translateY(-4px) rotate(-1.5deg); }
    100%     { opacity: 0; transform: translateY(8px) rotate(-2deg); }
}

.hiw-demo__card-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}
.hiw-demo__card-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading-color);
}
.hiw-demo__card-sub {
    font-family: var(--font-sans);
    font-size: 0.74rem;
    color: var(--text-muted);
}

.hiw-demo__arrow {
    font-size: 1.4rem;
    color: var(--text-muted);
    opacity: 0.4;
    flex-shrink: 0;
    height: 92px;
    display: flex;
    align-items: center;
}

.hiw-demo__caption {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 120px;
}

/* ── Full-width how-it-works sections ─────────────────── */
.hiw-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0 3.5rem;
}

.hiw-section--flip {
    direction: rtl;
    align-items: end;
}
.hiw-section--flip > * {
    direction: ltr;
}

.hiw-section__head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* big serif number accent */
.hiw-section__num {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--heading-color);
    opacity: 0.12;
    margin-bottom: -1.6rem;
    letter-spacing: -2px;
}

.hiw-section__label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hiw-section__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
    margin: 0;
}

.hiw-section__desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.hiw-section__shot {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.14), 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid rgba(74,55,40,0.08);
    line-height: 0;
}
.hiw-section__shot img {
    width: 100%;
    height: auto;
    display: block;
}

/* slideshow: two screenshots slide right-to-left in place */
.hiw-section__shot--slideshow {
    border: none;
    box-shadow: none;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.14), 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid rgba(74,55,40,0.08);
}
.hiw-section__shot--slideshow .hiw-slide {
    display: block;
    width: 100%;
    height: auto;
}
/* second slide overlays the first */
.hiw-section__shot--slideshow .hiw-slide:nth-child(2) {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.hiw-section__shot--slideshow .hiw-slide:nth-child(1) { animation: hiw-slide-a 9s ease-in-out infinite; }
.hiw-section__shot--slideshow .hiw-slide:nth-child(2) { animation: hiw-slide-b 9s ease-in-out infinite; }

/* conveyor: every slide enters from the right and exits to the left.
   The instant teleport (−100%→+100%) happens while off-screen (clipped by the
   container's overflow:hidden), so only leftward motion is ever visible. */
@keyframes hiw-slide-a {
    0%,   44%     { transform: translateX(0); }
    50%           { transform: translateX(-100%); }   /* exits left */
    50.01%        { transform: translateX(100%); }    /* teleport off-right */
    94%           { transform: translateX(100%); }    /* waits off-right */
    100%          { transform: translateX(0); }       /* enters from right */
}
@keyframes hiw-slide-b {
    0%,   44%     { transform: translateX(100%); }    /* waits off-right */
    50%           { transform: translateX(0); }       /* enters from right */
    94%           { transform: translateX(0); }
    100%          { transform: translateX(-100%); }   /* exits left */
}

/* slideshow indicator dots */
.hiw-slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(44,24,16,0.45);
    border-radius: 99px;
    backdrop-filter: blur(4px);
    z-index: 2;
}
.hiw-slide-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
}
.hiw-slide-dot:nth-child(1) { animation: hiw-dot-a 9s ease-in-out infinite; }
.hiw-slide-dot:nth-child(2) { animation: hiw-dot-b 9s ease-in-out infinite; }
@keyframes hiw-dot-a {
    0%, 42%  { background: #fff; transform: scale(1.15); }
    50%, 92% { background: rgba(255,255,255,0.45); transform: scale(1); }
    100%     { background: #fff; transform: scale(1.15); }
}
@keyframes hiw-dot-b {
    0%, 42%  { background: rgba(255,255,255,0.45); transform: scale(1); }
    50%, 92% { background: #fff; transform: scale(1.15); }
    100%     { background: rgba(255,255,255,0.45); transform: scale(1); }
}

/* shared step list */
.hiw-panel__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.5;
}

.hiw-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--heading-color);
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.08em;
}

.hiw-panel__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hiw-panel__steps li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.hiw-step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-string);
    flex-shrink: 0;
}

.hiw-export-tip {
    display: none;
}

/* hidden old grid */
.hiw-grid  { display: none; }
.hiw-divider { display: none; }

/* === ROLES SECTION === */
.roles {
    padding: 5rem 0;
}

.highlight-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: var(--accent-gold);
    background-image: linear-gradient(120deg, rgba(241, 219, 109, 0.4) 0%, rgba(223, 178, 108, 0.25) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    padding: 0 4px;
}

/* === ROLES - Card Pile Effect === */
.role-section-layout {
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 3.5rem;
    align-items: center;
    min-height: 520px;
}

.role-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
    padding: 2rem 0;
}

.role-left-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
    letter-spacing: -1px;
}

.role-left-title em {
    font-style: italic;
    color: var(--accent-gold-hover);
    display: block;
}

.role-tags-area {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.role-tag {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid rgba(74, 55, 40, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-tag:hover {
    border-color: var(--accent-gold);
    color: var(--heading-color);
}

.role-tag.active {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(223, 178, 108, 0.35);
}

.role-pile {
    position: relative;
    width: 100%;
    height: 440px;
}

.role-pile-card {
    position: absolute;
    width: 100%;
    height: 400px;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 2.6rem 2.8rem;
    box-shadow: 3px 5px 12px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 210px;
    grid-template-rows: auto 1fr;
    gap: 1rem 1.8rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.5s ease,
                box-shadow 0.4s;
    transform-origin: center bottom;
    overflow: hidden;
}

.role-pile-card::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    margin-left: -7px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 40% 35%, #e74c3c, #8b1a1a);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.role-pile-card .rpc-title {
    grid-column: 1;
    grid-row: 1;
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    font-style: italic;
    color: var(--accent-gold-hover);
    line-height: 1.25;
    letter-spacing: -0.5px;
    align-self: end;
}

.role-pile-card .rpc-body {
    grid-column: 1;
    grid-row: 2;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: var(--text-color);
    line-height: 1.7;
    align-self: start;
}

.role-pile-card .rpc-footer {
    display: none;
}

.role-pile-card .rpc-img-wrap {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
}

.role-pile-card .rpc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Pile visual: only card edges visible behind active */
.role-pile-card.in-pile {
    opacity: 1;
}

.role-pile-card.in-pile .rpc-title,
.role-pile-card.in-pile .rpc-body,
.role-pile-card.in-pile .rpc-footer,
.role-pile-card.in-pile .rpc-img-wrap {
    visibility: hidden;
}

.role-pile-card.dimmed {
    opacity: 0;
    transform: translate(0, 20px) scale(0.92) !important;
    z-index: 0 !important;
    pointer-events: none;
}

.role-pile-card.slotted {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg) !important;
    z-index: 10 !important;
    box-shadow: 4px 10px 28px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .role-section-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }

    .role-left-title {
        font-size: 2.2rem;
    }

    .role-pile {
        height: 400px;
    }

    .role-pile-card {
        grid-template-columns: 1fr 130px;
        height: 360px;
        padding: 2rem 1.8rem;
    }

    .role-pile-card .rpc-title {
        font-size: 1.4rem;
    }

    .role-pile-card .rpc-body {
        font-size: 0.9rem;
    }

    .rpc-link {
        left: 1.8rem;
    }
}

/* === TESTIMONIALS === */
.cta-testimonials {
    padding: 5rem 0;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-header h2 {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.cta-header .cta-sub {
    font-family: var(--font-mono);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--heading-color);
    letter-spacing: -0.5px;
}

/* Hand-drawn circle around the key word — like a detective circling a clue */
.cta-header .cta-sub em {
    font-style: normal;
    position: relative;
    display: inline-block;
}

.cta-header .cta-sub em::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -12px;
    right: -12px;
    bottom: -6px;
    border: 3.5px solid var(--red-string);
    border-radius: 50% 45% 55% 48% / 60% 50% 55% 45%;
    opacity: 0.7;
    transform: rotate(-1.5deg);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 3rem;
    align-items: start;
    position: relative;
}

.testimonials-redlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.testimonials-redlines line {
    stroke: var(--red-string);
    stroke-width: 1.2;
    opacity: 0.45;
    stroke-dasharray: 4 3;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 2px;
    position: relative;
    box-shadow: 3px 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:nth-of-type(1) { transform: rotate(-2deg); margin-top: 0; }
.testimonial-card:nth-of-type(2) { transform: rotate(1.5deg); margin-top: 30px; }
.testimonial-card:nth-of-type(3) { transform: rotate(-1deg); margin-top: 28px; }
.testimonial-card:nth-of-type(4) { transform: rotate(2deg); margin-top: -10px; }
.testimonial-card:nth-of-type(5) { transform: rotate(-1.5deg); margin-top: 20px; }
.testimonial-card:nth-of-type(6) { transform: rotate(1deg); margin-top: -5px; }

.testimonial-card:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 3px 8px 24px rgba(0,0,0,0.15);
    z-index: 5;
}

.testimonial-card-pin {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 40% 35%, #e74c3c, #8b1a1a);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.testimonial-card:nth-of-type(3n)::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 12px;
    width: 40px;
    height: 14px;
    background: rgba(241, 219, 109, 0.5);
    transform: rotate(-4deg);
    border-radius: 2px;
}

.testimonial-headline {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-top: 1px dashed rgba(74, 55, 40, 0.2);
    padding-top: 0.75rem;
}

.testimonial-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.testimonial-author strong {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-author span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cta-footer {
    text-align: center;
}

.cta-social-proof {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card:nth-of-type(n) { margin-top: 0; }
    .cta-header .cta-sub { font-size: 1.6rem; }
}


/* === FOOTER === */
footer {
    background: var(--cork-dark);
    background-image:
        radial-gradient(circle, rgba(80,49,25,0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(80,49,25,0.3) 1px, transparent 1px);
    background-size: 6px 6px;
    background-position: 0 0, 3px 3px;
    padding: 3rem 0;
    border-top: 6px solid var(--cork-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: rgba(244, 235, 217, 0.7);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-gold); }

.footer-copy {
    color: rgba(244, 235, 217, 0.4);
    font-family: var(--font-sans);
    font-size: 0.8rem;
}

/* === NAV DROPDOWN (Individuals) === */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
    opacity: 0.7;
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid rgba(223, 178, 108, 0.25);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 120;
}

/* hover bridge so the menu doesn't close in the gap */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(2px);
}

.nav-dropdown li { list-style: none; }

.nav-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 5px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
    background: rgba(223, 178, 108, 0.15);
    color: var(--heading-color);
}

.nav-dropdown a.active {
    color: var(--accent-gold-hover);
    font-weight: 700;
}

.nav-dropdown .nav-dropdown-soon {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Mobile: dropdown expands inline beneath the Individuals label */
@media (max-width: 768px) {
    .nav-item-dropdown { position: static; }
    .nav-item-dropdown::after { display: none; }
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        min-width: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0 1rem;
    }
    .nav-dropdown-toggle svg { display: none; }
}

/* === ROLE PILE CTA LINK (homepage cards) === */
.rpc-link {
    position: absolute;
    left: 2.8rem;
    bottom: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-gold-hover);
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    z-index: 12;
}

.rpc-link svg { width: 14px; height: 14px; }
.rpc-link:hover { gap: 0.7rem; color: var(--heading-color); }

.role-pile-card.in-pile .rpc-link,
.role-pile-card.dimmed .rpc-link {
    visibility: hidden;
}

/* === INDIVIDUAL OCCUPATION PAGE === */
.ind-section { padding: 3.75rem 0; }

.ind-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--role-accent, var(--accent-gold-hover));
    margin-bottom: 1rem;
}

.ind-eyebrow::before {
    content: '';
    width: 22px;
    height: 1.5px;
    background: var(--red-string);
    opacity: 0.6;
}

.ind-section-head .ind-eyebrow { justify-content: center; }

/* Hero eyebrow (brand + role) reads larger than section eyebrows */
.ind-hero .ind-eyebrow {
    font-size: 1.05rem;
    letter-spacing: 2.5px;
    margin-bottom: 1.25rem;
}
.ind-hero .ind-eyebrow::before { width: 30px; }

/* Huge display heading: Inter Tight base + serif-italic accent word (two fonts in one line) */
.ind-heading {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 3.15rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.ind-heading em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--accent-gold-hover);
}

/* Per-section accent for the italic key word — our blue vs. red "conflicted" pair */
.ind-challenges .ind-heading em,
.ind-usecases .ind-heading em { color: var(--red-string); }
.ind-help .ind-heading em,
.ind-outcomes .ind-heading em { color: var(--accent-blue); }

.ind-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.ind-section-head .ind-lead { margin-top: 1.1rem; }

/* Lead / body copy: terse (3 lines max). Bold key words carry the meaning. */
.ind-lead {
    font-family: var(--font-sans);
    font-size: 1.08rem;
    color: var(--text-color);
    line-height: 1.6;
}

.ind-lead strong,
.ind-hero-sub strong {
    font-weight: 700;
    color: var(--heading-color);
}

/* --- 1. HERO --- */
.ind-hero {
    padding-top: 9.5rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.ind-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* Extremely large hero title; Inter Tight base + serif-italic accent word */
.ind-hero h1 {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 4rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.04;
    letter-spacing: -2px;
    margin-bottom: 1.4rem;
}

.ind-hero h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--role-accent, var(--accent-blue));
}

.ind-hero-sub {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 2rem;
}

.ind-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ind-hero-figure {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 4px 8px 28px rgba(0, 0, 0, 0.12);
    transform: rotate(1.2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ind-hero-figure:hover {
    transform: rotate(0deg);
    box-shadow: 4px 12px 34px rgba(0, 0, 0, 0.18);
}

.ind-hero-figure::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    margin-left: -7px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 40% 35%, var(--pin-red), var(--pin-red-deep));
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.ind-hero-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- 2. WHO IT'S FOR --- */
.ind-who { text-align: center; }

.ind-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 720px;
    margin: 0 auto;
}

.ind-chip {
    padding: 0.55rem 1.3rem;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    background: var(--bg-card);
    border: 1.5px solid rgba(223, 178, 108, 0.35);
    transition: all 0.25s ease;
}

.ind-chip:hover {
    border-color: var(--accent-gold);
    color: var(--heading-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 178, 108, 0.25);
}

/* --- 3. A DAY IN THE WORKFLOW --- */
.ind-workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
}

.ind-step {
    text-align: center;
    padding: 1.5rem 0.75rem;
    position: relative;
}

.ind-step-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(31, 111, 178, 0.12);
    border: 1.5px solid rgba(31, 111, 178, 0.4);
    color: var(--accent-blue);
}

.ind-step-icon svg { width: 22px; height: 22px; }

.ind-step-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--red-string);
    display: block;
    margin-bottom: 0.35rem;
}

.ind-step-label {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.4;
}

/* dashed connector behind the step row */
.ind-workflow-steps::before {
    content: '';
    position: absolute;
    top: calc(1.5rem + 22px);
    left: 10%;
    right: 10%;
    height: 1.5px;
    background-image: linear-gradient(to right, var(--red-string) 60%, transparent 0);
    background-size: 8px 1.5px;
    background-repeat: repeat-x;
    opacity: 0.3;
    z-index: -1;
}

/* --- 4. KEY CHALLENGES --- */
.ind-challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

/* Pinned evidence cards — warm paper, big red pull-stat, red pin, slight tilt.
   One card (.ind-dossier) is the dark "evidence dossier" accent for contrast. */
.ind-challenge {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(80, 49, 25, 0.12);
    border-radius: 8px;
    padding: 2rem 1.9rem 1.9rem;
    box-shadow: 4px 8px 22px rgba(80, 49, 25, 0.13);
    transform: rotate(-1deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ind-challenge:nth-child(even) { transform: rotate(1deg); }

.ind-challenge:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 6px 12px 28px rgba(80, 49, 25, 0.2);
}

/* Red pin — pinned-evidence identity */
.ind-challenge::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 1.9rem;
    width: 13px;
    height: 13px;
    background: radial-gradient(circle at 4px 4px, var(--pin-red), var(--pin-red-deep));
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* The single dark "evidence dossier" accent card */
.ind-dossier {
    background: var(--ink-widget);
    border-color: var(--ink-widget-border);
    box-shadow: 5px 10px 26px rgba(0, 0, 0, 0.32);
}

.ind-dossier::before {
    background: radial-gradient(circle at 4px 4px, var(--accent-blue-bright), #004080);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.ind-dossier-tab {
    position: absolute;
    top: 1.6rem;
    right: 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red-string);
    border: 1px solid var(--red-string);
    border-radius: 3px;
    padding: 0.2rem 0.45rem;
    transform: rotate(3deg);
    opacity: 0.9;
}

.ind-stat {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    color: var(--red-string);
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.ind-challenge h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.ind-challenge p {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.6;
}

.ind-challenge p strong {
    font-weight: 700;
    color: var(--accent-blue);
}

/* Dark dossier card flips text to on-ink + brighter blue strong */
.ind-dossier h3 { color: var(--on-ink); }
.ind-dossier p { color: var(--on-ink-dim); }
.ind-dossier p strong { color: var(--accent-blue-bright); }

/* --- 5. HOW HILO HELPS --- */
.ind-help { position: relative; }

.ind-help-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ind-pillar {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(223, 178, 108, 0.3);
    border-radius: 6px;
    box-shadow: 3px 5px 15px rgba(80, 49, 25, 0.1);
    position: relative;
}

/* Read -> Connect -> Report as a blue -> red -> gold triad (investigate / connect / report) */
.ind-pillar:nth-child(1) {
    background: var(--surface-blue);
    border-color: rgba(31, 111, 178, 0.28);
}

.ind-pillar-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(223, 178, 108, 0.15);
    color: var(--accent-gold-hover);
}

.ind-pillar:nth-child(1) .ind-pillar-icon {
    background: rgba(31, 111, 178, 0.14);
    color: var(--accent-blue);
}

.ind-pillar:nth-child(2) .ind-pillar-icon {
    background: rgba(185, 46, 46, 0.12);
    color: var(--red-string);
}

.ind-pillar-icon svg { width: 26px; height: 26px; }

.ind-pillar h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.ind-pillar p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.6;
}

.ind-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2.5rem;
}

.ind-help-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ind-help-item .ind-help-mark {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(223, 178, 108, 0.15);
    border: 1px solid rgba(223, 178, 108, 0.3);
    color: var(--accent-gold-hover);
}

/* alternate the blue/red pair down the two columns */
.ind-help-item:nth-child(odd) .ind-help-mark {
    background: rgba(31, 111, 178, 0.12);
    border-color: rgba(31, 111, 178, 0.3);
    color: var(--accent-blue);
}
.ind-help-item:nth-child(even) .ind-help-mark {
    background: rgba(185, 46, 46, 0.1);
    border-color: rgba(185, 46, 46, 0.28);
    color: var(--red-string);
}

.ind-help-item .ind-help-mark svg { width: 20px; height: 20px; }

.ind-help-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.25rem;
}

.ind-help-item p {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- 6. REAL USE CASES --- */
.ind-usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.ind-usecase {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(223, 178, 108, 0.3);
    border-radius: 4px;
    padding: 1.9rem;
    box-shadow: 3px 5px 15px rgba(80, 49, 25, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* alternate cool investigate-paper vs. warm card */
.ind-usecase:nth-child(4n+1),
.ind-usecase:nth-child(4n+4) {
    background: var(--surface-blue);
    border-color: rgba(31, 111, 178, 0.28);
}
.ind-usecase:nth-child(4n+2),
.ind-usecase:nth-child(4n+3) { background: var(--bg-card); }

.ind-usecase:hover {
    transform: rotate(-0.5deg) scale(1.01);
    box-shadow: 3px 8px 22px rgba(0, 0, 0, 0.13);
}

/* tape accent */
.ind-usecase::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 60px;
    height: 18px;
    background: rgba(241, 219, 109, 0.55);
    border-radius: 2px;
}

.ind-usecase h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.9rem;
}

.ind-usecase ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ind-usecase ul li {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: rgba(223, 178, 108, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.ind-usecase p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.65;
}

.ind-usecase p strong {
    color: var(--accent-blue);
    font-weight: 700;
}

.ind-usecase:nth-child(4n+2) p strong,
.ind-usecase:nth-child(4n+3) p strong { color: var(--red-string); }

/* --- 7. OUTCOMES --- */
.ind-outcome-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.ind-outcome {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(74, 55, 40, 0.2);
}

.ind-outcome-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(223, 178, 108, 0.18);
    color: var(--accent-gold-hover);
}

/* alternate the blue/red pair down the outcome checklist */
.ind-outcome:nth-child(odd) .ind-outcome-check {
    background: rgba(31, 111, 178, 0.14);
    color: var(--accent-blue);
}
.ind-outcome:nth-child(even) .ind-outcome-check {
    background: rgba(185, 46, 46, 0.12);
    color: var(--red-string);
}

.ind-outcome-check svg { width: 16px; height: 16px; }

.ind-outcome span {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* === PER-ROLE IDENTITY (update 11) ===
   Same 7-part skeleton, distinct "theme" per occupation:
   a lead accent + a hero layout variant + a reading-surfaces strip + a
   giant editorial statement band. Keeps the blue/red section semantics for
   family cohesion; --role-accent is the individual signature hue. */

/* Lead accent per occupation (drives eyebrows, hero em, statement em, surface dots) */
body[data-occupation="consultants"] { --role-accent: var(--accent-gold-hover); }
body[data-occupation="investors"]   { --role-accent: var(--accent-gold-hover); }
body[data-occupation="pms"]         { --role-accent: var(--accent-blue); }
body[data-occupation="researchers"] { --role-accent: var(--accent-blue); }
body[data-occupation="creators"]    { --role-accent: var(--accent-blue); }
body[data-occupation="lawyers"]     { --role-accent: var(--red-string); }
body[data-occupation="journalists"] { --role-accent: var(--red-string); }

/* Hero layout is UNIFORM across all roles (update 12): classic copy-left /
   image-right split. Per-role identity comes from --role-accent + hero image +
   surfaces + the body variant kit below — NOT from hero layout. */

/* --- Reading-surfaces strip (the "sources you already read" — role's real inputs) --- */
.ind-surfaces {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}
.ind-hero-copy .ind-surfaces { margin-top: 2rem; }

.ind-surfaces-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-right: 0.25rem;
}

.ind-surface {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    background: var(--bg-card);
    border: 1px solid rgba(80, 49, 25, 0.12);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: 1px 2px 6px rgba(80, 49, 25, 0.06);
}

.ind-surface::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--role-accent, var(--accent-blue));
    flex-shrink: 0;
}

/* --- Giant editorial statement band (palette-cleanser interlude) --- */
.ind-statement { padding: 4.5rem 0; text-align: center; }
.ind-statement .container { max-width: 900px; }

.ind-statement p {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -1.2px;
    color: var(--heading-color);
}

.ind-statement em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--role-accent, var(--accent-blue));
}

.ind-statement .ind-eyebrow { justify-content: center; margin-bottom: 1.4rem; }

/* dark full-bleed variant */
.ind-statement--dark { background: var(--ink-widget); }
.ind-statement--dark p { color: var(--on-ink); }
.ind-statement--dark em { color: var(--accent-blue-bright); }
.ind-statement--dark .ind-eyebrow { color: var(--on-ink-muted); }
.ind-statement--dark .ind-eyebrow::before { background: var(--accent-blue-bright); opacity: 0.7; }

/* === BODY LAYOUT VARIANTS (update 12) ===
   Uniform hero, DIVERSE body. Each body section has 3 layout variants sharing
   the SAME inner DOM; a role gets a distinct combination (see per-role assignment
   in the page HTML). CSS-only, token-only, responsive. v1 = the default layout
   above (no modifier). Add a modifier class to the SECTION CONTAINER only. */

/* --- Workflow v2: vertical left-rail timeline (numbers as nodes) --- */
.ind-workflow-steps--timeline {
    display: block;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}
.ind-workflow-steps--timeline::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 22px;
    right: auto;
    width: 2px;
    height: auto;
    background-image: linear-gradient(to bottom, var(--red-string) 55%, transparent 0);
    background-size: 2px 8px;
    background-repeat: repeat-y;
    opacity: 0.3;
    z-index: 0;
}
.ind-workflow-steps--timeline .ind-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.4rem;
    text-align: left;
    padding: 0.9rem 0;
    align-items: center;
}
.ind-workflow-steps--timeline .ind-step-icon {
    grid-row: 1 / span 2;
    grid-column: 1;
    margin: 0;
    position: relative;
    z-index: 1;
    background: var(--surface-blue);
}
.ind-workflow-steps--timeline .ind-step-num {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin-bottom: 0.15rem;
}
.ind-workflow-steps--timeline .ind-step-label {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 1rem;
}

/* --- Workflow v3: zigzag along a center spine --- */
.ind-workflow-steps--zigzag {
    display: block;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}
.ind-workflow-steps--zigzag::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 2px;
    height: auto;
    background-image: linear-gradient(to bottom, var(--red-string) 55%, transparent 0);
    background-size: 2px 8px;
    background-repeat: repeat-y;
    opacity: 0.3;
    z-index: 0;
}
.ind-workflow-steps--zigzag .ind-step {
    width: 50%;
    position: relative;
    padding: 1rem 2.25rem;
}
.ind-workflow-steps--zigzag .ind-step:nth-child(odd) {
    margin-right: 50%;
    text-align: right;
}
.ind-workflow-steps--zigzag .ind-step:nth-child(even) {
    margin-left: 50%;
    text-align: left;
}
.ind-workflow-steps--zigzag .ind-step-icon { margin-left: auto; margin-right: auto; }
.ind-workflow-steps--zigzag .ind-step:nth-child(odd) .ind-step-icon { margin-right: 0; }
.ind-workflow-steps--zigzag .ind-step:nth-child(even) .ind-step-icon { margin-left: 0; }
.ind-workflow-steps--zigzag .ind-step::after {
    content: '';
    position: absolute;
    top: 1.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--role-accent, var(--accent-blue));
    border: 2px solid var(--bg-page);
    z-index: 1;
}
.ind-workflow-steps--zigzag .ind-step:nth-child(odd)::after { right: -6px; }
.ind-workflow-steps--zigzag .ind-step:nth-child(even)::after { left: -6px; }

/* --- Challenges v2: full-width big-stat rows --- */
.ind-challenge-grid--bigstat { grid-template-columns: 1fr; gap: 1.25rem; }
.ind-challenge-grid--bigstat .ind-challenge {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 2rem;
    align-items: center;
    transform: none;
    padding: 2rem 2.25rem;
}
.ind-challenge-grid--bigstat .ind-challenge:nth-child(even) { transform: none; }
.ind-challenge-grid--bigstat .ind-challenge:hover { transform: translateY(-3px); }
.ind-challenge-grid--bigstat .ind-stat {
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: center;
    font-size: 4.25rem;
    margin: 0;
}
.ind-challenge-grid--bigstat .ind-challenge h3 { grid-column: 2; grid-row: 1; align-self: end; }
.ind-challenge-grid--bigstat .ind-challenge p { grid-column: 2; grid-row: 2; align-self: start; }

/* --- Challenges v3: compact numbered ledger --- */
.ind-challenge-grid--list { grid-template-columns: 1fr; gap: 0; counter-reset: ledger; }
.ind-challenge-grid--list .ind-challenge {
    counter-increment: ledger;
    background: none;
    border: none;
    border-bottom: 1px dashed rgba(74, 55, 40, 0.25);
    border-radius: 0;
    box-shadow: none;
    transform: none;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 2rem;
    align-items: center;
    padding: 1.6rem 0.5rem;
}
.ind-challenge-grid--list .ind-challenge::before { display: none; }
.ind-challenge-grid--list .ind-challenge:nth-child(even) { transform: none; }
.ind-challenge-grid--list .ind-challenge:hover { transform: none; box-shadow: none; }
.ind-challenge-grid--list .ind-challenge h3 {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0.4rem;
}
.ind-challenge-grid--list .ind-challenge h3::before {
    content: counter(ledger, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--role-accent, var(--accent-blue));
    margin-right: 0.6rem;
}
.ind-challenge-grid--list .ind-challenge p { grid-column: 1; grid-row: 2; }
.ind-challenge-grid--list .ind-stat {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    text-align: right;
    font-size: 3.4rem;
    margin: 0;
}
.ind-challenge-grid--list .ind-dossier {
    background: var(--ink-widget);
    border-bottom: none;
    border-radius: 8px;
    padding: 1.6rem 1.75rem;
    margin: 0.5rem 0;
}

/* --- Help v2: alternating L/R feature rows --- */
.ind-help-flow--altrows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.ind-help-flow--altrows .ind-pillar {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 1.75rem;
    align-items: center;
    text-align: left;
    padding: 1.75rem 2rem;
}
.ind-help-flow--altrows .ind-pillar-icon { grid-row: 1 / span 2; grid-column: 1; margin: 0; }
.ind-help-flow--altrows .ind-pillar h3 { grid-column: 2; align-self: end; margin-bottom: 0.35rem; }
.ind-help-flow--altrows .ind-pillar p { grid-column: 2; align-self: start; font-size: 0.95rem; }
.ind-help-flow--altrows .ind-pillar:nth-child(even) { grid-template-columns: 1fr 72px; }
.ind-help-flow--altrows .ind-pillar:nth-child(even) .ind-pillar-icon { grid-column: 2; }
.ind-help-flow--altrows .ind-pillar:nth-child(even) h3,
.ind-help-flow--altrows .ind-pillar:nth-child(even) p { grid-column: 1; text-align: right; }
.ind-help-grid--altrows { grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; }

/* --- Help v3: numbered vertical beats + capability chips --- */
.ind-help-flow--steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    counter-reset: beat;
}
.ind-help-flow--steps .ind-pillar,
.ind-help-flow--steps .ind-pillar:nth-child(1) {
    counter-increment: beat;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.5rem;
    align-items: start;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px dashed rgba(74, 55, 40, 0.2);
    border-radius: 0;
    box-shadow: none;
    padding: 1.5rem 0;
}
.ind-help-flow--steps .ind-pillar-icon { display: none; }
.ind-help-flow--steps .ind-pillar::before {
    content: counter(beat, decimal-leading-zero);
    grid-row: 1 / span 2;
    grid-column: 1;
    font-family: 'Inter Tight', var(--font-sans);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--role-accent, var(--accent-blue));
}
.ind-help-flow--steps .ind-pillar h3 { grid-column: 2; }
.ind-help-flow--steps .ind-pillar p { grid-column: 2; }
.ind-help-grid--steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.ind-help-grid--steps .ind-help-item {
    display: block;
    padding: 0.55rem 1.1rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1.5px solid rgba(223, 178, 108, 0.35);
}
.ind-help-grid--steps .ind-help-mark { display: none; }
.ind-help-grid--steps .ind-help-item p { display: none; }
.ind-help-grid--steps .ind-help-item h4 { margin: 0; font-size: 0.9rem; }

/* --- Use cases v2: one featured card + smaller row --- */
.ind-usecase-grid--featured { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.ind-usecase-grid--featured .ind-usecase:first-child { grid-column: 1 / -1; }
.ind-usecase-grid--featured .ind-usecase:first-child h3 { font-size: 1.7rem; }
.ind-usecase-grid--featured .ind-usecase:first-child p { font-size: 1.05rem; max-width: 660px; }

/* --- Use cases v3: full-width magazine ledger rows --- */
.ind-usecase-grid--ledger { grid-template-columns: 1fr; gap: 1.25rem; }
.ind-usecase-grid--ledger .ind-usecase {
    display: grid;
    grid-template-columns: 280px 1fr;
    column-gap: 2.5rem;
    row-gap: 0.75rem;
    align-items: start;
    border-radius: 6px;
    padding: 1.75rem 2rem;
    transform: none;
}
.ind-usecase-grid--ledger .ind-usecase::before { display: none; }
.ind-usecase-grid--ledger .ind-usecase:hover { transform: none; }
.ind-usecase-grid--ledger .ind-usecase h3 { grid-column: 1; grid-row: 1; margin: 0; }
.ind-usecase-grid--ledger .ind-usecase ul { grid-column: 1; grid-row: 2; margin: 0; }
.ind-usecase-grid--ledger .ind-usecase p { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ind-usecase-grid--ledger .ind-usecase:nth-child(even) { grid-template-columns: 1fr 280px; }
.ind-usecase-grid--ledger .ind-usecase:nth-child(even) h3 { grid-column: 2; }
.ind-usecase-grid--ledger .ind-usecase:nth-child(even) ul { grid-column: 2; }
.ind-usecase-grid--ledger .ind-usecase:nth-child(even) p { grid-column: 1; }

/* --- Outcomes v2: large number tiles (span leads with a <strong> figure) --- */
.ind-outcome-grid--numbers {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 1.5rem;
}
.ind-outcome-grid--numbers .ind-outcome {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    text-align: left;
    background: var(--bg-card);
    border: 1px solid rgba(80, 49, 25, 0.12);
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 3px 5px 15px rgba(80, 49, 25, 0.1);
}
.ind-outcome-grid--numbers .ind-outcome-check { display: none; }
.ind-outcome-grid--numbers .ind-outcome span { font-size: 1rem; font-weight: 600; }
.ind-outcome-grid--numbers .ind-outcome span strong {
    display: block;
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--role-accent, var(--accent-blue));
    margin-bottom: 0.45rem;
}

/* --- Outcomes v3: centered editorial manifesto (no checks) --- */
.ind-outcome-grid--manifesto {
    display: block;
    max-width: 760px;
    margin: 0 auto;
}
.ind-outcome-grid--manifesto .ind-outcome {
    justify-content: center;
    text-align: center;
    padding: 1.5rem 0;
    border-bottom: 1px dashed rgba(74, 55, 40, 0.18);
}
.ind-outcome-grid--manifesto .ind-outcome-check { display: none; }
.ind-outcome-grid--manifesto .ind-outcome span {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
    color: var(--heading-color);
}
.ind-outcome-grid--manifesto .ind-outcome span strong {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--role-accent, var(--accent-blue));
}

/* --- INDIVIDUAL PAGE RESPONSIVE --- */
@media (max-width: 1024px) {
    .ind-hero-grid { gap: 2.5rem; }
    .ind-hero h1 { font-size: 3.4rem; }
    .ind-heading { font-size: 2.8rem; }
    .ind-workflow-steps { grid-template-columns: repeat(3, 1fr); }
    .ind-workflow-steps::before { display: none; }
    /* timeline/zigzag rails are vertical — keep them visible below 1024 */
    .ind-workflow-steps--timeline::before,
    .ind-workflow-steps--zigzag::before { display: block; }
    .ind-help-grid--altrows { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ind-section { padding: 3.5rem 0; }
    .ind-hero { padding-top: 8rem; }
    .ind-hero-grid { grid-template-columns: 1fr; }
    .ind-hero-figure { order: -1; transform: rotate(0deg); }
    .ind-hero h1 { font-size: 2.8rem; }
    .ind-heading { font-size: 2.3rem; }
    .ind-statement { padding: 3.25rem 0; }
    .ind-statement p { font-size: 1.85rem; }
    .ind-stat { font-size: 2.6rem; }
    .ind-challenge-grid,
    .ind-help-flow,
    .ind-help-grid,
    .ind-usecase-grid,
    .ind-outcome-grid { grid-template-columns: 1fr; }
    .ind-workflow-steps { grid-template-columns: repeat(2, 1fr); }

    /* --- body variants collapse to single column at 768 --- */
    .ind-challenge-grid--bigstat .ind-challenge,
    .ind-challenge-grid--list .ind-challenge { grid-template-columns: 1fr; row-gap: 0.6rem; }
    .ind-challenge-grid--bigstat .ind-stat,
    .ind-challenge-grid--list .ind-stat { grid-row: auto; grid-column: 1; text-align: left; }
    .ind-challenge-grid--bigstat .ind-challenge h3,
    .ind-challenge-grid--bigstat .ind-challenge p,
    .ind-challenge-grid--list .ind-challenge h3,
    .ind-challenge-grid--list .ind-challenge p { grid-column: 1; grid-row: auto; }

    .ind-help-flow--altrows .ind-pillar,
    .ind-help-flow--altrows .ind-pillar:nth-child(even) { grid-template-columns: 60px 1fr; }
    .ind-help-flow--altrows .ind-pillar:nth-child(even) .ind-pillar-icon { grid-column: 1; }
    .ind-help-flow--altrows .ind-pillar:nth-child(even) h3,
    .ind-help-flow--altrows .ind-pillar:nth-child(even) p { grid-column: 2; text-align: left; }
    .ind-help-grid--altrows { grid-template-columns: 1fr; }

    .ind-usecase-grid--featured { grid-template-columns: 1fr; }
    .ind-usecase-grid--ledger .ind-usecase,
    .ind-usecase-grid--ledger .ind-usecase:nth-child(even) { grid-template-columns: 1fr; }
    .ind-usecase-grid--ledger .ind-usecase h3,
    .ind-usecase-grid--ledger .ind-usecase ul,
    .ind-usecase-grid--ledger .ind-usecase p,
    .ind-usecase-grid--ledger .ind-usecase:nth-child(even) h3,
    .ind-usecase-grid--ledger .ind-usecase:nth-child(even) ul,
    .ind-usecase-grid--ledger .ind-usecase:nth-child(even) p { grid-column: 1; grid-row: auto; }

    .ind-outcome-grid--numbers { grid-template-columns: 1fr; }
    .ind-outcome-grid--manifesto .ind-outcome span { font-size: 1.35rem; }

    /* zigzag → single left-rail column on mobile */
    .ind-workflow-steps--zigzag .ind-step,
    .ind-workflow-steps--zigzag .ind-step:nth-child(odd),
    .ind-workflow-steps--zigzag .ind-step:nth-child(even) {
        width: 100%;
        margin: 0;
        text-align: left;
        padding-left: 2rem;
        padding-right: 0;
    }
    .ind-workflow-steps--zigzag::before { left: 6px; transform: none; }
    .ind-workflow-steps--zigzag .ind-step-icon,
    .ind-workflow-steps--zigzag .ind-step:nth-child(odd) .ind-step-icon,
    .ind-workflow-steps--zigzag .ind-step:nth-child(even) .ind-step-icon { margin-left: 0; margin-right: auto; }
    .ind-workflow-steps--zigzag .ind-step:nth-child(odd)::after,
    .ind-workflow-steps--zigzag .ind-step:nth-child(even)::after { left: 0; right: auto; }
}

@media (max-width: 480px) {
    .ind-hero h1 { font-size: 2.3rem; letter-spacing: -1px; }
    .ind-heading { font-size: 2rem; letter-spacing: -1px; }
    .ind-workflow-steps { grid-template-columns: 1fr; }
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hiw-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0;
    }
    .hiw-section--flip {
        direction: ltr;
    }
    .hiw-demo {
        gap: 1rem;
    }
    .hiw-section__num {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(250, 246, 236, 0.98);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(223, 178, 108, 0.2);
        gap: 1rem;
    }

    .hero h1 { font-size: 3.6rem; letter-spacing: -1px; }
    .hero p { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-tags { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero-card { display: none; }
    .hero-detective { display: none; }
    .hero-map { opacity: 0.3; }

    .features .section-title { font-size: 1.5rem; }
    .roles .section-title { font-size: 1.5rem; }

    .role-content { padding: 1.5rem; }
    .cta-header .cta-sub { font-size: 1.5rem; }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero { padding-top: 8rem; padding-bottom: 4rem; }
    .hero h1 { font-size: 2.6rem; }
    .nav-actions .btn-gold span { display: none; }
}

/* === LEGAL PAGES (privacy / terms) === */
/* Plain typography only — no mono/serif-italic accents (kept deliberately
   unstyled so legal copy reads as a standard document). */
.legal { padding: 9rem 0 6rem; }
.legal .container { max-width: 760px; }
.legal h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}
.legal-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(223, 178, 108, 0.4);
}
.legal h2 {
    font-size: 1.35rem;
    color: var(--heading-color);
    margin: 2.5rem 0 0.85rem;
}
.legal p,
.legal li {
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--text-color);
}
.legal p { margin-bottom: 1.1rem; }
.legal ul { margin: 0 0 1.1rem 1.4rem; }
.legal li { margin-bottom: 0.55rem; }
.legal strong { color: var(--heading-color); }
.legal a { color: var(--red-string); }
.legal a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .legal { padding: 7rem 0 4rem; }
    .legal h1 { font-size: 2rem; }
}


/* === PRICING PAGE === */
/* Public (logged-out) pricing. Mirrors the in-app plan table (web/src/pages/Pricing.tsx)
   but marketing-styled: evidence-board cards + install/sign-up CTAs, not "upgrade". */

.pr-hero {
    text-align: center;
    padding: 9.5rem 0 2.5rem;
    max-width: 720px;
    margin: 0 auto;
}
.pr-hero .ind-eyebrow { justify-content: center; }
.pr-hero h1 {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.06;
    letter-spacing: -1.5px;
    margin-bottom: 1.1rem;
}
.pr-hero h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--accent-gold-hover);
}
.pr-hero p {
    font-family: var(--font-sans);
    font-size: 1.12rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Billing toggle — segmented control */
.pr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 2rem auto 0;
    padding: 0.3rem;
    background: var(--bg-card);
    border: 1px solid rgba(80, 49, 25, 0.12);
    border-radius: 999px;
    box-shadow: inset 0 1px 3px rgba(80, 49, 25, 0.06);
}
.pr-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}
.pr-toggle-btn--active {
    background: var(--heading-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(44, 24, 16, 0.2);
}
.pr-toggle-save {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--red-string);
    background: rgba(185, 46, 46, 0.1);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
}
.pr-toggle-btn--active .pr-toggle-save { color: var(--sticky-yellow); background: rgba(0, 0, 0, 0.2); }

/* Plan cards */
.pr-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    max-width: 820px;
    margin: 3rem auto 0;
    align-items: stretch;
}

.pr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid rgba(80, 49, 25, 0.12);
    border-radius: 4px;
    padding: 2.25rem 2rem 2rem;
    box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.08);
}
.pr-card--pro {
    border: 2px solid var(--accent-gold);
    box-shadow: 3px 8px 24px rgba(223, 178, 108, 0.28);
}

/* Pin motif on each card */
.pr-card::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 26px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, var(--pin-red), var(--pin-red-deep));
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* "Most popular" tape on Pro */
.pr-badge {
    position: absolute;
    top: 14px;
    right: -6px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--heading-color);
    background: var(--sticky-yellow);
    padding: 0.3rem 0.75rem;
    transform: rotate(2.5deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.pr-plan-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.pr-card--pro .pr-plan-name { color: var(--accent-gold-hover); }

.pr-price {
    display: flex;
    align-items: flex-start;
    gap: 0.15rem;
    color: var(--heading-color);
    line-height: 1;
}
.pr-currency {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}
.pr-amount {
    font-family: 'Inter Tight', var(--font-sans);
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: -2px;
}
.pr-per {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 0.75rem;
}
.pr-note {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    min-height: 1.3em;
}
/* interval-conditional notes (toggled via .pr-plans[data-interval]) */
.pr-note--month { display: none; }
.pr-plans[data-interval="month"] .pr-note--year { display: none; }
.pr-plans[data-interval="month"] .pr-note--month { display: block; }

.pr-features {
    list-style: none;
    margin: 1.75rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}
.pr-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.4;
}
.pr-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--accent-gold-hover);
}
.pr-card--pro .pr-check { color: var(--red-string); }
.pr-features strong { font-weight: 700; color: var(--heading-color); }

.pr-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid var(--accent-gold);
    background: transparent;
    color: var(--heading-color);
    transition: all 0.2s;
}
.pr-cta:hover { background: rgba(223, 178, 108, 0.12); border-color: var(--accent-gold-hover); }
.pr-cta--primary {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    box-shadow: 0 2px 8px rgba(223, 178, 108, 0.3);
}
.pr-cta--primary:hover {
    background: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(223, 178, 108, 0.4);
}
.pr-cta-note {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    min-height: 1em;
}

/* Existing-customer bridge line */
.pr-manage {
    text-align: center;
    margin: 2.25rem auto 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-muted);
}
.pr-manage a { color: var(--red-string); font-weight: 600; text-decoration: none; }
.pr-manage a:hover { text-decoration: underline; }

/* FAQ */
.pr-faq { max-width: 760px; margin: 0 auto; }
.pr-faq-item {
    border-bottom: 1px dashed rgba(74, 55, 40, 0.25);
    padding: 0;
}
.pr-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--heading-color);
}
.pr-faq-item summary::-webkit-details-marker { display: none; }
.pr-faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform 0.2s;
}
.pr-faq-item[open] summary::after { transform: rotate(-135deg); }
.pr-faq-item p {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-color);
    padding: 0 0 1.35rem;
    max-width: 640px;
}

@media (max-width: 768px) {
    .pr-hero { padding-top: 7.5rem; }
    .pr-hero h1 { font-size: 2.3rem; }
    .pr-plans { grid-template-columns: 1fr; max-width: 420px; }
}
