/* ==========================================================================
   ANON by Stratsy — microsite styles
   Brand: purple + warm orange on cream, bold condensed headlines,
   black & white editorial photography, chain mark.
   ========================================================================== */

:root {
    /* Brighter, more saturated violet family built around #3D0566 */
    --purple-950: #1C0330;
    --purple-900: #2A0549;
    --purple-800: #3D0566;
    --purple-700: #5A0F94;
    --purple-600: #6E1FB8;
    --purple-500: #8A3DE0;
    --purple-300: #CDA8F7;
    --purple-100: #F2E8FD;

    --orange-600: #E0561A;
    --orange-500: #F26A2E;
    --orange-400: #FF8A50;
    --orange-100: #FFE9DC;

    --cream-50: #FFFCF7;
    --cream-100: #FBF5EA;
    --cream-200: #F4EAD9;

    --ink-900: #17122A;
    --ink-700: #3B3552;
    --ink-500: #6B6582;
    --line: #E7DCC8;
    --white: #FFFFFF;
    --success: #1F7A4D;
    --error: #B42318;

    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(23, 18, 42, .06), 0 2px 8px rgba(23, 18, 42, .05);
    --shadow: 0 12px 32px -12px rgba(42, 5, 73, .28);
    --shadow-lg: 0 32px 64px -24px rgba(42, 5, 73, .45);

    --container: 1200px;
    --gutter: 24px;
    --nav-h: 72px;
    --topbar-h: 36px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-700);
    background: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

:focus-visible {
    outline: 3px solid var(--orange-500);
    outline-offset: 3px;
    border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Let grid/flex children shrink below their content width (stops wide tables pushing the page) */
.hero-grid > *, .how-grid > *, .about-grid > *, .solution-hero-grid > *,
.demo-grid > *, .watch-grid > *, .story > * { min-width: 0; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--purple-900);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typography ---------- */
.display, h1, h2 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.005em;
    color: var(--ink-900);
    line-height: .95;
}

h1 { font-size: clamp(2.75rem, 4.8vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }

h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.05;
    color: var(--ink-900);
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--purple-600);
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--orange-500);
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--ink-700);
    max-width: 38rem;
}

.text-purple { color: var(--purple-600); }
.text-orange { color: var(--orange-500); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease),
                transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn i { transition: transform .2s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }

/* Primary CTA: warm orange with dark ink text (meets WCAG AA contrast) */
.btn-primary {
    background: var(--orange-500);
    color: var(--purple-950);
    box-shadow: 0 8px 20px -8px rgba(242, 106, 46, .7);
}
.btn-primary:hover {
    background: var(--orange-400);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -8px rgba(242, 106, 46, .75);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: transparent;
    color: var(--ink-900);
    border: 2px solid var(--ink-900);
}
.btn-secondary:hover { background: var(--ink-900); color: var(--cream-50); }

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .5);
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn-lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    color: var(--purple-600);
}
.link-arrow i { transition: transform .2s var(--ease); font-size: .85em; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow:hover { color: var(--purple-700); }

/* ---------- Top bar (link back to parent brand) ---------- */
.topbar {
    background: var(--purple-950);
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--orange-400); }
.topbar-contact { display: flex; gap: 1.25rem; }
.topbar-contact a { font-weight: 500; color: rgba(255, 255, 255, .78); }

/* ---------- Navigation ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(255, 252, 247, .88);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-nav.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(42, 5, 73, .5);
}
.site-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
}
.brand-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(61, 5, 102, .25));
    transition: transform .3s var(--ease);
}
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: .04em;
    color: var(--ink-900);
}
.brand-by {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-right: auto;
}
.nav-menu > li { position: relative; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink-700);
    transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--purple-600); background: var(--purple-100); }
.nav-link .fa-chevron-down { font-size: .7rem; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* Solutions dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: -12px;
    width: 560px;
    padding: .75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: flex;
    gap: .85rem;
    padding: .85rem;
    border-radius: 10px;
    transition: background-color .2s;
}
.dropdown a:hover { background: var(--cream-100); }
.dropdown .dd-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--purple-100);
    color: var(--purple-600);
    display: grid;
    place-items: center;
}
.dropdown strong { display: block; color: var(--ink-900); font-size: .95rem; }
.dropdown span { display: block; font-size: .83rem; color: var(--ink-500); line-height: 1.4; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1.2rem;
    color: var(--ink-900);
}
.nav-toggle:hover { background: var(--purple-100); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-cream { background: var(--cream-100); }
.section-white { background: var(--white); }
/* Brand surface: the same violet, glow and faint chain mark as the closing CTA band */
.section-dark {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--purple-800);
    color: rgba(255, 255, 255, .8);
}
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(720px 380px at 92% 6%, rgba(242, 106, 46, .32), transparent 70%),
        radial-gradient(680px 420px at 0% 100%, rgba(138, 61, 224, .6), transparent 70%);
}
.section-dark::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 420px;
    height: 420px;
    z-index: -1;
    opacity: .06;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--orange-400); }
.section-dark .lead { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head h2 { margin: .9rem 0 1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* CTA placed after every major section */
.section-cta {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.section-cta p { font-weight: 600; color: var(--ink-900); font-size: 1.08rem; }
.section-white .section-cta { background: var(--cream-100); }
.section-dark .section-cta {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
}
.section-dark .section-cta p { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    right: -240px;
    top: -260px;
    background: radial-gradient(closest-side, rgba(138, 61, 224, .16), transparent);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    left: -220px;
    bottom: -280px;
    background: radial-gradient(closest-side, rgba(242, 106, 46, .14), transparent);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}
.hero h1 { margin: 1.1rem 0 1.4rem; }
.hero h1 .line-2 { display: block; color: var(--purple-600); }
@keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-ctas { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }

.team-jump { margin-top: 2.25rem; }
.team-jump p {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: .7rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-700);
    transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.chip i { color: var(--purple-500); font-size: .85em; }
.chip:hover { border-color: var(--purple-500); color: var(--purple-600); transform: translateY(-2px); }

/* Hero product visual: before/after anonymization table */
.demo-card {
    position: relative;
    background: var(--purple-800);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: rgba(255, 255, 255, .9);
    overflow: hidden;
    isolation: isolate;
}
.demo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 240px at 100% 0%, rgba(242, 106, 46, .3), transparent 70%),
        radial-gradient(460px 280px at 0% 100%, rgba(138, 61, 224, .6), transparent 70%);
    z-index: -1;
}
.demo-card::after {
    content: '';
    position: absolute;
    right: -36px;
    bottom: -44px;
    width: 190px;
    height: 190px;
    z-index: -1;
    opacity: .07;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
}
.demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.demo-file { display: flex; align-items: center; gap: .6rem; font-size: .85rem; }
.demo-file .dots { display: flex; gap: 5px; }
.demo-file .dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.demo-file code {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: .82rem;
    color: rgba(255, 255, 255, .7);
}

.toggle {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}
.toggle button {
    position: relative;
    z-index: 1;
    padding: .38rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .65);
    transition: color .25s;
    white-space: nowrap;
}
.toggle button[aria-pressed="true"] { color: var(--purple-950); }
.toggle .thumb {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    border-radius: 999px;
    background: var(--orange-500);
    transition: transform .35s var(--ease), background-color .35s;
}
.toggle[data-state="original"] .thumb { background: var(--cream-200); }
.toggle[data-state="protected"] .thumb { transform: translateX(100%); }

.demo-table-wrap { padding: .5rem 1.25rem 0; overflow-x: auto; }
.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
    font-variant-numeric: tabular-nums;
}
.demo-table th {
    text-align: left;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    padding: .75rem .5rem .6rem;
    white-space: nowrap;
}
.demo-table td {
    padding: .62rem .5rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    white-space: nowrap;
}
.demo-table td.pii {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: .8rem;
}
.demo-table td.pii span {
    display: inline-block;
    padding: .1rem .4rem;
    border-radius: 5px;
    transition: background-color .4s, color .4s;
}
.demo-card[data-state="original"] td.pii span { background: rgba(242, 106, 46, .16); color: #FFD3BD; }
.demo-card[data-state="protected"] td.pii span { background: rgba(205, 168, 247, .14); color: #E3D8FF; }
.demo-table th.pii-col::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--orange-500);
    transition: background-color .4s;
}
.demo-card[data-state="protected"] .demo-table th.pii-col::after { background: var(--purple-300); }

