:root {
    --landing-ink: #071526;
    --landing-navy: #0b2a48;
    --landing-blue: #2f80ff;
    --landing-mint: #4ed6c8;
    --landing-ice: #ddf7f3;
    --landing-coral: #ff8066;
    --landing-muted: #9fb2c6;
    --landing-line: rgba(159, 178, 198, 0.18);
}

.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #f7fbff;
    background:
        radial-gradient(circle at 76% 20%, rgba(47, 128, 255, 0.17), transparent 32rem),
        radial-gradient(circle at 18% 82%, rgba(78, 214, 200, 0.1), transparent 30rem),
        var(--landing-ink);
}

.landing-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--landing-line);
    background: rgba(7, 21, 38, 0.82);
    backdrop-filter: blur(18px);
}

.landing-nav {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-logo,
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 760;
    letter-spacing: -0.025em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-btn,
.landing-cta-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.landing-btn {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 14px;
}

.landing-btn-outline {
    border-color: var(--landing-line);
    background: rgba(255, 255, 255, 0.035);
}

.landing-btn-solid,
.landing-cta-primary {
    color: #061525;
    background: var(--landing-mint);
    box-shadow: 0 12px 30px rgba(78, 214, 200, 0.15);
}

.landing-btn:hover,
.landing-cta-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.landing-btn-solid:hover,
.landing-cta-primary:hover {
    color: #061525;
    background: #72e1d6;
    box-shadow: 0 16px 36px rgba(78, 214, 200, 0.23);
}

.landing-content {
    flex: 1;
}

.home-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 660px;
    padding: 88px 0 70px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    align-items: center;
    gap: 70px;
}

.hero-eyebrow {
    width: fit-content;
    margin-bottom: 22px;
    padding: 7px 11px;
    border: 1px solid rgba(78, 214, 200, 0.24);
    border-radius: 999px;
    color: var(--landing-mint);
    background: rgba(78, 214, 200, 0.07);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 690px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(48px, 5.6vw, 76px);
    line-height: 0.98;
    font-weight: 780;
    letter-spacing: -0.06em;
}

.hero-copy h1 span {
    color: var(--landing-mint);
}

.hero-copy > p {
    max-width: 610px;
    margin: 0 0 34px;
    color: var(--landing-muted);
    font-size: 18px;
    line-height: 1.72;
}

.landing-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.landing-cta-btn {
    min-height: 52px;
    padding: 13px 22px;
}

.landing-cta-secondary {
    border-color: var(--landing-line);
    background: rgba(255, 255, 255, 0.035);
}

.hero-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: #c1cfdd;
    font-size: 13px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-proof i {
    color: var(--landing-mint);
}

.hero-visual {
    position: relative;
    min-height: 490px;
}

.visual-glow {
    position: absolute;
    inset: 10% 5% 5%;
    border-radius: 50%;
    background: rgba(47, 128, 255, 0.2);
    filter: blur(70px);
}

.product-visual {
    position: relative;
    z-index: 1;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid rgba(159, 178, 198, 0.22);
    border-radius: 20px;
    color: #172033;
    background: #f7f8fb;
    box-shadow: 0 42px 90px rgba(0, 0, 0, 0.38);
}

.product-toolbar {
    min-height: 48px;
    padding: 8px 13px;
    border-bottom: 1px solid #dde3eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #152238;
    font-size: 11px;
    font-weight: 800;
}

.product-brand img {
    width: 23px;
    height: 23px;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.product-control {
    padding: 5px 8px;
    border: 1px solid #2583dc;
    border-radius: 999px;
    color: #0869b7;
    background: #fff;
    font-size: 8px;
    font-weight: 750;
    white-space: nowrap;
}

.product-control-key {
    border-color: #7442d1;
    color: #5d2db7;
}

.product-prompt {
    padding: 14px;
    border-bottom: 1px solid #e0e5ed;
    background: #fff;
}

.product-prompt strong {
    display: block;
    margin-bottom: 9px;
    color: #121827;
    font-size: 10px;
}

.product-textarea {
    min-height: 51px;
    padding: 9px 10px;
    border: 1px solid #ccd3dd;
    border-radius: 4px;
    color: #30394a;
    background: #fff;
    font-size: 9px;
    line-height: 1.45;
}

.product-generate {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 3px;
    color: #fff;
    background: #7040c9;
    text-align: center;
    font-size: 9px;
    font-weight: 750;
}

.product-result {
    position: relative;
    padding: 17px 13px 21px;
    background: #f7f8fb;
}

.visual-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1066 / 537;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(24, 39, 61, 0.12);
}

.visual-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 300ms ease;
}

.visual-slide.is-active {
    opacity: 1;
}

.visual-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.visual-slider-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 10px;
    color: #fff;
    background: rgba(7, 21, 38, 0.78);
    transform: translateY(-50%);
    transition: background 160ms ease, transform 160ms ease;
}

.visual-slider-arrow:hover {
    background: rgba(7, 21, 38, 0.96);
    transform: translateY(-50%) scale(1.05);
}

.visual-slider-prev {
    left: 10px;
}

.visual-slider-next {
    right: 10px;
}

.visual-slider-caption {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    background: rgba(7, 21, 38, 0.82);
    backdrop-filter: blur(8px);
    font-size: 9px;
    font-weight: 750;
}

.product-privacy {
    position: absolute;
    right: 18px;
    bottom: 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(78, 214, 200, 0.2);
    border-radius: 9px;
    color: var(--landing-mint);
    background: rgba(7, 21, 38, 0.94);
    font-size: 10px;
    font-weight: 750;
}

.home-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0;
}

