/* ============================================================================
   /zetai — implementation of the "Zet AI Page" Claude Design mockup
   (project 2e3af89d-2585-434f-9b42-d95402af3ddc).

   Tokens below are imported verbatim from the Zeetius design system attached to
   that project (_ds/zeetius-design-system-.../tokens/*.css), with ONE deliberate
   change: the design system declares them on :root and restyles body/h1-h4/a
   globally. Loading that as-is would restyle the whole site — the shared header,
   footer and every other page render inside the same document. So every token
   and every element rule is scoped to .zt-page instead.

   Keep the values identical to the design system. Change them there first.
   ========================================================================= */

.zt-page {
    /* --- tokens/colors.css --- */
    /* Brand core */
    --zt-orange: #F6A21E;
    --zt-orange-hover: #E08F0D;
    --zt-orange-press: #C77E08;
    --zt-orange-tint: #FEF3DF;
    --zt-blue: #189FD8;
    --zt-blue-hover: #118CC1;
    --zt-blue-press: #0C7AAA;
    --zt-blue-tint: #E3F4FB;
    --zt-sky: #56C1E1;
    /* Ink & neutrals */
    --zt-ink: #1E2126;
    --zt-ink-2: #3C4149;
    --zt-ink-3: #6B7280;
    --zt-ink-4: #9AA1AB;
    --zt-line: #E3E6EA;
    --zt-line-strong: #C9CED5;
    --zt-bg: #FFFFFF;
    --zt-bg-2: #F5F7F9;
    --zt-bg-3: #EDF0F3;
    --zt-navy: #0E2A3A;
    /* Semantic */
    --zt-success: #1FA971;
    --zt-error: #DE4A3B;
    --zt-warning: #F6A21E;
    --zt-info: #189FD8;
    --zt-success-tint: #E4F5EE;
    --zt-error-tint: #FCEAE8;
    /* Aliases */
    --text-body: var(--zt-ink);
    --text-muted: var(--zt-ink-3);
    --text-faint: var(--zt-ink-4);
    --text-inverse: #FFFFFF;
    --text-link: var(--zt-blue);
    --text-link-hover: var(--zt-blue-hover);
    --surface-page: var(--zt-bg);
    --surface-card: var(--zt-bg);
    --surface-sunken: var(--zt-bg-2);
    --surface-dark: var(--zt-navy);
    --accent-primary: var(--zt-blue);
    --accent-secondary: var(--zt-orange);
    --border-default: var(--zt-line);
    --border-strong: var(--zt-line-strong);
    --focus-ring: 0 0 0 3px rgba(24, 159, 216, .35);

    /* --- tokens/typography.css --- */
    --font-display: 'Exo 2', system-ui, sans-serif;
    --font-body: 'Barlow', system-ui, sans-serif;
    --font-stat: 'Barlow Condensed', var(--font-body);
    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 15px;
    --text-md: 17px;
    --text-lg: 20px;
    --text-xl: 26px;
    --text-2xl: 34px;
    --text-3xl: 46px;
    --text-4xl: 64px;
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --tracking-caps: .14em;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-heavy: 800;

    /* --- tokens/spacing.css --- */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --container-max: 1200px;

    /* --- tokens/effects.css --- */
    --shadow-card: 0 1px 2px rgba(30, 33, 38, .06), 0 4px 12px rgba(30, 33, 38, .06);
    --shadow-raised: 0 4px 10px rgba(30, 33, 38, .10), 0 12px 32px rgba(30, 33, 38, .12);
    --shadow-overlay: 0 16px 48px rgba(14, 42, 58, .28);
    --ease-swift: cubic-bezier(.4, 0, .2, 1);
    --dur-fast: 120ms;
    --dur-base: 200ms;
    --gradient-brand: linear-gradient(105deg, var(--zt-blue) 0%, var(--zt-sky) 100%);

    background: var(--surface-page);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

.zt-page h1,
.zt-page h2,
.zt-page h3,
.zt-page h4 {
    font-family: var(--font-display);
    line-height: var(--leading-tight);
    margin: 0;
}

.zt-page a {
    color: var(--text-link);
    text-decoration: none;
}

.zt-page a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

.zt-page :focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------------- layout -- */

.zt-shell {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--sp-8);
    padding-right: var(--sp-8);
}

