:root {
    --landing-bg: #efe6d8;
    --landing-surface: rgba(255, 250, 244, 0.82);
    --landing-surface-strong: #fffaf4;
    --landing-ink: #11252b;
    --landing-muted: #5d6a6f;
    --landing-line: rgba(17, 37, 43, 0.12);
    --landing-accent: #cc6f35;
    --landing-accent-soft: rgba(204, 111, 53, 0.14);
    --landing-deep: #18383d;
    --landing-deep-soft: #213f45;
    --landing-cream: #f8f0e5;
    --landing-success: #2f7053;
    --landing-warning: #b75724;
    --landing-shadow: 0 24px 60px rgba(17, 37, 43, 0.12);
    --landing-radius-xl: 34px;
    --landing-radius-lg: 24px;
    --landing-radius-md: 18px;
    --landing-width: min(1180px, calc(100vw - 2rem));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing-body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--landing-ink);
    background:
        radial-gradient(circle at top left, rgba(204, 111, 53, 0.16), transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(47, 112, 83, 0.12), transparent 22%),
        linear-gradient(180deg, #f4ebdf 0%, #efe6d8 32%, #f7f1e8 100%);
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
}

body.landing-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
    opacity: 0.3;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.landing-shell {
    width: var(--landing-width);
    margin: 0 auto;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 1rem 0 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(247, 241, 232, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(17, 37, 43, 0.08);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-lockup img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.78);
    padding: 0.3rem;
}

