:root {
    --font-sans: "Inter", sans-serif;
    --font-serif: "Playfair Display", serif;

    --bg: #fafafa;
    --white: #ffffff;
    --text: #001124;
    --muted: #67768a;
    --primary: #0065d9;
    --primary-strong: #004eb0;
    --border: #dce4ef;
    --soft: #f2f6fb;
    --success-bg: #ecfdf3;
    --success-text: #0f8a4a;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 40px;

    --container: 1160px;
    --nav-h: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    letter-spacing: -0.02em;
    font-weight: 500;
}

p {
    margin: 0;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin-inline: auto;
}

.section-pad {
    padding: 6rem 0;
}

.scroll-offset {
    scroll-margin-top: 6.25rem;
}

.font-serif-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    font-weight: 500;
    transition: 0.25s ease;
    border: 0;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 18px 34px rgba(0, 59, 136, 0.15);
}

.btn-primary:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--text);
    color: var(--white);
}

.btn-dark:hover {
    opacity: 0.92;
}

.btn-small {
    height: 2.2rem;
    padding: 0 1rem;
    font-size: 0.75rem;
}

.btn-large {
    min-height: 3rem;
    padding: 0.75rem 1.6rem;
    font-size: 1rem;
}

.btn-xl {
    min-height: 3.5rem;
    padding: 1rem 2rem;
    font-size: 1.08rem;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.4rem 0 0;
    transition: padding 0.3s ease;
}

.site-header.is-scrolled {
    padding-top: 0.8rem;
}

.nav-shell {
    min-height: var(--nav-h);
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

.site-header.is-scrolled .nav-shell {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 17, 36, 0.09);
}

.brand {
    display: inline-flex;
    align-items: center;
    max-width: 160px;
    width: 100%;
}

.brand img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    justify-self: end;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 999px;
    height: 2.2rem;
    padding: 0 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 0 4.5rem;
    overflow: hidden;
}

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

.hero-bg-wrap {
    z-index: 0;
    pointer-events: none;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            110deg,
            rgba(251, 252, 255, 0.78) 0%,
            rgba(251, 252, 255, 0.5) 46%,
            rgba(251, 252, 255, 0.72) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.72),
            rgba(255, 255, 255, 0.56),
            rgba(255, 255, 255, 0.82)
        );
}

.hero-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.pill-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #edf5ff;
    border: 1px solid #d8eaff;
    color: #1f5ca8;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.3rem;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(0, 101, 217, 0.6);
    animation: pulse 1.6s infinite;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1.4rem;
}

.hero-copy > p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: grid;
    gap: 0.85rem;
}

.hero-actions p {
    max-width: 260px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.hero-media {
    position: relative;
    cursor: pointer;
}

.hero-copy h1,
.hero-copy > p,
.hero-actions,
.hero-media .video-card {
    animation: fade-up 0.75s ease both;
}

.hero-copy h1 {
    animation-delay: 120ms;
}

.hero-copy > p {
    animation-delay: 210ms;
}

.hero-actions {
    animation-delay: 290ms;
}

.hero-media .video-card {
    animation-delay: 320ms;
}

.video-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 410px;
    background: #ebeff4;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 45px rgba(8, 31, 61, 0.18);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.video-card:hover img {
    transform: scale(1.04);
}

.video-layer {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    transition: 0.25s ease;
}

.video-card:hover .video-layer {
    background: rgba(0, 0, 0, 0.2);
}

.play-wrap {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.play-outer {
    width: 4.7rem;
    height: 4.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
}

.play-inner {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--text);
    font-size: 0.95rem;
    padding-left: 0.15rem;
}

.video-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.85rem;
}

