/* ==========================================================================
   TICMEAL — B2B CORPORATE DESIGN SYSTEM (MOBILE-FIRST)
   Direction: Editorial Precision, Executive Clarity, Operational Solidity
   ========================================================================== */

:root {
    /* Brand & Ink Palette (Aligned with real TicMeal V2 UI) */
    --ink-950: #0A111D;
    --ink-900: #0E1726;
    --ink-800: #18253A;
    --ink-700: #2C3B52;
    --ink-600: #475569;
    --ink-500: #64748B;
    --ink-400: #94A3B8;

    /* Surfaces */
    --surface-white: #FFFFFF;
    --surface-paper: #F7F8FA;
    --surface-subtle: #EFF2F6;
    --surface-dark: #0E1726;
    --surface-dark-elevated: #152136;

    /* Primary Brand Accent (Forest Teal — harmonizes with TicMeal #62C6A1 mint) */
    --brand-700: #0A564D;
    --brand-600: #0D6E62;
    --brand-500: #0F8475;
    --brand-400: #34D399;
    --brand-100: #E6F6F2;
    --brand-200: #B6E6DA;

    /* Secondary Technical Accent (TicMeal Isometric Stack Cobalt) */
    --cobalt-600: #254E9B;
    --cobalt-100: #EAF0FA;

    /* Status Semantics */
    --warn-bg: #FEF3C7;
    --warn-text: #92400E;
    --ok-bg: #DCFCE7;
    --ok-text: #166534;

    /* Hairlines & Borders */
    --border-light: #E2E6EC;
    --border-strong: #CBD3DF;
    --border-inverse: rgba(255, 255, 255, 0.12);
    --border-inverse-strong: rgba(255, 255, 255, 0.22);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Radii */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    /* Architectural Elevation */
    --shadow-xs: 0 1px 2px rgba(14, 23, 38, 0.04);
    --shadow-sm: 0 2px 8px rgba(14, 23, 38, 0.06);
    --shadow-md: 0 10px 28px -6px rgba(14, 23, 38, 0.09), 0 2px 6px rgba(14, 23, 38, 0.04);
    --shadow-stage: 0 24px 52px -12px rgba(14, 23, 38, 0.22), 0 4px 12px rgba(14, 23, 38, 0.08);

    /* Layout & Motion */
    --container-max: 1200px;
    --header-height: 68px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-fast: 160ms;
    --duration-base: 240ms;
}

/* ==========================================================================
   BASE & ACCESSIBILITY RESET
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--ink-900);
    background-color: var(--surface-white);
    line-height: 1.6;
    letter-spacing: -0.008em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

.section--dark :focus-visible,
.site-footer :focus-visible,
.product-frame :focus-visible {
    outline-color: var(--brand-400);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -120px;
    z-index: 2000;
    padding: 10px 16px;
    background: var(--ink-900);
    color: var(--surface-white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: top var(--duration-fast) var(--ease);
}

.skip-link:focus {
    top: 16px;
}

/* ==========================================================================
   LAYOUT PRIMITIVES & TYPOGRAPHY
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: 20px;
}

.section {
    padding-block: 72px;
    border-bottom: 1px solid var(--border-light);
}

.section--surface {
    background-color: var(--surface-white);
}

.section--tinted {
    background-color: var(--surface-paper);
}

.section--dark {
    background-color: var(--surface-dark);
    color: var(--surface-white);
    border-bottom-color: var(--border-inverse);
}

.section-header {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-header--split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: end;
}

.eyebrow {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-700);
    margin-bottom: 14px;
    line-height: 1.45;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    margin-top: 0.65em;
    background: var(--brand-600);
    flex-shrink: 0;
}

.eyebrow--light {
    color: var(--brand-400);
}

.eyebrow--light::before {
    background: var(--brand-400);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--ink-900);
    margin-bottom: 12px;
}

.section-title--light {
    color: var(--surface-white);
}

.section-lead {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-600);
}

.section-lead--light {
    color: #CBD5E1;
}

.mono-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-700);
    margin-bottom: 10px;
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    transition: background-color var(--duration-fast) var(--ease),
                border-color var(--duration-fast) var(--ease),
                color var(--duration-fast) var(--ease),
                box-shadow var(--duration-fast) var(--ease),
                transform var(--duration-fast) var(--ease);
}

.btn .icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 13px 22px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
    white-space: normal;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-600);
    color: var(--surface-white);
    border: 1px solid var(--brand-600);
    box-shadow: 0 1px 2px rgba(14, 23, 38, 0.12);
}

.btn-primary:hover {
    background-color: var(--brand-700);
    border-color: var(--brand-700);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(13, 110, 98, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background-color: var(--surface-white);
    color: var(--ink-900);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background-color: var(--surface-paper);
    border-color: var(--ink-700);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--surface-white);
    border: 1px solid var(--border-inverse-strong);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--surface-white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-700);
    transition: color var(--duration-fast) var(--ease);
}

.text-link .icon {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast) var(--ease);
}

.text-link:hover {
    color: var(--ink-900);
}

.text-link:hover .icon {
    transform: translateX(3px);
}

/* ==========================================================================
   HEADER & MOBILE-FIRST NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    height: var(--header-height);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--duration-fast) var(--ease);
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(14, 23, 38, 0.06);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Lockup — fixes white-on-white logo defect permanently */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

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

