@font-face {
    font-display: swap;
    font-family: "Alan Sans";
    font-style: normal;
    font-weight: 300 900;
    src: url("/fonts/AlanSans-VariableFont_wght.ttf") format("truetype");
}

:root {
    color-scheme: light;
    --primary-50: #fbf7ff;
    --primary-100: #f3e9ff;
    --primary-200: #eadcff;
    --primary-300: #d9c0ff;
    --primary-400: #b785f3;
    --primary-500: #8b3fd5;
    --primary-600: #6e25bd;
    --primary-700: #5f21b5;
    --primary-800: #4a168e;
    --primary-900: #2f0c58;
    --secondary-50: #fdfaff;
    --secondary-100: #f7f0ff;
    --secondary-200: #efe1ff;
    --secondary-300: #e1ccff;
    --success: #37a169;
    --warning: #f4b740;
    --danger: #e86a6a;
    --info: #8c6ff7;
    --absence: #eadcff;
    --oncall: #7c3aed;
    --timesheet: #8b5cf6;
    --leave: #d8b4fe;
    --training: #e7c87d;
    --holiday: #e2a3a3;
    --background: #fdfaff;
    --ink: #241033;
    --muted: #665270;
    --line: #eadcff;
    --surface: #ffffff;
    --surface-soft: #fbf7ff;
    --surface-warm: #f7f0ff;
    --shadow: 0 22px 70px rgba(74, 22, 142, 0.13);
    --focus: #8b5cf6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    background: var(--background);
    color: var(--ink);
    font-family: "Alan Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
}

body {
    font-size: 16px;
}

a {
    color: var(--primary-700);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

main {
    min-height: calc(100vh - 72px);
    overflow: hidden;
}

h1:focus {
    outline: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.08;
    margin-bottom: 1.4rem;
    max-width: 780px;
}

h2 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.12;
    margin-bottom: 1rem;
}

h3 {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.22;
}

.hero {
    align-items: center;
    background:
        radial-gradient(circle at 84% 18%, rgba(183, 133, 243, 0.28), transparent 32%),
        linear-gradient(135deg, var(--secondary-50) 0%, var(--secondary-100) 48%, var(--primary-50) 100%);
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
    min-height: auto;
    padding: 5.75rem 5vw 4.5rem;
}

.hero-copy {
    max-width: 880px;
}

.eyebrow {
    color: var(--primary-700);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.lead {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.5;
    max-width: 720px;
}

.microcopy,
.privacy-note,
.muted,
.feature-card p,
.problem-card p,
.scenario-card p,
.section-heading p,
.assistant-copy p,
.waitlist-copy p,
.faq-list p,
.final-cta p,
.legal-page p,
.example-box,
.workflow-steps p {
    color: var(--muted);
    line-height: 1.58;
}

.microcopy {
    margin: 1rem 0 0;
}

.hero-actions,
.section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    align-items: center;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 500;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.button.primary {
    background: var(--primary-700);
    box-shadow: 0 2px 8px rgba(74, 22, 142, 0.14);
    color: #ffffff;
}

.button.primary:hover {
    background: var(--primary-800);
    box-shadow: 0 8px 22px rgba(74, 22, 142, 0.18);
    transform: translateY(-1px);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(234, 220, 255, 0.95);
    box-shadow: 0 2px 8px rgba(74, 22, 142, 0.06);
    color: var(--primary-900);
}

.button.secondary:hover {
    background: var(--surface-soft);
    border-color: var(--primary-200);
    box-shadow: 0 8px 22px rgba(74, 22, 142, 0.1);
    transform: translateY(-1px);
}

.button:active {
    box-shadow: 0 1px 4px rgba(74, 22, 142, 0.12);
    transform: translateY(0);
}

.button[disabled] {
    cursor: wait;
    opacity: 0.72;
}

.hero-visual {
    align-self: center;
    display: grid;
    gap: 1rem;
}

.mascot-card {
    align-items: end;
    background: transparent;
    border: 0;
    border-radius: 8px;
    display: grid;
    min-height: 0;
    overflow: visible;
    padding: 0;
    position: relative;
}

.mascot-card::before {
    background: radial-gradient(circle, rgba(139, 63, 213, 0.18), transparent 62%);
    content: "";
    height: 420px;
    left: 50%;
    position: absolute;
    top: 16%;
    transform: translateX(-50%);
    width: 420px;
}

.mascot-card img {
    border-radius: 24px;
    filter: drop-shadow(0 26px 36px rgba(74, 22, 142, 0.16));
    justify-self: center;
    max-height: 500px;
    max-width: min(100%, 560px);
    object-fit: contain;
    position: relative;
    width: 100%;
}

.section,
.legal-page {
    padding: 6.5rem 5vw;
}

.section {
    scroll-margin-top: 5.5rem;
}

.problem-section,
.product-section,
.pricing-section,
.faq-section {
    background: var(--surface);
}

.benefits-section,
.open-source-section {
    background: var(--surface-soft);
}

.change-section,
.assistant-section {
    background: var(--secondary-100);
}

.section-heading {
    max-width: 880px;
}

.card-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-grid {
    display: grid;
    gap: 1.15rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.25rem;
}

.feature-card,
.scenario-card,
.example-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.25rem;
}

