@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/vazirmatn/Vazirmatn-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f7f7f7;
    --ink: #161616;
    --muted: #555;
    --red: #971a3a;
    --red-hover: #77132d;
    --red-pale: #fff0f2;
    --line: #e5e5e5;
    font-family: Vazirmatn, system-ui, Tahoma, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
[id] { scroll-margin-block-start: 1.5rem; }
:focus-visible { outline: 3px solid #c91f3270; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: absolute;
    z-index: 5;
    inset: 12px 12px auto auto;
    padding: .65rem 1rem;
    color: #fff;
    background: var(--red);
}

.site-header {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.12rem; font-weight: 900; line-height: 1.25; white-space: nowrap; }
.brand img { flex: 0 0 auto; display: block; }
.brand small { display: block; color: var(--muted); font-size: .68rem; font-weight: 650; margin-top: .2rem; }
.site-nav, .header-actions, .actions, .footer nav { display: flex; align-items: center; }
.site-nav { gap: clamp(1.1rem, 3.1vw, 2.7rem); color: var(--muted); font-size: .89rem; font-weight: 700; }
.site-nav a, .footer nav a { padding-block: .55rem; }
.site-nav a:hover, .footer nav a:hover { color: var(--red); }
.header-actions, .actions { gap: .65rem; }
.actions { flex-wrap: wrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 48px;
    padding: .6rem 1.18rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    font-size: .87rem;
    font-weight: 800;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.button-outline:hover { border-color: var(--red); background: var(--red-pale); }
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { background: var(--red-hover); }
.button-light { background: #fff; color: #a91427; }
.button-light:hover { background: #fff0f2; }
.button-inverse { border-color: #ffffff65; color: #fff; }
.button-inverse:hover { background: #ffffff1a; }
.arrow { font: 1.15rem/1 system-ui, sans-serif; }
.mobile-menu { display: none; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(2.2rem, 6vw, 5.5rem);
    align-items: center;
    padding-block: clamp(2.65rem, 6vw, 5.15rem);
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--red);
    font-size: .84rem;
    font-weight: 800;
}
.eyebrow::before { content: ''; width: 1.25rem; height: 3px; flex: 0 0 auto; border-radius: 2px; background: var(--red); }
.hero h1 { margin-top: .75rem; font-size: clamp(2.3rem, 4.65vw, 4.5rem); font-weight: 900; line-height: 1.35; letter-spacing: -.048em; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 35ch; margin-block: 1.2rem 1.75rem; color: var(--muted); font-size: clamp(.98rem, 1.35vw, 1.14rem); line-height: 2; }
.hero-visual {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: clamp(365px, 40vw, 475px);
    place-items: center;
    border-radius: 1.25rem;
    background:
        radial-gradient(ellipse at 42% 52%, #ffebed 0, transparent 70%),
        radial-gradient(#c91f322b .75px, transparent .75px) 0 0 / 19px 19px,
        #f6f6f7;
}
.dashboard-orbit { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; color: #c91f3238; }
.preview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 88%;
    border: 1px solid #e8e4e6;
    border-radius: .95rem;
    background: #fff;
    box-shadow: 0 28px 55px #22212c22, 0 3px 8px #16161612;
    font-variant-numeric: tabular-nums;
}
.preview-sidebar { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .6rem .45rem; border-inline-end: 1px solid #eee; color: #686971; }
.preview-sidebar img { margin-bottom: .3rem; }
.preview-sidebar span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: .45rem; }
.preview-sidebar .preview-sidebar-active { color: var(--red); background: var(--red-pale); }
.preview-sidebar svg, .preview-metrics svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.preview-main { min-width: 0; }
.preview-header { display: flex; justify-content: space-between; align-items: center; gap: .45rem; padding: .7rem .75rem; border-bottom: 1px solid #eee; font-size: .82rem; }
.preview-header small { padding: .2rem .42rem; border-radius: .3rem; background: var(--red-pale); color: var(--red-hover); font-size: .62rem; }
.preview-body { display: grid; gap: .5rem; padding: .65rem; background: #f8f8f9; border-end-start-radius: .95rem; }
.preview-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.preview-metrics > div, .preview-chart { min-width: 0; padding: .5rem .62rem; border: 1px solid #eee; border-radius: .52rem; background: #fff; }
.preview-metrics span, .preview-chart > span { display: block; color: var(--muted); font-size: .7rem; }
.preview-metrics svg { margin-bottom: .2rem; color: var(--red); }
.preview-metrics strong { margin-inline-end: .22rem; color: var(--ink); font-size: .94rem; }
.preview-metrics small { color: var(--muted); font-size: .62rem; }
.dashboard-chart { width: 100%; height: clamp(70px, 10vw, 128px); margin-top: .4rem; overflow: visible; }
.dashboard-grid { fill: none; stroke: #ececee; }
.dashboard-area { fill: url(#dashboard-area-fill); }
.dashboard-line { fill: none; stroke: var(--red); stroke-width: 2.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.section-spacing { padding-block: clamp(3rem, 6vw, 5.3rem); }
.capabilities { background: #f7f7f7; border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 1.65rem; }
.section-head > p { max-width: 37ch; }
h2 { font-size: clamp(1.65rem, 3.15vw, 2.6rem); font-weight: 880; line-height: 1.45; letter-spacing: -.032em; }
.eyebrow + h2 { margin-top: .5rem; }
.section-head > p, .feature p, .steps p, .access p, .faq p, .callout p { color: var(--muted); font-size: .94rem; line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.feature {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
    padding: clamp(1rem, 2.3vw, 1.65rem);
    border: 1px solid #e9e9eb;
    border-radius: .85rem;
    background: #fff;
}
.feature-sales, .feature-stock { grid-column: span 2; }
.feature-sales { background: #25262c; border-color: #25262c; color: #fff; }
.feature-stock { background: #fff0f2; border-color: #fff0f2; }
.feature-sales p { color: #ededf0; }
.feature-sales::after, .feature-stock::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 160px;
    height: 160px;
    inset: auto auto -52px -25px;
    border: 1px solid currentColor;
    border-radius: 20px;
    box-shadow: 0 0 0 18px currentColor, 0 0 0 40px transparent, 0 0 0 41px currentColor;
    transform: rotate(-29deg);
    opacity: .07;
}
.feature-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: .6rem; color: var(--red); background: #fff0f2; }
.feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feature-sales .feature-icon { background: #ffffff19; color: #fff; }
.feature-stock .feature-icon { background: #fff; }
.feature h3 { margin-top: .85rem; font-size: 1.04rem; font-weight: 850; }
.feature p { margin-top: .35rem; }

.workflow { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.steps { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .95rem; }
.steps li { display: flex; align-items: flex-start; gap: .8rem; }
.steps li > span { display: grid; place-items: center; min-width: 2.4rem; height: 2.4rem; border: 1px solid #e5e5e5; border-radius: .55rem; color: var(--red); font-weight: 800; }
.steps h3 { margin-top: .1rem; font-size: .96rem; font-weight: 850; }
.steps p { margin-top: .12rem; }
.insights { min-width: 0; padding: clamp(1rem, 3vw, 2rem); background: #24252b; color: #fff; border-radius: 1rem; }
.insights figcaption { display: flex; justify-content: space-between; align-items: start; gap: .75rem; }
.insights h3 { font-size: 1.24rem; font-weight: 850; }
.insights p { color: #d7d7de; font-size: .78rem; }
.insights figcaption > span { padding: .27rem .54rem; color: #f9d4db; background: #ffffff13; border-radius: .3rem; font-size: .73rem; white-space: nowrap; }
.report-photo, .inventory-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: .6rem;
}
.report-photo { margin-top: 1rem; }

.access { display: flex; align-items: center; gap: 1.15rem; padding: 1.25rem 1.45rem; background: #fff0f2; border: 1px solid #f2dce0; border-radius: .85rem; }
.access h2 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
.access .feature-icon { background: #fff; }
.faq { display: grid; grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); gap: 1.4rem 2rem; }
.faq-items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 57px;
    gap: .65rem;
    padding-block: .57rem;
    cursor: pointer;
    font-weight: 750;
}
.faq summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font: 1.2rem/1 system-ui, sans-serif; }
.faq details[open] summary::after { content: '−'; }
.faq p:not(.eyebrow) { padding-bottom: .85rem; }
.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.7rem;
    padding: clamp(1.4rem, 4.5vw, 3.2rem);
    border-radius: 1rem;
    background: linear-gradient(135deg, #292a30, #161616 75%);
    color: #fff;
}
.callout h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); }
.callout p { margin-top: .4rem; color: #e9e9ed; }
.callout .actions { flex-shrink: 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: 1.6rem; }
.footer nav { flex-wrap: wrap; gap: .35rem 1.15rem; color: var(--muted); font-size: .85rem; }

@media (max-width: 950px) {
    .wrap { width: calc(100% - 3rem); }
    .hero { gap: 2rem; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-sales, .feature-stock { grid-column: auto; }
}

@media (max-width: 720px) {
    .wrap { width: calc(100% - 2rem); }
    .site-header { position: relative; min-height: 72px; }
    .site-nav { display: none; }
    .mobile-menu { display: block; }
    .mobile-menu summary {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid #d8d8dc;
        border-radius: .55rem;
        color: var(--red);
        list-style: none;
        cursor: pointer;
    }
    .mobile-menu summary span { width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px currentColor, 0 -5px currentColor; }
    .mobile-menu nav {
        position: absolute;
        z-index: 3;
        inset: calc(100% + .35rem) 0 auto 0;
        display: grid;
        padding: .4rem;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: .7rem;
        box-shadow: 0 .85rem 1.6rem #36231e24;
    }
    .mobile-menu nav a { padding: .7rem; border-radius: .4rem; }
    .mobile-menu nav a:hover { background: var(--red-pale); }
    .header-actions .button { min-height: 44px; }
    .hero, .workflow, .faq { grid-template-columns: minmax(0, 1fr); }
    .hero { gap: 1.55rem; padding-block: 2.35rem 2.5rem; }
    .hero h1 { font-size: clamp(2.35rem, 8.6vw, 3.65rem); }
    .section-head, .callout { align-items: start; flex-direction: column; }
    .preview { bottom: 1rem; }
}

@media (max-width: 370px) {
    .wrap { width: calc(100% - 1.5rem); }
    .header-actions { gap: .35rem; }
    .header-actions .button { padding-inline: .68rem; }
    .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .preview { width: calc(100% - 1.5rem); inset-inline-start: .75rem; }
}

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

/* Product showcase */
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }

.panel-product .site-header {
    min-height: 66px;
    margin-block: .75rem 1rem;
    padding: .45rem .85rem;
    border: 1px solid #1717170d;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 26px #1717170b;
}
.panel-product .header-actions > .button { min-height: 43px; border-color: var(--red); border-radius: .75rem; background: var(--red); color: #fff; }
.panel-product .header-actions > .button:hover { border-color: var(--red-hover); background: var(--red-hover); }
.panel-product .site-nav a { position: relative; }
.panel-product .site-nav a::after {
    position: absolute;
    inset-inline: .15rem;
    bottom: .28rem;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .2s ease;
    content: '';
}
.panel-product .site-nav a:hover::after,
.panel-product .site-nav a:focus-visible::after { transform: scaleX(1); }

.hero-shell {
    width: min(1440px, calc(100% - 2rem));
    margin-inline: auto;
    border: 1px solid #1717170b;
    border-radius: clamp(1.05rem, 3vw, 1.75rem);
    background: #fff;
    box-shadow: 0 12px 40px #1717170a;
}
.hero-shell .hero { gap: clamp(2rem, 5vw, 4.6rem); min-height: 575px; }
.hero-explore { display: inline-flex; gap: .55rem; margin-top: 1.45rem; color: var(--muted); font-size: .79rem; font-weight: 720; }
.hero-explore span { color: var(--red); }
.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .62rem;
    padding: .62rem .7rem;
    border: 1px solid #e8e7eb;
    border-radius: .65rem;
    background: #fffffffa;
    color: #161616;
    box-shadow: 0 .75rem 1.6rem #24242e27;
    font-size: .78rem;
    white-space: nowrap;
}
.hero-float svg, .module-preview svg, .portal-preview li svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-float svg { color: #c91f32; }
.hero-float small { display: block; color: #555; font-size: .64rem; }
.hero-float-inventory { inset: 5% -2% auto auto; }
.hero-float-production { inset: auto auto 6% -2%; }

.panel-product .feature { transition: transform .24s ease, box-shadow .24s ease; }
.panel-product .feature:hover { transform: translateY(-4px); box-shadow: 0 14px 28px #1616161a; }

.module-section { background: #fff; }
.module-explorer {
    display: grid;
    grid-template-columns: minmax(0, .48fr) minmax(0, 1.52fr);
    gap: .65rem;
    padding: .65rem;
    border: 1px solid #e9e9eb;
    border-radius: 1.15rem;
    background: #f2f2f4;
}
.module-explorer:has(.module-tabs[hidden]) { display: block; }
[hidden] { display: none !important; }
.module-tabs { display: grid; align-content: start; gap: .3rem; padding: .25rem; }
.module-tabs button {
    min-height: 46px;
    padding: .55rem .85rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    text-align: start;
    color: #494a50;
    background: transparent;
    font: 760 .86rem/1.5 Vazirmatn, system-ui, sans-serif;
    cursor: pointer;
}
.module-tabs button:hover { border-color: #e2bac1; }
.module-tabs button[aria-selected="true"] { border-color: #c91f32; background: #c91f32; color: #fff; }
.module-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(1.05rem, 4vw, 3rem);
    min-height: 300px;
    padding: clamp(1.1rem, 3vw, 2.45rem);
    border: 1px solid #e9e9eb;
    border-radius: .8rem;
    background: radial-gradient(ellipse at left bottom, #fff0f2, transparent 65%), #fff;
}
.module-panel + .module-panel { margin-top: .6rem; }
.module-panel[role="tabpanel"] { margin-top: 0; }
.module-copy h3 { margin-top: .55rem; font-size: clamp(1.25rem, 2.45vw, 2rem); line-height: 1.5; letter-spacing: -.025em; }
.module-copy > p:last-child,
.story-copy > p:not(.eyebrow), .inventory-card p { margin-top: .65rem; color: var(--muted); line-height: 2; font-size: .94rem; }
.module-preview { min-width: 0; padding: .7rem; border: 1px solid #ebdce0; border-radius: .75rem; background: #fff; box-shadow: 0 12px 30px #16161612; }
.module-preview-head { display: flex; align-items: center; gap: .55rem; padding: .4rem .3rem .7rem; color: #a91427; }
.module-preview ul, .portal-preview ul, .story-list { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.module-preview li, .portal-preview li { display: flex; align-items: center; gap: .55rem; padding: .62rem .65rem; border: 1px solid #e9e9eb; border-radius: .45rem; background: #f8f8f9; color: #33343c; font-size: .85rem; }
.list-marker { width: .43rem; height: .43rem; flex: 0 0 auto; border-radius: 50%; background: #c91f32; }

.production, .portal-story, .analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.production { border-top: 1px solid var(--line); }
.story-copy .button { margin-top: 1.1rem; }
.story-list { margin-top: 1rem; }
.story-list li { display: flex; align-items: baseline; gap: .55rem; color: #3c3d44; font-size: .9rem; }
.story-list li::before { content: '✓'; color: var(--red); font-weight: 800; }
.production-visual {
    display: grid;
    min-height: 345px;
    place-items: center;
    padding: clamp(.85rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: radial-gradient(ellipse at 6% 85%, #ffe6eb, transparent 78%), #f5f5f7;
}
.production-board { width: 100%; overflow: hidden; border: 1px solid #e5e5e7; border-radius: .85rem; background: #fff; box-shadow: 0 16px 34px #18182116; }
.production-board-head { display: flex; align-items: center; gap: .65rem; padding: .8rem; border-bottom: 1px solid #eee; }
.production-board-head small { display: block; color: var(--muted); font-size: .73rem; }
.production-schedule { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .55rem; padding: .7rem; }
.production-schedule > div { height: 116px; display: grid; grid-template-rows: repeat(3, 1fr); align-items: center; color: var(--muted); font-size: clamp(.7rem, 1.5vw, .87rem); }
.production-schedule svg { width: 100%; height: 116px; }
.schedule-grid { fill: none; stroke: #eaeaed; }
.schedule-bar { fill: var(--red); }
.schedule-bar-light { fill: #f098a3; }
.schedule-bar-dark { fill: #36373f; }
.production-board-footer { display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; background: #f8f8f9; color: #34343b; font-size: .78rem; }
.production-board-footer svg { width: 19px; height: 19px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.smart-inventory { background: #191a1f; color: #fff; }
.smart-inventory .eyebrow, .analysis-story .eyebrow { color: #ffabb8; }
.smart-inventory .section-head > p, .inventory-card p, .analysis-story .story-copy > p:not(.eyebrow) { color: #dedee4; }
.inventory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.inventory-card { overflow: hidden; padding: clamp(1rem, 2.7vw, 1.8rem); border: 1px solid #ffffff25; border-radius: .9rem; background: radial-gradient(ellipse at 38% 0, #45444e, transparent 70%), #282930; }
.inventory-card h3 { margin-top: 1.1rem; font-size: 1.17rem; }
.portal-visual { display: grid; min-height: 340px; place-items: center; padding: 1.4rem; border-radius: 1rem; background: radial-gradient(circle at 50% 50%, #ffd7df 5%, transparent 61%), repeating-radial-gradient(circle at 52% 56%, #fff2f4 0 21px, #f7dce2 21px 22px); }
.portal-preview { width: min(100%, 300px); padding: .8rem; border: 1px solid #eddfe1; border-radius: .95rem; background: #fff; box-shadow: 0 18px 48px #5d243126; }
.portal-preview-head { display: flex; gap: .6rem; align-items: center; margin-bottom: .65rem; padding: .25rem; }
.portal-preview-head small { display: block; color: var(--muted); font-size: .72rem; }
.portal-preview li svg { color: #c91f32; width: 19px; height: 19px; }
.portal-preview li span { margin-inline-start: auto; color: var(--red); font-size: 1.17rem; }

.analysis-story { overflow: hidden; background: linear-gradient(112deg, #32333c, #1a1b20 65%); color: #fff; }
.analysis-preview { position: relative; display: grid; gap: .55rem; padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid #f4afbb80; border-radius: 1rem; background: #ffffff13; box-shadow: 0 22px 70px #14151a55; }
.analysis-preview strong { color: #ffc3ce; font-size: .83rem; }
.analysis-preview p { max-width: 34ch; font-size: clamp(1.02rem, 2vw, 1.35rem); font-weight: 760; line-height: 1.8; }
.analysis-spark { position: absolute; top: -.9rem; inset-inline-end: 1.2rem; color: #ffc3ce; }
.analysis-spark svg { width: 30px; height: 30px; fill: #fd9cad23; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px #fd9cad); }
.faq p a { color: var(--red); text-decoration: underline; text-underline-offset: .15em; }

@keyframes panel-rise {
    from { opacity: .46; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes panel-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
@keyframes dashboard-draw {
    from { clip-path: inset(-8px 100% -8px -8px); }
    to { clip-path: inset(-8px); }
}
@keyframes schedule-enter {
    from { opacity: .35; transform: scaleX(.05); }
    to { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-shell .hero-copy { animation: panel-rise .72s both; }
    .hero-shell .hero-visual { animation: panel-rise .85s .10s both; }
    .hero-float { animation: panel-float 2.7s .8s ease-in-out 2; }
    .hero-float-production { animation-delay: 1.15s; }
    [data-reveal].in-view { animation: panel-rise .65s cubic-bezier(.2, .75, .3, 1) both; }
    .module-panel[role="tabpanel"]:not([hidden]) .module-preview { animation: panel-rise .38s both; }
    .dashboard-line { animation: dashboard-draw 1.2s .35s ease-out both; }
    .in-view .schedule-bar { transform-box: fill-box; transform-origin: left center; animation: schedule-enter .7s ease-out both; }
    .in-view .schedule-bar-light { animation-delay: .13s; }
    .in-view .schedule-bar-dark { animation-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
    .panel-product .feature, .panel-product .site-nav a::after { transition: none; }
}

@media (max-width: 850px) {
    .module-explorer { grid-template-columns: minmax(0, 1fr); }
    .module-tabs { display: flex; flex-wrap: wrap; }
    .module-tabs button { text-align: center; }
}
@media (max-width: 720px) {
    .panel-product .site-header { min-height: 61px; padding-inline: .6rem; }
    .hero-shell .hero { min-height: auto; gap: 1.65rem; }
    .hero-shell .hero { width: calc(100% - 1.5rem); }
    .hero-shell { width: calc(100% - 1rem); }
    .hero-visual { min-height: clamp(390px, 66vw, 435px); }
    .preview { width: 90%; }
    .preview-sidebar { padding-inline: .28rem; }
    .preview-sidebar span { width: 23px; }
    .hero-float { padding: .4rem .55rem; }
    .hero-float-inventory { inset: 2% 3% auto auto; }
    .hero-float-production { inset: auto auto 2% 2%; }
    .production, .portal-story, .analysis-grid { grid-template-columns: minmax(0, 1fr); }
    .production-visual { order: 2; min-height: 295px; }
    .portal-visual { min-height: 275px; }
}
@media (max-width: 540px) {
    .module-panel { grid-template-columns: minmax(0, 1fr); min-height: 320px; }
    .module-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: .1rem; }
    .module-tabs button { padding: .38rem .22rem; font-size: .78rem; }
    .inventory-grid { grid-template-columns: minmax(0, 1fr); }
}

.site-nav a[aria-current="page"], .mobile-menu a[aria-current="page"] { color: var(--red); }
.panel-product .site-header .site-nav { margin-inline-start: auto; }
.panel-product .header-actions { display: none; }
.hero.panel-hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 3.5vw, 3rem); }
.panel-hero h1 {
    font-size: clamp(1.36rem, 2.45vw, 2.3rem);
    letter-spacing: -.025em;
    white-space: nowrap;
}
.panel-hero .hero-lead { max-width: 48ch; }
.panel-demo-cta { margin-block: 1.6rem 0; }
.panel-final-cta { display: flex; justify-content: center; padding-block: 1.7rem 3.5rem; }
.panel-final-cta .panel-demo-cta { margin: 0; }
.panel-screens {
    min-width: 0;
    overflow: hidden;
    padding: .6rem;
    border: 1px solid #e8dce1;
    border-radius: 1.25rem;
    background: #f9f4f6;
    box-shadow: 0 18px 48px #38121f18;
}
.panel-screens-track { display: flex; overflow: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.panel-screens-track figure { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.panel-screens-track img { display: block; width: 100%; height: auto; border-radius: .75rem; background: #fff; }
.panel-screens-track figcaption { padding: .45rem .6rem; font-size: .79rem; color: var(--muted); }
.panel-screens:has(.panel-screens-controls:not([hidden])) figcaption { height: 0; overflow: hidden; padding: 0; }
.panel-screens-controls { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .15rem 0; }
.panel-screens-controls[hidden] { display: none; }
.panel-screens-controls .button { min-height: 40px; padding: .2rem .75rem; cursor: pointer; }
.panel-screens-controls output { font-size: .86rem; font-weight: 750; }
.panel-feature-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 760px) {
    .panel-feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.panel-feature-cards .feature { min-width: 0; padding: clamp(1.15rem, 2.5vw, 2rem); }
.panel-feature-cards .feature:nth-child(3n+1) { background: #504950; color: white; }
.panel-feature-cards .feature:nth-child(3n+1) li::marker { color: #ffc7d5; }
.panel-feature-cards .feature:nth-child(3n+2) { background: #fff4f6; }
.panel-feature-cards .feature:nth-child(3n) { background: #fff; }
.panel-feature-cards h3 { font-size: clamp(1.12rem, 1.8vw, 1.42rem); }
.panel-feature-cards ul { margin-block: .9rem 0; padding-inline-start: 1.15rem; line-height: 1.95; }
.panel-feature-cards li + li { margin-block-start: .45rem; }
.panel-feature-cards li::marker { color: var(--red); }
.panel-page { min-height: 65vh; padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.panel-page h1 { font-size: clamp(1.65rem, 4.4vw, 3rem); line-height: 1.4; }
.panel-page-heading { margin-block-end: 1.8rem; }
.panel-page-heading p { margin-block: .45rem; }
.panel-article { max-width: 900px; margin-inline: auto; font-size: 1rem; line-height: 2; }
.panel-article :is(h2,h3) { margin-block: 1.6rem .5rem; line-height: 1.55; }
.panel-article :is(p,ul) { margin-block: .8rem; }
.panel-article blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--red); font-weight: 750; }
.panel-about-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-block: 1.5rem; }
.panel-about-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .85rem; }
.panel-article + .panel-demo-cta { display: flex; justify-content: center; }
.panel-lessons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel-lessons h2 { font-size: 1.2rem; }
.panel-lessons video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-block-end: .95rem; border-radius: .7rem; background: #211b1e; }
.panel-lessons .panel-lesson-pending { margin-block-start: .7rem; font-size: .82rem; color: var(--red); }
.panel-form {
    display: grid;
    gap: .9rem;
    width: min(100%, 590px);
    margin-inline: auto;
    padding: clamp(1rem, 4vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 40px #1f14170b;
}
.panel-form-wide { width: min(100%, 740px); }
.panel-form h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.panel-form p { line-height: 1.8; }
.panel-form p a { color: var(--red); font-weight: 750; overflow-wrap: anywhere; }
.panel-form form { display: grid; gap: .55rem; }
.panel-form form + form { border-block-start: 1px solid var(--line); padding-block-start: .9rem; }
.panel-form :is(input:not([type="checkbox"]), select, textarea) {
    width: 100%;
    min-height: 44px;
    padding: .45rem .7rem;
    border: 1px solid #cfc8cc;
    border-radius: .5rem;
    background: white;
    color: var(--ink);
    font: inherit;
}
.panel-form label { margin-block-start: .3rem; font-size: .9rem; font-weight: 700; }
.panel-form button { margin-block-start: .55rem; justify-self: start; cursor: pointer; font-family: inherit; }
.panel-form details { padding: .75rem; border: 1px solid var(--line); border-radius: .55rem; }
.panel-form summary { cursor: pointer; font-weight: 750; }
.panel-form details[open] summary { margin-block-end: .7rem; }
.panel-form .panel-check { display: flex; align-items: center; gap: .45rem; }
.panel-message { margin: 0; padding: .7rem 1rem; border-radius: .5rem; background: #f4f5f6; }
ul.panel-message { padding-inline-start: 2rem; }
.panel-message-error { background: var(--red-pale); color: var(--red-hover); }

@media (max-width: 850px) {
    .hero.panel-hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .panel-hero h1 { font-size: clamp(1.25rem, 4.75vw, 2rem); }
}
@media (max-width: 720px) {
    .panel-product .header-actions { display: flex; }
    .panel-lessons { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .panel-about-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .panel-about-photos img:first-child { grid-column: span 2; }
}

.hero.panel-hero .eyebrow { font-size: clamp(.64rem, .9vw, .82rem); }
.panel-hero h1 { font-size: clamp(1.65rem, 4vw, 3.15rem); white-space: normal; }
.panel-article :is(h2,h3) { font-size: clamp(1.08rem, 2.9vw, 1.6rem); font-weight: 850; }
.panel-article strong { font-weight: 850; }
.panel-article [data-fit-heading] { font-size: clamp(1.4rem, 4.5vw, 2.6rem); }
.about-camera, .about-laptop { position: relative; overflow: hidden; border-radius: .85rem; isolation: isolate; }
.about-camera::after {
    position: absolute; inset: 0; content: ""; backdrop-filter: blur(4px);
    mask-image: linear-gradient(black 0%, #0009 15%, transparent 34%); pointer-events: none;
}
.about-laptop .laptop-screen {
    position: absolute; inset: 11% 20% 25% 18%; width: 62%; height: 64%;
    aspect-ratio: auto; border-radius: .1rem; object-fit: fill;
    transform: perspective(390px) rotateY(9deg) rotateZ(-2deg) skewX(4deg);
}
@media (max-width: 520px) { .panel-about-photos .about-camera { grid-column: span 2; } }
.panel-menu-preview[hidden] { display: none; }
.panel-menu-preview { display: grid; place-items: center; padding-block: 1.15rem; }
.panel-preview-sidebar {
    width: min(100%, 25rem); padding: .6rem; border: 1px solid #e7e6e9;
    border-radius: 1rem; background: #f5f5f6; color: #2c2a2e;
}
.panel-preview-sidebar :is(summary,.panel-preview-item) {
    display: flex; align-items: center; gap: .55rem; min-height: 40px;
    padding: .45rem .7rem; border-radius: .5rem; font-size: .86rem; font-weight: 650;
}
.panel-preview-sidebar summary { cursor: pointer; list-style: none; }
.panel-preview-sidebar summary svg:last-child { margin-inline-start: auto; }
.panel-preview-sidebar svg { width: 17px; height: 17px; flex-shrink: 0; }
.panel-preview-sidebar ul { list-style: none; margin: 0 1.2rem 0 0; padding: 0 .55rem 0 0; border-inline-start: 1px solid #e1dfe3; }
.panel-preview-sidebar li { padding: .4rem .6rem; font-size: .84rem; border-radius: .55rem; }
.panel-preview-sidebar :is(summary,.panel-preview-item,li):hover { background: white; }
.portal-visual { min-height: unset; }
.portal-screen { width: 100%; height: auto; display: block; border-radius: .65rem; box-shadow: 0 1rem 2rem #2c0d1840; }
.inventory-tablet { position: relative; display: grid; place-items: center; }
.inventory-tablet .tablet-screen {
    position: absolute; width: 62%; height: auto; object-fit: contain; box-sizing: content-box;
    border: .48rem solid #232026; border-radius: .65rem; box-shadow: .2rem .65rem 1.1rem #15101370;
}
.ai-sample-questions { margin: .55rem 0 0; padding-inline-start: 1.15rem; line-height: 1.9; }
.ai-sample-questions li + li { margin-block-start: .45rem; }
.panel-social-icons { display: flex; align-items: center; gap: .45rem; }
.panel-social-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.panel-social-icon svg { width: 16px; height: 16px; }
.panel-partners { padding-block: 1rem; }
.panel-partners h2 { font-size: 1rem; margin-block-end: .5rem; }
.panel-partners figure { display: flex; gap: .6rem; justify-content: space-evenly; align-items: center; flex-wrap: wrap; }
.panel-partners figure img { width: min(25%, 180px); object-fit: contain; height: 54px; }
.panel-partners figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.panel-tariffs .tariff-title { font-size: clamp(1.5rem, 5vw, 3.45rem); }
.panel-tariffs .tariff-hero { margin-block-start: 1rem; }
.panel-tariffs .tariff-plan--advanced.tariff-plan--featured { background: #fff2f5; }
@media (max-width: 850px) { .panel-product .footer { flex-wrap: wrap; } }

.panel-inquiry-text { white-space: pre-wrap; overflow-wrap: anywhere; }