.zt-eyebrow {
    margin: 0 0 var(--sp-3);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--zt-blue);
}

.zt-eyebrow--orange { color: var(--zt-orange); }
.zt-eyebrow--sky    { color: var(--zt-sky); }

/* ------------------------------------------------------------------ hero -- */

.zt-hero {
    position: relative;
    background: var(--zt-navy);
    overflow: hidden;
}

.zt-hero-mark {
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 640px;
    opacity: .09;
    pointer-events: none;
}

.zt-crumb {
    position: relative;
    padding-top: var(--sp-6);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .55);
}

.zt-page .zt-crumb a { color: rgba(255, 255, 255, .55); }
.zt-crumb-sep { margin: 0 var(--sp-2); }
.zt-crumb-here { color: var(--zt-sky); font-weight: var(--weight-semibold); }

.zt-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: var(--sp-16);
    align-items: center;
    padding-top: var(--sp-12);
    padding-bottom: 88px;
}

.zt-hero h1 {
    font-size: 52px;
    font-weight: var(--weight-heavy);
    line-height: 1.08;
    color: #fff;
    margin: 0 0 var(--sp-5);
    text-wrap: pretty;
}

.zt-hero-lede {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
    margin: 0 0 var(--sp-8);
    max-width: 520px;
}

.zt-hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.zt-hero-stats {
    display: flex;
    gap: var(--sp-8);
    margin-top: 44px;
    flex-wrap: wrap;
}

.zt-hero-stat-figure {
    font-family: var(--font-stat);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--zt-orange);
    line-height: 1;
}

.zt-hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, .6);
    margin-top: var(--sp-1);
}

/* hero media + floating cards */

.zt-hero-media {
    position: relative;
    justify-self: end;
}

.zt-hero-figure {
    width: 370px;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .15);
}

.zt-hero-figure img {
    width: 100%;
    display: block;
}

.zt-float {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(14, 42, 58, .28);
    padding: var(--sp-3) var(--sp-4);
}

.zt-float--prob {
    left: -64px;
    top: 36px;
    min-width: 170px;
}

.zt-float--report {
    right: -24px;
    bottom: 36px;
    max-width: 224px;
}

.zt-float-label {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 11px;
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--zt-ink-3);
}

.zt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--zt-orange);
    animation: zt-pulse 1.6s infinite;
    flex: none;
}

.zt-float-value {
    display: flex;
    align-items: baseline;
    gap: var(--sp-2);
    margin-top: 6px;
}

.zt-float-num {
    font-family: var(--font-stat);
    font-size: 36px;
    font-weight: var(--weight-bold);
    color: var(--zt-ink);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.zt-float-trend {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--zt-success);
}

.zt-meter {
    height: 5px;
    border-radius: 3px;
    background: var(--zt-bg-3);
    margin-top: var(--sp-2);
    overflow: hidden;
}

.zt-meter-fill {
    height: 100%;
    background: var(--gradient-brand);
    transition: width .6s var(--ease-swift);
}

.zt-float-title {
    font-size: 14px;
    font-weight: var(--weight-semibold);
    color: var(--zt-ink);
    margin-top: var(--sp-1);
}

@keyframes zt-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
    .zt-dot { animation: none; }
    .zt-meter-fill { transition: none; }
}

/* ------------------------------------------------------------ intro band -- */

.zt-band {
    border-bottom: 1px solid var(--border-default);
}

.zt-band-copy {
    font-size: var(--text-md);
    line-height: 1.7;
    color: var(--zt-ink-2);
    margin: 0;
    max-width: 960px;
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-10);
}

/* ------------------------------------------------------------- products -- */

.zt-section { padding-top: 80px; }
.zt-section--tight { padding-top: var(--sp-6); }

.zt-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-10);
    margin-bottom: 44px;
}

.zt-section-head h2 {
    font-size: 36px;
    font-weight: var(--weight-bold);
    margin: 0;
    max-width: 560px;
    text-wrap: pretty;
}

