.home-shell {
    --home-ink: #10261d;
    --home-muted: #52665d;
    --home-green: #00754a;
    --home-green-dark: #004f35;
    --home-mint: #e8f5ee;
    --home-line: #d8e5dd;
    --home-card: #ffffff;
    box-sizing: border-box;
    color: var(--home-ink);
    width: 100%;
    min-width: 0;
    max-width: 1160px;
    margin: 0 auto;
    padding: 18px 8px 72px;
    overflow-x: hidden;
}

.home-shell *,
.home-shell *::before,
.home-shell *::after {
    box-sizing: border-box;
}

.home-shell.home-landing {
    position: relative;
    isolation: isolate;
    overflow-x: visible;
}

body:has(.home-landing) {
    overflow-x: clip;
}

.home-landing > :not(.home-nebula-bg) {
    position: relative;
    z-index: 1;
}

.home-nebula-bg {
    position: fixed;
    z-index: 0;
    inset: 0;
    display: block;
    overflow: hidden;
    pointer-events: none;
}

.home-nebula-bg .nebula-star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
}

.home-nebula-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.home-nebula-orb-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(100, 116, 139, .1) 0%, transparent 70%);
}

.home-nebula-orb-2 {
    width: 400px;
    height: 400px;
    right: -60px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(16, 185, 129, .08) 0%, transparent 70%);
}

.home-nebula-orb-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    left: 55%;
    background: radial-gradient(circle, rgba(148, 163, 184, .07) 0%, transparent 70%);
}

.home-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    overflow: hidden;
    padding: clamp(48px, 7vw, 82px) clamp(22px, 5vw, 62px);
    border: 1px solid rgba(116, 235, 191, .2);
    border-radius: 28px;
    background: linear-gradient(140deg, #0a1823 0%, #0b2a22 55%, #151b36 100%);
    box-shadow: 0 24px 72px rgba(5, 24, 20, .24);
}

.home-hero::before {
    content: none;
}

.home-hero::after {
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    top: -300px;
    right: 12%;
    border-radius: 50%;
    content: "";
    background: rgba(62, 220, 164, .18);
    filter: blur(80px);
}

.home-hero-copy,
.home-mission-console {
    position: relative;
    z-index: 1;
}

.home-eyebrow,
.home-kicker {
    margin: 0 0 12px;
    color: var(--home-green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-eyebrow i {
    margin-right: 7px;
}

.home-brand-lockup {
    display: grid;
    gap: 10px;
    justify-items: start;
    margin-bottom: 20px;
}

/* The one gradient "AdaptEd" on the page -- the h1 repeats the word in plain
   white so the two never compete. */
.home-brand-name {
    color: transparent;
    background: linear-gradient(135deg, #ff4422 0%, #ff7740 46%, #00e676 100%);
    background-clip: text;
    font-family: "Orbitron", "Segoe UI", sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: .95;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 26px rgba(255, 91, 52, .3)) drop-shadow(0 0 54px rgba(0, 230, 118, .12));
}

.home-brand-tagline {
    color: #83edb8;
    font-size: clamp(.76rem, 1.15vw, .9rem);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* The hero eyebrow sets up a question the h1 answers, so the two have to read
   as one unit: sentence case, and close enough in size (~1.9x, not ~4x) that
   the eye carries the setup into the payoff. */
.home-hero .home-eyebrow {
    max-width: 620px;
    margin: 0 0 14px;
    color: #93a3a6;
    font-size: clamp(1.2rem, 2.1vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.32;
    text-transform: none;
}

.home-hero h1 {
    position: relative;
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.1rem, 3.7vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.06;
}

/* Hangs in the hero's left padding so the headline stays flush with the
   question above and the lede/buttons below. */
.home-title-turn {
    position: absolute;
    left: -40px;
    top: .06em;
    color: #6feeb0;
    font-size: 1.9rem;
    line-height: 1.15;
}

@media (max-width: 900px) {
    .home-title-turn {
        left: -30px;
    }
}

@media (max-width: 560px) {
    .home-title-turn {
        display: none;
    }
}

.home-lede {
    max-width: 700px;
    margin: 24px 0 0;
    color: #c4d9d0;
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    line-height: 1.68;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.home-button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--home-green), var(--home-green-dark));
    box-shadow: 0 10px 24px rgba(0, 117, 74, .2);
}

.home-button-primary:hover {
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 117, 74, .28);
}

.home-button-secondary {
    border-color: #b9cec2;
    color: var(--home-green-dark);
    background: rgba(255, 255, 255, .78);
}

.home-button-secondary:hover {
    border-color: var(--home-green);
    color: var(--home-green-dark);
}

.home-fine-print {
    margin: 13px 0 0;
    color: #6b7d74;
    font-size: .83rem;
}

.home-hero .home-button-secondary {
    border-color: rgba(255, 255, 255, .3);
    color: #f4fff9;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);
}

.home-hero .home-button-secondary:hover {
    border-color: rgba(117, 238, 187, .72);
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.home-hero .home-fine-print {
    color: #9ab6a9;
}

.home-mission-console {
    overflow: hidden;
    border: 1px solid rgba(118, 235, 192, .32);
    border-radius: 20px;
    background: rgba(4, 18, 25, .84);
    color: #fff;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(14px);
}

.home-console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #9ab8ab;
    font-family: "Orbitron", "Segoe UI", sans-serif;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-console-header i {
    margin-right: 6px;
    color: #60eba4;
    font-size: .55rem;
    filter: drop-shadow(0 0 5px rgba(96, 235, 164, .9));
}

.home-console-copilot {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 148px;
    padding: 10px 18px 2px;
}

/* quest-hero.png carries ~28% empty space below the fox, so `contain` in a
   small box rendered it tiny. Cover + top anchor crops the dead space instead
   of the art, and the halo lifts it off the dark console. */
.home-console-copilot img {
    width: 118px;
    height: 148px;
    object-fit: cover;
    object-position: center top;
    background: radial-gradient(circle at 50% 58%, rgba(255, 119, 64, .2), transparent 68%);
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45));
}

