/* =================================================================
   Infotap — Enhanced Global Stylesheet
   Replaces wwwroot/css/site.css. Uses the Infotap Design System
   tokens. Section order mirrors the new Index.cshtml.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
    --color-navy:        #063957;
    --color-navy-deep:   #04283e;
    --color-teal:        #1ebbb8;
    --color-teal-deep:   #19a9a6;
    --color-yellow:      #dfe21c;
    --color-yellow-deep: #c9cc16;
    --color-coral:       #f1674d;
    --color-pink:        #ef5e8e;
    --color-purple:      #9883bc;
    --color-blue-icon:   #4f73ea;

    --color-white:       #ffffff;
    --color-light:       #f7f9fb;
    --color-light-cool:  #eef3f7;
    --color-border:      #e8ecf0;
    --color-divider:     #d4dce5;

    --color-text:        #1f1f1f;
    --color-text-muted:  #555555;
    --color-text-faint:  #888888;

    --font-heading:      'Poppins', 'Helvetica Neue', Arial, sans-serif;
    --font-body:         'Roboto', 'Helvetica Neue', Arial, sans-serif;

    --radius-sm:         4px;
    --radius-md:         8px;
    --radius-lg:         15px;
    --radius-xl:         22px;

    --shadow-card-sm:    0 2px 8px rgba(6,57,87,0.07);
    --shadow-card:       0 2px 16px rgba(6,57,87,0.10);
    --shadow-card-lg:    0 18px 48px rgba(6,57,87,0.18);
    --shadow-header:     0 1px 6px rgba(0,0,0,0.06);

    --container-max:     1200px;
    --container-pad:     24px;
    --section-pad-y:     96px;

    --ease:              cubic-bezier(.4,.2,.2,1);
    --t-fast:            150ms;
    --t-base:            220ms;

    /* tweak-driven accent (default teal) */
    --it-accent:         var(--color-teal);
    --it-accent-deep:    var(--color-teal-deep);
    --it-accent-tint:    rgba(30,187,184,0.12);
}

/* accent variants (set on <body data-accent="…">) */
body[data-accent="coral"]  { --it-accent: var(--color-coral);    --it-accent-deep: #d8553e; --it-accent-tint: rgba(241,103,77,0.14); }
body[data-accent="pink"]   { --it-accent: var(--color-pink);     --it-accent-deep: #d44d7b; --it-accent-tint: rgba(239,94,142,0.14); }
body[data-accent="blue"]   { --it-accent: var(--color-blue-icon);--it-accent-deep: #3d5fd1; --it-accent-tint: rgba(79,115,234,0.14); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--it-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
h1 { font-size: 56px; font-weight: 700; line-height: 1.05; }
h2 { font-size: 44px; font-weight: 700; line-height: 1.1; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.25; }
h4 { font-size: 19px; font-weight: 700; line-height: 1.3; }
p  { margin: 0 0 16px; text-wrap: pretty; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--it-accent);
    margin-bottom: 12px;
}
.eyebrow--on-dark { color: var(--it-accent); }

/* ---------- Layout primitives ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.section-head {
    max-width: 760px;
    margin: 0 0 56px;
}
.section-head--centered {
    margin: 0 auto 56px;
    text-align: center;
}
.section-sub {
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast);
    white-space: nowrap;
    line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

.btn-teal          { background: var(--color-teal); color: #fff; border-color: var(--color-teal); }
.btn-teal:hover    { background: var(--color-teal-deep); border-color: var(--color-teal-deep); color: #fff; }

.btn-primary       { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.btn-primary:hover { background: var(--color-navy-deep); color: #fff; }

.btn-outline       { background: transparent; color: var(--it-accent); border-color: var(--it-accent); border-radius: var(--radius-lg); padding: 11px 24px; font-family: var(--font-body); font-weight: 600; font-size: 15px; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); display: inline-block; }
.btn-outline:hover { background: var(--it-accent); color: #fff; text-decoration: none; }

.btn-outline-white       { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-outline-white:hover { background: #fff; color: var(--color-navy); border-color: #fff; }

.btn-hero {
    background: var(--color-yellow);
    color: var(--color-navy);
    border-color: var(--color-yellow);
    font-weight: 700;
    padding: 14px 32px;
    font-size: 16px;
}
.btn-hero:hover { background: var(--color-yellow-deep); border-color: var(--color-yellow-deep); color: var(--color-navy); }

/* arrow link */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--it-accent);
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
}
.link-arrow svg { transition: transform var(--t-base); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- HEADER ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-header);
    transition: background 280ms var(--ease),
                box-shadow 280ms var(--ease),
                border-color 280ms var(--ease);
}

.site-header--over-hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: none;
    border-bottom-color: transparent;
    background: transparent;
}
.site-header--over-hero[data-scrolled="true"],
.site-header--over-hero[data-mega-open="true"] {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-header);
}
body:has(.site-header--over-hero) .hero { padding-top: 168px; }

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}
.nav-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.nav-logo img {
    height: 44px;
    width: auto;
    transition: opacity 200ms var(--ease);
}
.nav-logo .logo-white { position: absolute; inset: 0; opacity: 0; }
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-logo .logo-color { opacity: 0; }
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-logo .logo-white { opacity: 1; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--color-border);
    margin: 0 8px;
    transition: background 200ms var(--ease);
}

.nav-link {
    appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    color: #1f1f1f;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    position: relative;
    z-index: 1;
    transition: color 180ms var(--ease);
}
.nav-link:hover { text-decoration: none; color: var(--color-navy); }
.nav-link svg   { opacity: 0.55; transition: transform 200ms var(--ease); }
.has-mega.is-open .nav-link svg { transform: rotate(180deg); }
.nav-link--quiet { opacity: 0.85; }

.nav-cta {
    margin-left: 8px;
    background: var(--color-navy);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
    box-shadow: 0 4px 14px rgba(6,57,87,0.20);
    position: relative;
    z-index: 1;
}
.nav-cta:hover { background: var(--color-navy-deep); transform: translateY(-1px); color: #fff; text-decoration: none; }

.nav-pill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 38px;
    width: 0;
    transform: translate(0, -50%);
    background: rgba(6, 57, 87, 0.06);
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: transform 260ms var(--ease),
                width 260ms var(--ease),
                opacity 200ms var(--ease),
                background 200ms var(--ease);
    will-change: transform, width;
}
.nav-pill.is-visible { opacity: 1; }

.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-link        { color: rgba(255,255,255,0.92); }
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-link:hover  { color: #fff; }
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-pill        { background: rgba(255,255,255,0.14); }
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-divider     { background: rgba(255,255,255,0.18); }
/* Open hamburger panel always uses navy regardless of hero overlay */
.site-header--over-hero[data-scrolled="false"] .nav-links.is-open .nav-link       { color: var(--color-navy); }
.site-header--over-hero[data-scrolled="false"] .nav-links.is-open .nav-link:hover { color: var(--color-navy); }
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-cta {
    background: var(--color-yellow);
    color: var(--color-navy);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-cta:hover {
    background: var(--color-yellow-deep);
    color: var(--color-navy);
}
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-toggle span { background: #fff; }

/* ── Nav user menu ──────────────────────────────────────────── */
.nav-user { position: relative; }

.nav-user-trigger {
    display: flex; align-items: center; gap: 8px;
    background: none; border: none; cursor: pointer;
    padding: 5px 8px; border-radius: 8px;
    font-size: 0.875rem; font-weight: 500; color: var(--color-navy);
    transition: background 150ms var(--ease);
}
.nav-user-trigger:hover { background: rgba(6,57,87,0.06); }
.nav-user-trigger svg { opacity: 0.55; transition: transform 200ms var(--ease); }
.nav-user.is-open .nav-user-trigger svg { transform: rotate(180deg); }

.nav-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--color-teal); color: #fff;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

.nav-user-name { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-user-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 200px; background: #fff; border-radius: 12px;
    box-shadow: 0 8px 32px rgba(6,57,87,0.14); border: 1px solid rgba(6,57,87,0.08);
    padding: 6px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0ms 180ms;
    z-index: 200;
}
.nav-user.is-open .nav-user-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0ms;
}
.nav-user-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 8px;
    font-size: 0.875rem; font-weight: 500; color: var(--color-navy);
    text-decoration: none; transition: background 140ms;
}
.nav-user-dropdown a:hover { background: rgba(6,57,87,0.05); color: var(--color-navy); text-decoration: none; }
.nav-user-dropdown__logout { border-top: 1px solid rgba(6,57,87,0.08); margin-top: 4px; padding-top: 4px; }
.nav-user-dropdown__logout a { color: #e53935; }
.nav-user-dropdown__logout a:hover { background: rgba(229,57,53,0.06); }

/* over-hero white variant */
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-user-trigger { color: rgba(255,255,255,0.92); }
.site-header--over-hero[data-scrolled="false"]:not([data-mega-open="true"]) .nav-user-trigger:hover { background: rgba(255,255,255,0.1); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-navy); margin: 5px 0; transition: background 200ms var(--ease); }