.zt-section-head p {
    font-size: var(--text-md);
    line-height: 1.6;
    color: var(--zt-ink-3);
    margin: 0;
    max-width: 420px;
}

/* 36px and 12px are the mockup's own values for these two headings — the
   how-it-works grid sits well clear of its title, the FAQ list sits tight
   under its own.

   Scoped with .zt-page because the typography reset above is `.zt-page h2`
   (specificity 0,1,1), which outranks a bare `.zt-h2` class (0,1,0) and would
   otherwise zero the margin back out. Every other heading rule here is an
   element-in-class selector, so they already tie and win on source order. */
.zt-page .zt-h2 {
    font-size: 28px;
    font-weight: var(--weight-bold);
    margin: 0 0 36px;
}

.zt-page .zt-h2--tight { margin-bottom: var(--sp-3); }

.zt-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}

.zt-card {
    background: var(--surface-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 1px 2px rgba(14, 42, 58, .05), 0 4px 12px rgba(14, 42, 58, .05);
    transition: box-shadow var(--dur-fast) var(--ease-swift);
}

.zt-card:hover {
    box-shadow: 0 2px 4px rgba(14, 42, 58, .08), 0 10px 28px rgba(14, 42, 58, .1);
}

.zt-card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.zt-card-icon--blue   { background: var(--zt-blue-tint);   color: var(--zt-blue); }
.zt-card-icon--orange { background: var(--zt-orange-tint); color: var(--zt-orange); }

.zt-card h3 {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    margin: 0 0 6px;
}

.zt-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--zt-ink-3);
    margin: 0;
}

/* -------------------------------------------------- chat + highlight duo -- */

.zt-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
    align-items: stretch;
    padding-top: 56px;
    padding-bottom: 56px;
}

.zt-panel {
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.zt-panel--light { background: var(--zt-bg-2); }

.zt-panel--dark {
    background: var(--zt-navy);
    position: relative;
    overflow: hidden;
}

.zt-panel h2 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin: 0 0 18px;
}

.zt-panel--dark h2,
.zt-panel--dark .zt-eyebrow { position: relative; }
.zt-panel--dark h2 { color: #fff; }

.zt-panel-mark {
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 380px;
    opacity: .08;
    pointer-events: none;
}

/* chat */

.zt-chat {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    min-height: 280px;
}

.zt-chat-log {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    flex: 1;
    overflow-y: auto;
    max-height: 300px;
}

.zt-msg {
    border-radius: 12px 12px 12px 4px;
    padding: 10px 14px;
    font-size: 14.5px;
    line-height: 1.5;
    max-width: 85%;
    white-space: pre-line;
    align-self: flex-start;
    background: var(--zt-bg-2);
    color: var(--zt-ink);
}

.zt-msg--user {
    align-self: flex-end;
    background: var(--zt-blue);
    color: #fff;
    border-radius: 12px 12px 4px 12px;
}

.zt-chat-chips {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}

.zt-chip-btn {
    border: 1px solid var(--border-strong);
    background: #fff;
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--zt-blue);
    cursor: pointer;
    font-family: var(--font-body);
    transition: background var(--dur-fast) var(--ease-swift);
}

.zt-chip-btn:hover { background: var(--zt-blue-tint); }

.zt-chat-form {
    display: flex;
    gap: var(--sp-2);
}

.zt-chat-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14.5px;
    font-family: var(--font-body);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    outline: none;
}

.zt-chat-input:focus { box-shadow: var(--focus-ring); }

/* highlight reel */

.zt-reel {
    position: relative;
    flex: 1;
    background: #081C28;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    overflow: hidden;
}

/* This is a <button> covering the whole reel, so the UA's default button
   chrome has to be cleared — otherwise its grey background paints over the
   dark #081C28 panel behind it. */
.zt-reel-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.zt-reel-play span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(24, 159, 216, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(24, 159, 216, .45);
    transition: background var(--dur-fast) var(--ease-swift);
}

.zt-reel-play:hover span { background: var(--zt-blue); }