.video-caption p {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.video-caption span {
    font-size: 0.75rem;
    color: var(--muted);
}

.blob {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.6;
    animation: float-soft 7s ease-in-out infinite;
}

.blob-blue {
    background: #c6dcff;
    right: -55px;
    bottom: -45px;
}

.blob-lilac {
    background: #e8d9ff;
    left: -55px;
    top: -45px;
    animation-delay: -3s;
}

.authority {
    background: linear-gradient(
        115deg,
        rgba(0, 101, 217, 0.06) 0%,
        rgba(255, 255, 255, 0.85) 42%,
        rgba(227, 238, 252, 0.8) 100%
    );
}

.authority-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.authority-media {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: #dce7f5;
    box-shadow: 0 22px 46px rgba(0, 17, 36, 0.12);
}

.authority-media img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.authority-content {
    padding: 0.2rem 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.authority-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #5d7085;
    font-weight: 600;
}

.authority-content h2 {
    margin: 0 0 0.45rem;
}

.authority-sub {
    margin: 0 0 1rem;
    color: #1b3248;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.55;
}

.authority-lead {
    margin: 0 0 0.6rem;
    color: #607286;
    font-size: 0.95rem;
    line-height: 1.6;
}

.authority-list {
    margin: 0 0 0.95rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.48rem;
}

.authority-list li {
    position: relative;
    padding-left: 1.1rem;
    color: #142a3f;
    font-weight: 500;
    line-height: 1.55;
}

.authority-list li::before {
    content: "";
    position: absolute;
    top: 0.58rem;
    left: 0;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 999px;
    background: #0065d9;
    box-shadow: 0 0 0 4px rgba(0, 101, 217, 0.13);
}

.authority-footnote {
    margin: 0 0 1.2rem;
    color: #54677d;
    font-size: 0.9rem;
    line-height: 1.6;
}

.value-props {
    background: rgba(240, 246, 253, 0.75);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.8rem;
}

.section-title h2,
.strategy-left h2,
.transparency h2,
.cta-card h2,
.authority-content h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.15;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    gap: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 35px rgba(0, 24, 59, 0.07);
    padding: 1.4rem;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: #edf5ff;
    margin-bottom: 1rem;
}

.icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
}

.strategy {
    overflow: hidden;
}

.strategy-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.strategy-left .eyebrow {
    margin: 1.4rem 0 1rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.scenario-list {
    display: grid;
    gap: 0.65rem;
}

.scenario-btn {
    border: 1px solid transparent;
    background: transparent;
    border-radius: 0.8rem;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--muted);
    cursor: pointer;
    transition: 0.2s ease;
}

.scenario-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: #eef3fa;
}

.scenario-btn.is-active {
    background: var(--white);
    color: var(--text);
    border-color: rgba(0, 101, 217, 0.22);
    box-shadow: 0 10px 24px rgba(0, 17, 36, 0.08);
}

.scenario-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: #f5f8fc;
}

.scenario-arrow {
    margin-left: auto;
    color: transparent;
    transform: translateX(-4px);
    transition: 0.2s ease;
    font-size: 1.25rem;
}

.scenario-btn.is-active .scenario-arrow {
    color: var(--primary);
    transform: translateX(0);
}

.strategy-right {
    position: relative;
}

.strategy-blob {
    position: absolute;
    inset: -16%;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(0, 101, 217, 0.05),
        rgba(170, 120, 255, 0.07),
        rgba(255, 170, 210, 0.05)
    );
    filter: blur(45px);
}

.dashboard-card {
    border-radius: 1.7rem;
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 40px rgba(0, 17, 36, 0.09);
}

.dashboard-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.dashboard-head h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.dashboard-head p {
    font-size: 0.85rem;
    color: var(--muted);
}

.badge-ok {
    font-size: 0.78rem;
    font-weight: 500;
    color: #297949;
    background: #ebf9ef;
    border: 1px solid #cbeed6;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    white-space: nowrap;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.dashboard-grid span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.dashboard-grid strong {
    font-size: 1rem;
    font-weight: 600;
}

.text-blue {
    color: var(--primary);
}

.recommend-box {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    border-radius: 0.9rem;
    border: 1px solid rgba(0, 101, 217, 0.15);
    background: rgba(0, 101, 217, 0.05);
    padding: 1rem;
}

.badge-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    flex-shrink: 0;
}

.recommend-box h4 {
    color: var(--primary);
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.recommend-box p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.chart-box {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 228, 239, 0.8);
}

.months {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.bars {
    height: 65px;
    display: flex;
    gap: 0.35rem;
    align-items: flex-end;
}

.bar {
    position: relative;
    flex: 1;
    height: 100%;
    background: #dcebff;
    border-radius: 0.35rem 0.35rem 0 0;
    overflow: hidden;
}

.bar::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: var(--h);
    background: rgba(0, 101, 217, 0.3);
    border-radius: 0.35rem 0.35rem 0 0;
    animation: grow 0.8s ease forwards;
    transform-origin: bottom;
}