/* ─── Mega-menu shelves ─────────────────────────────────────────────── */
.mega-shelf {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 24px 60px rgba(6,57,87,0.14);
    padding: 36px 0 40px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
    z-index: 5;
}
.mega-shelf.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-grid {
    display: grid;
    gap: 16px;
    align-items: stretch;
}
.mega-grid--industries { grid-template-columns: repeat(3, 1fr); }
.mega-grid--platform   { grid-template-columns: 1.2fr 1.2fr 1.5fr; gap: 28px; }
.mega-grid--resources  { grid-template-columns: 1fr 1.2fr 1.2fr;  gap: 28px; }

.mega-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-faint);
    margin-bottom: 14px;
}
.mega-eyebrow--accent { color: var(--it-accent); }

.mega-col { display: flex; flex-direction: column; gap: 4px; }

.mega-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}
.mega-card:hover {
    border-color: var(--it-accent);
    background: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}
.mega-card-icon {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--it-accent-tint);
    color: var(--it-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mega-card h5 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 4px;
}
.mega-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.45;
}

.mega-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 160ms var(--ease);
}
.mega-link:hover { background: var(--color-light); text-decoration: none; }
.mega-link svg   { color: var(--it-accent); margin-top: 2px; flex: 0 0 20px; }
.mega-link strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 2px;
}
.mega-link span {
    display: block;
    font-size: 12.5px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.mega-feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, var(--color-navy) 0%, #052f47 100%);
    color: #fff;
    text-decoration: none;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    transition: transform 220ms var(--ease);
}
.mega-feature::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,187,184,0.30) 0%, transparent 70%);
    pointer-events: none;
}
.mega-feature:hover { transform: translateY(-3px); text-decoration: none; }
.mega-feature h4 {
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    margin: 6px 0 8px;
}
.mega-feature p {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 16px;
}
.mega-feature .mega-eyebrow { color: rgba(255,255,255,0.7); }
.mega-feature .mega-eyebrow--accent { color: var(--color-yellow); }
.mega-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-yellow);
}
.mega-feature--alt {
    background: var(--color-light);
    color: var(--color-text);
}
.mega-feature--alt::before {
    background: radial-gradient(circle, var(--it-accent-tint) 0%, transparent 70%);
}
.mega-feature--alt h4 { color: var(--color-navy); }
.mega-feature--alt p  { color: var(--color-text-muted); }
.mega-feature--alt .mega-feature-cta { color: var(--it-accent); }
.mega-feature--alt .mega-eyebrow { color: var(--color-text-faint); }

.mega-backdrop {
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(8, 22, 35, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease);
    z-index: 4;
}
.site-header[data-mega-open="true"] .mega-backdrop {
    opacity: 1;
}
.mega-back { display: none; }


/* ===================================================================
   HERO
   =================================================================== */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(30,187,184,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 90%, rgba(223,226,28,0.10) 0%, transparent 60%),
        linear-gradient(180deg, #053048 0%, var(--color-navy) 60%, #052f47 100%);
    padding: 96px 0 120px;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-rings {
    position: absolute;
    top: 50%;
    right: -120px;
    width: 900px;
    height: 900px;
    transform: translateY(-50%);
    opacity: 0.55;
}
.hero-rings .ring {
    transform-origin: 300px 300px;
    animation: ringPulse 5s var(--ease) infinite;
}
.hero-rings .r1 { animation-delay: 0s; }
.hero-rings .r2 { animation-delay: .6s; }
.hero-rings .r3 { animation-delay: 1.2s; }
.hero-rings .r4 { animation-delay: 1.8s; }
@keyframes ringPulse {
    0%   { opacity: 0.0;  transform: scale(0.85); }
    35%  { opacity: 0.75; }
    100% { opacity: 0.0;  transform: scale(1.2); }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.92);
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    backdrop-filter: blur(2px);
}
.hero-eyebrow svg { color: var(--color-yellow); }

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 64px;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
}
.hero-title .t-yellow { color: var(--color-yellow); }
.hero-title .t-white  { color: #fff; }

.hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.86);
    max-width: 540px;
    margin: 0 0 36px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
    list-style: none;
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 560px;
}
.hero-trust li { display: flex; flex-direction: column; gap: 2px; }
.hero-trust strong {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: #fff;
}
.hero-trust strong .unit { color: var(--color-yellow); font-size: 22px; margin-left: 1px; }
.hero-trust span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}

.hero-stage {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-phone {
    position: relative;
    z-index: 2;
    animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-10px) rotate(-1deg); }
}

.phone-frame {
    width: 290px;
    height: 590px;
    background: #111;
    border-radius: 38px;
    padding: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 8px 20px rgba(0,0,0,0.25);
    border: 2px solid #2a2a2a;
    position: relative;
    z-index: 1;
}
.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 22px;
    background: #111;
    border-radius: 12px;
    z-index: 3;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.hero-phone .phone-screen {
    background: linear-gradient(180deg, #fff 0%, #f7fbfc 100%);
    padding: 56px 22px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 0;
}
.hero-phone .phone-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}
.sf-top { margin-bottom: 22px; }
.sf-bolt { height: 26px; width: auto; margin-bottom: 18px; }
.sf-progress {
    height: 6px;
    background: var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.sf-progress span {
    display: block;
    height: 100%;
    background: var(--it-accent);
    border-radius: 999px;
    transition: width .6s var(--ease);
}
.sf-step {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--it-accent);
}
.sf-q {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 19px;
    color: var(--color-navy);
    line-height: 1.25;
    margin-bottom: 18px;
}
.sf-options { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.sf-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    font-size: 14px;
    color: var(--color-text);
    background: #fff;
    transition: all var(--t-base);
    position: relative;
}
.sf-opt.is-selected {
    border-color: var(--it-accent);
    background: var(--it-accent-tint);
    color: var(--color-navy);
    font-weight: 600;
}
.sf-opt .sf-tick {
    margin-left: auto;
    color: var(--it-accent);
}
.sf-emoji {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    background: var(--color-light);
    color: var(--color-navy);
}
.sf-opt.is-selected .sf-emoji { background: #fff; color: var(--it-accent); }

.sf-cta { margin-top: 18px; }
.sf-cta button {
    width: 100%;
    background: var(--color-navy);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.hero-chip {
    position: absolute;
    background: #fff;
    color: var(--color-navy);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 12px 30px rgba(6,57,87,0.25), 0 2px 6px rgba(6,57,87,0.10);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    font-size: 12.5px;
    line-height: 1.3;
    min-width: 160px;
    animation: chipFloat 5s ease-in-out infinite;
}
.hero-chip--tl { top: 40px;   left: -10px;  animation-delay: .2s; }
.hero-chip--br { bottom: 40px; right: -20px; animation-delay: 1.2s; }
.hero-chip--bl { bottom: 110px; left: -30px; animation-delay: .7s; }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.chip-title { font-weight: 700; color: var(--color-navy); font-size: 13px; }
.chip-sub   { color: var(--color-text-muted); font-size: 11px; }
.chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #29c46f;
    box-shadow: 0 0 0 4px rgba(41,196,111,0.18);
    flex: 0 0 10px;
    animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(41,196,111,0.55); }
    50%      { box-shadow: 0 0 0 8px rgba(41,196,111,0); }
}
.chip-stat {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: var(--color-yellow);
    background: var(--color-navy);
    padding: 8px 10px;
    border-radius: 8px;
}
.hero-chip--bl svg { color: var(--it-accent); }