.home-console-label,
.home-console-copilot strong {
    display: block;
}

.home-console-label {
    margin-bottom: 4px;
    color: #6feeb0;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-console-copilot strong {
    font-size: 1rem;
    line-height: 1.35;
}

.home-console-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 2px 18px 8px;
    list-style: none;
}

.home-console-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px 2px;
}

.home-console-steps li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

/* darkmode.css carries an unscoped `[data-theme="dark"] ol li { margin-bottom:
   .75rem }`, which stretched both of these lists by 12px per row in dark mode
   only -- 48px on the console alone. Both space themselves via padding and
   grid gap, so opt out and let the two themes agree. */
[data-theme='dark'] .home-console-steps li,
[data-theme='dark'] .home-learning-loop li {
    margin-bottom: 0;
}

.home-console-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(85, 227, 155, .4);
    border-radius: 8px;
    color: #79efb1;
    background: rgba(85, 227, 155, .06);
    font-size: .72rem;
}

.home-console-steps strong,
.home-console-steps small {
    display: block;
}

.home-console-steps small {
    margin-bottom: 4px;
    color: #a8ffd2;
    font-family: "Orbitron", "Segoe UI", sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(111, 238, 176, .22);
}

.home-console-steps strong {
    color: #c4d7ce;
    font-size: .78rem;
    font-weight: 550;
    line-height: 1.4;
}

.home-console-joke {
    margin: 0;
    padding: 12px 18px 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #9bbcaf;
    font-size: .74rem;
    text-align: center;
}

.home-console-joke i {
    margin-right: 6px;
    color: #6feeb0;
}

.home-section {
    padding: clamp(64px, 9vw, 104px) clamp(4px, 2vw, 20px) 0;
}

.home-section-tint {
    margin-top: clamp(64px, 9vw, 104px);
    padding: clamp(48px, 7vw, 72px) clamp(20px, 5vw, 54px);
    border: 1px solid var(--home-line);
    border-radius: 24px;
    background: #f3f8f5;
}

.home-section-heading {
    max-width: 730px;
    margin: 0 auto 36px;
    text-align: center;
}

.home-section-heading-left {
    margin-left: 0;
    text-align: left;
}

.home-section-heading h2,
.home-final h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.home-section-heading > p:last-child {
    margin: 14px 0 0;
    color: var(--home-muted);
    font-size: 1.03rem;
    line-height: 1.65;
}

.home-four-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-info-card {
    position: relative;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--home-line);
    border-radius: 18px;
    background: var(--home-card);
    box-shadow: 0 12px 32px rgba(19, 56, 40, .05);
}

