/* Purva Sharegistry — Site gateway landing page
   Theme/zoom behavior mirrors site_master_new.html
   Landing-only type: Calibre (licensed files in fonts/calibre/) with General Sans fallback */

/* Drop licensed Calibre .woff2 files into backend/static/fonts/calibre/ to activate */
@font-face {
    font-family: 'Calibre';
    src: url('../fonts/calibre/Calibre-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibre';
    src: url('../fonts/calibre/Calibre-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibre';
    src: url('../fonts/calibre/Calibre-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibre';
    src: url('../fonts/calibre/Calibre-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibre';
    src: url('../fonts/calibre/Calibre-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy-deep: #020b1c;
    --navy-overlay: linear-gradient(
        105deg,
        rgba(2, 11, 28, 0.92) 0%,
        rgba(8, 24, 58, 0.78) 42%,
        rgba(8, 24, 58, 0.45) 100%
    );
    --blue-accent: #1d5dff;
    --blue-accent-dark: #1548d4;
    --blue-primary: #1d5dff;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.88);
    --header-height: 78px;
    --acc-zoom: 1;
    --transition: 280ms cubic-bezier(0.22, 1, 0.36, 1);
    /* Increase this to move hero text higher; decrease / set 0 to move it down */
    --hero-shift-up: 2.75rem;
    /* Landing only — Calibre when files present; General Sans until then */
    --font: 'Calibre', 'General Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Calibre', 'General Sans', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    font-family: var(--font);
    color: var(--text-white);
    background: var(--navy-deep);
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: #172852;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* Zoom applies to #page only — toolbar stays outside */
#page {
    zoom: var(--acc-zoom, 1);
    transform-origin: top left;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* ---------- Header ---------- */

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    background: transparent;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
    flex-shrink: 0;
}

.landing-brand img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 180px;
}

.landing-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0.35rem 0.65rem;
    background: rgba(14, 18, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.acc-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.acc-group-label {
    color: #888;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: 4px;
}

.acc-separator {
    width: 1px;
    height: 20px;
    background: #444;
}

.acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 5px;
    border: 1.5px solid #444;
    background: #2a2a2a;
    color: #f0c040;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    line-height: 1;
    white-space: nowrap;
}

.acc-btn:hover {
    border-color: #4a90e2;
    background: #333;
    color: #fff;
}

.acc-btn:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

.acc-btn.acc-active,
.acc-btn.theme-default-btn.acc-active,
.acc-btn.theme-light-btn.acc-active,
.acc-btn.theme-dark-btn.acc-active {
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.4);
}

.acc-btn.acc-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.acc-btn.zoom-out-btn {
    font-size: 11px;
}

.acc-btn.zoom-in-btn {
    font-size: 14px;
}

.acc-btn.theme-default-btn {
    background: #172852;
    color: #fff;
    border-color: #2a4a8f;
}

.acc-btn.theme-light-btn {
    background: #fff;
    color: #333;
    border-color: #ccc;
}

.acc-btn.theme-dark-btn {
    background: #555;
    color: #fff;
    border-color: #666;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 0;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.02);
    animation: heroZoom 18s ease-out forwards;
}

.hero-overlay {
    background: var(--navy-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 3rem));
    margin-left: clamp(1.5rem, 9vw, 7rem);
    margin-right: auto;
    padding: calc(var(--header-height) + 1.75rem) 1.5rem 3.25rem;
    color: #ffffff;
    transform: translateY(calc(-1 * var(--hero-shift-up, 0rem)));
}

.hero-eyebrow {
    margin: 0 0 1.25rem;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue-accent);
    animation: fadeInUp 0.7s ease-out both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.35rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(29, 93, 255, 0.22);
    border: 1px solid rgba(126, 182, 255, 0.35);
    color: #ffffff;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    animation: fadeInUp 0.7s ease-out both;
}

.hero-badge i {
    color: #9ec2ff;
    font-size: 0.9rem;
}

.hero .hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 7vw, 5.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #ffffff;
    white-space: nowrap;
    animation: fadeInUp 0.85s ease-out both;
}