/* ===================================================================
   SOCIAL PROOF strip
   =================================================================== */
.proof {
    background: #fff;
    padding: 40px 0 24px;
    border-bottom: 1px solid var(--color-border);
}
.proof-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin: 0 0 22px;
}
.proof-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.proof-row li {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-navy);
    opacity: 0.65;
    letter-spacing: -0.005em;
    transition: opacity var(--t-base);
}
.proof-row li:hover { opacity: 1; }


/* ===================================================================
   GUESTS' EXPERIENCE
   =================================================================== */
.guests-exp {
    padding: var(--section-pad-y) 0;
    background: #fff;
}
.guests-exp-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}
.guests-exp-stage {
    position: relative;
    height: 540px;
}
.guests-exp-stage::before {
    content: "";
    position: absolute;
    inset: 8% 4%;
    background: radial-gradient(circle at center, var(--it-accent-tint) 0%, transparent 65%);
    z-index: 0;
}

.g-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
}
.g-phone .phone-frame {
    width: 200px;
    height: 410px;
    border-radius: 28px;
    padding: 6px;
}
.g-phone .phone-screen { border-radius: 22px; }
.g-phone .phone-notch  { width: 60px; height: 16px; top: 8px; border-radius: 8px; }

.g-phone--l { transform: translate(-50%, -50%) translate(-160px, 30px) rotate(-9deg); z-index: 1; }
.g-phone--c { transform: translate(-50%, -50%) translate(0, 0)         rotate(0deg);  z-index: 3; }
.g-phone--r { transform: translate(-50%, -50%) translate(160px, 30px)  rotate(9deg);  z-index: 1; }

.g-screen-welcome {
    background: #fff;
    padding: 38px 18px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.g-screen-welcome img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}
.gs-logo { height: 24px; width: auto; margin-bottom: 18px; }
.gs-eyebrow {
    font-size: 10px;
    font-weight: 700;
    color: var(--it-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.gs-h {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 10px;
}
.gs-meta { font-size: 11px; color: var(--color-text-muted); margin-bottom: 22px; }
.gs-start {
    background: var(--color-yellow);
    color: var(--color-navy);
    border: none;
    border-radius: 999px;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.gs-host { font-size: 10px; color: var(--color-text-faint); text-align: center; margin-top: auto; padding: 14px 0; }

.g-screen-survey {
    background: var(--color-navy);
    color: #fff;
    padding: 38px 16px 0;
    display: flex;
    flex-direction: column;
    position: relative;
}
.g-screen-survey img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}
.g-screen-survey .gs-step {
    font-size: 10px;
    font-weight: 700;
    color: var(--it-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.g-screen-survey .gs-q {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.gs-stars {
    display: flex;
    gap: 6px;
    font-size: 26px;
    color: rgba(255,255,255,0.25);
    margin-bottom: 14px;
}
.gs-stars .filled { color: var(--color-yellow); }
.gs-tag {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
}

.g-screen-done {
    background: #fff;
    padding: 38px 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.g-screen-done img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}
.gs-done-h {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-navy);
    margin-top: 16px;
    margin-bottom: 4px;
}
.gs-done-sub { font-size: 11px; color: var(--color-text-muted); padding: 0 8px; }

.g-anno {
    position: absolute;
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    box-shadow: var(--shadow-card);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
}
.g-anno--types { top: 18%; right: 4%; color: var(--it-accent); }
.g-anno--brand { bottom: 14%; left: 4%; }

.guests-exp-copy h2 { font-size: 44px; }
.guests-exp-copy .lead {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}
.guests-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.guests-bullets li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--color-text);
}
.guests-bullets strong { color: var(--color-navy); font-weight: 700; }
.b-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--it-accent-tint);
    color: var(--it-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}


/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.hiw-section {
    padding: var(--section-pad-y) 0;
    background: var(--color-light);
    overflow: hidden;
}
.hiw-section .section-head { margin: 0 auto 64px; text-align: center; }
.hiw-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}

.hiw-step {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    text-align: left;
    position: relative;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.hiw-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.hiw-step h4 { font-size: 20px; margin: 0 0 10px; }
.hiw-step p  { font-size: 14.5px; color: var(--color-text-muted); line-height: 1.55; margin: 0; }

.step-badge {
    width: 88px; height: 88px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
}
.hiw-step[data-color="pink"]   .step-badge { background: var(--color-pink); }
.hiw-step[data-color="blue"]   .step-badge { background: var(--color-blue-icon); }
.hiw-step[data-color="yellow"] .step-badge { background: var(--color-yellow); }

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 120px;
    line-height: 0.8;
    color: var(--color-navy);
    opacity: 0.06;
    letter-spacing: -0.03em;
}

body[data-hiw="badges"] .hiw-grid {
    margin-top: 96px;
    padding-top: 0;
}
body[data-hiw="badges"] .hiw-step {
    border: 2px solid var(--it-accent);
    border-radius: var(--radius-lg);
    padding: 0 24px 28px;
    text-align: center;
}
body[data-hiw="badges"] .hiw-step .step-number { display: none; }
body[data-hiw="badges"] .hiw-step .step-badge {
    width: 110px; height: 110px;
    margin: -55px auto 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
body[data-hiw="badges"] .hiw-grid::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16%;
    right: 16%;
    border-top: 2px dashed #cbd2d9;
    z-index: 0;
}
body[data-hiw="badges"] .hiw-step { position: relative; z-index: 1; }

body[data-hiw="numbered"] .hiw-step {
    padding: 36px 28px 28px;
    text-align: left;
    border: 1.5px solid var(--color-border);
    background: #fff;
    overflow: hidden;
}
body[data-hiw="numbered"] .hiw-step .step-number {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 140px;
    opacity: 0.07;
    pointer-events: none;
}
body[data-hiw="numbered"] .hiw-step .step-badge {
    width: 64px; height: 64px;
    margin-bottom: 20px;
    border-radius: 16px;
}
body[data-hiw="numbered"] .hiw-step .step-badge svg { width: 36px; height: 36px; }

body[data-hiw="timeline"] .hiw-grid {
    padding-top: 64px;
    gap: 8px;
}
body[data-hiw="timeline"] .hiw-grid::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-pink) 0%, var(--color-blue-icon) 50%, var(--color-yellow) 100%);
    border-radius: 999px;
    z-index: 0;
}
body[data-hiw="timeline"] .hiw-step {
    background: transparent;
    border: none;
    padding: 0 16px;
    text-align: center;
    position: relative;
}
body[data-hiw="timeline"] .hiw-step:hover { transform: none; box-shadow: none; }
body[data-hiw="timeline"] .hiw-step .step-number { display: none; }
body[data-hiw="timeline"] .hiw-step .step-badge {
    width: 60px; height: 60px;
    margin: -30px auto 24px;
    border: 4px solid var(--color-light);
    box-shadow: 0 6px 18px rgba(6,57,87,0.12);
}
body[data-hiw="timeline"] .hiw-step .step-badge svg { width: 32px; height: 32px; }
body[data-hiw="timeline"] .hiw-step h4 { text-align: center; }
body[data-hiw="timeline"] .hiw-step p  { text-align: center; }


/* ===================================================================
   CASE STUDY
   =================================================================== */
.case-study {
    background:
        linear-gradient(135deg, var(--color-navy) 0%, #052f47 50%, var(--color-navy-deep) 100%);
    padding: var(--section-pad-y) 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.case-study::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,187,184,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.case-study-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.case-study h2 {
    color: #fff;
    font-size: 44px;
    line-height: 1.1;
    margin: 0 0 18px;
}
.case-blurb {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 0 32px;
}
.case-quote {
    background: rgba(255,255,255,0.04);
    border-left: 3px solid var(--color-yellow);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 22px 26px;
    margin: 0 0 28px;
}
.case-quote p {
    font-size: 16px;
    font-style: italic;
    color: rgba(255,255,255,0.95);
    line-height: 1.55;
    margin: 0 0 16px;
}
.case-quote footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-style: normal;
}
.quote-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--color-yellow);
    color: var(--color-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}