.home-info-card::after {
    position: absolute;
    width: 56px;
    height: 2px;
    top: 0;
    left: 26px;
    content: "";
    background: linear-gradient(90deg, var(--home-green), transparent);
}

.home-card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 12px;
    color: var(--home-green);
    background: var(--home-mint);
}

.home-card-label {
    margin: 0 0 8px;
    color: var(--home-green);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-info-card h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.35;
}

.home-info-card > p:last-child {
    margin: 12px 0 0;
    color: var(--home-muted);
    line-height: 1.62;
}

.home-learning-loop {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-learning-loop > li {
    position: relative;
    min-width: 0;
    padding: 22px 20px 24px;
    border: 1px solid var(--home-line);
    border-radius: 18px;
    background: var(--home-card);
    box-shadow: 0 12px 32px rgba(19, 56, 40, .05);
}

.home-learning-loop > li::before {
    position: absolute;
    top: 0;
    right: 20px;
    left: 20px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--home-green), transparent);
}

.home-learning-loop > li:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 43px;
    right: -15px;
    width: 15px;
    border-top: 2px solid rgba(0, 117, 74, .28);
    content: "";
}

.home-loop-number {
    position: absolute;
    top: 22px;
    right: 20px;
    color: rgba(0, 117, 74, .38);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.home-learning-loop .home-card-icon {
    margin-bottom: 20px;
}

.home-learning-loop h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.08rem;
    font-weight: 780;
    line-height: 1.35;
}

.home-learning-loop > li > p:last-child {
    margin: 12px 0 0;
    color: var(--home-muted);
    font-size: .94rem;
    line-height: 1.6;
}

.home-loop-return {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 9px;
    margin: 24px auto 0;
    padding: 10px 16px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    color: var(--home-ink);
    background: var(--home-mint);
    font-size: .88rem;
    font-weight: 730;
    line-height: 1.4;
    text-align: center;
}

.home-loop-return i {
    flex: 0 0 auto;
    color: var(--home-green);
}

.home-centered-link {
    margin-top: 28px;
    text-align: center;
}

.home-centered-link a {
    color: var(--home-green);
    font-weight: 750;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.home-centered-link i {
    margin-left: 5px;
    font-size: .78em;
}

.home-entry-paths {
    margin-top: 34px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid var(--home-line);
    border-radius: 20px;
    background: var(--home-card);
    box-shadow: 0 14px 36px rgba(19, 56, 40, .06);
}

.home-entry-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    column-gap: 34px;
    align-items: end;
    margin-bottom: 22px;
}

.home-entry-heading .home-kicker {
    grid-column: 1 / -1;
}

.home-entry-heading h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.16;
}

.home-entry-heading > p:last-child {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.58;
}

.home-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-entry-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--home-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .62);
}

.home-entry-card-featured {
    border-color: rgba(0, 117, 74, .36);
    background: var(--home-mint);
}

.home-entry-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: var(--home-green);
    background: var(--home-mint);
    font-size: .9rem;
}

.home-entry-card-featured .home-entry-icon {
    color: #fff;
    background: var(--home-green);
}

.home-entry-card h3,
.home-entry-card h4 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1rem;
    font-weight: 790;
    line-height: 1.35;
}

.home-entry-card > div > p:not(.home-card-label):not(.home-entry-outcome) {
    margin: 8px 0 0;
    color: var(--home-muted);
    font-size: .88rem;
    line-height: 1.55;
}

.home-entry-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--home-green);
    font-weight: 760;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.home-entry-link i {
    margin-left: 5px;
    font-size: .78em;
}

.home-entry-grid-detail {
    margin-top: 26px;
}

.home-entry-grid-detail .home-entry-card {
    padding: 22px;
    background: var(--home-card);
}

.home-entry-grid-detail .home-entry-card-featured {
    background: var(--home-mint);
}

.home-entry-grid-detail .home-entry-card h3 {
    font-size: 1.13rem;
}

.home-entry-outcome {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--home-line);
    color: var(--home-muted);
    font-size: .86rem;
    line-height: 1.5;
}

.home-entry-outcome strong {
    color: var(--home-ink);
}

.home-evidence-rule {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(0, 117, 74, .24);
    border-radius: 13px;
    color: var(--home-muted);
    background: var(--home-mint);
    font-size: .91rem;
    line-height: 1.55;
}

.home-evidence-rule i,
.home-evidence-rule strong {
    color: var(--home-green-dark);
}