.feature-card {
    min-height: 230px;
}

.feature-card.compact {
    min-height: 0;
}

.problem-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    overflow: visible;
    padding: 0;
}

.problem-card img {
    aspect-ratio: 4 / 3;
    background: transparent;
    border-radius: 24px;
    display: block;
    height: auto;
    object-fit: cover;
    order: 1;
    width: 100%;
}

.problem-card h3 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 0;
    order: 2;
}

.problem-card p {
    margin-bottom: 0;
    order: 3;
}

.feature-card strong,
.scenario-card strong,
.example-box strong {
    color: var(--ink);
}

.feature-card a {
    font-weight: 800;
}

.tag {
    background: var(--primary-100);
    border-radius: 999px;
    color: var(--primary-800);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    margin-bottom: 1.4rem;
    padding: 0.25rem 0.6rem;
}

.tag.absence {
    background: var(--absence);
}

.tag.oncall {
    background: var(--oncall);
    color: #ffffff;
}

.tag.timesheet {
    background: var(--timesheet);
    color: #ffffff;
}

.tag.equity {
    background: var(--secondary-200);
}

.tag.files {
    background: var(--secondary-300);
}

.split-section {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.benefits-layout {
    display: grid;
    gap: 4rem;
}

.benefits-intro {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
}

.benefits-mascot {
    border-radius: 24px;
    filter: drop-shadow(0 24px 34px rgba(74, 22, 142, 0.14));
    justify-self: end;
    max-width: 620px;
    object-fit: cover;
    width: 100%;
}

.workflow-steps {
    counter-reset: step;
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.workflow-steps li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(74, 22, 142, 0.08);
    min-height: 118px;
    padding: 1.1rem 1.1rem 1.1rem 4.2rem;
    position: relative;
}

.workflow-steps span {
    align-items: center;
    background: var(--primary-700);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 850;
    height: 2.25rem;
    justify-content: center;
    left: 1rem;
    position: absolute;
    top: 1.1rem;
    width: 2.25rem;
}

.workflow-steps strong {
    display: block;
    margin-bottom: 0.35rem;
}

.workflow-steps p {
    margin: 0;
}

.stats-steps li {
    padding-left: 2rem;
}

.stats-steps span {
    height: auto;
    width: auto;
}

.stats-steps {
    align-items: end;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-top: 0;
}

.stats-steps .stat-card {
    border: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column-reverse;
    gap: 2.5rem;
    justify-content: space-between;
    min-height: 0;
    padding: 2rem;
}

.stat-card-light {
    background: var(--surface);
    flex: 0 0 20rem;
    min-height: 320px;
}

.stats-steps .stat-card-dark {
    background: var(--primary-900);
    color: #ffffff;
    flex: 1 1 24rem;
    max-width: 28rem;
    min-height: 380px;
}

.stats-steps .stat-card-accent {
    background: var(--primary-600);
    color: #ffffff;
    flex: 1.35 1 32rem;
    min-height: 460px;
}

.stats-steps .stat-value {
    background: transparent;
    border-radius: 0;
    color: inherit;
    display: block;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.95;
    position: static;
}

.stats-steps .stat-copy {
    max-width: 24rem;
}

.stats-steps strong {
    color: inherit;
    font-size: 1.15rem;
    line-height: 1.25;
}

.stats-steps p {
    color: var(--muted);
}

.stat-card-dark p {
    color: #eadcff;
}

.stat-card-accent p {
    color: #f4eaff;
}

.source-note {
    font-size: 0.92rem;
    margin-top: 1rem;
}

.product-preview {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    overflow: hidden;
    padding: 1rem;
}

.product-preview img {
    border-radius: 8px;
    display: block;
    height: auto;
    width: 100%;
}

.product-outcomes {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 2.25rem;
}

.outcome-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    grid-column: span 3;
    min-height: 460px;
    overflow: hidden;
    padding: 1.1rem;
}