.case-quote footer strong { display: block; color: #fff; font-size: 14px; }
.case-quote footer span   { display: block; color: rgba(255,255,255,0.65); font-size: 12.5px; }

.case-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.case-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    transition: transform var(--t-base), background var(--t-base);
}
.case-stat:hover { transform: translateY(-3px); background: rgba(255,255,255,0.08); }
.case-stat-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: var(--color-yellow);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.case-stat-num .unit { font-size: 32px; margin-left: 1px; }
.case-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
}


/* ===================================================================
   INDUSTRIES
   =================================================================== */
.industries {
    padding: var(--section-pad-y) 0;
    background: #fff;
}
.industries-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.industries-grid li {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.industries-grid li:hover {
    transform: translateY(-3px);
    border-color: var(--it-accent);
    box-shadow: var(--shadow-card-sm);
}
.industries-grid svg { color: var(--it-accent); margin-bottom: 12px; }
.industries-grid h4 { font-size: 17px; margin: 0 0 6px; }
.industries-grid p { font-size: 14px; color: var(--color-text-muted); margin: 0; }


/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-deep) 100%);
    padding: 96px 0;
    text-align: center;
    overflow: hidden;
    color: #fff;
}
.cta-bolt-bg {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
}
.cta-bolt-bg svg { width: 100%; height: 100%; }
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 {
    color: #fff;
    font-size: 40px;
    max-width: 780px;
    margin: 0 auto 16px;
    line-height: 1.2;
}
.cta-banner p {
    color: rgba(255,255,255,0.92);
    font-size: 17px;
    margin: 0 auto 32px;
    max-width: 560px;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .eyebrow--on-dark { color: rgba(255,255,255,0.95); }


/* ===================================================================
   WHAT IS INFOTAP
   =================================================================== */
.what-is {
    padding: calc(var(--section-pad-y) * 0.95) 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}
.what-is-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.what-is-head { max-width: 880px; margin: 0 auto 56px; text-align: center; }
.what-is-head h2 { font-size: 40px; margin: 0 0 20px; }
.what-is-lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
    text-wrap: pretty;
}
.what-is-lead strong { color: var(--color-navy); font-weight: 700; }

.what-is-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
}
.what-is-cell {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 28px 30px;
    position: relative;
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base);
}
.what-is-cell:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    background: #fff;
}
.what-is-cell dt { margin: 0 0 14px; }
.what-is-cell .cell-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--it-accent);
    background: var(--it-accent-tint);
    padding: 4px 10px;
    border-radius: 999px;
}
.what-is-cell dd { margin: 0; }
.what-is-cell h3 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 10px;
}
.what-is-cell p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
}


/* ===================================================================
   VS. EMAIL SURVEYS
   =================================================================== */
.vs-email {
    padding: var(--section-pad-y) 0;
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}
.vs-email .section-head { margin-bottom: 56px; max-width: 820px; }
.vs-email .section-head h2 { font-size: 42px; }

.vs-grid {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 0;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.vs-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
}
.vs-card--loser {
    background: #fafbfc;
    color: var(--color-text-muted);
}
.vs-card--loser h3 { color: #6b7785; }
.vs-card--winner {
    background: #fff;
    border-color: var(--it-accent);
    box-shadow: 0 18px 48px rgba(30,187,184,0.16);
    position: relative;
}
.vs-card--winner::before {
    content: "Winner";
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--it-accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.vs-card-head { margin-bottom: 24px; }
.vs-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: 12px;
}
.vs-card--winner .vs-card-label { color: var(--it-accent); }
.vs-card-label img { width: 14px; height: 14px; display: inline-block; }
.vs-card h3 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
}

.vs-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 0 22px;
    border-top: 1px solid var(--color-border);
}
.vs-stats > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}
.vs-stats dt {
    color: var(--color-text-muted);
    font-weight: 500;
    margin: 0;
}
.vs-stats dd {
    margin: 0;
    font-weight: 600;
    color: var(--color-navy);
    font-family: var(--font-heading);
}
.vs-card--loser .vs-stats dd { color: #6b7785; font-weight: 500; }
.vs-stats .num {
    font-size: 24px;
    font-weight: 700;
    color: var(--it-accent);
    line-height: 1;
}
.vs-stats .num .unit { font-size: 16px; font-weight: 600; margin-left: 1px; }

.vs-notes {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vs-notes li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.vs-notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.vs-card--loser .vs-notes li::before {
    background: transparent;
    border: 2px solid #cbd2d9;
}
.vs-card--winner .vs-notes li::before {
    background: var(--it-accent);
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--it-accent);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vs-divider::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
}
.vs-divider span {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vs-source {
    max-width: 1080px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-faint);
}
.vs-source a { color: var(--color-text-muted); text-decoration: underline; text-decoration-color: var(--color-divider); text-underline-offset: 3px; }
.vs-source a:hover { color: var(--it-accent); text-decoration-color: var(--it-accent); }


/* ===================================================================
   FAQ
   =================================================================== */
.faq {
    padding: var(--section-pad-y) 0;
    background: #fff;
}
.faq-inner { max-width: 880px; margin: 0 auto; padding: 0 var(--container-pad); }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head h2 { font-size: 38px; margin: 0 0 14px; }
.faq-head .section-sub { font-size: 16px; color: var(--color-text-muted); margin: 0; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item:hover { border-color: var(--it-accent); }
.faq-item[open] {
    border-color: var(--it-accent);
    box-shadow: var(--shadow-card-sm);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-q {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--color-navy);
    line-height: 1.35;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-light);
    position: relative;
    transition: background var(--t-base), transform var(--t-base) var(--ease);
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform var(--t-base) var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon {
    background: var(--it-accent);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: #fff;
}
.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
    padding: 0 24px 24px;
    color: var(--color-text-muted);
}
.faq-a p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}
.faq-a strong { color: var(--color-navy); font-weight: 600; }

.faq-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
}
.faq-cta p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin: 0 0 14px;
}


/* ===================================================================
   DEMO MODAL
   =================================================================== */
body.demo-modal-locked { overflow: hidden; }

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    visibility: hidden;
    pointer-events: none;
}
.demo-modal.is-open { visibility: visible; pointer-events: auto; }
.demo-modal[aria-hidden="true"] { visibility: hidden; }
.demo-modal.is-open[aria-hidden="true"] { visibility: visible; }

.demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 57, 87, 0.55);
    opacity: 0;
    transition: opacity 280ms var(--ease);
}
.demo-modal.is-open .demo-modal-backdrop { opacity: 1; }

.demo-modal-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 560px;
    max-width: 100%;
    background: #fff;
    box-shadow: -28px 0 80px rgba(6,57,87,0.22);
    transform: translateX(100%);
    transition: transform 360ms var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}
.demo-modal.is-open .demo-modal-panel { transform: translateX(0); }

.demo-modal-close {
    position: sticky;
    top: 0;
    align-self: flex-end;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    flex-shrink: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 16px 0;
    z-index: 5;
    transition: color var(--t-fast), border-color var(--t-fast);
}
.demo-modal-close:hover { color: var(--color-navy); border-color: var(--color-navy); }
.demo-modal-close svg { display: block; }

.demo-modal-progress {
    padding: 0 32px 24px;
    margin-top: -36px;
}
.demo-modal-progress-track {
    height: 4px;
    background: var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}
.demo-modal-progress-bar {
    height: 100%;
    width: 33.33%;
    background: var(--it-accent);
    border-radius: 999px;
    transition: width 320ms var(--ease);
}
.demo-modal-progress-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-faint);
}

.demo-step {
    padding: 4px 32px 36px;
    flex: 1;
}
.demo-step-head { margin-bottom: 24px; }
.demo-step-head .eyebrow { margin-bottom: 8px; }
.demo-step-head h2 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 10px;
}
.demo-step-head p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.55;
}

.demo-rep {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.demo-rep-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-navy) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}
.demo-rep-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.demo-rep-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.demo-rep-body strong {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--color-navy);
    font-weight: 600;
}
.demo-rep-body .demo-rep-role {
    font-size: 13px;
    color: var(--color-text-muted);
}
.demo-rep-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #1f8a5b;
    font-weight: 500;
    margin-top: 2px;
}
.demo-rep-status .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1f8a5b;
    box-shadow: 0 0 0 3px rgba(31,138,91,0.18);
    animation: demo-pulse 2s ease-in-out infinite;
}
@keyframes demo-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(31,138,91,0.18); }
    50% { box-shadow: 0 0 0 6px rgba(31,138,91,0.05); }
}