.zt-reel-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, .45);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: #fff;
}

.zt-reel-tag .zt-dot {
    width: 7px;
    height: 7px;
    background: var(--zt-error);
    animation-duration: 1.4s;
}

.zt-reel-foot {
    position: relative;
    padding: 14px;
}

.zt-reel-track {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .18);
    position: relative;
}

.zt-reel-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 38%;
    background: var(--gradient-brand);
    border-radius: 3px;
}

.zt-reel-mark {
    position: absolute;
    top: -3px;
    width: 4px;
    height: 12px;
    border-radius: 2px;
    background: var(--zt-orange);
}

.zt-reel-chips {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
    flex-wrap: wrap;
}

.zt-reel-chip {
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-size: 12.5px;
    font-weight: var(--weight-semibold);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.zt-reel-chip--orange {
    background: rgba(246, 162, 30, .18);
    color: var(--zt-orange);
    border-color: rgba(246, 162, 30, .4);
}

/* -------------------------------------------------------------- reports -- */

.zt-reports {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    background: var(--zt-bg-2);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin-bottom: var(--sp-16);
}

.zt-reports h2 {
    font-size: 28px;
    font-weight: var(--weight-bold);
    margin: 0 0 14px;
    text-wrap: pretty;
}

.zt-reports-lede {
    font-size: var(--text-md);
    line-height: 1.6;
    color: var(--zt-ink-2);
    margin: 0 0 22px;
}

.zt-ticks {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zt-ticks li {
    display: flex;
    gap: var(--sp-3);
    align-items: flex-start;
    font-size: var(--text-base);
    color: var(--zt-ink);
}

.zt-tick {
    color: var(--zt-blue);
    font-weight: var(--weight-bold);
    line-height: 1.5;
    flex: none;
}

.zt-statgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* StatCard, ported from the design system's components/display/StatCard.jsx */
.zt-statcard {
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.zt-statcard-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.zt-statcard-bar--blue   { background: var(--zt-blue); }
.zt-statcard-bar--orange { background: var(--zt-orange); }

.zt-statcard-label {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    color: var(--zt-ink-3);
}

.zt-statcard-row {
    display: flex;
    align-items: baseline;
    gap: var(--sp-2);
    margin-top: var(--sp-1);
    flex-wrap: wrap;
}

.zt-statcard-value {
    font-family: var(--font-stat);
    font-size: 40px;
    font-weight: var(--weight-bold);
    line-height: 1;
    color: var(--zt-ink);
}

.zt-statcard-unit {
    font-size: 14px;
    font-weight: var(--weight-semibold);
    color: var(--zt-ink-3);
}

.zt-statcard-delta {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.zt-statcard-delta--up   { color: var(--zt-success); }
.zt-statcard-delta--down { color: var(--zt-error); }

/* ---------------------------------------------------------- how it works -- */

.zt-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.zt-step {
    border-top: 3px solid var(--zt-blue);
    padding-top: var(--sp-5);
}

.zt-step--orange { border-top-color: var(--zt-orange); }

.zt-step-n {
    font-family: var(--font-stat);
    font-size: 44px;
    font-weight: var(--weight-bold);
    color: var(--zt-line-strong);
    line-height: 1;
}

.zt-step h3 {
    font-size: 18px;
    font-weight: var(--weight-bold);
    margin: var(--sp-3) 0 var(--sp-2);
}

.zt-step p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--zt-ink-3);
    margin: 0;
}

/* ------------------------------------------------------------------ FAQ -- */

.zt-faq {
    border-bottom: 1px solid var(--border-default);
    padding: var(--sp-4) 0;
}

.zt-faq summary {
    cursor: pointer;
    font-size: var(--text-md);
    font-weight: var(--weight-semibold);
    color: var(--zt-ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-4);
}

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

.zt-faq summary::after {
    content: '+';
    font-size: var(--text-lg);
    color: var(--zt-blue);
    font-weight: var(--weight-semibold);
    flex: none;
}

.zt-faq[open] summary::after { content: '–'; }

.zt-faq p {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--zt-ink-3);
    margin: var(--sp-3) 0 0;
    max-width: 760px;
}

/* ------------------------------------------------------------------ CTA -- */

.zt-cta {
    position: relative;
    background: var(--zt-navy);
    overflow: hidden;
}

.zt-cta-mark {
    position: absolute;
    left: -140px;
    top: -120px;
    width: 480px;
    opacity: .08;
    pointer-events: none;
}

.zt-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-12);
    padding-top: var(--sp-16);
    padding-bottom: var(--sp-16);
}