.brand-wordmark {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ink-900);
    line-height: 1;
}

.brand-wordmark span {
    color: var(--brand-600);
}

.brand--inverse .brand-mark {
    background-color: var(--surface-white);
    padding: 3px;
    border-radius: 7px;
}

.brand--inverse .brand-wordmark {
    color: var(--surface-white);
}

.brand--inverse .brand-wordmark span {
    color: var(--brand-400);
}

/* Mobile Drawer by default (Mobile-First) */
.nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(310px, 84vw);
    height: 100vh;
    height: 100dvh;
    background-color: var(--surface-dark);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 84px 20px 28px;
    z-index: 1060;
    overflow-y: auto;
    box-shadow: -12px 0 36px rgba(10, 17, 29, 0.45);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--duration-base) var(--ease), visibility var(--duration-base) var(--ease);
}

.nav-list.is-open {
    transform: translateX(0);
    visibility: visible;
}

.nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    color: #E2E8F0;
    transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.nav-link:hover,
.nav-link.is-current {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--brand-400);
}

.nav-cta-item {
    margin-top: 12px;
}

.nav-cta-item .btn {
    width: 100%;
    padding-block: 12px;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--surface-white);
    position: relative;
    z-index: 1070;
}

.hamburger {
    position: relative;
    width: 20px;
    height: 2px;
    background-color: var(--ink-900);
    transition: background-color var(--duration-fast) var(--ease);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--ink-900);
    transition: transform var(--duration-fast) var(--ease), top var(--duration-fast) var(--ease);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle.is-open {
    background: var(--surface-dark-elevated);
    border-color: var(--border-inverse-strong);
}

.nav-toggle.is-open .hamburger { background-color: transparent; }
.nav-toggle.is-open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background-color: var(--surface-white);
}
.nav-toggle.is-open .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: var(--surface-white);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 29, 0.56);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease);
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    background-color: var(--surface-paper);
    background-image: linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
    padding-top: 44px;
    border-bottom: 1px solid var(--border-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
    padding-bottom: 48px;
}

.hero-copy,
.hero-stage,
.ai-spotlight-copy,
.ai-spotlight-media,
.module-card,
.role-copy,
.role-visual,
.calculator-controls,
.calculator-output,
.contact-brief,
.contact-form-panel {
    min-width: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.2vw, 3.15rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.036em;
    color: var(--ink-900);
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink-600);
    margin-bottom: 28px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
}

.fact-item dt {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink-900);
}

.fact-item dd {
    font-size: 0.81rem;
    color: var(--ink-500);
    margin-top: 2px;
}

/* Interactive Product Frame */
.product-frame {
    background-color: var(--surface-dark);
    border: 1px solid rgba(14, 23, 38, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-stage);
    overflow: hidden;
}

.product-frame-header {
    background-color: var(--ink-950);
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-inverse);
}

.frame-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.frame-tabs::-webkit-scrollbar {
    display: none;
}