.demo-form { display: flex; flex-direction: column; gap: 16px; }
.demo-form label.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.demo-form label.field > span {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
}
.demo-form input[type="text"],
.demo-form input[type="email"],
.demo-form select {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.demo-form input:focus,
.demo-form select:focus {
    outline: none;
    border-color: var(--it-accent);
    box-shadow: 0 0 0 3px var(--it-accent-tint);
}
.demo-form input::placeholder { color: var(--color-text-faint); }

.demo-form .required-mark {
    color: var(--color-coral);
    font-style: normal;
    font-weight: 600;
    margin-left: 2px;
}
.demo-form label.field .field-error {
    display: none;
    font-size: 12px;
    color: var(--color-coral);
    margin: 6px 0 0;
    line-height: 1.4;
}
.demo-form label.field.has-error > span { color: var(--color-coral); }
.demo-form label.field.has-error input {
    border-color: var(--color-coral);
    background: #fff8f6;
}
.demo-form label.field.has-error input:focus {
    box-shadow: 0 0 0 3px rgba(241, 103, 77, 0.18);
    border-color: var(--color-coral);
}
.demo-form label.field.has-error .field-error { display: block; }

.demo-form .btn { align-self: stretch; text-align: center; }
.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
}
.btn-block svg { vertical-align: baseline !important; margin: 0 !important; flex-shrink: 0; }

.demo-form-fine {
    font-size: 12px;
    color: var(--color-text-faint);
    margin: 4px 0 0;
    line-height: 1.5;
}

.demo-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.demo-form fieldset legend {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
    margin: 0 0 4px;
    padding: 0;
}
.demo-form fieldset .field-hint {
    font-size: 12px;
    color: var(--color-text-faint);
    margin: -2px 0 0;
}
.demo-form fieldset.has-error legend { color: var(--color-coral); }
.demo-form fieldset.has-error .pill-options label { border-color: rgba(241,103,77,0.4); }

.pill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pill-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pill-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid var(--color-divider);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    background: #fff;
    transition: all var(--t-fast);
    user-select: none;
}
.pill-options label:hover {
    border-color: var(--it-accent);
    color: var(--color-navy);
}
.pill-options input[type="radio"]:checked + label {
    background: var(--it-accent-tint);
    border-color: var(--it-accent);
    color: var(--it-accent);
    font-weight: 600;
}
.pill-options input[type="radio"]:focus-visible + label {
    box-shadow: 0 0 0 3px var(--it-accent-tint);
}

/* Booking calendar — step 3 */
.booking-calendar { display: flex; flex-direction: column; gap: 20px; }

.booking-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 8px;
}

/* Date select */
.booking-date-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 14px;
    color: var(--color-text);
    cursor: pointer;
    appearance: auto;
    transition: border-color .15s;
}
.booking-date-select:focus { outline: none; border-color: var(--it-accent); }

/* Time slots */
.booking-slots-wrap { display: flex; flex-direction: column; }

.booking-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.booking-slot-chip {
    padding: 10px 8px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, background .15s, color .15s;
}
.booking-slot-chip:hover { border-color: var(--it-accent); }
.booking-slot-chip.is-selected {
    border-color: var(--it-accent);
    background: var(--it-accent);
    color: #fff;
}

.booking-loading, .booking-msg {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
    padding: 12px 0;
}
.booking-error { color: #c0392b; }

.booking-confirm { margin-top: 4px; }

.demo-bookings-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-text-faint);
    margin: 0;
}
.demo-bookings-powered svg { opacity: 0.6; }

/* Success state */
.booking-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 32px 16px;
}
.booking-success h2 { margin: 0; font-size: 24px; }
.booking-success p  { margin: 0; color: var(--color-text-muted); line-height: 1.6; }

.demo-success-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
    padding: 14px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    text-align: center;
}
.demo-success-stats > div { display: flex; flex-direction: column; gap: 2px; }
.demo-success-stats strong {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--it-accent);
}
.demo-success-stats span {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.3;
}

@media (max-width: 720px) {
    .demo-modal-panel {
        width: 100%;
        max-width: 100%;
        box-shadow: none;
    }
    .demo-step { padding: 4px 20px 28px; }
    .demo-modal-progress { padding: 0 20px 20px; }
    .demo-modal-close { margin: 12px 12px 0; }
    .demo-step-head h2 { font-size: 24px; }
    .demo-rep { padding: 12px 14px; }
    .demo-rep-avatar { width: 42px; height: 42px; font-size: 16px; }
    .pill-options label { padding: 9px 12px; font-size: 12.5px; }
    .booking-slots { grid-template-columns: repeat(2, 1fr); }
}