.brand-lockup span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-lockup strong {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-lockup em {
    color: var(--landing-muted);
    font-style: normal;
    font-size: 0.78rem;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-links a {
    color: rgba(17, 37, 43, 0.72);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--landing-accent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.95rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--landing-accent);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
    box-shadow: 0 18px 30px rgba(204, 111, 53, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 34px rgba(204, 111, 53, 0.28);
}

.button--secondary,
.button--ghost {
    background: rgba(255, 255, 255, 0.68);
    color: var(--landing-ink);
    box-shadow: none;
    border: 1px solid rgba(17, 37, 43, 0.12);
}

.button--secondary:hover,
.button--secondary:focus-visible,
.button--ghost:hover,
.button--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

.login-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17, 37, 43, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    color: rgba(17, 37, 43, 0.7);
    font-size: 1.08rem;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.login-icon-link:hover,
.login-icon-link:focus-visible {
    background: rgba(255, 255, 255, 0.86);
    color: var(--landing-accent);
    transform: translateY(-1px);
}

.button--full {
    width: 100%;
}

.landing-hero {
    position: relative;
    overflow: clip;
    padding: 4.4rem 0 2.5rem;
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 5rem auto auto 50%;
    width: 780px;
    height: 780px;
    border-radius: 999px;
    transform: translateX(-2%);
    background: radial-gradient(circle, rgba(204, 111, 53, 0.18) 0%, rgba(204, 111, 53, 0.08) 28%, transparent 70%);
    pointer-events: none;
    filter: blur(12px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-kicker,
.section-kicker,
.panel-kicker,
.surface-kicker {
    margin: 0 0 0.9rem;
    color: var(--landing-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-intro h2,
.section-intro--light h2,
.audience-panel h3,
.ai-card h3,
.demo-card h3 {
    margin: 0;
    font-family: "Fraunces", serif;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(3.3rem, 5vw, 6rem);
}

.hero-lead,
.section-intro p,
.audience-panel p,
.ai-card p,
.demo-copy p,
.demo-card p {
    color: var(--landing-muted);
    font-size: 1.05rem;
}

.hero-lead {
    max-width: 59ch;
    margin: 1.4rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.hero-proof {
    max-width: 58ch;
    margin: 1.25rem 0 0;
    color: rgba(17, 37, 43, 0.8);
    font-size: 0.98rem;
    font-weight: 600;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-tags li,
.status-pill,
.workflow-step__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(17, 37, 43, 0.08);
    color: rgba(17, 37, 43, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-stage {
    position: relative;
    min-height: 720px;
    perspective: 1300px;
}

.surface {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: var(--landing-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 250, 244, 0.94)),
        var(--landing-surface);
    box-shadow: var(--landing-shadow);
    backdrop-filter: blur(18px);
}

.surface--primary {
    inset: 2rem 3rem 7rem 0;
    padding: 1.5rem;
    animation: float-main 8s ease-in-out infinite;
}

.surface--alert,
.surface--advisor {
    width: 310px;
    padding: 1rem 1.05rem;
    animation: float-side 9s ease-in-out infinite;
}

.surface--alert {
    top: 0;
    right: 0;
}

.surface--advisor {
    right: 1.4rem;
    bottom: 0.5rem;
    animation-delay: -2s;
}

.surface-topline,
.surface-mini-top,
.scene-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: rgba(17, 37, 43, 0.48);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.surface-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
}

.surface-title-row h2 {
    margin: 0;
    max-width: 12ch;
    font-family: "Fraunces", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

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

.metric-grid article,
.advisor-lines div,
.advisor-kpis div {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(17, 37, 43, 0.08);
}

.metric-grid span,
.advisor-lines span,
.advisor-kpis small {
    display: block;
    color: var(--landing-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.metric-grid strong,
.mini-list strong,
.advisor-lines strong,
.advisor-kpis strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.1;
}

.metric-grid em,
.mini-list em {
    display: block;
    margin-top: 0.35rem;
    color: var(--landing-muted);
    font-style: normal;
    font-size: 0.82rem;
}

.signal-panel,
.advisor-note {
    margin-top: 1.1rem;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(204, 111, 53, 0.12), rgba(17, 37, 43, 0.06));
    border: 1px solid rgba(17, 37, 43, 0.08);
}

.signal-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(17, 37, 43, 0.08);
    color: var(--landing-deep);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signal-panel p,
.advisor-note p {
    margin: 0.7rem 0 0;
    color: rgba(17, 37, 43, 0.86);
    font-size: 0.95rem;
    font-weight: 600;
}

.surface h3,
.scene h3 {
    margin: 0.65rem 0 0;
    font-family: "Fraunces", serif;
    font-size: 1.55rem;
    line-height: 1.05;
}

.app-preview-card {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(13, 110, 253, 0.26);
    color: #161d24;
    font-family: "Manrope", sans-serif;
}

.app-preview-card--alert {
    border-color: rgba(220, 53, 69, 0.24);
}

.app-preview-card--copilot {
    border-color: rgba(108, 117, 125, 0.24);
}

.app-preview-title {
    margin: 0;
    color: #1b2229;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.app-preview-heading-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
    align-items: center;
}

.app-preview-card--alert .app-preview-heading-row {
    grid-template-columns: 1fr auto;
}

.app-preview-card--alert .app-preview-title {
    text-align: left;
}

.app-preview-heading-row .app-preview-title {
    min-width: 0;
}

.app-preview-center {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0 0.9rem;
}

.app-preview-badge,
.app-preview-ai,
.app-preview-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    background: #0f695e;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.app-preview-ai,
.app-preview-count {
    background: #e9ecef;
    color: #48525c;
}

.app-preview-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: end;
    margin-bottom: 1rem;
}

.app-preview-filters label {
    display: grid;
    gap: 0.25rem;
    flex: 1 1 105px;
    min-width: 105px;
    margin: 0;
}

.app-preview-filters label span {
    color: #59646f;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.app-preview-filters label em {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.55rem;
    border: 1px solid #dfe4ea;
    border-radius: 10px;
    color: #6d7680;
    background: #fff;
    font-style: normal;
    font-size: 0.76rem;
}

.app-preview-filters button,
.app-preview-filters a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid #dfe4ea;
    background: #fff;
    color: #1b2229;
    font-size: 0.78rem;
    font-weight: 800;
}

.app-preview-filters button {
    border-color: #0f695e;
    background: #0f695e;
    color: #fff;
}

.app-preview-total {
    display: grid;
    justify-items: center;
    margin-top: 0.35rem;
    text-align: center;
}

.app-preview-total strong {
    display: block;
    color: #1b2229;
    font-size: clamp(1.5rem, 2.9vw, 2.45rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.app-preview-total hr {
    width: 100%;
    margin: 0.85rem 0;
    border: 0;
    border-top: 1px solid #dfe4ea;
}

.app-preview-total span,
.app-preview-total small,
.app-preview-note {
    color: #6d7680;
    font-size: 0.8rem;
}

.app-preview-total b {
    color: #1b2229;
    font-size: 1.15rem;
}

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

.copilot-summary section {
    padding: 0.9rem;
    border: 1px solid #e7ebf0;
    border-radius: 18px;
    background: #fff;
}

.copilot-summary h6 {
    margin: 0 0 0.55rem;
    color: #0f695e;
    font-size: 0.86rem;
    font-weight: 800;
}

.copilot-summary section:nth-child(2) h6 {
    color: #b63545;
}

.copilot-summary p {
    margin: 0.45rem 0 0;
    color: #40505d;
    font-size: 0.84rem;
    line-height: 1.45;
}

.copilot-summary strong {
    color: #1b2229;
}

.copilot-action {
    margin-top: 0.95rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(204, 111, 53, 0.18);
    border-radius: 20px;
    background: rgba(204, 111, 53, 0.09);
}

.copilot-action span {
    display: block;
    color: var(--landing-accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.copilot-action strong {
    display: block;
    margin-top: 0.4rem;
    color: #1b2229;
    font-size: 0.98rem;
    line-height: 1.35;
}

.app-alert-open {
    margin-top: 0.85rem;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: #dfeafa;
}

.app-alert-open div {
    display: flex;
    gap: 0.35rem;
    align-items: baseline;
    color: #24303a;
    font-size: 0.85rem;
}

.app-alert-open strong {
    font-weight: 800;
}

.app-alert-open em {
    display: inline-flex;
    margin-top: 0.45rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #c7394d;
    color: #fff;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
}

.app-alert-copy {
    margin: 0.65rem 0;
    color: #50606d;
    font-size: 0.82rem;
    line-height: 1.45;
}

.app-alert-copy strong {
    color: #b63545;
}

.app-alert-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e9edf2;
}

.app-alert-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #e9edf2;
    color: #27313a;
    font-size: 0.8rem;
}

.app-alert-list strong {
    color: #c7394d;
    white-space: nowrap;
}

.app-preview-table {
    width: 100%;
    margin-top: 0.4rem;
    border-collapse: collapse;
    table-layout: fixed;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.app-preview-table th,
.app-preview-table td {
    padding: 0.62rem 0.55rem;
    border: 1px solid #e7ebf0;
    color: #1f2933;
    font-size: 0.78rem;
    text-align: left;
}

.app-preview-table th {
    color: #66717c;
    background: #f3f0ea;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.app-preview-table th:last-child,
.app-preview-table td:last-child {
    text-align: right;
}

.app-preview-note {
    margin: 0.65rem 0 0;
    text-align: center;
    font-weight: 700;
}

.mini-list {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
}

.mini-list li,
.scene-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(17, 37, 43, 0.08);
}

.advisor-lines {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.signal-band {
    padding: 1.2rem 0 0;
}

.signal-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.4rem;
    border: 1px solid rgba(17, 37, 43, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 18px 40px rgba(17, 37, 43, 0.04);
}

.signal-band__inner p {
    margin: 0;
    font-weight: 800;
}

.signal-band__inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--landing-muted);
    font-weight: 700;
}

.landing-section {
    padding: 6.4rem 0;
}

.landing-section--tight {
    padding-top: 5rem;
}

.landing-section--contrast {
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(204, 111, 53, 0.16), transparent 28%),
        linear-gradient(180deg, var(--landing-deep) 0%, var(--landing-deep-soft) 100%);
}

.landing-section--showcase {
    background:
        radial-gradient(circle at 10% 10%, rgba(204, 111, 53, 0.14), transparent 26%),
        rgba(255, 250, 244, 0.62);
}

.landing-section--faq {
    background:
        radial-gradient(circle at 88% 16%, rgba(47, 112, 83, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 250, 244, 0.42), rgba(239, 230, 216, 0.72));
}

.section-intro {
    max-width: 760px;
}

.section-intro h2,
.section-intro--light h2 {
    margin-top: 0.15rem;
    font-size: clamp(2.3rem, 3.6vw, 4rem);
}

.section-intro p {
    margin: 1rem 0 0;
}

.section-intro--light p,
.section-intro--light .section-kicker {
    color: rgba(255, 255, 255, 0.74);
}

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

.pain-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1.3rem;
    align-items: start;
    padding: 1.35rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(17, 37, 43, 0.08);
    box-shadow: 0 18px 42px rgba(17, 37, 43, 0.06);
}

.pain-step {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17, 37, 43, 0.08), rgba(204, 111, 53, 0.18));
    color: var(--landing-accent);
    font-family: "Fraunces", serif;
    font-size: 2rem;
    font-weight: 700;
}

.pain-copy h3 {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: 1.6rem;
    line-height: 1.08;
}

.pain-copy p {
    margin: 0.65rem 0 0;
    color: var(--landing-muted);
}

.pain-copy strong {
    display: block;
    margin-top: 0.85rem;
    font-size: 0.97rem;
}

.audience-grid,
.ai-grid {
    display: grid;
    gap: 1.2rem;
    margin-top: 2.2rem;
}

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

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

.audience-panel,
.ai-card,
.demo-card,
.workflow-step,
.scene {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.landing-section:not(.landing-section--contrast) .workflow-step,
.landing-section:not(.landing-section--contrast) .scene,
.landing-section:not(.landing-section--contrast) .demo-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(17, 37, 43, 0.08);
    box-shadow: 0 20px 40px rgba(17, 37, 43, 0.08);
}

.check-list,
.demo-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.demo-list li {
    position: relative;
    padding-left: 1.8rem;
    font-weight: 600;
}

.check-list li::before,
.demo-list li::before {
    content: "\F26E";
    position: absolute;
    left: 0;
    top: 0.12rem;
    color: var(--landing-accent);
    font-family: "bootstrap-icons";
    font-size: 1rem;
}

.text-link {
    display: inline-flex;
    margin-top: 1.3rem;
    font-weight: 800;
    color: #fff;
}

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

.workflow-step h3 {
    margin: 1rem 0 0;
    font-family: "Fraunces", serif;
    font-size: 1.58rem;
}

.workflow-step p {
    margin: 0.75rem 0 0;
    color: var(--landing-muted);
}

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

.scene {
    min-height: 420px;
}

.app-screen-scene {
    min-height: 0;
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2933;
    font-family: "Manrope", sans-serif;
}

.app-screen-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.95rem;
}

.app-screen-top h3 {
    margin: 0;
    color: #1b2229;
    font-family: "Manrope", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.app-screen-top p {
    margin: 0.25rem 0 0;
    color: #6d7680;
    font-size: 0.78rem;
}

.app-screen-top button {
    min-height: 34px;
    padding: 0.35rem 0.65rem;
    border: 1px solid #d7dee8;
    border-radius: 999px;
    background: #fff;
    color: #26323d;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

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

.advisor-report-kpis div,
.advisor-insights > div {
    padding: 0.72rem;
    border: 1px solid #e7ebf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.advisor-report-kpis span,
.advisor-report-kpis small {
    display: block;
    color: #6d7680;
    font-size: 0.73rem;
}

.advisor-report-kpis strong {
    display: block;
    margin-top: 0.15rem;
    color: #1b2229;
    font-size: 1.08rem;
    line-height: 1.1;
}

.advisor-insights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.advisor-insights h4 {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    font-weight: 800;
}

.advisor-insights ul {
    display: grid;
    gap: 0.3rem;
    margin: 0;
    padding-left: 1rem;
    color: #35404a;
    font-size: 0.78rem;
}

.advisor-insights .is-good {
    border-color: rgba(25, 135, 84, 0.28);
}

.advisor-insights .is-good h4 {
    color: #198754;
}

.advisor-insights .is-bad {
    border-color: rgba(220, 53, 69, 0.24);
}

.advisor-insights .is-bad h4 {
    color: #bd3d4b;
}

.advisor-insights .is-action {
    border-color: rgba(204, 111, 53, 0.25);
}

.advisor-insights .is-action h4 {
    color: var(--landing-accent);
}

.supplier-alert-demo {
    padding: 0.8rem;
    border: 1px solid #dbe5f1;
    border-radius: 18px;
    background: #f8fbff;
}

.supplier-alert-demo__head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.supplier-alert-demo__head span,
.supplier-alert-demo__head strong {
    color: #24303a;
    font-size: 0.85rem;
}

.supplier-alert-demo__head em {
    margin-left: auto;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #c7394d;
    color: #fff;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.supplier-alert-demo p {
    margin: 0.7rem 0;
    color: #50606d;
    font-size: 0.8rem;
    line-height: 1.45;
}

.supplier-alert-demo p strong {
    color: #b63545;
}

.supplier-alert-list {
    display: grid;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e9edf2;
}

.supplier-alert-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #e9edf2;
    color: #27313a;
    font-size: 0.8rem;
}

.supplier-alert-list strong {
    color: #c7394d;
    white-space: nowrap;
}

.product-margin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
}

.product-margin-table th,
.product-margin-table td {
    padding: 0.68rem 0.55rem;
    border: 1px solid #e7ebf0;
    color: #1f2933;
    font-size: 0.76rem;
    text-align: left;
}

.product-margin-table th {
    color: #66717c;
    background: #f3f0ea;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product-margin-table th:not(:first-child),
.product-margin-table td:not(:first-child) {
    text-align: right;
}

.scene-body {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.scene-metric-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.scene-metric-stack div {
    padding: 0.9rem;
    border-radius: 20px;
    background: rgba(17, 37, 43, 0.05);
}

.scene-metric-stack small,
.scene-caption,
.demo-card small {
    color: var(--landing-muted);
}

.scene-chart {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 0.6rem;
    min-height: 160px;
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17, 37, 43, 0.02), rgba(17, 37, 43, 0.08));
}

.bar {
    display: block;
    border-radius: 999px 999px 14px 14px;
    background: linear-gradient(180deg, rgba(204, 111, 53, 0.9), rgba(17, 37, 43, 0.9));
}

.bar--1 { height: 54%; }
.bar--2 { height: 76%; }
.bar--3 { height: 68%; }
.bar--4 { height: 92%; }
.bar--5 { height: 81%; }
.bar--6 { height: 64%; }

.scene-caption {
    font-size: 0.95rem;
    font-weight: 600;
}

.scene-table {
    display: grid;
    margin-top: 1rem;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(17, 37, 43, 0.04);
}

.scene-row {
    grid-template-columns: minmax(0, 1.15fr) auto auto;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    border-top: 1px solid rgba(17, 37, 43, 0.08);
}

.scene-row--head {
    color: rgba(17, 37, 43, 0.6);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-top: 0;
}

.scene-row strong,
.scene-row em {
    font-style: normal;
    font-weight: 800;
}

.is-alert {
    color: var(--landing-warning);
}

.is-ok {
    color: var(--landing-success);
}

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

.advisor-note span {
    display: block;
    color: rgba(17, 37, 43, 0.6);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-card strong {
    display: block;
    margin-top: 1rem;
    font-size: 0.98rem;
}

.demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 1.2rem;
    align-items: start;
}

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

.faq-card {
    padding: 1.35rem;
    border: 1px solid rgba(17, 37, 43, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 38px rgba(17, 37, 43, 0.07);
}

.faq-card h3 {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: 1.35rem;
    line-height: 1.12;
}

.faq-card p {
    margin: 0.75rem 0 0;
    color: var(--landing-muted);
}

.demo-card small {
    display: block;
    margin-top: 1rem;
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float-main {
    0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(-4deg); }
    50% { transform: translate3d(0, -10px, 0) rotateX(2deg) rotateY(-1deg); }
}

@keyframes float-side {
    0%, 100% { transform: translate3d(0, 0, 0) rotateY(-2deg); }
    50% { transform: translate3d(0, -8px, 0) rotateY(1deg); }
}

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

    .hero-grid,
    .demo-grid {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 700px;
    }
}

@media (max-width: 980px) {
    .landing-nav {
        padding-top: 0.7rem;
    }

    .nav-inner {
        border-radius: 28px;
    }

    .hero-grid,
    .workflow-grid,
    .audience-grid,
    .scene-grid,
    .ai-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 13ch;
    }

    .hero-stage {
        display: grid;
        gap: 1rem;
        min-height: 0;
        perspective: none;
    }

    .surface,
    .surface--primary,
    .surface--alert,
    .surface--advisor {
        position: relative;
        inset: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        animation: none;
        transform: none;
    }

    .surface--primary {
        padding: 1.25rem;
    }

    .signal-band__inner,
    .pain-item {
        grid-template-columns: 1fr;
        display: grid;
    }

    .signal-band__inner {
        border-radius: 28px;
    }

    .pain-step {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 760px) {
    :root {
        --landing-width: min(calc(100vw - 1.25rem), 100%);
    }

    .nav-inner {
        align-items: stretch;
        flex-direction: column;
        border-radius: 24px;
    }

    .nav-actions {
        width: 100%;
    }

    .nav-actions .button {
        flex: 1 1 auto;
    }

    .landing-hero {
        padding-top: 2rem;
    }

    .hero-stage {
        min-height: 0;
    }

    .metric-grid,
    .scene-metric-stack,
    .advisor-kpis,
    .copilot-summary {
        grid-template-columns: 1fr;
    }

    .landing-section {
        padding: 5.2rem 0;
    }

    .section-intro h2,
    .section-intro--light h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }
}

@media (max-width: 640px) {
    .brand-lockup img {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand-lockup em {
        font-size: 0.72rem;
    }

    .button {
        min-height: 48px;
        padding: 0.78rem 1rem;
        font-size: 0.92rem;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: clamp(2.35rem, 11.5vw, 3.4rem);
    }

    .hero-lead,
    .section-intro p,
    .audience-panel p,
    .ai-card p,
    .demo-copy p,
    .demo-card p {
        font-size: 1rem;
    }

    .hero-tags li {
        flex: 1 1 calc(50% - 0.4rem);
        padding-inline: 0.7rem;
    }

    .surface,
    .audience-panel,
    .ai-card,
    .demo-card,
    .workflow-step,
    .scene,
    .faq-card {
        border-radius: 24px;
    }

    .surface--primary,
    .surface--alert,
    .surface--advisor {
        padding: 1rem;
    }

    .app-preview-badge,
    .app-preview-ai,
    .app-preview-count {
        white-space: normal;
        text-align: center;
        line-height: 1.18;
    }

    .app-alert-open div,
    .app-alert-list li,
    .supplier-alert-list li {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-alert-list strong,
    .supplier-alert-list strong {
        white-space: normal;
    }

    .signal-band__inner {
        align-items: flex-start;
    }

    .signal-band__inner ul {
        display: grid;
        gap: 0.45rem;
    }

    .pain-item {
        padding: 1rem;
        border-radius: 24px;
    }

    .pain-copy h3 {
        font-size: 1.35rem;
    }

    .app-screen-top {
        align-items: stretch;
        flex-direction: column;
    }

    .app-screen-top button,
    .app-screen-top .app-preview-count {
        width: 100%;
    }

    .advisor-report-kpis {
        grid-template-columns: 1fr;
    }

    .app-screen-scene,
    .supplier-alert-demo {
        overflow-x: auto;
    }

    .app-screen-scene .app-preview-table,
    .supplier-alert-demo .app-preview-table,
    .product-margin-table {
        min-width: 390px;
    }

    .section-intro h2,
    .section-intro--light h2 {
        line-height: 1.04;
    }

    .workflow-step,
    .scene,
    .audience-panel,
    .ai-card,
    .demo-card {
        border-radius: 24px;
    }
}

@media (max-width: 420px) {
    :root {
        --landing-width: min(calc(100vw - 1rem), 100%);
    }

    .landing-nav {
        padding-top: 0.5rem;
    }

    .nav-inner {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .nav-actions {
        flex-direction: row;
        gap: 0.6rem;
    }

    .nav-actions .button {
        flex: 1 1 auto;
        width: auto;
    }

    .login-icon-link {
        flex: 0 0 42px;
    }

    .landing-hero {
        padding: 1.6rem 0 1rem;
    }

    .hero-grid {
        gap: 1.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.05rem, 11.8vw, 2.75rem);
    }

    .hero-tags li {
        flex-basis: 100%;
    }

    .landing-section {
        padding: 4rem 0;
    }

    .landing-section--tight {
        padding-top: 3.6rem;
    }

    .section-intro h2,
    .section-intro--light h2 {
        font-size: clamp(1.9rem, 10vw, 2.55rem);
    }

    .surface--primary,
    .surface--alert,
    .surface--advisor,
    .app-screen-scene,
    .audience-panel,
    .ai-card,
    .demo-card,
    .workflow-step,
    .faq-card {
        padding: 0.95rem;
    }

    .app-preview-heading-row {
        gap: 0.35rem;
    }

    .app-preview-table th,
    .app-preview-table td,
    .product-margin-table th,
    .product-margin-table td {
        padding: 0.55rem 0.5rem;
        font-size: 0.74rem;
    }
}