.zt-cta h2 {
    font-size: 32px;
    font-weight: var(--weight-bold);
    color: #fff;
    margin: 0 0 var(--sp-2);
    text-wrap: pretty;
}

.zt-cta p {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, .72);
    margin: 0;
    max-width: 500px;
}

.zt-cta-actions {
    display: flex;
    gap: 14px;
    flex: none;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------- buttons -- */
/* Ported from the design system's components/forms/Button.jsx */

.zt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 9px 18px;
    font-size: var(--text-base);
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--dur-fast) var(--ease-swift);
}

.zt-page a.zt-btn:hover { text-decoration: none; }

.zt-btn--lg { padding: 12px 24px; font-size: var(--text-md); }
.zt-btn--sm { padding: 6px 14px; font-size: var(--text-sm); }

.zt-btn--primary { background: var(--zt-blue); color: #fff; }
.zt-page a.zt-btn--primary { color: #fff; }
.zt-btn--primary:hover { background: var(--zt-blue-hover); }
.zt-page a.zt-btn--primary:hover { color: #fff; }

.zt-btn--accent { background: var(--zt-orange); color: #fff; }
.zt-page a.zt-btn--accent { color: #fff; }
.zt-btn--accent:hover { background: var(--zt-orange-hover); }
.zt-page a.zt-btn--accent:hover { color: #fff; }

/* Outlined button used on the dark hero and CTA bands. */
.zt-btn--outline-inverse {
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    background: transparent;
}

.zt-page a.zt-btn--outline-inverse { color: #fff; }

.zt-btn--outline-inverse:hover,
.zt-page a.zt-btn--outline-inverse:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

/* ================================================================ responsive
   The mockup is a fixed 1200px desktop comp (min-width:1200px on its root).
   These breakpoints are the implementation's own work — every multi-column grid
   collapses, the hero's floating cards move inline so they cannot overhang the
   viewport, and the oversized display type steps down.
   ========================================================================= */

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

    .zt-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--sp-12);
        padding-bottom: var(--sp-16);
    }

    .zt-hero-media { justify-self: start; }
    .zt-hero h1 { font-size: 40px; }

    .zt-duo,
    .zt-reports { grid-template-columns: minmax(0, 1fr); }

    .zt-reports { gap: var(--sp-10); padding: var(--sp-8); }

    .zt-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
        margin-bottom: var(--sp-8);
    }

    .zt-section-head h2 { font-size: 30px; }

    .zt-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-6);
    }
}

@media (max-width: 767.98px) {
    .zt-shell {
        padding-left: var(--sp-5);
        padding-right: var(--sp-5);
    }

    .zt-section { padding-top: var(--sp-12); }

    .zt-hero h1 { font-size: 32px; }
    .zt-hero-lede { font-size: var(--text-md); }
    .zt-hero-mark { width: 380px; right: -90px; bottom: -110px; }

    /* The floating cards overhang the figure by design. At this width there is
       no room to overhang into, so they become stacked cards underneath it. */
    .zt-hero-media { display: flex; flex-direction: column; gap: var(--sp-3); }
    .zt-hero-figure { width: 100%; }

    .zt-float {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        max-width: none;
        min-width: 0;
    }

    .zt-hero-stats { gap: var(--sp-6); }

    .zt-grid-4,
    .zt-grid-3,
    .zt-statgrid { grid-template-columns: minmax(0, 1fr); }

    .zt-panel { padding: var(--sp-6); }
    .zt-section-head h2 { font-size: 26px; }
    .zt-page .zt-h2, .zt-reports h2, .zt-cta h2 { font-size: 24px; }
}