/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
    background: var(--color-navy);
    color: rgba(255,255,255,0.85);
    padding: 72px 0 0;
}
.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 220px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 38px; width: auto; }
.footer-contact p { margin: 4px 0; font-size: 14px; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: #fff; }
.footer-links-group { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links-col { min-width: 140px; }
.footer-links-col h5 {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    font-family: var(--font-body);
}
.footer-links-col ul { list-style: none; margin: 0; padding: 0; }
.footer-links-col li { margin-bottom: 10px; }
.footer-links-col a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-links-col a:hover { color: #fff; }

.footer-bottom {
    max-width: var(--container-max);
    margin: 56px auto 0;
    padding: 20px var(--container-pad);
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: #fff; }


/* ===================================================================
   PAGE HERO (interior pages)
   =================================================================== */
.page-hero { background: var(--color-navy); padding: 72px 0; }
.page-hero h1 { color: #fff; font-size: 38px; margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 17px; margin: 0; }

/* ===================================================================
   LEGAL
   =================================================================== */
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { color: var(--color-navy); font-size: 22px; margin: 40px 0 12px; border-bottom: 2px solid var(--color-teal); padding-bottom: 8px; }
.legal-body h3 { color: var(--color-navy); font-size: 17px; margin: 24px 0 8px; }
.legal-body p  { color: #333; line-height: 1.75; margin-bottom: 16px; }
.legal-body a  { color: var(--color-teal); }
.legal-notice  { background: #f5f5f5; border-left: 4px solid var(--color-navy); padding: 16px 20px; font-weight: 500; border-radius: 0 4px 4px 0; margin-bottom: 16px; }

/* ===================================================================
   ADMIN
   =================================================================== */
.admin-body { background: #f4f6f9; }
.admin-header { background: #fff; border-bottom: 1px solid var(--color-border); }
.admin-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; height: 60px; }
.admin-logo-link img { height: 28px; width: auto; }
.admin-nav { display: flex; gap: 20px; flex: 1; }
.admin-nav a { color: #555; font-size: 14px; font-weight: 500; text-decoration: none; }
.admin-nav a:hover { color: var(--color-navy); }
.admin-main { max-width: 1200px; margin: 40px auto; padding: 0 24px; }

/* ===================================================================
   BLOG
   =================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.blog-card-image-link { display: block; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h2 { font-size: 17px; line-height: 1.4; color: var(--color-navy); margin-bottom: 16px; flex: 1; }
.blog-card-body h2 a { color: inherit; text-decoration: none; }
.blog-card-body h2 a:hover { color: var(--color-teal); }
.blog-card-body .btn { align-self: flex-start; margin-top: auto; }


/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1080px) {
    .hero-grid          { grid-template-columns: 1fr; gap: 64px; }
    .hero-stage         { min-height: auto; }
    .case-study-grid    { grid-template-columns: 1fr; gap: 56px; }
    .guests-exp-inner   { grid-template-columns: 1fr; gap: 56px; }
    .guests-exp-stage   { height: 460px; }
    .industries-grid    { grid-template-columns: repeat(2, 1fr); }
    .case-stats         { grid-template-columns: repeat(2, 1fr); }
    .hero-title         { font-size: 52px; }
    .what-is-grid       { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .vs-grid            { grid-template-columns: 1fr; gap: 0; }
    .vs-divider         { padding: 8px 0; }
    .vs-divider::before { width: 80%; height: 1px; left: 10%; top: 50%; bottom: auto; background: linear-gradient(to right, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent); }
}

@media (max-width: 768px) {
    :root { --section-pad-y: 64px; --container-pad: 20px; }

    h1                  { font-size: 36px; }
    h2                  { font-size: 30px; }
    .hero-title         { font-size: 38px; }
    .hero               { padding: 64px 0 80px; }
    .hero-sub           { font-size: 16px; }
    .hero-trust         { grid-template-columns: repeat(2, 1fr); }
    .hero-trust strong  { font-size: 26px; }

    /* Only keep the Sign Up Free CTA visible in the header bar; Login moves into the hamburger */
    .nav-links li:not(:last-child) { display: none; }
    .nav-toggle         { display: block; }
    .nav-pill           { display: none !important; }
    .mega-shelf         { display: none; }
    body:has(.site-header--over-hero) .hero { padding-top: 120px; }


    /* ── Mobile open mega-shelf ─────────────────────────────── */
    .mega-shelf.is-open {
        display: block !important;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 16px 40px rgba(6,57,87,0.14);
        z-index: 201;
        max-height: calc(85vh - 64px);
        overflow-y: auto;
        opacity: 1;
        transform: none;
        visibility: visible;
    }
    .mega-back {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 14px 24px;
        background: none; border: 0;
        border-bottom: 1px solid var(--color-border);
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 600;
        color: var(--color-navy);
        cursor: pointer;
        text-align: left;
    }
    .mega-back:hover   { background: var(--color-light); }
    /* Flatten the desktop grid to a vertical list */
    .mega-shelf .mega-grid { display: flex; flex-direction: column; padding: 8px 0; gap: 0; }
    .mega-shelf .mega-col  { gap: 0; }
    .mega-shelf .mega-eyebrow { padding: 12px 24px 4px; }
    .mega-shelf .mega-card {
        border-radius: 0; border: 0;
        border-bottom: 1px solid var(--color-border);
        padding: 14px 24px; gap: 14px;
    }
    .mega-shelf .mega-card h5 { font-size: 14px; }
    .mega-shelf .mega-card p  { font-size: 12px; }
    .mega-shelf .mega-link    { padding: 12px 24px; border-radius: 0; }
    .mega-shelf .mega-feature { border-radius: 0; margin: 0; }

    /* ── Mobile open menu panel ─────────────────────────────── */
    .nav-links.is-open {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 16px 40px rgba(6,57,87,0.14);
        padding: 8px 0 20px;
        gap: 0;
        z-index: 200;
    }
    .nav-links.is-open li { display: block !important; }
    .nav-links.is-open .nav-divider {
        display: block !important;
        height: 1px; padding: 0;
        background: var(--color-border);
        margin: 8px 24px;
        width: auto;
    }
    .nav-links.is-open .nav-link {
        display: flex;
        width: 100%;
        padding: 13px 24px;
        border-radius: 0;
        font-size: 15px;
        justify-content: flex-start;
        color: var(--color-navy);
    }
    .nav-links.is-open .nav-link--quiet { opacity: 1; }
    .nav-links.is-open .nav-cta {
        display: block;
        margin: 8px 24px 0;
        text-align: center;
    }
    /* User avatar menu: flatten into the panel instead of floating */
    .nav-links.is-open .nav-user { position: static; }
    .nav-links.is-open .nav-user-trigger {
        width: 100%; padding: 13px 24px;
        border-radius: 0; justify-content: flex-start;
    }
    .nav-links.is-open .nav-user-dropdown {
        position: static; opacity: 1; visibility: visible;
        transform: none; box-shadow: none;
        border: none; border-top: 1px solid var(--color-border);
        background: var(--color-light); border-radius: 0;
    }

    .phone-frame        { transform: scale(0.85); transform-origin: center; }
    .hero-chip          { font-size: 11.5px; padding: 8px 12px; min-width: 0; }
    .hero-chip--tl, .hero-chip--bl { left: -6px; }
    .hero-chip--br      { right: -6px; }

    .guests-exp-stage   { height: 380px; }
    .g-phone .phone-frame { width: 160px; height: 328px; }
    .g-phone--l         { transform: translate(-50%, -50%) translate(-110px, 24px) rotate(-9deg); }
    .g-phone--r         { transform: translate(-50%, -50%) translate(110px, 24px)  rotate(9deg); }

    .hiw-grid           { grid-template-columns: 1fr; gap: 48px; }
    body[data-hiw="badges"] .hiw-grid { margin-top: 64px; }
    body[data-hiw="badges"] .hiw-grid::before { display: none; }
    body[data-hiw="timeline"] .hiw-grid::before { display: none; }

    .case-stats         { grid-template-columns: 1fr; }

    .industries-grid    { grid-template-columns: 1fr; }

    .cta-banner h2      { font-size: 28px; }
    .footer-inner       { flex-direction: column; gap: 40px; }
    .footer-links-group { gap: 32px; }

    .what-is-head h2    { font-size: 28px; }
    .what-is-lead       { font-size: 17px; }
    .vs-email .section-head h2 { font-size: 28px; }
    .vs-card            { padding: 28px 22px; }
    .vs-card--winner::before { right: 16px; }
    .faq-head h2        { font-size: 28px; }
    .faq-item summary   { padding: 18px 18px; }
    .faq-q              { font-size: 16px; }
    .faq-a              { padding: 0 18px 20px; }

    .blog-grid          { grid-template-columns: 1fr; }
}

/* ===================================================================
   DEMO / CONTACT HERO — shared layout (demo-hero, demo-body, demo-aside)
   =================================================================== */
body[data-page="demo"] { background: var(--color-light); }

.demo-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, #052f47 60%, var(--color-navy-deep) 100%);
    color: #fff;
    padding: 72px 0 88px;
    position: relative;
    overflow: hidden;
}
.demo-hero::before {
    content: "";
    position: absolute;
    top: -180px; right: -160px;
    width: 580px; height: 580px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,187,184,0.18) 0%, transparent 60%);
    pointer-events: none;
}
.demo-hero-inner { position: relative; z-index: 1; max-width: 880px; }

.demo-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
}
.demo-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.demo-breadcrumb a:hover { color: var(--it-accent); }
.demo-breadcrumb span[aria-current] { color: #fff; }

.demo-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(30,187,184,0.16);
    border: 1px solid rgba(30,187,184,0.35);
    color: var(--it-accent);
    font-family: var(--font-body); font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px;
    margin-bottom: 22px;
}

.demo-hero-title {
    color: #fff; font-family: var(--font-heading);
    font-size: 56px; font-weight: 700; line-height: 1.05;
    letter-spacing: -0.015em; margin: 0 0 18px;
}
.demo-hero-title .t-yellow { color: var(--color-yellow); }

.demo-hero-sub {
    font-size: 18px; line-height: 1.65;
    color: rgba(255,255,255,0.85);
    max-width: 680px; margin: 0 0 36px;
}

.demo-hero-trust {
    list-style: none; padding: 28px 0 0; margin: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
    max-width: 780px;
}
.demo-hero-trust li { display: flex; flex-direction: column; gap: 4px; }
.demo-hero-trust strong {
    color: var(--it-accent);
    font-family: var(--font-heading); font-weight: 700;
    font-size: 26px; line-height: 1;
}
.demo-hero-trust span { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.4; }

.demo-body {
    padding: 0 0 var(--section-pad-y);
    margin-top: -56px;
    position: relative; z-index: 2;
}
.demo-body-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 32px;
    align-items: start;
}

.demo-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(6,57,87,0.12);
    overflow: hidden;
    padding: 36px 36px 40px;
}
.demo-card .demo-modal-progress { padding: 0 0 24px; margin: 0; }
.demo-card .demo-step { padding: 0; }
.demo-card .demo-step-head { margin-bottom: 28px; }
.demo-card .demo-step-head h2 { font-size: 32px; line-height: 1.18; }
.demo-card .demo-step-head p { font-size: 16px; }

.demo-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.demo-aside-block {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.demo-aside-block .eyebrow { display: block; margin-bottom: 12px; }

.demo-expect { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.demo-expect li { display: flex; gap: 14px; }
.demo-expect-num {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--it-accent-tint);
    color: var(--it-accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 14px;
}
.demo-expect strong {
    display: block;
    font-family: var(--font-heading); font-weight: 600;
    color: var(--color-navy); font-size: 15px; margin-bottom: 4px;
}
.demo-expect p { margin: 0; font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }

.demo-quote {
    background: var(--color-navy);
    color: rgba(255,255,255,0.95);
    border-radius: var(--radius-lg);
    padding: 26px 26px 22px;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.demo-quote::before {
    content: "\201C";
    position: absolute;
    top: -12px; left: 16px;
    font-family: var(--font-heading);
    font-size: 96px; line-height: 1;
    color: rgba(30,187,184,0.35);
    font-weight: 700;
}
.demo-quote p {
    position: relative; z-index: 1;
    font-size: 15px; line-height: 1.55;
    margin: 0 0 18px; font-style: italic;
}
.demo-quote footer { display: flex; align-items: center; gap: 12px; }
.demo-quote .quote-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--it-accent); color: var(--color-navy);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 14px;
    flex-shrink: 0;
}
.demo-quote footer strong {
    display: block; color: #fff;
    font-family: var(--font-heading); font-weight: 600; font-size: 14px;
}
.demo-quote footer span { font-size: 12px; color: rgba(255,255,255,0.65); }

.demo-aside-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-aside-stats > div {
    background: var(--color-light);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}
.demo-aside-stats strong {
    display: block;
    font-family: var(--font-heading); font-weight: 700;
    font-size: 22px; color: var(--it-accent);
    line-height: 1; margin-bottom: 4px;
}
.demo-aside-stats span { font-size: 11.5px; color: var(--color-text-muted); line-height: 1.4; }

.demo-trust-label {
    font-family: var(--font-body);
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--color-text-faint);
    margin: 0 0 12px;
}
.demo-trust-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.demo-trust-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; color: var(--color-text);
}
.demo-trust-list li svg { color: var(--it-accent); flex-shrink: 0; }

@media (max-width: 980px) {
    .demo-body-inner  { grid-template-columns: 1fr; gap: 24px; }
    .demo-aside       { position: static; }
    .demo-hero-trust  { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
    .demo-hero                    { padding: 56px 0 72px; }
    .demo-hero-title              { font-size: 36px; }
    .demo-hero-sub                { font-size: 16px; }
    .demo-hero-trust strong       { font-size: 22px; }
    .demo-card                    { padding: 28px 22px 30px; }
    .demo-card .demo-step-head h2 { font-size: 24px; }
    .demo-aside-stats             { grid-template-columns: 1fr; }
}

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
body[data-page="contact"] { background: #fff; }

.contact-hero { padding: 92px 0 72px; }
.contact-hero .demo-hero-inner { max-width: var(--container-max); }
.contact-hero .demo-hero-trust strong { font-size: 20px; }

/* Three-channel grid */
.contact-channels {
    padding: var(--section-pad-y) 0;
    background: #fff;
    margin-top: -56px;
    position: relative;
    z-index: 2;
}
.contact-channels .section-head { margin-bottom: 56px; }

.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.channel-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), border-color var(--t-base);
}
.channel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--it-accent);
}