.demo-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem 1.15rem;
    font-size: .8rem;
}
.status {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    padding: .35rem .75rem;
    border-radius: 999px;
    transition: background-color .4s, color .4s;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.demo-card[data-state="original"] .status { background: rgba(242, 106, 46, .16); color: var(--orange-400); }
.demo-card[data-state="protected"] .status { background: rgba(122, 214, 163, .14); color: #8FE3B5; }
.status .when-protected, .demo-card[data-state="protected"] .status .when-original { display: none; }
.demo-card[data-state="protected"] .status .when-protected { display: inline; }
.demo-note { color: rgba(255, 255, 255, .5); }

.float-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink-900);
    animation: bob 6s ease-in-out infinite;
}
.float-badge i {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: .75rem;
}
.float-badge.b1 { top: -52px; left: 20px; }
.float-badge.b1 i { background: var(--orange-100); color: var(--orange-600); }
.float-badge.b2 { bottom: -52px; right: 20px; animation-delay: -3s; }
.float-badge.b2 i { background: var(--purple-100); color: var(--purple-600); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-visual { position: relative; }

/* ---------- Audience cards ---------- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.audience-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
    overflow: hidden;
}
.audience-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-600), var(--orange-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.audience-card:hover::before { transform: scaleX(1); }
.audience-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--purple-100);
    color: var(--purple-600);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    transition: background-color .3s, color .3s;
}
.audience-card:hover .audience-icon { background: var(--purple-600); color: var(--white); }
.audience-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: .5rem;
}
.audience-card h3 { margin-bottom: .75rem; }
.audience-card p { font-size: .95rem; margin-bottom: 1.5rem; flex-grow: 1; }
/* Whole card is clickable via the CTA's stretched pseudo-element */
.audience-card .link-arrow::after { content: ''; position: absolute; inset: 0; }

/* ---------- How it works (stepper) ---------- */
.how-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.steps { display: flex; flex-direction: column; gap: .6rem; }
.step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .1);
    background: transparent;
    overflow: hidden;
    transition: background-color .3s, border-color .3s;
}
.step:hover { background: rgba(255, 255, 255, .04); }
.step[aria-selected="true"] { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.step-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(255, 255, 255, .35);
    transition: color .3s;
    min-width: 2ch;
}
.step[aria-selected="true"] .step-num { color: var(--orange-400); }
.step-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--white);
}
.step-desc {
    display: block;
    margin-top: .45rem;
    font-size: .93rem;
    color: rgba(255, 255, 255, .7);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease), opacity .3s;
}
.step[aria-selected="true"] .step-desc { max-height: 8rem; opacity: 1; }
.step-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: var(--orange-500);
    transform: scaleX(0);
    transform-origin: left;
}
.step[aria-selected="true"] .step-progress.run { animation: progress var(--step-ms, 6000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.step-panels {
    position: relative;
    background: var(--cream-50);
    color: var(--ink-700);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 380px;
    box-shadow: var(--shadow-lg);
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    font-size: .82rem;
}
.panel-head strong { color: var(--ink-900); font-size: .95rem; }
.panel-tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-500);
}
.step-panel[hidden] { display: none; }
.step-panel { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.field-list li, .pair-list li, .dest-list li, .audit-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem .85rem;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .88rem;
}
.field-list, .pair-list, .dest-list, .audit-list { display: flex; flex-direction: column; gap: .5rem; }
.field-list code, .pair-list code {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: .82rem;
    color: var(--ink-900);
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}
.tag-pii { background: var(--orange-100); color: #9A3412; }
.tag-safe { background: #E6F4EC; color: var(--success); }
.tag-purple { background: var(--purple-100); color: var(--purple-700); }

.pair-list li { justify-content: flex-start; flex-wrap: wrap; }
.pair-list .from { color: #9A3412; text-decoration: line-through; text-decoration-color: rgba(154, 52, 18, .4); }
.pair-list .arrow { color: var(--purple-500); font-size: .8rem; }
.pair-list .to { color: var(--purple-700); font-weight: 600; }

.dest-list .dest { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--ink-900); }
.dest-list .dest i {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--purple-100);
    color: var(--purple-600);
    display: grid;
    place-items: center;
    font-size: .85rem;
}
.audit-list li { justify-content: flex-start; gap: .85rem; }
.audit-list time {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: .78rem;
    color: var(--ink-500);
    flex-shrink: 0;
}
.audit-list .who { margin-left: auto; font-size: .78rem; color: var(--ink-500); white-space: nowrap; }

/* ---------- Customer story ---------- */
.story {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}
/* Illustrations (no photography of people): shown whole, on a matching backdrop */
.story-media {
    position: relative;
    min-height: 420px;
    background: linear-gradient(160deg, #FBF5EA, #F2E8FD);
}
.story-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.story-media .story-badge {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: var(--orange-500);
    color: var(--purple-950);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.story-body { padding: clamp(1.75rem, 4vw, 3rem); }
.story-body h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: .8rem 0 1.5rem; }
.story-points { display: grid; gap: 1.1rem; margin-bottom: 1.75rem; }
.story-points dt {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--purple-600);
    margin-bottom: .2rem;
}
.story-points dd { font-size: .96rem; }
.placeholder {
    color: var(--ink-500);
    font-style: italic;
    background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(242, 106, 46, .05) 8px 16px);
    border-left: 3px solid var(--orange-500);
    padding: .2rem .6rem;
    display: block;
}

/* ---------- About / team ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.about-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.about-photo { background: linear-gradient(135deg, #F2E8FD, #FBF5EA); box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 8px;
    background: linear-gradient(90deg, var(--purple-600), var(--orange-500));
}
.about-points { display: grid; gap: 1rem; margin: 1.75rem 0 2rem; }
.about-points li { display: flex; gap: .85rem; align-items: flex-start; }
.about-points i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--purple-100);
    color: var(--purple-600);
    display: grid;
    place-items: center;
    font-size: .8rem;
    margin-top: 2px;
}
.about-points strong { color: var(--ink-900); }

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.contact-card {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--cream-100);
    border: 1px solid var(--line);
    transition: border-color .2s, transform .2s var(--ease);
}
a.contact-card:hover { border-color: var(--purple-500); transform: translateY(-2px); }
.contact-card i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--purple-700);
    color: var(--orange-400);
    display: grid;
    place-items: center;
}
.contact-card span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.contact-card strong { color: var(--ink-900); font-weight: 600; }

/* ---------- Resources ---------- */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.resource-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.resource-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.1rem; }
.resource-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.resource-card p { font-size: .95rem; flex-grow: 1; }
.soon {
    font-size: .74rem;
    font-weight: 700;
    color: var(--ink-500);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

/* ---------- Final CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--purple-800);
    color: rgba(255, 255, 255, .8);
    padding: clamp(4rem, 8vw, 6rem) 0;
    isolation: isolate;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 90% 10%, rgba(242, 106, 46, .35), transparent 70%),
        radial-gradient(500px 300px at 0% 100%, rgba(138, 61, 224, .55), transparent 70%);
    z-index: -1;
}
.cta-band .chain-watermark {
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 380px;
    height: 380px;
    color: rgba(255, 255, 255, .05);
    z-index: -1;
}
.cta-band-inner { max-width: 50rem; }
.cta-band h2 { color: var(--white); margin: 1rem 0 1.25rem; }
.cta-band .eyebrow { color: var(--orange-400); }
.cta-band .lead { color: rgba(255, 255, 255, .8); }
.cta-band .hero-ctas { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--purple-950);
    color: rgba(255, 255, 255, .65);
    padding: 4rem 0 2rem;
    font-size: .93rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
}
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-by { color: rgba(255, 255, 255, .55); }
.footer-about p { margin: 1rem 0 1.25rem; max-width: 22rem; }
.site-footer h4 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}
.site-footer ul { display: grid; gap: .6rem; }
.site-footer a:hover { color: var(--orange-400); }
.parent-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--white);
    font-weight: 600;
    font-size: .88rem;
}
.parent-link img { height: 18px; width: auto; background: var(--white); border-radius: 4px; padding: 2px 4px; }
.parent-link:hover { border-color: var(--orange-400); }
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .85rem;
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 640px;
    height: 640px;
    right: -200px;
    top: -260px;
    background: radial-gradient(closest-side, rgba(138, 61, 224, .14), transparent);
    pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { margin: 1rem 0 1.25rem; max-width: 16ch; }
.breadcrumb {
    display: flex;
    gap: .5rem;
    align-items: center;
    font-size: .85rem;
    color: var(--ink-500);
    margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--purple-600); }
.breadcrumb i { font-size: .65rem; }

/* Solution pages */
.solution-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.solution-emblem {
    position: relative;
    aspect-ratio: 1;
    max-width: 380px;
    margin-left: auto;
    width: 100%;
    border-radius: 32px;
    background: var(--purple-800);
    display: grid;
    place-items: center;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}
.solution-emblem::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(240px 200px at 85% 15%, rgba(242, 106, 46, .55), transparent 70%),
        radial-gradient(260px 220px at 10% 95%, rgba(138, 61, 224, .7), transparent 70%);
    z-index: -1;
}
.solution-emblem > i { font-size: clamp(4rem, 9vw, 6.5rem); }
.solution-emblem .chain-watermark {
    position: absolute;
    width: 75%;
    height: 75%;
    color: rgba(255, 255, 255, .06);
    z-index: -1;
}

.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.info-card {
    padding: 1.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.info-card .num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--orange-500);
    margin-bottom: 1rem;
}
.info-card h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.info-card p { font-size: .96rem; }
.section-dark .info-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section-dark .info-card .feature-icon { background: rgba(255, 255, 255, .1); color: var(--orange-400); }
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--purple-100);
    color: var(--purple-600);
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
}

.mini-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    list-style: none;
    counter-reset: ms;
}
.mini-steps li {
    position: relative;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 600;
    color: var(--ink-900);
    counter-increment: ms;
}
.mini-steps li::before {
    content: '0' counter(ms);
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--purple-500);
    margin-bottom: .4rem;
}

/* Book a demo page */
.demo-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.demo-grid h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 1rem 0 1.25rem; }
.checklist { display: grid; gap: .9rem; margin: 2rem 0; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange-100);
    color: var(--orange-600);
    display: grid;
    place-items: center;
    font-size: .7rem;
    margin-top: 2px;
}
.demo-contact {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: .93rem;
}
.demo-contact a { color: var(--purple-600); font-weight: 600; }
.demo-contact a:hover { text-decoration: underline; }