.frame-tab {
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    font-weight: 600;
    color: #94A3B8;
    transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.frame-tab:hover {
    color: var(--surface-white);
    background-color: rgba(255, 255, 255, 0.06);
}

.frame-tab.is-active {
    background-color: var(--surface-dark-elevated);
    color: var(--brand-400);
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.28);
}

.product-frame-viewport {
    padding: 12px;
    background-color: var(--surface-dark);
}

.frame-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-inverse);
    background-color: #111B2E;
}

.frame-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 4px 2px;
}

.frame-caption strong {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--surface-white);
}

.frame-caption span {
    font-size: 0.78rem;
    color: #94A3B8;
}

/* Mobile Ticket Panel inside Hero */
.mobile-preview-stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    background: var(--surface-dark-elevated);
    border: 1px solid var(--border-inverse);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.mobile-device-shell {
    width: 184px;
    margin: 0 auto;
    padding: 6px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.mobile-screenshot {
    width: 100%;
    border-radius: 10px;
}

.mobile-preview-notes .mono-label {
    color: var(--brand-400);
}

.mobile-preview-notes h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--surface-white);
    margin-bottom: 8px;
}

.mobile-preview-notes p {
    font-size: 0.86rem;
    color: #CBD5E1;
    margin-bottom: 12px;
}

.mobile-preview-notes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-preview-notes li {
    font-size: 0.82rem;
    color: #94A3B8;
    padding-left: 16px;
    position: relative;
}

.mobile-preview-notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-400);
}

/* Sector Strip */
.sector-strip {
    background-color: var(--surface-white);
    border-top: 1px solid var(--border-light);
    padding-block: 18px;
}

.sector-strip-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sector-strip-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-500);
}

.sector-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.sector-list li {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-700);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sector-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: var(--brand-600);
}

/* ==========================================================================
   PROBLEM -> SOLUTION GRID
   ========================================================================== */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.problem-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}

.problem-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.card-index {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-500);
    margin-bottom: 12px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.3;
    margin-bottom: 10px;
}

.card-problem {
    font-size: 0.92rem;
    color: var(--ink-600);
    margin-bottom: 20px;
}

.card-resolution {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.resolution-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-700);
    margin-bottom: 6px;
}

.card-resolution p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-900);
    line-height: 1.55;
}

/* ==========================================================================
   PLATFORM ARCHITECTURE & AI SPOTLIGHT
   ========================================================================== */
.ai-spotlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    background-color: var(--surface-dark);
    color: var(--surface-white);
    border-radius: var(--radius-xl);
    padding: 28px 22px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.tech-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.mono-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    border: 1px solid var(--border-inverse);
}

.mono-pill--accent {
    background: rgba(52, 211, 153, 0.14);
    color: var(--brand-400);
    border-color: rgba(52, 211, 153, 0.3);
}

.spotlight-title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.028em;
    color: var(--surface-white);
    margin-bottom: 14px;
}

.spotlight-lead {
    font-size: 0.96rem;
    color: #CBD5E1;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.feature-list li {
    padding-left: 16px;
    border-left: 2px solid var(--brand-400);
}

.feature-list strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--surface-white);
    margin-bottom: 3px;
}

.feature-list span {
    display: block;
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.5;
}

.media-card {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.media-card--dark {
    background: var(--surface-dark-elevated);
    border-color: var(--border-inverse);
}

.media-card img {
    width: 100%;
    display: block;
}

.media-card figcaption {
    padding: 12px 14px;
    font-size: 0.8rem;
    color: var(--ink-500);
    border-top: 1px solid var(--border-light);
}

.media-card--dark figcaption {
    color: #94A3B8;
    border-top-color: var(--border-inverse);
}

/* 4-Module Grid */
.module-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.module-card {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}

.module-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.module-body {
    padding: 24px 24px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.module-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin-bottom: 10px;
}

.module-desc {
    font-size: 0.92rem;
    color: var(--ink-600);
    margin-bottom: 16px;
}

.module-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.module-tags li {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-700);
    background: var(--surface-paper);
    border: 1px solid var(--border-light);
    padding: 3px 9px;
    border-radius: var(--radius-xs);
}