.channel-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--it-accent-tint);
    color: var(--it-accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
}

.channel-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-faint);
}

.channel-cta-line {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--color-navy);
    line-height: 1.15;
    text-decoration: none;
    word-break: break-word;
}
.channel-cta-line:hover { color: var(--it-accent); text-decoration: none; }

.channel-sub {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.channel-meta {
    list-style: none;
    padding: 12px 0 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
}
.channel-meta li { display: flex; align-items: center; gap: 8px; }
.channel-meta .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #1f8a5b;
    box-shadow: 0 0 0 3px rgba(31,138,91,0.18);
    flex-shrink: 0;
}
.channel-meta a { color: var(--it-accent); }

.channel-card .btn {
    align-self: stretch;
    justify-content: center;
    margin-top: auto;
}

.channel-card--form { gap: 12px; }
.channel-card--form .channel-form-tag {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0 0 4px;
}
.channel-card--form .contact-form { width: 100%; gap: 14px; }
.channel-card--form textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    resize: vertical;
    line-height: 1.55;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.channel-card--form textarea:focus {
    outline: none;
    border-color: var(--it-accent);
    box-shadow: 0 0 0 3px var(--it-accent-tint);
}
.channel-card--form label.field.has-error textarea {
    border-color: var(--color-coral);
    background: #fff8f6;
}
.channel-card--form select {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
}

.contact-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 480px) {
    .contact-form .field-row { grid-template-columns: 1fr; }
}
.contact-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 0;
}
.contact-form-success h3 { margin: 6px 0 0; font-size: 22px; }
.contact-form-success p {
    color: var(--color-text-muted);
    font-size: 14.5px;
    margin: 0;
}
.contact-form-success [data-success-email] {
    color: var(--it-accent);
    font-weight: 600;
}
.contact-form-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(241,103,77,0.08);
    border: 1px solid rgba(241,103,77,0.35);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-top: 12px;
    font-size: 14px;
    color: #c0432b;
    line-height: 1.5;
}
.contact-form-error p { margin: 0; }
.contact-form-error a { color: inherit; font-weight: 600; }