.section-intro {
    max-width: 660px;
    margin-bottom: 40px;
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--landing-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-intro h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.section-intro p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 17px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.value-card {
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.value-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 24px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--landing-mint);
    background: rgba(78, 214, 200, 0.09);
}

.value-card:nth-child(2) .value-icon {
    color: #78a9ff;
    background: rgba(47, 128, 255, 0.1);
}

.value-card:nth-child(3) .value-icon {
    color: var(--landing-coral);
    background: rgba(255, 128, 102, 0.09);
}

.value-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 19px;
}

.value-card p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.7;
}

.landing-footer {
    border-top: 1px solid var(--landing-line);
    padding: 26px 20px;
    color: var(--landing-muted);
    background: rgba(3, 13, 24, 0.5);
    text-align: center;
    font-size: 13px;
}

.landing-footer a {
    margin-left: 16px;
    color: #dce7f1;
    text-decoration: none;
}

.legal-page-wrapper {
    color: #242424;
    background: #f6f4ef;
}

.legal-page-wrapper .landing-content {
    background: #f6f4ef;
}

.legal-page-wrapper .landing-footer {
    border-color: #dedbd3;
    color: #68655f;
    background: #eeece6;
}

.legal-page-wrapper .landing-footer a {
    color: #242424;
}

.legal-document {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(54px, 8vw, 96px) 0 90px;
    color: #2b2a28;
    font-size: 16px;
    line-height: 1.75;
}

.legal-document-header {
    padding-bottom: 38px;
    border-bottom: 1px solid #cfcbc1;
}

.legal-eyebrow {
    margin: 0 0 14px;
    color: #4b665f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.legal-document h1 {
    max-width: 760px;
    margin: 0;
    color: #171715;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.legal-effective-date {
    margin: 20px 0 0;
    color: #6b6861;
    font-size: 14px;
}

.legal-opening-notice {
    max-width: 820px;
    margin: 32px 0 0;
    color: #252421;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.025em;
    line-height: 1.65;
}

.legal-document-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 24px 0;
    border-bottom: 1px solid #cfcbc1;
}

.legal-document-nav a {
    color: #164f48;
    font-weight: 700;
    text-underline-offset: 4px;
}

.legal-section {
    padding-top: 64px;
    scroll-margin-top: 24px;
}

.legal-section + .legal-section {
    margin-top: 72px;
    border-top: 2px solid #242421;
}

.legal-document .legal-section-title {
    margin: 0 0 42px;
    color: #171715;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.legal-document h2:not(.legal-section-title) {
    margin: 44px 0 14px;
    color: #1c1c1a;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.legal-document h3 {
    margin: 30px 0 12px;
    color: #292824;
    font-size: 17px;
    font-weight: 750;
}

.legal-document p {
    margin: 0 0 18px;
}

.legal-document ul {
    margin: 0 0 22px;
    padding-left: 24px;
}

.legal-document li {
    margin-bottom: 8px;
}

.legal-document strong {
    color: #1d1c1a;
}

.legal-document a {
    color: #17675d;
    text-underline-offset: 3px;
}

.legal-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    color: #263449;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.legal-card h1,
.legal-card h2,
.legal-card h3,
.legal-card h4,
.legal-card strong {
    color: #0b2a48;
}

.legal-card h2 {
    margin-top: 2rem;
}

.legal-card h3 {
    margin-top: 1.35rem;
    font-size: 1.15rem;
}

.legal-card p,
.legal-card li {
    color: #44536a;
    line-height: 1.75;
}

.legal-card a {
    color: #176fca;
}

.legal-table {
    margin: 1.25rem 0;
    border-color: #dbe3ec;
    color: #44536a;
}

.legal-table th {
    color: #0b2a48;
    background: #eef5fb;
}

.legal-table th,
.legal-table td {
    padding: 0.9rem;
    border-color: #dbe3ec;
    vertical-align: top;
}

@media (max-width: 980px) {
    .home-hero {
        grid-template-columns: 1fr;
        gap: 54px;
        padding-top: 68px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-eyebrow,
    .hero-copy > p {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-cta-buttons,
    .hero-proof {
        justify-content: center;
    }

    .hero-visual {
        width: min(620px, 100%);
        margin: 0 auto;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 700px) {
    .landing-nav {
        width: min(100% - 28px, 1180px);
        min-height: 68px;
    }

    .landing-nav-actions .landing-btn-outline {
        display: none;
    }

    .landing-nav-actions .landing-btn {
        padding: 8px 11px;
    }

    .home-hero,
    .home-section {
        width: min(100% - 28px, 1180px);
    }

    .home-hero {
        min-height: auto;
        padding-top: 54px;
        gap: 42px;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .landing-cta-btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 395px;
    }

    .product-visual {
        min-height: 390px;
    }

    .product-brand {
        display: none;
    }

    .product-actions {
        width: 100%;
    }

    .home-section {
        padding: 62px 0;
    }

    .landing-footer a {
        display: inline-block;
        margin: 8px 7px 0;
    }

    .legal-document {
        width: min(100% - 30px, 900px);
        padding: 46px 0 64px;
        font-size: 15px;
    }

    .legal-document-header {
        padding-bottom: 30px;
    }

    .legal-opening-notice {
        font-size: 13px;
    }

    .legal-section {
        padding-top: 48px;
    }

    .legal-section + .legal-section {
        margin-top: 52px;
    }

    .legal-document .legal-section-title {
        margin-bottom: 32px;
    }

    .legal-document h2:not(.legal-section-title) {
        margin-top: 36px;
        font-size: 20px;
    }

    .legal-table {
        display: block;
        overflow-x: auto;
    }
}