.hero .hero-title-accent {
    background: linear-gradient(90deg, #eaf2ff 0%, #9ec2ff 18%, #4d8dff 45%, #2361fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-accent {
    display: block;
    width: 5.5rem;
    height: 5px;
    margin: 1.45rem 0 1.65rem;
    border-radius: 999px;
    background: var(--blue-accent);
    animation: accentGrow 0.9s ease-out 0.15s both;
}

.hero .hero-lead {
    margin: 0 0 2.75rem;
    max-width: 52rem;
    font-family: var(--font);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-muted);
    animation: fadeInUp 1s ease-out both;
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 1.35rem;
    width: 100%;
    max-width: 78rem;
    animation: fadeInUp 1.15s ease-out both;
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 1.5rem;
    flex: 1 1 0;
    min-width: 23rem;
    width: auto;
    min-height: 10.5rem;
    padding: 2rem 3.5rem;
    border-radius: 1.1rem;
    border: 1.5px solid transparent;
    text-decoration: none;
    font-family: var(--font);
    font-size: clamp(1.2rem, 1.55vw, 1.4rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.005em;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    will-change: transform;
    transition: background-color var(--transition), color var(--transition),
        border-color var(--transition), box-shadow var(--transition),
        transform var(--transition);
}

.hero .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.28) 48%,
        transparent 100%
    );
    transform: translateX(-240%) skewX(-18deg);
    pointer-events: none;
    z-index: 0;
}

.hero .btn > * {
    position: relative;
    z-index: 1;
}

.hero .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.9rem;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background-color var(--transition), border-color var(--transition),
        transform var(--transition), box-shadow var(--transition);
}

.hero .btn-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    transition: border-color var(--transition);
}

.hero .btn-label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero .btn-sublabel {
    display: block;
    font-size: 0.72em;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.68);
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition);
}

.hero .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform var(--transition), background-color var(--transition),
        border-color var(--transition);
}

.hero .btn:focus-visible {
    outline: 2px solid #7eb6ff;
    outline-offset: 3px;
}