.module-visual {
    padding: 0 20px 20px;
}

.module-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--surface-paper);
}

/* Crisp HTML/CSS Architectural UI Schematics (replaces broken 3D renders) */
.ui-schematic {
    background: var(--surface-paper);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.schematic-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-900);
}

.schematic-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-700);
}

.schematic-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.schematic-row {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr auto;
    gap: 8px;
    align-items: center;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
    padding: 8px 10px;
    font-size: 0.78rem;
    color: var(--ink-700);
}

.schematic-row--head {
    background: transparent;
    border: none;
    padding: 0 10px 2px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-500);
}

.schematic-row strong {
    color: var(--ink-900);
    font-weight: 600;
}

.schematic-row em {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-500);
    margin-left: 4px;
}

.status-pill {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
}

.status-pill--ok {
    background: var(--ok-bg);
    color: var(--ok-text);
}

.status-pill--warn {
    background: var(--warn-bg);
    color: var(--warn-text);
}

.status-pill--neutral {
    background: var(--cobalt-100);
    color: var(--cobalt-600);
}

.schematic-shifts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.shift-line {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 8px;
    align-items: center;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
    padding: 8px 10px;
    font-size: 0.8rem;
}

.shift-name {
    font-weight: 600;
    color: var(--ink-900);
}

.schematic-census {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--ink-600);
    padding-top: 8px;
    border-top: 1px dashed var(--border-strong);
}

.census-chip {
    background: var(--brand-100);
    color: var(--brand-700);
    border: 1px solid var(--brand-200);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
}

/* ==========================================================================
   STAKEHOLDER / ROLE TABS
   ========================================================================== */
.role-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.role-tab {
    text-align: left;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface-paper);
    border: 1px solid var(--border-light);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-700);
    transition: background-color var(--duration-fast) var(--ease),
                border-color var(--duration-fast) var(--ease),
                color var(--duration-fast) var(--ease);
}

.role-tab:hover {
    background: var(--surface-white);
    border-color: var(--border-strong);
    color: var(--ink-900);
}

.role-tab.is-active {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: var(--surface-white);
}

.role-panel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    background: var(--surface-paper);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
}

.role-copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.3vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.024em;
    color: var(--ink-900);
    margin-bottom: 12px;
}

.role-copy p {
    font-size: 0.95rem;
    color: var(--ink-600);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.91rem;
    color: var(--ink-600);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--brand-600);
    border-bottom: 2px solid var(--brand-600);
    transform: rotate(-45deg);
}

.check-list strong {
    color: var(--ink-900);
}

.role-visual--centered {
    display: flex;
    justify-content: center;
}

.phone-showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    width: 100%;
}

.phone-showcase-card img {
    width: 210px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.phone-showcase-caption {
    text-align: center;
}

.phone-showcase-caption strong {
    display: block;
    font-size: 0.9rem;
    color: var(--ink-900);
    margin-bottom: 4px;
}

.phone-showcase-caption span {
    font-size: 0.82rem;
    color: var(--ink-500);
}

/* Multi-Tenant Architecture Card (Catering tab) */
.tenant-architecture-card {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-xs);
}

.tenant-card-header {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.tenant-card-header strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--ink-900);
}

.tenant-nodes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.tenant-node {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--surface-paper);
    border: 1px solid var(--border-light);
}

.tenant-node strong {
    display: block;
    font-size: 0.88rem;
    color: var(--ink-900);
}

.tenant-node span {
    font-size: 0.78rem;
    color: var(--ink-500);
}

.tenant-footnote {
    font-size: 0.78rem;
    color: var(--ink-500);
}

.tenant-footnote code,
.security-card code {
    font-family: var(--font-mono);
    font-size: 0.78em;
    padding: 1px 5px;
    border-radius: var(--radius-xs);
    background: var(--surface-subtle);
    color: var(--ink-900);
}

.security-card code {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-400);
}

/* ==========================================================================
   FINANCIAL IMPACT SIMULATOR
   ========================================================================== */
.calculator-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.control-block {
    background: var(--surface-paper);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
}

.control-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.control-header label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-900);
}

.control-value {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-700);
    background: var(--brand-100);
    padding: 3px 9px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
}