.form-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-card::before {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    top: -1px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--purple-600), var(--orange-500));
}
.form-card h2 { font-size: 1.9rem; margin-bottom: .4rem; }
.form-card .form-sub { font-size: .93rem; color: var(--ink-500); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-900); }
.field input, .field select {
    width: 100%;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--cream-50);
    font: inherit;
    font-size: 1rem;
    color: var(--ink-900);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236B6582' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    padding-right: 2.5rem;
}
.field input::placeholder { color: #A39DB5; }
.field input:hover, .field select:hover { border-color: #D3C6AE; }
.field input:focus, .field select:focus {
    outline: none;
    border-color: var(--purple-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(138, 61, 224, .15);
}
.field.invalid input, .field.invalid select { border-color: var(--error); }
.field-error { font-size: .82rem; color: var(--error); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.form-legal { font-size: .8rem; color: var(--ink-500); margin-top: 1rem; text-align: center; }
.form-status { margin-top: 1rem; font-size: .9rem; font-weight: 600; }
.form-status.error { color: var(--error); }
.btn .spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(21, 8, 41, .25);
    border-top-color: var(--purple-950);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: none;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.team-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: var(--purple-100);
    color: var(--purple-700);
    font-size: .82rem;
    font-weight: 700;
}
.team-pill[hidden] { display: none; }

/* Thank-you page */
.thanks-hero { text-align: center; padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.thanks-hero .check {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--orange-500);
    color: var(--purple-950);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    animation: pop .6s var(--ease) both;
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.thanks-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); margin-bottom: 1rem; }
.thanks-hero .lead { margin: 0 auto; }

.scheduler {
    max-width: 920px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.scheduler iframe { display: block; width: 100%; height: 700px; border: 0; }
.scheduler-fallback { padding: clamp(2rem, 5vw, 3rem); text-align: center; }
.scheduler-fallback i { font-size: 2rem; color: var(--purple-500); margin-bottom: 1rem; }
.scheduler-fallback h2 { font-size: 2rem; margin-bottom: .75rem; }
.scheduler-fallback p { max-width: 34rem; margin: 0 auto; }

.watch-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: stretch; }
.video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--purple-900);
    display: grid;
    place-items: center;
    color: var(--white);
    isolation: isolate;
}
.video-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.play {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--orange-500);
    color: var(--purple-950);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 12px rgba(242, 106, 46, .25);
    transition: transform .3s var(--ease);
}
.video-card:hover .play { transform: scale(1.08); }
.video-caption {
    position: absolute;
    left: 1.25rem;
    bottom: 1rem;
    font-weight: 700;
    font-size: .9rem;
}
.video-caption small { display: block; font-weight: 500; color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   Product proof: trust row, platforms, techniques, security, comparison, FAQ
   ========================================================================== */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.4rem;
    margin-top: 1.5rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-700);
}
.trust-row li { display: inline-flex; align-items: center; gap: .5rem; }
.trust-row i { color: var(--success); }

/* Platforms strip */
.platforms {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.75rem 0;
}
.platforms .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem 2.5rem;
}
.platforms-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-500);
}
.platforms-label span {
    display: block;
    margin-top: .25rem;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-900);
}
.platform-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.platform {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .95rem;
    border-radius: 10px;
    background: var(--cream-100);
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: .92rem;
    color: var(--ink-900);
}
.platform i { color: var(--purple-600); }

/* Stepper panel extras */
.field-meta { display: inline-flex; align-items: center; gap: .6rem; }
.suggest { font-size: .75rem; font-weight: 600; color: var(--ink-500); white-space: nowrap; }
.suggest::before { content: '\2192  '; color: var(--purple-500); }
.source-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .85rem;
    margin-bottom: .75rem;
    border-radius: 10px;
    background: var(--cream-200);
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-900);
}
.source-row .tag { margin-left: auto; }

/* Techniques explorer */
.technique-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .4rem;
    margin-bottom: 1rem;
}
.technique {
    padding: .5rem .35rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink-700);
    transition: background-color .2s, border-color .2s, color .2s;
}
.technique:hover { border-color: var(--purple-300); color: var(--purple-700); }
.technique[aria-pressed="true"] { background: var(--purple-700); border-color: var(--purple-700); color: var(--white); }
.technique-detail {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
}
.technique-detail h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--ink-900);
    line-height: 1.1;
}
.technique-detail p { font-size: .88rem; margin: .3rem 0 .9rem; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: center; }
.ba > div {
    min-width: 0;
    padding: .6rem .75rem;
    border-radius: 8px;
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: .82rem;
    overflow-wrap: anywhere;
}
.ba small {
    display: block;
    margin-bottom: .2rem;
    font-family: var(--font-body);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .75;
}
.ba .before { background: var(--orange-100); color: #9A3412; }
.ba .after { background: var(--purple-100); color: var(--purple-700); }
.ba > i { color: var(--purple-500); }

/* Security and compliance */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.security-grid > * { min-width: 0; }
.hipaa-card {
    position: relative;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--cream-50);
    color: var(--ink-700);
    overflow: hidden;
}
.hipaa-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--purple-600), var(--orange-500));
}
.hipaa-card .big {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(5rem, 9vw, 7rem);
    line-height: .85;
    color: var(--purple-600);
}
.hipaa-card p { font-size: 1.05rem; margin-top: .6rem; max-width: 26rem; }
.hipaa-card strong { color: var(--ink-900); }
.reg-list { display: grid; gap: .65rem; margin-top: 1.25rem; }
.reg {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    align-items: baseline;
    padding: .85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
}
.reg strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    color: var(--white);
}
.reg span { font-size: .92rem; }
.reg-note { margin-top: 1rem; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.security-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.security-item {
    padding: 1.25rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: border-color .25s, background-color .25s;
}
.security-item:hover { border-color: rgba(255, 138, 80, .5); background: rgba(255, 255, 255, .07); }
.security-item > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(242, 106, 46, .15);
    color: var(--orange-400);
    display: grid;
    place-items: center;
    margin-bottom: .9rem;
}
.security-item h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.security-item p { font-size: .92rem; }

/* Scripts vs ANON comparison */
.compare-wrap { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: var(--white); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
    padding: 1.1rem 1.4rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}
.compare thead th {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-500);
    background: var(--cream-100);
}
.compare thead th.anon-col { background: var(--purple-700); color: var(--white); }
.compare tbody th { width: 24%; font-weight: 700; color: var(--ink-900); }
.compare td { color: var(--ink-700); }
.compare td.anon-col { background: rgba(242, 232, 253, .55); color: var(--ink-900); font-weight: 500; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td i { margin-right: .5rem; }
.compare .no { color: var(--error); }
.compare .yes { color: var(--purple-600); }

/* Example use case */
.usecase-tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--orange-100);
    color: #9A3412;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.story-note { margin-top: 1.25rem; font-size: .8rem; color: var(--ink-500); }

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.faq-grid > * { min-width: 0; }
.faq-list { display: grid; gap: .75rem; }
.faq-item {
    background: var(--cream-100);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.faq-item[open] { background: var(--white); border-color: var(--purple-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--purple-100);
    color: var(--purple-600);
    display: grid;
    place-items: center;
    font-size: .75rem;
    transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.faq-item[open] summary i { transform: rotate(45deg); background: var(--orange-500); color: var(--purple-950); }
.faq-a { padding: 0 1.35rem 1.25rem; }

/* Team page callout */
.callout {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 1.1rem 1.35rem;
    border-radius: var(--radius);
    background: rgba(242, 106, 46, .12);
    border: 1px solid rgba(242, 106, 46, .35);
    color: var(--white);
    font-weight: 500;
}
.callout i { color: var(--orange-400); margin-top: 4px; }

/* Demo form: consent + spam trap */
.field .check-label {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink-700);
    cursor: pointer;
}
.field .check-label input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    min-height: 0;
    margin-top: 1px;
    padding: 0;
    accent-color: var(--purple-600);
}
.field .check-label a { color: var(--purple-600); font-weight: 600; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer additions */
.footer-about .footer-tagline {
    margin: 1.1rem 0 .6rem;
    max-width: 19rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
}
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 1rem 0 .75rem; }
.legal h2 { font-size: 1.7rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { margin-bottom: .75rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { color: var(--purple-600); font-weight: 600; }
.legal .updated { color: var(--ink-500); font-size: .9rem; }
.draft-banner {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    background: var(--orange-100);
    border: 1px solid #F8C9AE;
    color: #9A3412;
    font-size: .92rem;
    font-weight: 600;
}
.draft-banner i { margin-top: 3px; }

/* ==========================================================================
   Resources slider (cursor-tracking momentum scroll; logic in anon.js)
   ========================================================================== */
.resources { overflow: hidden; }
.rs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 2rem;
}
.rs-head .section-head { margin-bottom: 2rem; }
.rs-controls { display: flex; align-items: center; gap: .6rem; margin-bottom: 2.4rem; }
.rs-hint {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-right: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-500);
}
.rs-hint i { color: var(--purple-500); }
.rs-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--ink-900);
    display: grid;
    place-items: center;
    transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease), opacity .25s;
}
.rs-btn:hover:not(:disabled) { background: var(--purple-800); border-color: var(--purple-800); color: var(--white); transform: translateY(-2px); }
.rs-btn:disabled { opacity: .35; cursor: default; }

.rs-viewport {
    --fade: 56px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.rs-viewport::-webkit-scrollbar { display: none; }
.rs-viewport:focus-visible { outline-offset: -4px; }
.rs-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    /* line the first card up with the page container, with room for the hover lift and glow */
    padding: 1rem max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 2.5rem;
}

.rs-card {
    position: relative;
    flex: 0 0 340px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    color: rgba(255, 255, 255, .8);
    background: linear-gradient(165deg, var(--purple-800) 0%, var(--purple-900) 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 18px 40px -24px rgba(42, 5, 73, .6);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
/* gradient hairline border that lights up on hover */
.rs-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255, 138, 80, .95), rgba(205, 168, 247, .55) 45%, transparent 75%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .45s var(--ease);
    pointer-events: none;
}
.rs-card:hover, .rs-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 32px 60px -26px rgba(61, 5, 102, .75), 0 0 48px -14px rgba(242, 106, 46, .5);
}
.rs-card:hover::before, .rs-card:focus-visible::before { opacity: 1; }