.transparency {
    background: var(--white);
}

.transparency-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.crossed {
    color: var(--muted);
    text-decoration: line-through;
    text-decoration-color: rgba(220, 53, 69, 0.35);
    text-decoration-thickness: 2px;
}

.transparency p {
    margin-top: 1.2rem;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.commit-card {
    border-radius: 1.6rem;
    padding: 1.5rem;
    background: #f3f7fc;
    border: 1px solid #e8eef8;
}

.commit-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1.4rem;
}

.commit-card ul {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.commit-card li {
    display: flex;
    align-items: start;
    gap: 0.6rem;
    font-weight: 500;
    line-height: 1.5;
}

.check {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: #e8faf0;
    color: #1c8b50;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.testimonials {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(241, 246, 253, 0.74) 100%
    );
}

.testimonials-head {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}

.testimonials-head h2 {
    font-size: clamp(1.8rem, 3.3vw, 2.65rem);
    line-height: 1.12;
    font-weight: 500;
}

.testimonials-head p {
    color: #607286;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 1.15rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 32px rgba(0, 17, 36, 0.08);
    padding: 1rem 1rem 1.05rem;
}

.testimonial-type {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(0, 101, 217, 0.11);
    border: 1px solid rgba(0, 101, 217, 0.2);
    color: #0f5fbd;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.62rem;
    margin-bottom: 0.72rem;
}

.testimonial-card blockquote {
    margin: 0;
    color: #1c3045;
    font-size: 1.03rem;
    line-height: 1.55;
    font-weight: 500;
}

.testimonial-videos {
    display: grid;
    gap: 0.8rem;
}

.video-testimonial-card {
    position: relative;
    border: 0;
    border-radius: 1rem;
    padding: 0;
    overflow: hidden;
    min-height: 180px;
    background: #d7e3f3;
    box-shadow: 0 14px 34px rgba(0, 17, 36, 0.14);
    cursor: pointer;
    text-align: left;
}

.video-testimonial-card img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.video-testimonial-card:hover img {
    transform: scale(1.05);
}

.video-t-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 17, 36, 0.22) 0%,
        rgba(0, 17, 36, 0.45) 100%
    );
}

.video-t-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #001124;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    padding-left: 0.08rem;
    box-shadow: 0 10px 28px rgba(0, 17, 36, 0.26);
}

.video-t-caption {
    position: absolute;
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.72rem;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        180deg,
        rgba(237, 243, 251, 0.95) 0%,
        rgba(233, 240, 250, 0.95) 100%
    );
}

.section-blend {
    display: none;
}

.cta-skew {
    position: absolute;
    top: -360px;
    left: -30%;
    width: 170%;
    height: 520px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(238, 244, 252, 0.96) 100%
    );
    transform: rotate(-30deg);
    transform-origin: top left;
    z-index: 0;
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem 1.3rem;
    text-align: center;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 45px rgba(0, 59, 136, 0.12);
}

.cta-card h2 {
    margin-bottom: 1.8rem;
}

.cta-points {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.cta-points p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--muted);
    font-weight: 500;
}

.cta-points span {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: var(--success-bg);
    color: var(--success-text);
    font-size: 0.72rem;
    display: grid;
    place-items: center;
}

.cta-actions {
    display: grid;
    gap: 0.7rem;
    justify-items: center;
}

.cta-actions p {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    background: var(--text);
    color: var(--white);
    padding: 4rem 0;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 14, 25, 0.76);
    backdrop-filter: blur(2px);
}

.video-modal-dialog {
    position: relative;
    width: min(980px, 100%);
    background: #0a121a;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(0, 5, 12, 0.55);
    z-index: 1;
}

.video-modal-frame-wrap {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.video-modal-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-cta {
    padding: 0.95rem 1rem 1.1rem;
    display: flex;
    justify-content: center;
    background: #0a121a;
}

.video-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(8, 18, 31, 0.75);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
}

.footer-grid {
    display: grid;
    gap: 1.8rem;
    margin-bottom: 2rem;
}