.range-input {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--border-strong);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-600);
    border: 2px solid var(--surface-white);
    box-shadow: 0 1px 4px rgba(14, 23, 38, 0.28);
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-600);
    border: 2px solid var(--surface-white);
    box-shadow: 0 1px 4px rgba(14, 23, 38, 0.28);
}

.range-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-500);
}

.scenario-fieldset {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    background: var(--surface-paper);
}

.scenario-legend {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 10px;
    padding-inline: 2px;
}

.scenario-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.scenario-btn {
    text-align: left;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    transition: border-color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}

.scenario-btn strong {
    display: block;
    font-size: 0.85rem;
    color: var(--ink-900);
}

.scenario-btn span {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--ink-500);
}

.scenario-btn.is-active {
    background: var(--brand-100);
    border-color: var(--brand-600);
}

.scenario-btn.is-active strong,
.scenario-btn.is-active span {
    color: var(--brand-700);
}

/* Output Panel */
.calculator-output {
    background: var(--surface-dark);
    color: var(--surface-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.output-primary {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-inverse);
}

.output-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    margin-bottom: 8px;
}

.output-figure {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--brand-400);
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}

.output-formula {
    font-size: 0.82rem;
    color: #CBD5E1;
}

.output-breakdown {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.breakdown-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-inverse);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.breakdown-item dt {
    font-size: 0.75rem;
    color: #94A3B8;
    margin-bottom: 4px;
}

.breakdown-item dd {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--surface-white);
    font-variant-numeric: tabular-nums;
}

.output-disclaimer {
    font-size: 0.76rem;
    color: #94A3B8;
    line-height: 1.5;
}

/* ==========================================================================
   IMPLEMENTATION STEPS & SECURITY
   ========================================================================== */
.steps-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.step-card {
    background: var(--surface-paper);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
}

.step-number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-700);
    margin-bottom: 12px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--ink-600);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.security-card {
    background: var(--surface-dark-elevated);
    border: 1px solid var(--border-inverse);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: border-color var(--duration-base) var(--ease);
}

.security-card:hover {
    border-color: rgba(52, 211, 153, 0.35);
}

.security-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(52, 211, 153, 0.12);
    color: var(--brand-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.security-icon svg {
    width: 20px;
    height: 20px;
}

.security-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--surface-white);
    margin-bottom: 8px;
}

.security-card p {
    font-size: 0.91rem;
    color: #CBD5E1;
    line-height: 1.6;
}

/* ==========================================================================
   ENTERPRISE CAPABILITIES (AVAILABLE NOW)
   ========================================================================== */
.enterprise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.enterprise-card {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}

.enterprise-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.enterprise-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.enterprise-card-head .mono-label {
    margin-bottom: 0;
}

.enterprise-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    background: var(--ok-bg);
    color: var(--ok-text);
    white-space: nowrap;
}

.enterprise-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-500);
    flex-shrink: 0;
}

.enterprise-card h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.enterprise-card p {
    font-size: 0.91rem;
    color: var(--ink-600);
    line-height: 1.6;
}

.enterprise-card strong {
    color: var(--ink-900);
    font-weight: 600;
}

.enterprise-band {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-xs);
}

.enterprise-band-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.enterprise-band-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-700);
}

.enterprise-band-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.enterprise-band-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-800);
    background: var(--brand-100);
    border: 1px solid var(--brand-200);
    border-radius: var(--radius-xs);
    padding: 5px 10px;
}

.enterprise-band-list li::before {
    content: '✓';
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-700);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding-block: 18px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink-900);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--brand-600);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 12px;
    font-size: 0.93rem;
    color: var(--ink-600);
    line-height: 1.65;
    padding-right: 24px;
}

/* ==========================================================================
   CONTACT & DEMO FORM
   ========================================================================== */
.contact-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 26px 20px;
    box-shadow: var(--shadow-sm);
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--ink-900);
    margin-bottom: 12px;
}

.contact-lead {
    font-size: 0.98rem;
    color: var(--ink-600);
    margin-bottom: 24px;
}

.brief-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.brief-list li {
    padding-left: 16px;
    border-left: 2px solid var(--brand-600);
}