/* Alternative paths */
.contact-alt {
    padding: var(--section-pad-y) 0;
    background: var(--color-light);
}
.alt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.alt-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px 24px 24px;
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), border-color var(--t-base);
}
.alt-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--it-accent);
    text-decoration: none;
}
.alt-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    background: var(--it-accent-tint);
    color: var(--it-accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.alt-icon[data-color="teal"]   { background: rgba(30,187,184,0.14); color: var(--color-teal); }
.alt-icon[data-color="pink"]   { background: rgba(239,94,142,0.14); color: var(--color-pink); }
.alt-icon[data-color="yellow"] { background: rgba(223,226,28,0.18); color: #a8aa10; }
.alt-card h3 { font-size: 19px; margin: 0 0 6px; }
.alt-card p  { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.alt-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--it-accent);
    font-weight: 600;
    font-size: 14px;
}
.alt-card:hover .alt-cta { gap: 10px; }

/* Office block */
.contact-office {
    padding: var(--section-pad-y) 0;
    background: #fff;
}
.contact-office-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.office-copy h2 { font-size: 36px; }
.office-copy address {
    font-style: normal;
    background: var(--color-light);
    border-left: 3px solid var(--it-accent);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 18px 0 14px;
    display: inline-block;
}
.office-hours { font-size: 14px; color: var(--color-text-muted); margin: 0; }
.office-hours strong { color: var(--color-navy); }

.office-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 5 / 4;
    background: #e8eef3;
    position: relative;
}
.office-map iframe { width: 100%; height: 100%; display: block; }
.office-map-directions {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(6,57,87,0.18);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.office-map-directions:hover {
    background: var(--it-accent);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.office-map-directions svg { flex-shrink: 0; }

@media (max-width: 1080px) {
    .channel-grid         { grid-template-columns: 1fr; }
    .alt-grid             { grid-template-columns: 1fr; }
    .contact-office-inner { grid-template-columns: 1fr; gap: 36px; }
    .office-map           { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
    .contact-hero .demo-hero-trust strong { font-size: 16px; }
    .channel-card       { padding: 24px 22px; }
    .channel-cta-line   { font-size: 20px; }
    .office-copy h2     { font-size: 28px; }
}

/* ===================================================================
   QUOTE MODAL SUCCESS STATE
   =================================================================== */
.quote-modal-success { text-align: center; padding: 32px 8px 16px; }
.quote-modal-success svg { display: block; margin: 0 auto 16px; }
.quote-modal-success h2 { font-size: 28px; margin: 0 0 10px; }
.quote-modal-success p  { font-size: 15px; color: var(--color-text-muted); margin: 0; }


/* ===================================================================
   SHARED DEMO CTA  (_DemoCta.cshtml partial — used on all industry/feature pages)
   =================================================================== */
.demo-cta {
    background: var(--color-navy);
    color: #fff;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.demo-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(30,187,184,0.18) 0, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(223,226,28,0.08) 0, transparent 50%);
    pointer-events: none;
}
.demo-cta .container { position: relative; z-index: 1; }
.demo-cta .eyebrow   { color: var(--color-teal); margin-bottom: 12px; display: inline-block; }
.demo-cta h2 {
    color: #fff;
    font-size: 42px;
    margin: 0 auto 14px;
    max-width: 720px;
    line-height: 1.1;
}
.demo-cta h2 .accent { color: var(--color-yellow); }
.demo-cta-sub {
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    margin: 0 auto 28px;
    max-width: 600px;
}
.demo-cta-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 26px;
}
.demo-cta-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
}
.demo-cta-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}
.demo-cta-trust li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-teal);
    flex-shrink: 0;
}
@media (max-width: 720px) {
    .demo-cta h2 { font-size: 30px; }
    .demo-cta    { padding: 64px 0; }
}
@media (max-width: 560px) {
    .demo-cta-buttons { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   Admin Layout
══════════════════════════════════════════════════════════════ */
.admin-body {
    background: #f1f5f9;
    min-height: 100vh;
    font-family: Roboto, sans-serif;
    color: #1e293b;
}

.admin-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky; top: 0; z-index: 100;
}
.admin-header-inner {
    display: flex; align-items: center; gap: 24px;
    max-width: 1400px; margin: 0 auto; padding: 0 24px; height: 56px;
}
.admin-logo-link { flex-shrink: 0; display: flex; align-items: center; }
.admin-logo-link img { display: block; }
.admin-nav { display: flex; gap: 4px; flex: 1; }
.admin-nav a {
    padding: 6px 14px; border-radius: 6px;
    font-size: .875rem; font-weight: 500; color: #475569;
    text-decoration: none; transition: background 140ms, color 140ms;
}
.admin-nav a:hover   { background: #f1f5f9; color: #063957; }
.admin-nav a.is-active { background: rgba(6,57,87,.08); color: #063957; }

.admin-main {
    max-width: 1400px; margin: 0 auto; padding: 28px 24px 60px;
}

/* ── Admin primitives ─────────────────────────────────────── */
.adm-page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.adm-page-title { margin: 0; font-size: 1.35rem; font-weight: 700; color: #063957; }
.adm-count { font-size: 1rem; font-weight: 400; color: #94a3b8; }

.adm-card {
    background: #fff; border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
}
.adm-card-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px; border-bottom: 1px solid #e9eef4;
    font-size: .875rem; font-weight: 600; color: #063957;
}

.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th {
    padding: 10px 20px; text-align: left;
    font-size: .75rem; font-weight: 700; color: #64748b;
    text-transform: uppercase; letter-spacing: .05em;
    border-bottom: 1px solid #e9eef4; background: #f8fafc;
}
.adm-table td { padding: 12px 20px; font-size: .875rem; }
.adm-table tr:not(:last-child) td { border-bottom: 1px solid #f1f5f9; }
.adm-table tr:hover td { background: #f8fafc; }
.adm-col-title { font-weight: 500; max-width: 380px; }
.adm-col-date  { color: #64748b; white-space: nowrap; }
.adm-col-actions { white-space: nowrap; text-align: right; }
.adm-col-actions > * + * { margin-left: 12px; }

.adm-badge {
    display: inline-block; padding: 2px 9px; border-radius: 20px;
    font-size: .72rem; font-weight: 700; letter-spacing: .02em; vertical-align: middle;
}
.adm-badge--pub   { background: #dcfce7; color: #16a34a; }
.adm-badge--draft { background: #fef9c3; color: #854d0e; }
.adm-badge--feat  { background: rgba(30,187,184,.15); color: #0e9490; }

.adm-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 8px; border: none; cursor: pointer;
    font-size: .875rem; font-weight: 600; text-decoration: none;
    transition: background 140ms, color 140ms, box-shadow 140ms;
}
.adm-btn--primary {
    background: #063957; color: #fff;
}
.adm-btn--primary:hover { background: #0a4d76; color: #fff; text-decoration: none; }
.adm-btn--ghost {
    background: transparent; color: #475569;
    border: 1px solid #cbd5e1;
}
.adm-btn--ghost:hover { background: #f1f5f9; color: #063957; text-decoration: none; }
.adm-btn--danger { background: #ef4444; color: #fff; }
.adm-btn--danger:hover { background: #dc2626; color: #fff; text-decoration: none; }

.adm-link { color: #063957; font-size: .875rem; font-weight: 500; text-decoration: none; }
.adm-link:hover { text-decoration: underline; }
.adm-link--danger { color: #ef4444; }
.adm-link--danger:hover { color: #b91c1c; }

.adm-tabs {
    display: flex; gap: 2px; margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0; padding-bottom: 0;
}
.adm-tabs a {
    padding: 8px 16px; font-size: .875rem; font-weight: 500; color: #64748b;
    text-decoration: none; border-bottom: 2px solid transparent;
    margin-bottom: -1px; transition: color 140ms, border-color 140ms;
}
.adm-tabs a:hover    { color: #063957; }
.adm-tabs a.is-active { color: #063957; border-bottom-color: #063957; font-weight: 600; }

.adm-empty {
    padding: 32px 24px; text-align: center;
    color: #94a3b8; font-size: .9rem;
}
.adm-empty a { color: #063957; font-weight: 500; }

.adm-pagination {
    display: flex; gap: 4px; padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
}
.adm-pagination a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 6px; font-size: .875rem;
    color: #475569; text-decoration: none; transition: background 140ms;
}
.adm-pagination a:hover    { background: #f1f5f9; }
.adm-pagination a.is-active { background: #063957; color: #fff; font-weight: 600; }

.adm-hint { font-size: .78rem; color: #94a3b8; margin-top: 2px; }

.adm-toast {
    background: #dcfce7; color: #166534; border: 1px solid #bbf7d0;
    border-radius: 8px; padding: 12px 20px; margin-bottom: 20px;
    font-size: .875rem; font-weight: 500;
}

/* ── Admin layout shell ─────────────────────────────────────── */
.admin-header-label {
    font-size: .8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .1em; color: #94a3b8; flex: 1;
}
.admin-signout { margin-left: auto; }
.admin-body-wrap { flex: 1; }
.admin-footer {
    border-top: 1px solid #e2e8f0; background: #fff;
    padding: 14px 0;
}
.admin-footer-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    font-size: .8rem; color: #94a3b8;
}

/* ── Blog admin sub-nav ─────────────────────────────────────── */
.blog-admin-wrap { display: flex; flex-direction: column; min-height: calc(100vh - 57px); }
.blog-admin-subnav {
    background: #fff; border-bottom: 1px solid #e2e8f0;
}
.blog-admin-subnav-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 24px; height: 44px;
}
.blog-admin-section-label {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: #063957; flex-shrink: 0;
    padding-right: 16px; border-right: 1px solid #e2e8f0;
}
.blog-admin-nav { display: flex; gap: 2px; }
.blog-admin-nav a {
    padding: 5px 12px; border-radius: 6px;
    font-size: .85rem; font-weight: 500; color: #475569;
    text-decoration: none; transition: background 130ms, color 130ms;
}
.blog-admin-nav a:hover    { background: #f1f5f9; color: #063957; }
.blog-admin-nav a.is-active { background: rgba(6,57,87,.08); color: #063957; font-weight: 600; }

/* ── Top-level admin section cards ─────────────────────────── */
.adm-section-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px; max-width: 900px;
}
.adm-section-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: 22px 20px; text-decoration: none; color: inherit;
    transition: box-shadow 150ms, border-color 150ms, transform 150ms;
}
.adm-section-card:hover {
    box-shadow: 0 4px 16px rgba(6,57,87,.1);
    border-color: #063957; transform: translateY(-2px);
    text-decoration: none; color: inherit;
}
.adm-section-card__icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(6,57,87,.07); color: #063957;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.adm-section-card__body { flex: 1; }
.adm-section-card__body h2 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: #063957; }
.adm-section-card__body p  { margin: 0; font-size: .82rem; color: #64748b; }
.adm-section-card__arrow { color: #94a3b8; flex-shrink: 0; transition: transform 150ms; }
.adm-section-card:hover .adm-section-card__arrow { transform: translateX(3px); color: #063957; }