.footer-grid h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.footer-logo {
    width: min(180px, 100%);
    height: auto;
    display: block;
    margin-bottom: 1.25rem;
}

.footer-grid h4 {
    margin-bottom: 0.6rem;
}

.footer-grid p,
.footer-grid li,
.footer-bottom {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.2rem;
    display: grid;
    gap: 0.55rem;
    font-size: 0.75rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px) scale(0.99);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
    will-change: opacity, transform;
}

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

.legal-main {
    padding-top: calc(var(--nav-h) + 2.4rem);
}

.legal-shell {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 2.8vw, 2.4rem);
    box-shadow: 0 20px 45px rgba(0, 17, 36, 0.07);
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 101, 217, 0.22);
    background: rgba(0, 101, 217, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    margin-bottom: 1rem;
}

.legal-shell h1 {
    font-size: clamp(1.75rem, 4.2vw, 2.55rem);
}

.legal-updated {
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.legal-content {
    margin-top: 2rem;
    display: grid;
    gap: 1.25rem;
}

.legal-content h2 {
    font-size: 1.18rem;
}

.legal-content p {
    color: #253649;
    line-height: 1.72;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (min-width: 720px) {
    .hero-actions {
        grid-template-columns: auto auto;
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }

    .authority-grid {
        grid-template-columns: 5fr 7fr;
    }

    .transparency-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .testimonial-videos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cta-points {
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        gap: 1.4rem;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2.3rem;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        gap: 1.2rem;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-shell {
        grid-template-columns: auto 1fr auto;
        padding: 0.82rem 1.4rem;
        gap: 1.8rem;
    }

    .nav-links {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .video-card {
        aspect-ratio: 4 / 5;
        min-height: 580px;
        max-height: 600px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                102deg,
                rgba(251, 252, 255, 0.75) 2%,
                rgba(251, 252, 255, 0.45) 48%,
                rgba(251, 252, 255, 0.7) 96%
            ),
            linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0.66),
                rgba(255, 255, 255, 0.5),
                rgba(255, 255, 255, 0.78)
            );
    }

    .strategy-grid {
        grid-template-columns: 5fr 7fr;
        gap: 2.8rem;
    }

    .dashboard-card {
        padding: 2rem;
    }

    .commit-card {
        padding: 2.2rem 2.6rem;
    }

    .cta-card {
        border-radius: 2.5rem;
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 7.2rem 0 3.8rem;
    }

    .hero-grid {
        gap: 1.6rem;
    }

    .video-card {
        min-height: 360px;
    }

    .blob {
        display: none;
    }

    .section-blend {
        display: none;
    }

    .cta-skew {
        top: -235px;
        left: -48%;
        width: 215%;
        height: 360px;
    }

    .cta-card {
        padding: 1.85rem 1rem;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #e5edf7;
        border-radius: 1rem;
        box-shadow: 0 16px 35px rgba(0, 17, 36, 0.12);
        padding: 1rem;
        gap: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.is-open {
        display: flex;
    }

    .site-header .btn-dark {
        display: none;
    }

    .testimonials-head {
        margin-bottom: 1rem;
    }

    .authority-content {
        padding: 0;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .section-pad {
        padding: 4.5rem 0;
    }

    .nav-shell {
        min-height: 72px;
        padding: 0.7rem 0.95rem;
    }

    .brand {
        max-width: 150px;
    }

    .hero-copy > p {
        font-size: 1rem;
    }

    .hero-actions .btn-large,
    .cta-actions .btn-xl {
        width: 100%;
    }

    .hero-actions p {
        max-width: none;
    }

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

    .dashboard-card {
        padding: 1.1rem;
    }

    .commit-card {
        padding: 1.25rem;
    }

    .commit-card h3 {
        font-size: 1.45rem;
    }

    .cta-card h2 {
        margin-bottom: 1.2rem;
    }

    .cta-skew {
        top: -185px;
        left: -58%;
        width: 235%;
        height: 300px;
    }

    .video-modal {
        padding: 0.65rem;
    }

    .video-modal-dialog {
        border-radius: 0.75rem;
    }

    .video-modal-cta .btn {
        width: 100%;
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 101, 217, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 101, 217, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 101, 217, 0);
    }
}

@keyframes grow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-soft {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -10px, 0) scale(1.03);
    }
}