.brief-list strong {
    display: block;
    font-size: 0.94rem;
    color: var(--ink-900);
    margin-bottom: 2px;
}

.brief-list span {
    font-size: 0.87rem;
    color: var(--ink-600);
}

.direct-channel {
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.direct-channel-label {
    display: block;
    font-size: 0.82rem;
    color: var(--ink-500);
    margin-bottom: 4px;
}

.direct-email {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.direct-email:hover {
    color: var(--brand-700);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-900);
}

.field label span {
    color: var(--brand-600);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 13px;
    background: var(--surface-paper);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    color: var(--ink-900);
    transition: border-color var(--duration-fast) var(--ease),
                background-color var(--duration-fast) var(--ease),
                box-shadow var(--duration-fast) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: var(--surface-white);
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(13, 110, 98, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--ink-400);
}

.form-note {
    font-size: 0.78rem;
    color: var(--ink-500);
    text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--ink-950);
    color: #94A3B8;
    padding-block: 56px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-inverse);
}

.footer-summary {
    margin-top: 14px;
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h3 {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--surface-white);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a {
    font-size: 0.88rem;
    color: #94A3B8;
    transition: color var(--duration-fast) var(--ease);
}

.footer-col a:hover {
    color: var(--brand-400);
}

.footer-email a {
    font-family: var(--font-mono);
    color: var(--surface-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-region {
    font-size: 0.82rem;
    color: #64748B;
    margin: 8px 0 16px;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748B;
}

/* ==========================================================================
   SUBTLE REVEAL ANIMATIONS (PROGRESSIVE & MOTION-SAFE)
   ========================================================================== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 18px;
    height: 18px;
    animation: spin 0.9s linear infinite;
}

@media (prefers-reduced-motion: no-preference) {
    .js-enabled .reveal {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 420ms var(--ease), transform 420ms var(--ease);
    }

    .js-enabled .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE-FIRST MIN-WIDTH)
   ========================================================================== */

/* Small tablets & large phones (>= 640px) */
@media (min-width: 640px) {
    .container {
        padding-inline: 28px;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .mobile-preview-stage {
        grid-template-columns: 180px 1fr;
        gap: 22px;
    }

    .role-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenario-group {
        grid-template-columns: repeat(3, 1fr);
    }

    .output-breakdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Tablets & small laptops (>= 900px) */
@media (min-width: 900px) {
    .section {
        padding-block: 96px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-header--split {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 40px;
    }

    .problem-grid,
    .module-grid,
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .steps-grid,
    .enterprise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .role-tabs {
        grid-template-columns: repeat(4, 1fr);
    }

    .role-tab {
        text-align: center;
    }

    .role-panel-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 40px;
        padding: 40px;
    }

    .ai-spotlight {
        grid-template-columns: 1fr 1.05fr;
        gap: 44px;
        padding: 44px;
    }

    .calculator-shell {
        grid-template-columns: 1.08fr 0.92fr;
        gap: 36px;
        padding: 36px;
    }

    .faq-layout {
        grid-template-columns: 0.78fr 1.22fr;
        gap: 56px;
    }

    .contact-shell {
        grid-template-columns: 0.88fr 1.12fr;
        gap: 48px;
        padding: 44px;
    }

    .sector-strip-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Desktop navigation & full editorial hero (>= 1024px) */
@media (min-width: 1024px) {
    .nav-toggle,
    .nav-overlay {
        display: none;
    }

    .nav-list {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        padding: 0;
        box-shadow: none;
        overflow: visible;
        transform: none;
        visibility: visible;
    }

    .nav-link {
        min-height: auto;
        padding: 8px 12px;
        font-size: 0.9rem;
        color: var(--ink-600);
    }

    .nav-link:hover,
    .nav-link.is-current {
        background: var(--surface-paper);
        color: var(--ink-900);
    }

    .nav-cta-item {
        margin-top: 0;
        margin-left: 10px;
    }

    .nav-cta-item .btn {
        width: auto;
        padding: 9px 16px;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-grid {
        grid-template-columns: 0.96fr 1.12fr;
        gap: 44px;
        padding-bottom: 64px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
        gap: 40px;
    }
}