.rs-art {
    position: relative;
    height: 152px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.25rem 1.4rem;
    overflow: hidden;
    background:
        radial-gradient(260px 170px at 88% 0%, rgba(242, 106, 46, .5), transparent 70%),
        radial-gradient(260px 190px at 0% 100%, rgba(138, 61, 224, .75), transparent 70%);
}
.rs-card[data-art="data"] .rs-art {
    background:
        radial-gradient(260px 170px at 88% 0%, rgba(205, 168, 247, .5), transparent 70%),
        radial-gradient(260px 190px at 0% 100%, rgba(138, 61, 224, .8), transparent 70%);
}
.rs-card[data-art="governance"] .rs-art {
    background:
        radial-gradient(260px 170px at 10% 0%, rgba(242, 106, 46, .45), transparent 70%),
        radial-gradient(280px 200px at 100% 100%, rgba(138, 61, 224, .75), transparent 70%);
}
.rs-card[data-art="platform"] .rs-art {
    background:
        radial-gradient(300px 170px at 50% 0%, rgba(205, 168, 247, .38), transparent 70%),
        radial-gradient(260px 190px at 100% 100%, rgba(242, 106, 46, .35), transparent 70%);
}
.rs-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
            mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.rs-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .035), 0 0 0 24px rgba(255, 255, 255, .025);
    display: grid;
    place-items: center;
    color: var(--orange-400);
    font-size: 1.4rem;
    transition: transform .45s var(--ease);
}
.rs-card[data-art="data"] .rs-icon, .rs-card[data-art="platform"] .rs-icon { color: #E3D0FF; }
.rs-card:hover .rs-icon { transform: translateY(-4px) rotate(-6deg); }
.rs-index {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3.4rem;
    line-height: .8;
    color: rgba(255, 255, 255, .14);
}
.rs-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.25rem; }
.rs-tag {
    margin-bottom: .7rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange-400);
}
.rs-card h3 { font-size: 1.55rem; line-height: 1.05; color: var(--white); margin-bottom: .7rem; }
.rs-blurb { flex: 1; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.rs-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .8rem;
}
.rs-soon { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .55); }
.rs-go { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--white); }
.rs-go i { transition: transform .3s var(--ease); }
.rs-card:hover .rs-go i { transform: translateX(4px); }

.rs-card--cta {
    justify-content: flex-end;
    color: var(--purple-950);
    background: linear-gradient(160deg, #FF9A66 0%, var(--orange-500) 55%, var(--orange-600) 100%);
}
.rs-card--cta::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -50px;
    width: 230px;
    height: 230px;
    z-index: -1;
    opacity: .14;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C0330' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rs-card--cta .rs-body { flex: 0; padding: 1.75rem 1.6rem; }
.rs-card--cta .rs-tag { color: var(--purple-900); }
.rs-card--cta h3 { font-size: 2rem; color: var(--purple-950); }
.rs-card--cta .rs-blurb { flex: 0; margin-bottom: 1.5rem; color: rgba(28, 3, 48, .78); }
.rs-cta-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.3rem;
    border-radius: 999px;
    background: var(--purple-950);
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
}
.rs-cta-btn i { transition: transform .3s var(--ease); }
.rs-card--cta:hover .rs-cta-btn i { transform: translateX(4px); }

.rs-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rs-progress span {
    display: block;
    width: 30%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--purple-600), var(--orange-500));
}

/* Touch devices: native swipe with gentle snapping (cursor tracking is mouse-only) */
@media (hover: none) {
    .rs-viewport { scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
    .rs-card { scroll-snap-align: start; }
    .rs-hint { display: none; }
}

/* ==========================================================================
   Ask ANON chat assistant (logic in anon-chat.js)
   ========================================================================== */
.chat-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 150;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 1.15rem .45rem .45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
    color: var(--white);
    font-weight: 700;
    font-size: .95rem;
    box-shadow: 0 16px 36px -12px rgba(61, 5, 102, .7), inset 0 0 0 1px rgba(255, 255, 255, .12);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(61, 5, 102, .75), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.chat-launcher .cl-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
}
.chat-launcher .cl-icon img { width: 26px; height: 26px; }
.chat-launcher .cl-icon::after {
    content: '';
    position: absolute;
    right: -1px;
    bottom: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3DD68C;
    box-shadow: 0 0 0 2px var(--purple-700);
}
.chat-launcher .cl-close { display: none; font-size: 1rem; }
.chat-launcher[aria-expanded="true"] .cl-close { display: inline; }
.chat-launcher[aria-expanded="true"] .cl-icon, .chat-launcher[aria-expanded="true"] .cl-label { display: none; }
.chat-launcher[aria-expanded="true"] { padding: 0; width: 56px; height: 56px; justify-content: center; border-radius: 50%; }

.chat-teaser {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 149;
    max-width: 270px;
    padding: .85rem 2.4rem .85rem 1rem;
    border-radius: 16px 16px 6px 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink-900);
    cursor: pointer;
    animation: chat-in .4s var(--ease) both;
}
.chat-teaser strong { display: block; font-size: .92rem; margin-bottom: .1rem; }
.chat-teaser button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    color: var(--ink-500);
    font-size: .8rem;
}
.chat-teaser button:hover { background: var(--cream-100); color: var(--ink-900); }

.chat-panel {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 150;
    width: 392px;
    height: min(640px, calc(100vh - 128px));
    display: flex;
    flex-direction: column;
    background: var(--cream-50);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 40px 80px -24px rgba(42, 5, 73, .5), 0 0 0 1px rgba(61, 5, 102, .08);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.96);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }

.chat-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.05rem 1rem 1.05rem 1.2rem;
    background: var(--purple-800);
    color: var(--white);
}
.chat-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(260px 140px at 100% 0%, rgba(242, 106, 46, .4), transparent 70%),
        radial-gradient(240px 160px at 0% 100%, rgba(138, 61, 224, .7), transparent 70%);
}
.chat-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--white);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
}
.chat-avatar img { width: 30px; height: 30px; }
.chat-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.chat-sub { display: flex; align-items: center; gap: .45rem; margin-top: .3rem; font-size: .78rem; color: rgba(255, 255, 255, .78); }
.chat-sub .live { width: 7px; height: 7px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 3px rgba(61, 214, 140, .25); }
.chat-actions { display: flex; gap: .2rem; margin-left: auto; }
.chat-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .85);
    display: grid;
    place-items: center;
    transition: background-color .2s, color .2s;
}
.chat-icon-btn:hover { background: rgba(255, 255, 255, .14); color: var(--white); }

.chat-log {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.1rem 1rem .75rem;
}
.chat-day {
    align-self: center;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-500);
}
.msg { display: flex; align-items: flex-end; gap: .5rem; animation: chat-in .3s var(--ease) both; }
.msg-user { justify-content: flex-end; }
.msg-avatar { flex-shrink: 0; width: 26px; height: 26px; }
.bubble {
    max-width: 86%;
    padding: .7rem .9rem;
    font-size: .9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.msg-bot .bubble {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px 16px 16px 6px;
    color: var(--ink-700);
    box-shadow: var(--shadow-sm);
}
.msg-user .bubble { background: var(--purple-700); color: var(--white); border-radius: 16px 16px 6px 16px; }
.bubble p + p, .bubble p + ul, .bubble p + ol, .bubble ul + p, .bubble ol + p { margin-top: .5rem; }
.bubble ul, .bubble ol { padding-left: 1.1rem; }
.bubble ul { list-style: disc; }
.bubble li { margin: .15rem 0; }
.bubble li::marker { color: var(--purple-500); }
.bubble strong { color: var(--ink-900); }
.bubble a { color: var(--purple-600); font-weight: 600; text-decoration: underline; }
.chat-demo, .chat-suggest { margin-left: 34px; }
.chat-demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem .75rem .7rem .9rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF4EC, var(--orange-100));
    border: 1px solid #F8C9AE;
    font-size: .83rem;
    font-weight: 600;
    color: var(--ink-900);
    animation: chat-in .3s .1s var(--ease) both;
}
.chat-demo a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: var(--orange-500);
    color: var(--purple-950);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .2s;
}
.chat-demo a:hover { background: var(--orange-400); }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .4rem; animation: chat-in .3s .15s var(--ease) both; }
.chat-chip {
    padding: .42rem .75rem;
    border-radius: 999px;
    border: 1.5px solid var(--purple-300);
    background: var(--white);
    color: var(--purple-700);
    font-size: .8rem;
    font-weight: 600;
    text-align: left;
    transition: background-color .2s, color .2s, border-color .2s;
}
.chat-chip:hover { background: var(--purple-700); border-color: var(--purple-700); color: var(--white); }
.typing { display: inline-flex; gap: 4px; padding: .85rem .95rem; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-300); animation: chat-dot 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }

.chat-form {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    padding: .75rem .75rem .55rem;
    border-top: 1px solid var(--line);
    background: var(--white);
}
.chat-input {
    flex: 1;
    min-height: 44px;
    max-height: 110px;
    padding: .62rem .85rem;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--cream-50);
    font: inherit;
    font-size: .92rem;
    line-height: 1.4;
    color: var(--ink-900);
    resize: none;
    transition: border-color .2s, box-shadow .2s;
}
.chat-input:focus { outline: none; border-color: var(--purple-500); box-shadow: 0 0 0 4px rgba(138, 61, 224, .15); background: var(--white); }
.chat-send {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange-500);
    color: var(--purple-950);
    display: grid;
    place-items: center;
    transition: background-color .2s, opacity .2s, transform .2s var(--ease);
}
.chat-send:hover:not(:disabled) { background: var(--orange-400); transform: translateY(-1px); }
.chat-send:disabled { opacity: .4; cursor: default; }
.chat-foot { padding: 0 .9rem .7rem; background: var(--white); font-size: .7rem; color: var(--ink-500); text-align: center; }
.chat-foot a { color: var(--purple-600); font-weight: 600; }

@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 520px) {
    .chat-launcher { right: 16px; bottom: 16px; }
    .chat-teaser { right: 16px; bottom: 82px; }
    .chat-panel {
        inset: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        border-radius: 0;
    }
    .chat-launcher[aria-expanded="true"] { display: none; }
}