.hero .btn-primary,
.hero .btn-secondary {
    color: #fff;
    background: linear-gradient(180deg, #4b67b8 0%, #324a86 100%);
    border-color: rgba(160, 190, 255, 0.4);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
    background: linear-gradient(180deg, #4e78e6 0%, #1c4cbc 100%);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
    color: #fff;
    box-shadow:
        0 22px 44px rgba(29, 93, 255, 0.38),
        0 0 18px rgba(29, 93, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.hero .btn-primary:hover::after,
.hero .btn-secondary:hover::after {
    animation: landing-btn-shine 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero .btn-primary:hover .btn-icon,
.hero .btn-secondary:hover .btn-icon {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(-6deg) scale(1.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 6px 16px rgba(0, 0, 0, 0.18);
}

.hero .btn-primary:hover .btn-copy,
.hero .btn-secondary:hover .btn-copy {
    border-left-color: rgba(255, 255, 255, 0.26);
}

.hero .btn-primary:hover .btn-sublabel,
.hero .btn-secondary:hover .btn-sublabel {
    color: rgba(255, 255, 255, 0.88);
}

.hero .btn-primary:hover .btn-arrow,
.hero .btn-secondary:hover .btn-arrow {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-primary:active,
.hero .btn-secondary:active {
    transform: translateY(-2px);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@keyframes landing-btn-shine {
    from { transform: translateX(-240%) skewX(-18deg); }
    to { transform: translateX(260%) skewX(-18deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes accentGrow {
    from {
        opacity: 0;
        transform: scaleX(0.35);
        transform-origin: left center;
    }

    to {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left center;
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1.02);
    }
}

/* ---------- Footer ---------- */

.landing-footer {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    background: #081437;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #c5c9d3;
    padding: 1.5rem 0;
}

.landing-footer-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    margin-left: max(clamp(1.5rem, 10vw, 7.5rem), calc((100% - 1100px) / 2));
    margin-right: auto;
}

.landing-footer-about {
    flex: 1 1 0;
    min-width: 0;
    max-width: 34rem;
}

.landing-footer-logo {
    display: inline-block;
    margin-bottom: 0.75rem;
    line-height: 0;
}

.landing-footer-logo img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 200px;
}

.landing-footer-description,
.landing-footer-copy p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #a8adb8;
}

.landing-footer-description {
    line-height: 1.7;
}

.landing-footer-copy p {
    line-height: 1.55;
    white-space: nowrap;
}

.landing-footer-divider {
    flex-shrink: 0;
    width: 1px;
    align-self: stretch;
    min-height: 4.5rem;
    background: rgba(255, 255, 255, 0.22);
}

.landing-footer-copy {
    flex: 0 1 auto;
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.landing-footer-shield {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #ffffff;
}

/* ---------- Themes ---------- */

html.theme-light *,
html.theme-dark * {
    background-image: none !important;
}

html.theme-light .hero-bg,
html.theme-dark .hero-bg {
    display: none !important;
}

html.theme-light body,
html.theme-light #page,
html.theme-light main,
html.theme-light .hero,
html.theme-light .hero-content,
html.theme-light .hero-overlay {
    background-color: #fff !important;
    background-image: none !important;
}

html.theme-dark body,
html.theme-dark #page,
html.theme-dark main,
html.theme-dark .hero,
html.theme-dark .hero-content,
html.theme-dark .hero-overlay {
    background-color: #000 !important;
    background-image: none !important;
    color: #e8e8e8 !important;
}

html.theme-light .landing-brand img {
    filter: brightness(0);
}

html.theme-light .hero-title {
    color: #000 !important;
}

html.theme-dark .hero-title {
    color: #fff !important;
}

html.theme-light .hero-eyebrow {
    color: #1d5dff !important;
}

html.theme-dark .hero-eyebrow {
    color: #7eb6ff !important;
}

html.theme-light .hero-badge {
    background: rgba(29, 93, 255, 0.12) !important;
    border-color: rgba(29, 93, 255, 0.35) !important;
    color: #172852 !important;
}

html.theme-light .hero-badge i {
    color: #1d5dff !important;
}

html.theme-dark .hero-badge {
    background: rgba(29, 93, 255, 0.2) !important;
    border-color: rgba(126, 182, 255, 0.3) !important;
    color: #fff !important;
}

html.theme-light .hero-title-accent,
html.theme-dark .hero-title-accent {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

html.theme-light .hero-title-accent {
    color: #1d5dff !important;
    -webkit-text-fill-color: #1d5dff !important;
}

html.theme-dark .hero-title-accent {
    color: #7eb6ff !important;
    -webkit-text-fill-color: #7eb6ff !important;
}

html.theme-light .hero-lead {
    color: #333 !important;
}

html.theme-dark .hero-lead {
    color: #e8e8e8 !important;
}

html.theme-light .hero-accent {
    background: #1d5dff !important;
}

html.theme-light .btn-primary {
    background: #fff !important;
    color: #1a1a1a !important;
    border-color: #1a1a1a !important;
    box-shadow: none;
}

html.theme-light .btn-primary:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

html.theme-light .btn-secondary {
    background: #fff !important;
    color: #1a1a1a !important;
    border-color: #1a1a1a !important;
}

html.theme-light .btn-secondary:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

html.theme-dark .btn-primary {
    background: transparent !important;
    color: #e8e8e8 !important;
    border-color: #666 !important;
    box-shadow: none;
}

html.theme-dark .btn-primary:hover {
    background: #444 !important;
    color: #fff !important;
    border-color: #666 !important;
}

html.theme-dark .btn-secondary {
    background: transparent !important;
    color: #e8e8e8 !important;
    border-color: #666 !important;
}

html.theme-dark .btn-secondary:hover {
    background: #444 !important;
    color: #fff !important;
    border-color: #666 !important;
}

html.theme-light .hero .btn-icon,
html.theme-light .hero .btn-arrow {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.16);
    box-shadow: none;
}

html.theme-light .hero .btn-copy {
    border-left-color: rgba(0, 0, 0, 0.14);
}

html.theme-light .hero .btn-sublabel {
    color: rgba(0, 0, 0, 0.62);
}

html.theme-light .hero .btn:hover .btn-icon,
html.theme-light .hero .btn:hover .btn-arrow {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: none;
}

html.theme-light .hero .btn:hover .btn-copy {
    border-left-color: rgba(255, 255, 255, 0.24);
}

html.theme-light .hero .btn:hover .btn-sublabel {
    color: rgba(255, 255, 255, 0.78);
}

html.theme-dark .hero .btn-icon,
html.theme-dark .hero .btn-arrow {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

html.theme-dark .hero .btn-sublabel {
    color: rgba(232, 232, 232, 0.7);
}

html.theme-light .landing-footer {
    background: #fff !important;
    border-top-color: #ddd !important;
}

html.theme-dark .landing-footer {
    background: #000 !important;
    border-top-color: #333 !important;
}

html.theme-light .landing-footer-description,
html.theme-light .landing-footer-copy p {
    color: #1a1a1a !important;
}

html.theme-dark .landing-footer-description,
html.theme-dark .landing-footer-copy p,
html.theme-dark .landing-footer-shield {
    color: #e8e8e8 !important;
}

html.theme-light .landing-footer-divider {
    background: #ddd !important;
}

html.theme-dark .landing-footer-divider {
    background: #333 !important;
}

html.theme-light .landing-footer-shield {
    color: #1a1a1a !important;
}

html.theme-light .landing-footer-logo img {
    filter: brightness(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
    .hero .hero-title {
        font-size: clamp(2.85rem, 6vw, 4.75rem);
    }

    .hero .hero-lead {
        font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    }

    .hero .btn {
        min-height: 9.75rem;
        min-width: 17rem;
        font-size: clamp(1.1rem, 1.35vw, 1.25rem);
        padding: 1.7rem 2.15rem;
    }
}

@media (max-width: 991px) {
    .hero-content {
        margin-left: clamp(1.25rem, 6vw, 3rem);
        width: min(960px, calc(100% - 2.5rem));
    }

    .hero .hero-title {
        font-size: clamp(2.7rem, 6vw, 4.25rem);
        white-space: normal;
    }

    .hero .hero-lead {
        font-size: clamp(1.08rem, 1.6vw, 1.3rem);
        max-width: 40rem;
    }

    .hero-actions {
        max-width: 100%;
        gap: 1rem;
    }

    .hero .btn {
        min-height: 9.5rem;
        min-width: 15rem;
        padding: 1.65rem 1.75rem;
        font-size: 1.15rem;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .landing-header {
        height: 64px;
        padding: 0 1rem;
    }

    .landing-brand img {
        height: 28px;
    }

    .acc-group-label {
        display: none;
    }

    .hero-content {
        margin-left: 0;
        padding: calc(64px + 1.5rem) 1.25rem 2.5rem;
        width: 100%;
    }

    .hero .hero-title {
        font-size: clamp(2.35rem, 9.5vw, 3.1rem);
        white-space: normal;
        line-height: 1.12;
    }

    .hero-eyebrow {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
        margin-bottom: 1.1rem;
    }

    .hero-accent {
        width: 4.25rem;
        height: 4px;
        margin: 1.1rem 0 1.25rem;
    }

    .hero .hero-lead {
        font-size: clamp(1.05rem, 3.8vw, 1.2rem);
        margin-bottom: 2rem;
        max-width: none;
        line-height: 1.45;
    }

    .hero .hero-lead br {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.9rem;
        max-width: none;
    }

    .hero .btn {
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        white-space: normal;
        justify-content: flex-start;
        min-height: 9.5rem;
        font-size: 1.2rem;
        padding: 1.65rem 1.55rem;
        gap: 1.15rem;
    }

    .hero .btn-icon {
        width: 3.1rem;
        height: 3.1rem;
    }

    .hero .btn-copy {
        padding-left: 1.15rem;
    }

    .hero .btn-arrow {
        width: 2.55rem;
        height: 2.55rem;
    }

    .landing-footer {
        padding: 1.1rem 0;
    }

    .landing-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        margin-left: 0;
        padding: 0 1.25rem;
    }

    .landing-footer-about,
    .landing-footer-copy {
        max-width: 100%;
        min-width: 0;
    }

    .landing-footer-logo {
        margin-bottom: 0.45rem;
    }

    .landing-footer-logo img {
        height: 30px;
    }

    .landing-footer-description {
        font-size: 12px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .landing-footer-copy p {
        font-size: 12px;
        white-space: normal;
    }

    .landing-footer-divider {
        display: none;
    }
}

@media (max-width: 575px) {
    .hero .hero-title {
        font-size: clamp(2rem, 9vw, 2.55rem);
    }

    .hero .hero-lead {
        font-size: 1rem;
    }

    .hero .btn {
        min-height: 9.25rem;
        font-size: 1.1rem;
        padding: 1.5rem 1.35rem;
    }
}

/* Short viewports: keep compact padding, do not shrink hero type/buttons */
@media (max-height: 760px) and (min-width: 768px) {
    .hero-content {
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 1.75rem;
    }

    .hero .hero-lead {
        margin-bottom: 1.75rem;
    }

    .landing-footer {
        padding: 1rem 0;
    }

    .landing-footer-description {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow,
    .hero .hero-title,
    .hero-accent,
    .hero .hero-lead,
    .hero-actions,
    .hero-bg {
        animation: none;
    }

    .hero .btn,
    .acc-btn,
    .hero .btn-icon,
    .hero .btn-arrow {
        transition: none;
    }

    .hero .btn:hover,
    .hero .btn:active {
        transform: none;
    }

    .hero .btn:hover .btn-arrow,
    .hero .btn:hover .btn-icon {
        transform: none;
    }

    .hero .btn-primary:hover::after,
    .hero .btn-secondary:hover::after {
        animation: none;
    }
}