.outcome-card-wide {
    grid-column: span 6;
    min-height: 390px;
}

.outcome-visual {
    align-items: center;
    background: #f5f5f7;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    min-height: 190px;
    overflow: hidden;
    padding: 1.25rem;
    position: relative;
}

.outcome-card-wide .outcome-visual {
    min-height: 210px;
}

.outcome-card h3 {
    margin: 1.25rem 0 0.85rem;
}

.outcome-card p {
    color: var(--muted);
    line-height: 1.58;
    margin-bottom: 0;
}

.conflict-screen {
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 1px 0 0 rgba(255, 255, 255, 0.45),
        0 12px 40px rgba(74, 22, 142, 0.16);
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
    width: min(86%, 360px);
}

.conflict-screen-header {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.conflict-screen-header span {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 850;
}

.conflict-screen-header strong {
    background: rgba(255, 240, 237, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 106, 106, 0.22);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #b42318;
    font-size: 0.75rem;
    padding: 0.32rem 0.55rem;
    white-space: nowrap;
}

.conflict-list {
    display: grid;
    gap: 0.55rem;
}

.conflict-item {
    background: rgba(251, 247, 255, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(234, 220, 255, 0.55);
    border-left: 4px solid var(--primary-500);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    display: grid;
    gap: 0.15rem;
    padding: 0.62rem 0.7rem;
}

.conflict-item.critical {
    background: rgba(255, 240, 237, 0.6);
    border-color: rgba(232, 106, 106, 0.32);
    border-left-color: var(--danger);
}

.conflict-item.warning {
    background: rgba(255, 248, 230, 0.6);
    border-color: rgba(244, 183, 64, 0.36);
    border-left-color: var(--warning);
}

.conflict-date {
    color: var(--primary-700);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.conflict-item strong {
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.18;
}

.conflict-item small {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.2;
}

/* Conflict card: live detection footer */
.conflict-screen-footer {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--success);
    display: flex;
    font-size: 0.7rem;
    font-weight: 750;
    gap: 0.45rem;
    margin-top: 0.2rem;
    padding-top: 0.55rem;
}

.live-dot {
    animation: live-pulse 1.6s ease-in-out infinite;
    background: var(--success);
    border-radius: 999px;
    flex: 0 0 7px;
    height: 7px;
    width: 7px;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* Coverage board */
.cov-board {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 1px 0 0 rgba(255, 255, 255, 0.42),
        0 10px 36px rgba(74, 22, 142, 0.14);
    display: grid;
    gap: 0.6rem;
    padding: 0.85rem;
    width: min(88%, 360px);
}

.cov-week {
    display: grid;
    gap: 0.3rem;
}

.cov-header,
.cov-row {
    align-items: center;
    display: grid;
    gap: 0.22rem;
    grid-template-columns: 2rem repeat(5, 1fr);
}

.cov-header span {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.cov-name {
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cov-cell {
    background: rgba(251, 247, 255, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(234, 220, 255, 0.5);
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    font-size: 0.56rem;
    font-weight: 700;
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cov-cell.on {
    background: linear-gradient(150deg, rgba(110, 37, 189, 0.82), rgba(74, 22, 142, 0.9));
    border-color: rgba(183, 133, 243, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.cov-cell.absent {
    background: rgba(234, 220, 255, 0.5);
    border-color: rgba(216, 180, 254, 0.5);
    color: var(--primary-800);
    font-size: 0.56rem;
}

.cov-cell.gap {
    background: rgba(255, 240, 237, 0.65);
    border: 1.5px dashed var(--danger);
    box-shadow: none;
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 22px;
}

.cov-alert {
    align-items: center;
    background: rgba(255, 240, 237, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 106, 106, 0.3);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: #b42318;
    display: flex;
    font-size: 0.7rem;
    font-weight: 750;
    gap: 0.45rem;
    padding: 0.4rem 0.65rem;
}

.cov-alert-dot {
    animation: live-pulse 1.6s ease-in-out infinite;
    background: var(--danger);
    border-radius: 999px;
    flex: 0 0 7px;
    height: 7px;
    width: 7px;
}

/* Equity panel */
.equity-panel {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 1px 0 0 rgba(255, 255, 255, 0.42),
        0 10px 36px rgba(74, 22, 142, 0.14);
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    width: min(88%, 360px);
}

.equity-head {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 850;
}

.equity-list {
    display: grid;
    gap: 0.55rem;
}

.eq-row {
    align-items: center;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 2.4rem 1fr 1.8rem;
}

.eq-name {
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 600;
}

.eq-track {
    background: rgba(251, 247, 255, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(234, 220, 255, 0.55);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(74, 22, 142, 0.08);
    height: 10px;
    overflow: hidden;
}

.eq-bar {
    background: linear-gradient(90deg, var(--primary-400), var(--primary-700));
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    height: 100%;
}

.eq-bar.eq-high {
    background: linear-gradient(90deg, #f4b740, #e86a6a);
}

.eq-val {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
    text-align: right;
}

.eq-val.eq-high {
    color: var(--danger);
    font-weight: 900;
}

/* Request flow */
.req-flow {
    align-items: center;
    display: grid;
    gap: 0.45rem;
    width: min(86%, 290px);
}

.req-flow-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(20px) saturate(155%);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 6px 24px rgba(74, 22, 142, 0.12);
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 2.2rem 1fr auto;
    padding: 0.7rem;
}

.req-flow-card.approved {
    background: rgba(231, 248, 238, 0.55);
    border-color: rgba(255, 255, 255, 0.7);
}

.req-flow-avatar {
    align-items: center;
    background: rgba(243, 233, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--primary-700);
    display: flex;
    font-size: 0.68rem;
    font-weight: 850;
    height: 2.2rem;
    justify-content: center;
    width: 2.2rem;
}

.req-flow-avatar.success {
    background: rgba(231, 248, 238, 0.7);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--success);
    font-size: 0.85rem;
}

.req-flow-body {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.req-flow-label {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.req-flow-dates {
    color: var(--muted);
    font-size: 0.68rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.req-flow-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    font-weight: 850;
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
}

.req-flow-badge.pending {
    background: rgba(243, 233, 255, 0.7);
    border: 1px solid rgba(139, 63, 213, 0.18);
    color: var(--primary-700);
}

.req-flow-badge.approved {
    background: rgba(231, 248, 238, 0.7);
    border: 1px solid rgba(55, 161, 105, 0.18);
    color: var(--success);
}

.req-flow-arrow {
    color: rgba(139, 63, 213, 0.4);
    font-size: 1.1rem;
    padding-left: 1.1rem;
    text-align: center;
}

/* Source of truth panel */
.truth-panel {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr auto 1fr;
    padding: 0.5rem 0.75rem;
    width: min(92%, 380px);
}

.truth-chaos {
    display: grid;
    gap: 0.45rem;
}

.truth-file {
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 9px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 600;
    overflow: hidden;
    padding: 0.48rem 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truth-connector {
    color: rgba(139, 63, 213, 0.5);
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 12px rgba(139, 63, 213, 0.3);
}

.truth-single {
    align-items: center;
    background: linear-gradient(150deg, rgba(110, 37, 189, 0.78), rgba(47, 12, 88, 0.85));
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(183, 133, 243, 0.32);
    border-radius: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 1px 0 0 rgba(255, 255, 255, 0.1),
        0 12px 32px rgba(47, 12, 88, 0.35);
    color: #ffffff;
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    padding: 1rem 0.85rem;
    text-align: center;
}

.truth-single-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.truth-single-tag {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: block;
    font-size: 0.6rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    padding: 0.18rem 0.55rem;
    text-transform: uppercase;
}

.scenario-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.scenario-number {
    color: var(--primary-600);
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1.4rem;
}

.assistant-section {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
}

.assistant-section img {
    border-radius: 24px;
    filter: drop-shadow(0 24px 34px rgba(74, 22, 142, 0.15));
    justify-self: center;
    max-height: 620px;
    max-width: min(100%, 360px);
    object-fit: contain;
    width: 100%;
}

.check-list {
    display: grid;
    gap: 0.8rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.check-list li {
    align-items: start;
    color: var(--muted);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr;
    line-height: 1.55;
}

.check-list li::before {
    background: var(--primary-200);
    border-radius: 999px;
    color: var(--primary-800);
    content: "✓";
    display: inline-flex;
    font-weight: 900;
    height: 1.45rem;
    justify-content: center;
    width: 1.45rem;
}

.billing-rule {
    background: var(--primary-100);
    border-radius: 8px;
    color: var(--primary-800) !important;
    font-weight: 800;
    margin-bottom: 0;
    padding: 0.75rem;
}

.example-box {
    margin-top: 2rem;
}

.example-box p {
    margin: 0;
}

.waitlist-section {
    align-items: start;
    background:
        radial-gradient(circle at 15% 18%, rgba(183, 133, 243, 0.28), transparent 28%),
        linear-gradient(135deg, var(--primary-900), var(--primary-800));
    color: #ffffff;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
}

.waitlist-section .eyebrow,
.final-cta .eyebrow {
    color: var(--primary-200);
}

.waitlist-copy p,
.waitlist-copy .privacy-note {
    color: #f4eaff;
}

.waitlist-form {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
    color: var(--ink);
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.field-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

label,
fieldset {
    display: grid;
    gap: 0.45rem;
}

label span,
legend {
    color: var(--ink);
    font-weight: 750;
}

input,
select,
textarea {
    background: #ffffff;
    border: 1px solid #d8c7f3;
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 46px;
    padding: 0.72rem 0.8rem;
    width: 100%;
}

textarea {
    resize: vertical;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

fieldset label,
.consent {
    align-items: start;
    display: flex;
    gap: 0.7rem;
}

fieldset input,
.consent input {
    flex: 0 0 auto;
    margin-top: 0.25rem;
    min-height: auto;
    width: auto;
}

.honeypot {
    left: -100vw;
    position: absolute;
}

.form-status {
    border-radius: 8px;
    display: none;
    line-height: 1.55;
    padding: 0.85rem;
}

.form-status.error,
.field-error {
    color: #b42318;
}

.form-status.error {
    background: #fff0ed;
    display: block;
}

.form-status.success {
    background: #e7f8ee;
    color: #075b2b;
    display: block;
}

.field-error {
    min-height: 1.1rem;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 2rem;
    max-width: 980px;
}

.faq-list details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1rem 1.1rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 850;
}

.faq-list p {
    margin: 0.8rem 0 0;
}

.final-cta {
    background:
        radial-gradient(circle at 50% 0%, rgba(183, 133, 243, 0.2), transparent 32%),
        linear-gradient(135deg, var(--primary-900) 0%, #1b0738 100%);
    color: #ffffff;
    padding: 6.5rem 5vw;
    text-align: center;
}

.final-cta p {
    color: #f4eaff;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.final-cta small {
    color: #eadcff;
    display: block;
    margin-top: 1rem;
}

.site-footer {
    align-items: center;
    background: #160329;
    color: #f1e7ff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.5rem 5vw;
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer a {
    color: var(--primary-200);
}

.legal-page {
    background: var(--surface);
    margin: 0 auto;
    max-width: 900px;
}

.legal-page h1 {
    font-size: 40px;
}

.legal-page h2 {
    font-size: 24px;
    margin-top: 2rem;
}

.not-found {
    min-height: calc(100vh - 72px);
    padding: 7rem 5vw;
}

.validation-message {
    color: var(--danger);
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,) no-repeat 1rem/1.8rem, #b32121;
    color: white;
    padding: 1rem 1rem 1rem 3.7rem;
}

.blazor-error-boundary::after {
    content: "Une erreur est survenue.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.analytics-consent {
    align-items: center;
    background: #160329;
    border: 1px solid var(--primary-700);
    border-radius: 8px;
    bottom: 1rem;
    box-shadow: 0 18px 58px rgba(74, 22, 142, 0.25);
    color: #ffffff;
    display: flex;
    gap: 1rem;
    left: 1rem;
    max-width: min(520px, calc(100vw - 2rem));
    padding: 1rem;
    position: fixed;
    z-index: 20;
}

.analytics-consent[hidden] {
    display: none;
}

.analytics-consent p {
    color: #f4eaff;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.analytics-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 1120px) {
    h2 {
        font-size: 30px;
    }

    .hero,
    .split-section,
    .benefits-intro,
    .assistant-section,
    .waitlist-section {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 760px;
    }

    .card-grid.four,
    .problem-grid,
    .product-outcomes,
    .scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .outcome-card,
    .outcome-card-wide {
        grid-column: span 1;
        min-height: 440px;
    }

    .stats-steps {
        align-items: stretch;
        flex-direction: column;
        max-width: 46rem;
    }

    .benefits-mascot {
        justify-self: start;
        max-width: min(100%, 620px);
    }

    .stats-steps .stat-card,
    .stats-steps .stat-card-dark,
    .stats-steps .stat-card-accent {
        flex: none;
        max-width: none;
        min-height: 230px;
    }

    .stats-steps .stat-card-light {
        min-height: 260px;
    }

    .stats-steps .stat-card-dark {
        min-height: 300px;
    }

    .stats-steps .stat-card-accent {
        min-height: 340px;
    }
}

@media (max-width: 860px) {
    .card-grid.two,
    .card-grid.three,
    .card-grid.four,
    .problem-grid,
    .product-outcomes,
    .scenario-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .outcome-card,
    .outcome-card-wide {
        min-height: 0;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .benefits-layout {
        gap: 2.5rem;
    }
}

@media (max-width: 560px) {
    h2,
    .legal-page h1 {
        font-size: 28px;
    }

    .lead {
        font-size: 18px;
    }

    .hero {
        min-height: auto;
        padding-top: 4rem;
    }

    .hero,
    .section,
    .waitlist-section,
    .final-cta,
    .legal-page,
    .not-found {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mascot-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-actions .button,
    .section-cta .button,
    .waitlist-form .button,
    .final-cta .button {
        width: 100%;
    }

    .stats-steps .stat-card,
    .stats-steps .stat-card-dark,
    .stats-steps .stat-card-accent {
        gap: 2rem;
        padding: 1.4rem;
    }

    .stats-steps .stat-card-light {
        min-height: 260px;
    }

    .stats-steps .stat-card-dark {
        min-height: 285px;
    }

    .stats-steps .stat-card-accent {
        min-height: 320px;
    }

    .outcome-card {
        padding: 0.9rem;
    }

    .outcome-visual,
    .outcome-card-wide .outcome-visual {
        min-height: 170px;
    }

    .conflict-screen {
        width: 92%;
    }

    .conflict-item {
        padding: 0.55rem 0.62rem;
    }

    .equity-panel,
    .cov-board {
        width: 92%;
    }

    .req-flow {
        width: 90%;
    }

    .truth-panel {
        width: 95%;
    }

    .analytics-consent {
        align-items: stretch;
        flex-direction: column;
    }
}