/* ==========================================================================
   Reveal-on-scroll (only when JS is running and motion is OK)
   ========================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--delay, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Above-the-fold content animates on load (never waits on scroll, so CTAs show immediately) */
.intro { animation: rise .7s var(--ease) both; animation-delay: var(--delay, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
    .nav-menu .nav-link { padding: .5rem .6rem; font-size: .92rem; }
    .site-nav .container { gap: 1.25rem; }
}

@media (max-width: 1080px) {
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Navigation collapses into the mobile menu */
@media (max-width: 1100px) {
    :root { --nav-h: 64px; }

    /* backdrop-filter would make the nav the containing block for the fixed menu panel */
    .site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream-50); }
    .nav-toggle { display: grid; place-items: center; }
    .nav-menu {
        position: fixed;
        top: var(--menu-top, var(--nav-h));
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem var(--gutter) 2rem;
        background: var(--cream-50);
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s var(--ease), visibility .3s;
    }
    .site-nav.menu-open .nav-menu { transform: none; visibility: visible; }
    .nav-menu > li { border-bottom: 1px solid var(--line); }
    .nav-menu .nav-link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; border-radius: 0; }
    .nav-link:hover, .nav-link[aria-expanded="true"] { background: transparent; }
    .dropdown {
        position: static;
        width: auto;
        grid-template-columns: 1fr;
        box-shadow: none;
        border: 0;
        padding: 0 0 .75rem;
        background: transparent;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .dropdown.open { display: grid; }
    .nav-actions { margin-left: auto; }
}

@media (max-width: 960px) {
    .hero-grid, .how-grid, .story, .about-grid, .solution-hero-grid, .demo-grid, .watch-grid,
    .security-grid, .faq-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 620px; margin: 2.5rem 0; }
    .story-media { min-height: 0; aspect-ratio: 600 / 640; max-height: 560px; }
    .solution-emblem { display: none; }
    .resource-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .mini-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .contact-cards { grid-template-columns: 1fr; }
    .topbar-contact { display: none; }
    .platforms .container { flex-direction: column; align-items: flex-start; }
}

/* Comparison table becomes stacked cards */
@media (max-width: 720px) {
    .compare-wrap { border: 0; background: transparent; overflow: visible; }
    .compare thead { display: none; }
    .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
    .compare tr {
        margin-bottom: 1rem;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        overflow: hidden;
    }
    .compare tbody th { width: 100%; background: var(--cream-100); }
    .compare td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .25rem;
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--ink-500);
    }
    .compare tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
    .compare tbody tr > *:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; }

    .audience-grid, .resource-grid, .card-grid-3, .mini-steps, .form-row, .security-list { grid-template-columns: 1fr; }
    .form-row { gap: 0; }
    .hero-ctas .btn { width: 100%; }
    .section-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .float-badge { display: none; }
    .demo-table .hide-sm { display: none; }
    .demo-head { flex-direction: column; align-items: flex-start; }
    .step-panels { min-height: 0; padding: 1.1rem; }
    .audit-list .who, .suggest { display: none; }
    .technique-grid { grid-template-columns: repeat(3, 1fr); }
    .ba { grid-template-columns: 1fr; }
    .ba > i { justify-self: center; transform: rotate(90deg); }
    .reg { grid-template-columns: 1fr; gap: .2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar { font-size: .76rem; }
    .scheduler iframe { height: 760px; }
    .rs-card { flex-basis: 282px; min-height: 400px; }
    .rs-viewport { --fade: 12px; }
    .rs-hint { display: none; }
    .rs-controls { margin-bottom: 1.5rem; }
}

@media (max-width: 420px) {
    .nav-actions .btn { padding: .5rem .85rem; font-size: .82rem; min-height: 40px; }
    .brand-mark { width: 34px; height: 34px; }
    .brand-name { font-size: 1.45rem; }
    .brand-by { display: none; }
}

/* ==========================================================================
   Works With marquee, feature slider, card hover, one-screen sections
   ========================================================================== */

/* ---- Works With: continuous right-to-left marquee ---- */
:root { --platforms-h: 80px; }
.platforms { padding: 1.05rem 0; }
.platforms-inner { display: flex; align-items: center; gap: 1rem 2.25rem; }
.platforms-inner .platforms-label { flex-shrink: 0; }
.marquee {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .platform-list { flex-shrink: 0; flex-wrap: nowrap; gap: .6rem; padding-right: .6rem; }
.marquee .platform { white-space: nowrap; padding: .5rem .9rem; }
/* two identical lists: sliding by half the track loops seamlessly */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; width: auto; }
    .marquee .platform-list { flex-wrap: wrap; }
    .marquee .platform-list[aria-hidden="true"] { display: none; }
    .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---- Feature cards share the Resources slider design ---- */
.rs-card--feature { min-height: 360px; }
.rs-card--feature .rs-art { height: 128px; }
.rs-card--feature.rs-card--cta { justify-content: flex-end; }

/* ---- Cards pop up further on hover (both sliders) ---- */
.rs-track { padding-top: 1.9rem; padding-bottom: 3.1rem; }
.rs-card { will-change: transform; }
.rs-card:hover, .rs-card:focus-visible {
    z-index: 3;
    transform: translateY(-16px) scale(1.045);
    box-shadow:
        0 42px 70px -28px rgba(61, 5, 102, .85),
        0 0 0 1px rgba(255, 138, 80, .35),
        0 0 64px -12px rgba(242, 106, 46, .6);
}
.rs-card:hover .rs-art { filter: saturate(1.2) brightness(1.08); }
.rs-art { transition: filter .45s var(--ease); }

/* ---- How it works: heading sits above the steps, beside the panel ---- */
.how-left .section-head { margin-bottom: 1.5rem; }

/* ---- Security: wide heading; HIPAA + regulations share one card ---- */
.section-head-wide { max-width: none; }
.section-head-wide .lead { max-width: 46rem; }
.hipaa-card { padding: 1.5rem; }
.hipaa-top { display: flex; align-items: center; gap: 1.1rem; }
.hipaa-top .big { flex-shrink: 0; font-size: clamp(3.8rem, 7vw, 5rem); }
.hipaa-top p { margin-top: 0; font-size: .98rem; }
.reg-title {
    margin: 1.1rem 0 .6rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--purple-700);
}
.hipaa-card .reg-list { margin-top: 0; gap: .45rem; }
.hipaa-card .reg { grid-template-columns: 6.4rem 1fr; padding: .6rem .8rem; background: var(--white); border-color: var(--line); }
.hipaa-card .reg strong { color: var(--ink-900); font-size: 1rem; }
.hipaa-card .reg span { color: var(--ink-700); font-size: .86rem; }
.security-item { display: grid; grid-template-columns: 40px 1fr; column-gap: .9rem; align-items: start; padding: 1rem 1.1rem; }
.security-item > i { grid-row: span 2; margin-bottom: 0; }
.security-item h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.security-item p { font-size: .88rem; }