.home-evidence-rule i {
    margin-top: 4px;
}

.home-comparison-preview {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(19, 56, 40, .05);
}

.home-comparison-preview table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    color: var(--home-ink);
}

.home-comparison-preview th,
.home-comparison-preview td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--home-line);
    text-align: left;
    vertical-align: top;
    line-height: 1.48;
}

.home-comparison-preview thead th {
    color: #61736a;
    background: #edf4f0;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-comparison-preview tbody th {
    width: 22%;
    font-size: .92rem;
}

.home-comparison-preview tbody td {
    color: var(--home-muted);
    font-size: .9rem;
}

.home-comparison-preview tr:last-child th,
.home-comparison-preview tr:last-child td {
    border-bottom: 0;
}

.home-comparison-highlight th,
.home-comparison-highlight td {
    background: #e8f6ef;
}

.home-comparison-highlight th {
    color: var(--home-green-dark);
}

.home-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-detail-card {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--home-line);
    border-radius: 15px;
    color: var(--home-ink);
    background: #fff;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.home-detail-card:hover {
    transform: translateY(-2px);
    border-color: #9fc6b0;
    color: var(--home-ink);
    box-shadow: 0 12px 28px rgba(19, 56, 40, .08);
    text-decoration: none;
}

.home-detail-card > i:first-child {
    color: var(--home-green);
    font-size: 1.1rem;
}

.home-detail-card > i:last-child {
    color: #8aa197;
    font-size: .78rem;
}

.home-detail-card strong,
.home-detail-card small {
    display: block;
}

.home-detail-card small {
    margin-top: 4px;
    color: var(--home-muted);
    line-height: 1.4;
}

.home-final {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: center;
    margin-top: clamp(64px, 9vw, 104px);
    padding: clamp(34px, 6vw, 56px);
    border-radius: 24px;
    color: #fff;
    background: #10261d;
}

.home-landing .home-final {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(104, 232, 184, .2);
    background:
        radial-gradient(circle at 78% 15%, rgba(63, 215, 160, .22), transparent 30%),
        radial-gradient(circle at 12% 90%, rgba(48, 92, 174, .2), transparent 35%),
        #081a19;
}

.home-final .home-kicker {
    color: #78e9ae;
}

.home-final h2 {
    color: #fff;
}

.home-final p:not(.home-kicker) {
    max-width: 680px;
    margin: 12px 0 0;
    color: #b8cec3;
    line-height: 1.55;
}

.home-final .home-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.home-final .home-button-secondary {
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

[data-theme='dark'] .home-shell {
    --home-ink: #edf8f2;
    --home-muted: #afc2b8;
    --home-green: #56d99a;
    --home-green-dark: #87e8b5;
    --home-mint: rgba(86, 217, 154, .12);
    --home-line: #31483e;
    --home-card: #182a22;
}

[data-theme='dark'] .home-section-tint {
    background: #14271f;
}

[data-theme='dark'] .home-nebula-orb-1 {
    background: radial-gradient(circle, rgba(0, 230, 118, .06) 0%, transparent 70%);
}

[data-theme='dark'] .home-nebula-orb-2 {
    background: radial-gradient(circle, rgba(0, 230, 118, .04) 0%, transparent 70%);
}

[data-theme='dark'] .home-nebula-orb-3 {
    background: radial-gradient(circle, rgba(255, 255, 255, .03) 0%, transparent 70%);
}

[data-theme='dark'] .home-info-card,
[data-theme='dark'] .home-comparison-preview,
[data-theme='dark'] .home-detail-card,
[data-theme='dark'] .home-entry-card,
[data-theme='dark'] .home-comparison-preview th,
[data-theme='dark'] .home-comparison-preview td {
    background-color: var(--home-card);
}

[data-theme='dark'] .home-entry-card-featured {
    background: var(--home-mint);
}

[data-theme='dark'] .home-comparison-preview thead th {
    background: #20362c;
    color: #c3d6cc;
}

[data-theme='dark'] .home-comparison-highlight th,
[data-theme='dark'] .home-comparison-highlight td {
    background: #1e3b2e;
}

@media (max-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-mission-console {
        max-width: 620px;
    }

    .home-four-grid {
        grid-template-columns: 1fr;
    }

    .home-info-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 16px;
    }

    .home-learning-loop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-entry-heading {
        grid-template-columns: 1fr;
    }

    .home-entry-heading > p:last-child {
        margin-top: 10px;
    }

    .home-entry-grid {
        grid-template-columns: 1fr;
    }

    .home-learning-loop > li::after {
        display: none;
    }

    .home-card-icon {
        grid-row: 1 / 4;
        margin: 0;
    }

    .home-final {
        display: block;
    }

    .home-final .home-actions {
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    .home-shell {
        padding-top: 4px;
    }

    .home-hero {
        padding: 38px 20px;
        border-radius: 20px;
    }

    .home-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.25rem);
    }

    .home-actions,
    .home-button {
        width: 100%;
    }

    .home-section-tint {
        margin-right: -2px;
        margin-left: -2px;
        padding: 40px 16px;
        border-radius: 18px;
    }

    .home-detail-grid {
        grid-template-columns: 1fr;
    }

    .home-learning-loop {
        grid-template-columns: 1fr;
    }

    .home-loop-return {
        width: 100%;
        justify-content: center;
        border-radius: 14px;
    }

    .home-final {
        padding: 34px 22px;
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-button,
    .home-detail-card {
        transition: none;
    }
}