/* ---- Use case: details in a two-column grid ---- */
.story-grid { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.story-grid .span-2 { grid-column: 1 / -1; }

@media (max-width: 960px) {
    .platforms-inner { flex-direction: column; align-items: flex-start; }
    .platforms-inner > .marquee { align-self: stretch; }
}
@media (max-width: 640px) {
    .story-grid { grid-template-columns: 1fr; }
    .hipaa-card .reg { grid-template-columns: 1fr; }
    .security-list { grid-template-columns: 1fr; }
    .rs-card--feature { min-height: 330px; flex-basis: 270px; }
}

/* ==========================================================================
   One screen per section (desktop)
   Each major section fills exactly the screen below the sticky nav, with its
   content centred. Spacing and type scale with the viewport height so a
   section never runs past the bottom of the screen on laptops or monitors.
   ========================================================================== */
@media (min-width: 961px) {
    [id] { scroll-margin-top: var(--nav-h); }
    .section { padding: clamp(1.5rem, 5vh, 3.75rem) 0; }

    h1 { font-size: clamp(2.3rem, min(4.6vw, 6.8vh), 4.4rem); }
    h2 { font-size: clamp(1.8rem, min(3.3vw, 5.2vh), 3rem); }
    .lead { font-size: clamp(.95rem, min(1.25vw, 2.1vh), 1.15rem); }
    .section-head { margin-bottom: clamp(.9rem, 2.8vh, 2rem); }
    .section-head h2 { margin: clamp(.35rem, 1.1vh, .8rem) 0; }
    .section-cta { margin-top: clamp(.75rem, 2.2vh, 1.5rem); padding: .7rem .8rem .7rem 1.4rem; }
    .section-cta p { font-size: 1rem; }
    .section-cta .btn { min-height: 42px; padding: .6rem 1.3rem; font-size: .95rem; }

    /* Hero */
    .hero { padding: clamp(1rem, 3.5vh, 2.75rem) 0; }
    .hero h1 { margin: clamp(.45rem, 1.4vh, 1rem) 0 clamp(.55rem, 1.8vh, 1.2rem); }
    .hero-ctas { margin-top: clamp(.9rem, 2.6vh, 1.75rem); }
    .hero-ctas .btn-lg { min-height: clamp(44px, 6.2vh, 56px); padding-block: .6rem; }
    .trust-row { margin-top: clamp(.7rem, 1.9vh, 1.4rem); font-size: .86rem; gap: .35rem 1.2rem; }
    .team-jump { margin-top: clamp(.8rem, 2.2vh, 1.75rem); }
    .team-jump p { margin-bottom: .45rem; }
    .chip { padding: .36rem .8rem; font-size: .85rem; }
    .demo-head { padding: .8rem 1.25rem; }
    .demo-table th { padding: .6rem .5rem .45rem; }
    .demo-table td { padding: clamp(.38rem, 1.05vh, .62rem) .5rem; }
    .demo-foot { padding: .8rem 1.25rem .9rem; }
    .float-badge.b1 { top: -44px; }
    .float-badge.b2 { bottom: -44px; }

    /* Solutions */
    .audience-card { padding: clamp(1rem, 2.5vh, 1.75rem) 1.35rem clamp(.9rem, 2.2vh, 1.5rem); }
    .audience-icon { width: 44px; height: 44px; margin-bottom: clamp(.55rem, 1.7vh, 1.25rem); }
    .audience-label { margin-bottom: .35rem; }
    .audience-card h3 { margin-bottom: .5rem; }
    .audience-card p { margin-bottom: clamp(.7rem, 1.9vh, 1.5rem); font-size: .92rem; }

    /* How it works */
    .how-grid { grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
    .how-left .section-head { margin-bottom: clamp(.8rem, 2.2vh, 1.5rem); }
    .steps { gap: .45rem; }
    .step { padding: clamp(.6rem, 1.6vh, 1rem) 1.1rem; }
    .step-num { font-size: clamp(1.25rem, 2.8vh, 1.6rem); }
    .step-title { font-size: clamp(1.02rem, 2.3vh, 1.3rem); }
    .step-desc { font-size: .87rem; }
    .step-panels { min-height: 0; padding: clamp(.9rem, 2.3vh, 1.5rem); }
    .panel-head { padding-bottom: .65rem; margin-bottom: .65rem; }
    .field-list, .pair-list, .dest-list, .audit-list { gap: .38rem; }
    .field-list li, .pair-list li, .dest-list li, .audit-list li { padding: clamp(.4rem, 1.15vh, .7rem) .85rem; }
    .technique-grid { margin-bottom: .7rem; }
    .technique { padding: clamp(.3rem, .9vh, .5rem) .35rem; }

    /* Sliders (Features, Resources) */
    .rs-head .section-head { max-width: 58rem; margin-bottom: clamp(.6rem, 1.8vh, 1.5rem); }
    .rs-controls { margin-bottom: clamp(.75rem, 2vh, 1.6rem); }
    .rs-track { padding-top: clamp(1.1rem, 2.6vh, 1.9rem); padding-bottom: clamp(1.6rem, 3.8vh, 3.1rem); }
    .rs-card { min-height: clamp(290px, 44vh, 420px); }
    .rs-card--feature { min-height: clamp(255px, 37vh, 360px); }
    .rs-art { height: clamp(88px, 14vh, 148px); }
    .rs-card--feature .rs-art { height: clamp(80px, 12vh, 128px); }
    .rs-body { padding: clamp(.8rem, 2vh, 1.35rem) 1.35rem clamp(.8rem, 1.9vh, 1.25rem); }
    .rs-card h3 { font-size: clamp(1.2rem, 2.8vh, 1.55rem); }
    .rs-card--cta h3 { font-size: clamp(1.5rem, 3.4vh, 2rem); }
    .rs-blurb { font-size: .9rem; }
    .rs-foot { margin-top: clamp(.6rem, 1.6vh, 1.25rem); padding-top: clamp(.6rem, 1.5vh, 1rem); }

    /* Security */
    .security-grid { grid-template-columns: 1fr 1.45fr; align-items: stretch; gap: clamp(1rem, 2.4vw, 2rem); }
    .security-list { gap: clamp(.5rem, 1.4vh, .9rem); }
    .security-item { padding: clamp(.7rem, 1.8vh, 1rem) 1.1rem; }
    .hipaa-card { padding: clamp(1rem, 2.6vh, 1.6rem) 1.4rem; }
    .reg-title { margin: clamp(.6rem, 1.8vh, 1.1rem) 0 .5rem; }
    .hipaa-card .reg { padding: clamp(.4rem, 1.1vh, .6rem) .8rem; }

    /* Comparison */
    .compare th, .compare td { padding: clamp(.5rem, 1.45vh, .95rem) 1.3rem; font-size: .93rem; }
    .compare thead th { padding-block: clamp(.55rem, 1.4vh, .9rem); }

    /* Use case */
    .story-media { min-height: 0; }
    .story-body { padding: clamp(1.1rem, 3vh, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); }
    .story-body h3 { font-size: clamp(1.3rem, 3.1vh, 1.9rem); margin: .55rem 0 clamp(.7rem, 1.9vh, 1.25rem); }
    .story-points { gap: clamp(.55rem, 1.5vh, 1rem) 1.5rem; margin-bottom: 0; }
    .story-points dd { font-size: .9rem; }
    .story-note { margin-top: clamp(.55rem, 1.5vh, 1rem); }

    /* About */
    .about-grid { gap: clamp(1.5rem, 4vw, 3.5rem); }
    .about-grid .lead { font-size: clamp(.95rem, min(1.2vw, 2vh), 1.1rem); }
    .about-points { margin: clamp(.8rem, 2.2vh, 1.5rem) 0 clamp(.9rem, 2.4vh, 1.75rem); gap: clamp(.5rem, 1.3vh, .9rem); }
    .about-points li { font-size: .95rem; }
    .about-photo { width: min(100%, calc(48vh * 4 / 3)); justify-self: center; }
    .contact-cards { margin-top: clamp(.9rem, 2.6vh, 2rem); }
    .contact-card { padding: clamp(.65rem, 1.7vh, 1.1rem) 1.1rem; }

    /* FAQ */
    .faq-list { gap: clamp(.35rem, 1vh, .6rem); }
    .faq-item summary { padding: clamp(.6rem, 1.6vh, 1rem) 1.2rem; font-size: .97rem; }

    /* Team pages */
    .info-card { padding: clamp(1.1rem, 2.8vh, 1.75rem) 1.4rem; }
    .info-card .num { font-size: clamp(2rem, 4.6vh, 2.6rem); margin-bottom: clamp(.5rem, 1.5vh, 1rem); }
    .callout { margin-top: clamp(.8rem, 2vh, 1.25rem); }
}

/* The screen-filling rule itself (skipped on very short windows and on pages
   whose sections are meant to be shorter, such as the thank-you page) */
@media (min-width: 961px) and (min-height: 560px) {
    .section:not(.no-fit) {
        min-height: calc(100svh - var(--nav-h));
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .hero {
        min-height: calc(100svh - var(--nav-h) - var(--topbar-h) - var(--platforms-h));
        display: flex;
        align-items: center;
    }
    .hero > .container { width: 100%; }
}

/* Use case: title and subtitle now live inside the story card */
.story-body .story-title { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: .7rem 0 .4rem; }
.story-sub { font-size: .95rem; color: var(--ink-500); margin-bottom: 1.25rem; }

/* Works With strip has a fixed height so the hero can fill the rest of the first screen */
@media (min-width: 961px) {
    .platforms { height: var(--platforms-h); padding: 0; display: flex; align-items: center; }
    .platforms > .container { width: 100%; }
    .section-head.center { max-width: 62rem; }
    .section-head-wide .lead, .rs-head .section-head .lead { max-width: 52rem; }
    .story-body .story-title { font-size: clamp(1.7rem, min(2.8vw, 4.8vh), 2.6rem); margin: clamp(.4rem, 1.2vh, .7rem) 0 .35rem; }
    .story-sub { margin-bottom: clamp(.7rem, 2vh, 1.25rem); font-size: .92rem; }
    .hero { padding: clamp(.75rem, 2.5vh, 2.25rem) 0; }
}
/* Very short windows: the hero's team shortcuts repeat the Solutions section just below */
@media (min-width: 961px) and (max-height: 700px) {
    .team-jump { display: none; }
}
@media (min-width: 961px) {
    .story { grid-template-columns: .78fr 1.22fr; }
    .story-grid { gap: clamp(.5rem, 1.4vh, 1rem) 1.75rem; }
    .story-points dt { margin-bottom: .1rem; }
    .story-points dd { font-size: .89rem; line-height: 1.5; }
}
@media (max-width: 960px) {
    .platforms-inner > .marquee { width: 100%; flex: none; }
}

/* Balanced headline wrapping (no single-word last lines) */
h1, h2, h3 { text-wrap: balance; }
/* Fill gaps in the use-case grid, keep slider arrows on the right when they wrap */
.story-grid { grid-auto-flow: dense; }
.rs-controls { margin-left: auto; }

/* Headline: avoid orphans without forcing equal-length lines */
h1, h1 .line-2 { text-wrap: pretty; }

/* ==========================================================================
   Uniform contact cards, tiled use case, two-column comparison
   ========================================================================== */

/* ---- Contact cards: identical structure and height, content centred ---- */
.contact-cards { align-items: stretch; }
.contact-card { align-items: center; }
.contact-card > div { display: flex; flex-direction: column; min-width: 0; }
.contact-card strong { display: block; font-size: 1rem; line-height: 1.35; margin-top: .15rem; }
.contact-card small { display: block; font-size: .84rem; line-height: 1.35; color: var(--ink-500); margin-top: .1rem; }

/* ---- Use case: separate tiles in a bento layout ---- */
.uc-grid {
    display: grid;
    grid-template-columns: .95fr 1fr 1fr;
    gap: clamp(.75rem, 1.4vw, 1.1rem);
}
.uc-tile {
    position: relative;
    margin: 0;
    padding: clamp(1rem, 2.3vh, 1.4rem) 1.35rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 30px -24px rgba(42, 5, 73, .45);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.uc-tile:hover { transform: translateY(-4px); border-color: var(--purple-300); box-shadow: 0 24px 46px -28px rgba(61, 5, 102, .55); }
.uc-art {
    grid-column: 1;
    grid-row: 1 / span 3;
    padding: 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #FBF5EA, #F2E8FD);
}
.uc-art img { width: 100%; height: 100%; object-fit: contain; }
.uc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: clamp(.55rem, 1.6vh, .85rem);
    background: var(--purple-100);
    color: var(--purple-600);
    font-size: 1rem;
}
.uc-icon-warn { background: var(--orange-100); color: var(--orange-600); }
.uc-label {
    margin-bottom: .35rem;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--purple-600);
}
.uc-tile p { font-size: .97rem; font-weight: 500; line-height: 1.5; color: var(--ink-900); }

/* outcome tile: brand surface */
.uc-result { background: var(--purple-800); border-color: transparent; overflow: hidden; isolation: isolate; }
.uc-result::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(240px 160px at 100% 0%, rgba(242, 106, 46, .45), transparent 70%),
        radial-gradient(240px 180px at 0% 100%, rgba(138, 61, 224, .7), transparent 70%);
}
.uc-result:hover { border-color: transparent; }
.uc-result .uc-icon { background: rgba(255, 255, 255, .12); color: #8FE3B5; }
.uc-result .uc-label { color: var(--orange-400); }
.uc-result p { color: var(--white); }

/* workflow tile: five steps */
.uc-flow { grid-column: 2 / span 2; background: var(--cream-100); }
.uc-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .7rem;
    margin-top: clamp(.5rem, 1.4vh, .8rem);
}
.uc-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: clamp(.55rem, 1.4vh, .8rem) .75rem;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
}
.uc-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -.6rem;
    width: .5rem;
    height: 2px;
    background: var(--purple-300);
}
.uc-num {
    width: 24px;
    height: 24px;
    margin-bottom: .3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--purple-700);
    color: var(--white);
    font-size: .74rem;
    font-weight: 800;
}
.uc-steps strong { font-size: .92rem; color: var(--ink-900); }
.uc-steps li > span:last-child { font-size: .78rem; line-height: 1.35; color: var(--ink-500); }

/* ---- Comparison: scripts vs ANON, rows aligned across both cards ---- */
.vs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto repeat(6, auto);
    column-gap: clamp(1rem, 2.6vw, 2.25rem);
}
.vs-col {
    position: relative;
    grid-row: 1 / span 7;
    display: grid;
    grid-template-rows: subgrid;
    padding: .5rem .55rem .6rem;
    border-radius: 22px;
}
.vs-head { grid-row: 1; display: flex; align-items: center; gap: .85rem; padding: .85rem .9rem 1rem; }
.vs-badge {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
}
.vs-head h3 { font-size: 1.5rem; line-height: 1; }
.vs-head p { margin-top: .25rem; font-size: .85rem; }
.vs-list { grid-row: 2 / span 6; display: grid; grid-template-rows: subgrid; list-style: none; }
.vs-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: clamp(.5rem, 1.35vh, .8rem) .9rem;
    border-radius: 14px;
}
.vs-item > i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .72rem;
}
.vs-item small {
    display: block;
    margin-bottom: .1rem;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.vs-item span { font-size: .95rem; line-height: 1.4; }

/* scripts: quiet and muted */
.vs-scripts { background: var(--white); border: 1px solid var(--line); }
.vs-scripts .vs-badge { background: var(--cream-200); color: var(--ink-500); }
.vs-scripts .vs-head h3 { color: var(--ink-700); }
.vs-scripts .vs-head p { color: var(--ink-500); }
.vs-scripts .vs-item > i { background: #FDE7E4; color: var(--error); }
.vs-scripts .vs-item small { color: var(--ink-500); }
.vs-scripts .vs-item span { color: var(--ink-700); }
.vs-scripts .vs-item + .vs-item { border-top: 1px dashed var(--line); border-radius: 0; }

/* ANON: brand surface, raised */
.vs-anon {
    color: var(--white);
    background: var(--purple-800);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 30px 60px -30px rgba(61, 5, 102, .8);
}
.vs-anon::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(242, 106, 46, .38), transparent 70%),
        radial-gradient(420px 280px at 0% 100%, rgba(138, 61, 224, .65), transparent 70%);
}
.vs-anon .vs-badge { background: var(--white); }
.vs-anon .vs-head h3 { color: var(--white); }
.vs-anon .vs-head p { color: rgba(255, 255, 255, .72); }
.vs-anon .vs-item > i { background: var(--orange-500); color: var(--purple-950); }
.vs-anon .vs-item small { color: var(--orange-400); }
.vs-anon .vs-item span { color: var(--white); font-weight: 500; }
.vs-anon .vs-item + .vs-item { border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }

.vs-versus {
    position: absolute;
    z-index: 2;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--purple-700);
}

/* ---- Smaller screens ---- */
@media (max-width: 960px) {
    .uc-grid { grid-template-columns: 1fr 1fr; }
    .uc-art { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 600 / 640; max-height: 440px; }
    .uc-flow { grid-column: 1 / -1; }
    .uc-steps { grid-template-columns: repeat(3, 1fr); }
    .uc-steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 720px) {
    .vs { grid-template-columns: 1fr; grid-template-rows: none; row-gap: .75rem; }
    .vs-col, .vs-list { grid-row: auto; display: block; }
    .vs-versus { position: static; transform: none; justify-self: center; }
}
@media (max-width: 640px) {
    .uc-grid { grid-template-columns: 1fr; }
    .uc-steps { grid-template-columns: 1fr; }
    .uc-steps li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: .6rem; }
    .uc-steps li > span:last-child { flex-basis: 100%; padding-left: calc(24px + .6rem); }
    .uc-num { margin-bottom: 0; }
}

/* Compact tiles: icon sits beside the label instead of above it */
.uc-tile:not(.uc-art):not(.uc-flow) { display: grid; grid-template-columns: 40px 1fr; column-gap: .9rem; align-content: center; }
.uc-tile:not(.uc-art):not(.uc-flow) .uc-icon { grid-row: span 2; margin-bottom: 0; }
.uc-tile:not(.uc-art):not(.uc-flow) .uc-label { align-self: end; }
/* Comparison: tighter rows */
.vs-head { padding: .6rem .85rem .75rem; }
.vs-badge { width: 42px; height: 42px; }
.vs-head h3 { font-size: 1.4rem; }
.vs-item { padding: clamp(.35rem, 1.05vh, .7rem) .85rem; }
.vs-item span { font-size: .93rem; }
/* The illustration fills its tile without driving the row heights */
.uc-art { position: relative; min-height: 260px; }
.uc-art img { position: absolute; inset: 0; }
/* Workflow steps: number and title on one line, detail underneath */
.uc-steps li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: .5rem; row-gap: .15rem; }
.uc-steps .uc-num { margin-bottom: 0; width: 22px; height: 22px; font-size: .7rem; }
.uc-steps li > span:last-child { flex-basis: 100%; }
@media (min-width: 961px) {
    .uc-grid { gap: clamp(.6rem, 1.2vw, .9rem); }
    .uc-tile { padding: clamp(.8rem, 2vh, 1.25rem) 1.25rem; }
    .uc-steps { margin-top: .45rem; gap: .6rem; }
    #use-cases .section-head { margin-bottom: clamp(.75rem, 2.2vh, 1.6rem); }
}

/* ---- Hero: "identities" shown as a redaction block that the scan line anonymizes ---- */
.hero h1 .redact {
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    white-space: nowrap;
    padding: .02em .16em 0;
    margin: 0 .02em;
    border-radius: .14em;
    color: var(--white);
    text-align: center;
    background: linear-gradient(100deg, var(--purple-500) 0%, var(--purple-700) 55%, var(--purple-800) 100%);
    box-shadow: 0 .14em .45em -.14em rgba(61, 5, 102, .6), inset 0 0 0 1px rgba(255, 255, 255, .12);
    overflow: hidden;
    isolation: isolate;
}
/* faint pixel grid: the block reads as masked data */
.hero h1 .redact::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: .22em .22em;
}
.hero h1 .redact-beam {
    position: absolute;
    top: -15%;
    bottom: -15%;
    left: -8%;
    width: .09em;
    border-radius: 99px;
    background: linear-gradient(#FFD2B5, var(--orange-500));
    box-shadow: 0 0 .35em .12em rgba(255, 138, 80, .85), 0 0 1.2em .3em rgba(242, 106, 46, .45);
    opacity: 0;
    pointer-events: none;
}
.hero h1 .redact.scanning .redact-beam { animation: redact-beam var(--scan-ms, 1300ms) cubic-bezier(.45, .05, .35, 1) forwards; }
@keyframes redact-beam {
    0% { left: -8%; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { left: 104%; opacity: 0; }
}
.hero h1 .redact .is-masked { color: var(--orange-400); }
@media (prefers-reduced-motion: reduce) {
    .hero h1 .redact-beam { display: none; }
}

/* ---- Hero headline: exactly two lines, sized to the copy column ----
   The longer line ("Not the identities behind it." inside its block) is about 11.6em wide,
   so 8.5% of the column width keeps each line on one line at every screen size. */
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: clamp(1.8rem, min(8.5cqi, 7.6vh), 4.6rem); }
.hero h1 .line-1 { display: block; white-space: nowrap; }
.hero h1 .line-2.redact { display: inline-block; white-space: nowrap; margin: .08em 0 0; padding: .04em .2em 0; }
.hero h1 .redact .is-key { color: #FFD3BD; }
.hero h1 .redact .is-masked { color: var(--orange-400); text-shadow: 0 0 .25em rgba(255, 138, 80, .45); }
/* scrambled letters occupy exactly the width of the letter they replace */
.hero h1 .redact .is-masked { display: inline-block; text-align: center; overflow: visible; }
/* a little more room for the two-line headline */
@media (min-width: 961px) {
    .hero-grid { grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 3.6vw, 3.5rem); }
}

/* Equal space above and below the capitals inside the block (measured from the font outlines) */
.hero h1 .line-2.redact { padding: 0 .2em .055em; }

/* ---- Deployment options: two illustrated tiles with an OR between them ---- */
.dp-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: clamp(.6rem, 1.4vw, 1.2rem);
}
.dp-card {
    --accent: var(--purple-600);
    --accent-soft: var(--purple-100);
    --tint: #F8F2FF;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--tint), var(--white) 70%);
    border: 1px solid rgba(110, 31, 184, .16);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.dp-card--managed {
    --accent: var(--orange-600);
    --accent-soft: var(--orange-100);
    --tint: #FFF4EC;
    border-color: rgba(242, 106, 46, .22);
}
.dp-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(42, 5, 73, .5); border-color: var(--accent); }