/* Detailed public walkthrough */
.home-detail-page {
    max-width: 1040px;
}

.home-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 8px 2px 24px;
}

.home-page-nav a {
    color: var(--home-muted);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.home-page-nav a:hover {
    color: var(--home-green);
}

.home-page-nav i {
    margin-right: 5px;
}

.home-detail-hero {
    padding: clamp(44px, 8vw, 82px) clamp(24px, 7vw, 72px);
    border: 1px solid var(--home-line);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 10%, rgba(0, 117, 74, .13), transparent 32%),
        linear-gradient(145deg, #fff, #f2f9f5);
}

.home-detail-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.04;
}

.home-detail-hero > p:not(.home-eyebrow) {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--home-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.home-detail-section {
    padding: clamp(64px, 9vw, 96px) 0 0;
}

.home-detail-section.home-section-tint {
    padding: clamp(44px, 7vw, 66px);
}

.home-workflow-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-workflow-list > li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-top: 1px solid var(--home-line);
}

.home-workflow-list > li:last-child {
    border-bottom: 1px solid var(--home-line);
}

.home-workflow-number {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    color: var(--home-green-dark);
    background: var(--home-mint);
    font-size: 1.05rem;
    font-weight: 850;
}

.home-workflow-list h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.4rem;
    font-weight: 780;
}

.home-workflow-list p:not(.home-card-label) {
    max-width: 780px;
    margin: 10px 0 0;
    color: var(--home-muted);
    line-height: 1.68;
}

.home-workflow-output {
    padding: 10px 13px;
    border-left: 3px solid var(--home-green);
    background: rgba(0, 117, 74, .05);
    font-size: .92rem;
}

.home-audience-grid,
.home-boundary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-audience-grid article,
.home-boundary-grid article {
    padding: 26px;
    border: 1px solid var(--home-line);
    border-radius: 17px;
    background: var(--home-card);
}

.home-audience-grid h3,
.home-boundary-grid h3 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.2rem;
    font-weight: 780;
}

.home-audience-grid ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding-left: 19px;
    color: var(--home-muted);
    line-height: 1.5;
}

.home-evidence-callout {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: center;
    padding: clamp(30px, 6vw, 54px);
    border: 1px solid var(--home-line);
    border-radius: 22px;
    background: var(--home-card);
}

.home-evidence-callout h2 {
    max-width: 680px;
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.home-evidence-callout p:not(.home-kicker) {
    max-width: 700px;
    margin: 13px 0 0;
    color: var(--home-muted);
    line-height: 1.65;
}

.home-evidence-callout .home-button {
    flex: 0 0 auto;
}

.home-boundary-grid h3 i {
    margin-right: 7px;
    color: var(--home-green);
}

.home-boundary-grid p {
    margin: 12px 0 0;
    color: var(--home-muted);
    line-height: 1.62;
}

[data-theme='dark'] .home-detail-hero {
    background: #14271f;
}

@media (max-width: 760px) {
    .home-audience-grid,
    .home-boundary-grid {
        grid-template-columns: 1fr;
    }

    .home-evidence-callout {
        display: block;
    }

    .home-evidence-callout .home-button {
        width: 100%;
        margin-top: 22px;
    }
}

@media (max-width: 520px) {
    .home-workflow-list > li {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

    .home-workflow-number {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }
}