/* illustration panel */
.dp-art {
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(9.5rem, 24vh, 13.5rem);
    padding: clamp(.6rem, 1.6vh, 1rem) 1rem clamp(.3rem, 1vh, .6rem);
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(138, 61, 224, .45), transparent 60%),
        linear-gradient(135deg, var(--purple-950), var(--purple-800));
}
.dp-card--managed .dp-art {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(242, 106, 46, .32), transparent 60%),
        linear-gradient(135deg, var(--purple-900), #4A0C70);
}
.dp-ill { width: 100%; height: 100%; max-width: 30rem; overflow: visible; }
.dp-best {
    position: absolute;
    z-index: 1;
    top: .7rem;
    left: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .72rem;
    font-weight: 600;
    color: var(--white);
}
.dp-best i { color: var(--purple-300); }
.dp-card--managed .dp-best i { color: var(--orange-400); }

/* svg text + motion */
.dp-svg-label { font: 700 12px/1 var(--font-body); letter-spacing: .09em; fill: #fff; }
.dp-svg-label--sm { font-size: 11px; }
.dp-svg-label--warm { fill: #FFD3BD; }
.dp-svg-small { font: 700 9px/1 var(--font-body); letter-spacing: .1em; fill: #CDA8F7; }
.dp-svg-small--warm { fill: #FF8A50; }
.dp-outside { opacity: .4; }
.dp-flow { fill: none; stroke: #CDA8F7; stroke-width: 2.4; stroke-dasharray: 6 6; animation: dp-dash 1.1s linear infinite; }
.dp-flow--warm { stroke: #FF8A50; }
.dp-flow--out { stroke: #FF8A50; opacity: .7; }
@keyframes dp-dash { to { stroke-dashoffset: -24; } }
.dp-dot { fill: #FF8A50; transform-box: fill-box; filter: drop-shadow(0 0 4px rgba(255, 138, 80, .9)); }
.dp-dot--1 { animation: dp-run-62 2.4s var(--ease) infinite; }
.dp-dot--2 { animation: dp-run-50 2.4s var(--ease) 1.2s infinite; }
.dp-dot--bounce { animation: dp-bounce 2.4s ease-in-out .6s infinite; }
.dp-dot--to { animation: dp-run-182 2.8s var(--ease) infinite; }
.dp-dot--from { animation: dp-back-182 2.8s var(--ease) 1.4s infinite; }
@keyframes dp-run-62 { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 75% { transform: translateX(62px); opacity: 1; } 85%, 100% { transform: translateX(62px); opacity: 0; } }
@keyframes dp-run-50 { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 75% { transform: translateX(50px); opacity: 1; } 85%, 100% { transform: translateX(50px); opacity: 0; } }
@keyframes dp-run-182 { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 72% { transform: translateX(182px); opacity: 1; } 82%, 100% { transform: translateX(182px); opacity: 0; } }
@keyframes dp-back-182 { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 72% { transform: translateX(-182px); opacity: 1; } 82%, 100% { transform: translateX(-182px); opacity: 0; } }
/* data heads for the exit, hits the wall, and comes back */
@keyframes dp-bounce {
    0% { transform: translateX(0); opacity: 0; }
    15% { opacity: 1; }
    45% { transform: translateX(16px); opacity: 1; }
    75% { transform: translateX(0); opacity: 1; }
    90%, 100% { transform: translateX(0); opacity: 0; }
}
.dp-block { transform-box: fill-box; transform-origin: center; animation: dp-pulse 2.4s ease-in-out .6s infinite; }
@keyframes dp-pulse { 0%, 35%, 60%, 100% { transform: scale(1); } 45% { transform: scale(1.2); } }
.dp-check { animation: dp-float 3s ease-in-out infinite; }
@keyframes dp-float { 50% { translate: 0 -4px; } }

/* text */
.dp-body {
    display: flex;
    flex-direction: column;
    gap: clamp(.3rem, .9vh, .55rem);
    padding: clamp(.9rem, 2.2vh, 1.4rem) clamp(1.1rem, 1.8vw, 1.6rem) clamp(1rem, 2.4vh, 1.5rem);
}
.dp-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
}
.dp-card h3 { margin: 0; font-size: clamp(1.6rem, 4vh, 2.2rem); line-height: 1; }
.dp-hook { margin: 0; font-size: clamp(1rem, 2.3vh, 1.15rem); font-weight: 600; color: var(--accent); }
.dp-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: clamp(.2rem, .8vh, .5rem) 0 0; padding: 0; list-style: none; }
.dp-chips li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .75rem .38rem .45rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-900);
}
.dp-chips i {
    display: grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: .72rem;
}

/* OR badge on a dashed seam between the tiles */
.dp-or { position: relative; display: grid; place-items: center; width: 3.6rem; }
.dp-or::before {
    content: "";
    position: absolute;
    top: 6%;
    bottom: 6%;
    left: 50%;
    border-left: 2px dashed rgba(110, 31, 184, .22);
}
.dp-or span {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg, var(--purple-600), var(--orange-500)) border-box;
    border: 3px solid transparent;
    box-shadow: 0 10px 24px -10px rgba(42, 5, 73, .45), 0 0 0 6px var(--white);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--purple-800);
}

/* "same ANON either way" */
.dp-same {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem 1.2rem;
    margin-top: clamp(.7rem, 1.8vh, 1.2rem);
    padding: .6rem 1.1rem;
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--purple-100), #FFF1E8);
}
.dp-same-title { font-weight: 700; color: var(--purple-800); }
.dp-same-title i { color: var(--orange-500); margin-right: .35rem; }
.dp-same ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin: 0; padding: 0; list-style: none; }
.dp-same li { display: inline-flex; align-items: center; gap: .4rem; font-size: .87rem; font-weight: 600; color: var(--ink-700); }
.dp-same li i { color: var(--purple-600); font-size: .8rem; }

@media (min-width: 961px) {
    #deployment .section-head { margin-bottom: clamp(.7rem, 2vh, 1.5rem); }
}
@media (min-width: 961px) and (max-height: 700px) {
    .dp-art { height: 20vh; }
    .dp-chips li { font-size: .8rem; padding-block: .28rem; }
}
@media (max-width: 860px) {
    .dp-grid { grid-template-columns: 1fr; gap: .2rem; }
    .dp-or { width: auto; height: 3.6rem; margin: -.4rem 0; z-index: 1; }
    .dp-or::before { top: 50%; bottom: auto; left: 8%; right: 8%; border-left: 0; border-top: 2px dashed rgba(110, 31, 184, .22); }
    .dp-art { height: auto; aspect-ratio: 460 / 230; }
}
@media (max-width: 420px) {
    .dp-best { font-size: .66rem; top: .5rem; left: .5rem; }
    .dp-chips li { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .dp-flow, .dp-dot, .dp-block, .dp-check { animation: none; }
    .dp-dot { opacity: 0; }
    .dp-card:hover { transform: none; }
}

/* team-page deployment callout */
.callout + .callout { margin-top: .6rem; }
.callout a { color: var(--orange-400); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.callout a:hover { color: var(--white); }
.faq-a a { color: var(--purple-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Hero ticks: a tidy 2 x 2 grid now that there are four */
@media (min-width: 641px) {
    .trust-row { display: grid; grid-template-columns: repeat(2, max-content); }
}

/* kicker + "best for" share one row; the illustration always fits its panel */
.dp-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.dp-best { position: static; background: var(--white); border-color: var(--line); color: var(--ink-700); }
.dp-best i { color: var(--accent); }
.dp-card--managed .dp-best i { color: var(--accent); }
.dp-art { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dp-ill { width: auto; height: 100%; max-width: 100%; min-height: 0; overflow: hidden; }
@media (max-width: 860px) { .dp-ill { width: 100%; height: auto; } }
/* the three benefits read as small icon tiles, always on one row */
.dp-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.dp-chips li {
    flex-direction: column;
    justify-content: center;
    gap: .4rem;
    padding: .65rem .45rem;
    border-radius: 14px;
    text-align: center;
    font-size: .82rem;
    line-height: 1.25;
}
.dp-chips i { width: 2.1rem; height: 2.1rem; font-size: .9rem; }
.dp-card:hover .dp-chips i { background: var(--accent); color: var(--white); }
.dp-chips i { transition: background-color .3s, color .3s; }
.dp-art { height: clamp(10rem, 27vh, 14.5rem); }
@media (min-width: 961px) and (max-height: 700px) {
    .dp-art { height: 22vh; }
    .dp-chips li { padding-block: .45rem; font-size: .78rem; }
    .dp-chips i { width: 1.8rem; height: 1.8rem; }
}
@media (max-width: 860px) { .dp-art { height: auto; } }
/* compact tiles: icon left, label right */
.dp-chips li { flex-direction: row; justify-content: flex-start; text-align: left; gap: .5rem; padding: .5rem .6rem; }
.dp-chips i { flex: none; width: 1.9rem; height: 1.9rem; font-size: .82rem; }
.dp-art { height: clamp(9.5rem, 24vh, 13.5rem); }
.dp-card h3 { font-size: clamp(1.5rem, 3.6vh, 2.1rem); }
@media (min-width: 961px) and (max-height: 700px) {
    .dp-art { height: 21vh; }
    .dp-chips li { padding-block: .4rem; }
    .dp-chips i { width: 1.65rem; height: 1.65rem; }
}
@media (max-width: 860px) { .dp-art { height: auto; } }
@media (max-width: 420px) {
    .dp-chips { gap: .35rem; }
    .dp-chips li { flex-direction: column; text-align: center; justify-content: center; padding: .55rem .3rem; font-size: .76rem; }
}
