:root {
    --ink: #111827;
    --muted: #64748b;
    --soft: #f6f8fb;
    --panel: #ffffff;
    --line: #e5e7eb;
    --brand: #7c3aed;
    --brand-dark: #4c1d95;
    --brand-soft: #f3e8ff;
    --accent: #c084fc;
    --warning: #d97706;
    --dark: #13071f;
    --dark-2: #231137;
    --radius: 8px;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}


.footer-icon {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    margin-right: 8px;
    border-radius: 6px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 600;
}

.footer-contact a,
.footer-col a {
    display: inline-flex;
    align-items: center;
}

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

img,
svg {
    max-width: 100%;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    max-width: 820px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(124, 58, 237, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.header-shell {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-logo {
    display: block;
    width: 154px;
    height: 62px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.nav-links a {
    position: relative;
    padding: 10px 9px;
    border-radius: 10px;
    color: #5f536d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.16s ease, background 0.16s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3b0764;
    background: transparent;
    box-shadow: none;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.nav-actions,
.hero-actions,
.cta-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions {
    flex-shrink: 0;
}

.btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
}

.btn-ghost {
    color: #4c1d95;
    background: transparent;
}

.nav-login {
    color: #5f536d;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 6px;
}

.nav-login:hover {
    color: #3b0764;
}

.btn-large {
    min-height: 50px;
    padding-inline: 22px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 76px;
    color: #fff;
    background:
        linear-gradient(130deg, rgba(19, 7, 31, 0.96), rgba(76, 29, 149, 0.92)),
        url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 110px;
    background: linear-gradient(180deg, transparent, #fff);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    gap: 54px;
    align-items: center;
}

.hero-copy h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: 0;
    font-weight: 900;
}

.hero-copy p,
.page-hero p,
.section-lead,
.section-head p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.75;
}

.hero-copy p {
    max-width: 620px;
    margin: 24px 0 30px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(14, 165, 164, 0.3);
    border-radius: 999px;
    color: #9ff3e7;
    background: rgba(14, 165, 164, 0.12);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.proof-row span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 700;
}

.product-shot {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
}

.product-topbar {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: #334155;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.product-topbar div {
    display: flex;
    gap: 7px;
}

.product-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
}

.product-topbar span:first-child {
    background: #ef4444;
}

.product-topbar span:nth-child(2) {
    background: #f59e0b;
}

.product-topbar span:nth-child(3) {
    background: #22c55e;
}

.product-topbar strong {
    font-size: 13px;
}

.product-layout {
    min-height: 430px;
    display: grid;
    grid-template-columns: 74px 1fr;
    background: #eef2f7;
}

.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background: #101827;
}

.product-sidebar span {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.product-sidebar span.active {
    background: linear-gradient(135deg, var(--brand), var(--accent));
}

.product-main {
    padding: 20px;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 14px;
}

.metric-card {
    min-height: 128px;
    display: grid;
    align-content: space-between;
    padding: 18px;
    border-radius: 12px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.metric-card.dark {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.metric-card small {
    color: inherit;
    opacity: 0.72;
    font-weight: 800;
}

.metric-card strong {
    font-size: 27px;
    line-height: 1;
}

.metric-card span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.metric-card.dark span {
    color: #b8fff1;
}

.table-preview {
    margin-top: 16px;
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.table-head,
.table-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
}

.table-head {
    margin-bottom: 12px;
    color: var(--ink);
}

.table-head span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: 12px;
    font-weight: 900;
}

.table-row {
    padding: 14px 0;
    color: #475569;
    border-top: 1px solid var(--line);
}

.table-row strong {
    padding: 5px 9px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: 12px;
}

.table-row strong.warn {
    color: var(--warning);
    background: #fff7ed;
}

.table-row em {
    color: var(--ink);
    font-style: normal;
    font-weight: 800;
}

.logo-strip {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.logo-strip .shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.logo-strip span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.logo-strip strong {
    color: #334155;
    font-size: 15px;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--soft);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-head .eyebrow,
.page-hero .eyebrow,
.split-section .eyebrow,
.cta-section .eyebrow {
    color: var(--brand-dark);
    background: var(--brand-soft);
    border-color: #ddd6fe;
}

.section-head h2,
.split-section h2,
.about-grid h2,
.cta-inner h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 900;
}

.section-head p,
.section-lead {
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 52px;
    align-items: start;
}

.benefit-grid,
.feature-grid,
.values-grid,
.module-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.benefit-grid article,
.feature-card,
.values-grid article,
.module-showcase article,
.mission-card,
.policy-card,
.policy-side,
.contact-panel,
.public-form,
.pricing-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: var(--shadow-sm);
}

.benefit-grid article,
.feature-card,
.values-grid article,
.module-showcase article {
    padding: 28px;
}

.benefit-grid span,
.feature-card span,
.values-grid span,
.module-showcase span,
.mission-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.benefit-grid h3,
.feature-card h3,
.values-grid h3,
.module-showcase h2,
.mission-card h3,
.policy-card h3,
.policy-side h3 {
    margin: 10px 0 8px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.25;
}

.benefit-grid p,
.feature-card p,
.values-grid p,
.module-showcase p,
.mission-card p,
.policy-card p,
.policy-links span,
.about-grid p,
.contact-panel p {
    margin: 0;
    color: var(--muted);
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--dark);
    box-shadow: var(--shadow-lg);
}

.stats-panel div {
    padding: 34px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-panel div:last-child {
    border-right: 0;
}

.stats-panel strong {
    display: block;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 10px;
}

.stats-panel span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.pricing-card.featured {
    color: #fff;
    background: linear-gradient(155deg, #1b0b2d, #4c1d95 58%, #6d28d9);
    border-color: transparent;
    transform: translateY(-8px);
}

.pricing-badge {
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #b8fff1;
    background: rgba(14, 165, 164, 0.18);
    font-size: 12px;
    font-weight: 900;
}

.pricing-card h3 {
    margin: 0 0 8px;
    font-size: 23px;
}

.pricing-card p {
    min-height: 72px;
    margin: 0;
    color: var(--muted);
}

.pricing-card.featured p,
.pricing-card.featured .pricing-cycle {
    color: rgba(255, 255, 255, 0.68);
}

.pricing-amount {
    margin: 22px 0 4px;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.pricing-amount span {
    font-size: 15px;
    color: var(--muted);
}

.pricing-card.featured .pricing-amount span {
    color: rgba(255, 255, 255, 0.65);
}

.pricing-cycle {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.pricing-card ul,
.contact-panel ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 24px 0;
    list-style: none;
}

.pricing-card li,
.contact-panel li {
    color: #475569;
    font-weight: 700;
}

.pricing-card li::before,
.contact-panel li::before {
    content: "+";
    margin-right: 8px;
    color: var(--accent);
    font-weight: 900;
}

.pricing-card.featured li {
    color: rgba(255, 255, 255, 0.86);
}

.pricing-card .btn {
    margin-top: auto;
}

.cta-section {
    padding: 76px 0;
    background: #fff;
}

.cta-inner {
    justify-content: space-between;
    padding: 42px;
    border-radius: 18px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(19, 7, 31, 0.96), rgba(76, 29, 149, 0.9)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.cta-inner h2 {
    max-width: 760px;
    color: #fff;
}

.cta-inner .eyebrow {
    color: #9ff3e7;
    background: rgba(14, 165, 164, 0.12);
    border-color: rgba(14, 165, 164, 0.3);
}

.page-hero {
    padding: 88px 0 76px;
    color: #fff;
    background:
        linear-gradient(130deg, rgba(19, 7, 31, 0.96), rgba(76, 29, 149, 0.92)),
        url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    max-width: 920px;
    color: #fff;
}

.page-hero p {
    max-width: 720px;
    margin: 20px 0 0;
}

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

.module-showcase article {
    min-height: 238px;
}

.timeline-list {
    display: grid;
    gap: 14px;
}

.timeline-list div {
    padding: 20px;
    border-left: 4px solid var(--brand);
    border-radius: 0 12px 12px 0;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.timeline-list strong,
.timeline-list span {
    display: block;
}

.timeline-list span {
    margin-top: 4px;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 44px;
    align-items: start;
}

.about-grid p + p {
    margin-top: 18px;
}

.mission-card {
    padding: 30px;
}

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

.form-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.contact-panel,
.public-form {
    padding: 30px;
}

.contact-panel h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.contact-panel a {
    display: block;
    margin-top: 16px;
    color: var(--brand-dark);
    font-weight: 900;
}

.public-form {
    display: grid;
    gap: 18px;
}

.public-form label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 800;
}

.public-form input,
.public-form textarea,
.public-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.public-form textarea {
    resize: vertical;
}

.public-form input:focus,
.public-form textarea:focus,
.public-form select:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(124, 58, 237, 0.14);
}

.form-message {
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    color: #166534;
    background: #f0fdf4;
    font-weight: 800;
}

.checkout-page {
    padding: 84px 0;
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 28px;
    align-items: start;
}

.checkout-summary,
.checkout-form,
.checkout-status-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.checkout-summary,
.checkout-form {
    padding: 32px;
}

.checkout-summary > span,
.checkout-status-card > span,
.checkout-form > span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #4c1d95;
    background: #f3e8ff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.checkout-summary h1,
.checkout-status-card h1,
.checkout-form h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 36px;
    line-height: 1.12;
}

.checkout-summary p,
.checkout-status-card p,
.checkout-form p,
.checkout-note {
    color: #64748b;
}

.checkout-price {
    display: grid;
    gap: 4px;
    margin: 24px 0;
}

.checkout-price strong {
    color: #0f172a;
    font-size: 34px;
    line-height: 1;
}

.checkout-price small {
    color: #64748b;
    font-weight: 600;
}

.checkout-tax-breakup {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 12px;
    background: #faf5ff;
}

.checkout-tax-breakup span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #475569;
    font-size: 14px;
}

.checkout-tax-breakup b,
.checkout-tax-breakup em {
    font-style: normal;
    font-weight: 700;
}

.checkout-tax-breakup span:last-child {
    padding-top: 10px;
    border-top: 1px solid rgba(124, 58, 237, 0.16);
    color: #0f172a;
}

.checkout-summary ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.checkout-summary li::before {
    content: "";
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 999px;
    background: #059669;
    transform: translateY(-1px);
}

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-form h2 {
    font-size: 30px;
}

.checkout-form p {
    margin: -6px 0 4px;
    line-height: 1.7;
}

.checkout-form label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-weight: 600;
}

.checkout-form input {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font: inherit;
}

.checkout-note {
    margin: 0;
    font-size: 13px;
}

.checkout-trust,
.checkout-status-meta {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.checkout-trust span,
.checkout-status-meta div {
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
}

.checkout-status-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 26px 0;
}

.checkout-status-meta div {
    display: grid;
    gap: 5px;
    text-align: left;
}

.checkout-status-meta strong {
    color: #0f172a;
    font-size: 13px;
}

.checkout-status-meta span {
    color: #64748b;
    font-size: 13px;
}

.checkout-status-card {
    max-width: 760px;
    padding: 38px;
    text-align: center;
}

.checkout-status-card .success {
    color: #047857;
    background: #ecfdf5;
}

.checkout-status-card .failed {
    color: #b42318;
    background: #fff1f2;
}

@media (max-width: 820px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.policy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.policy-list,
.policy-links {
    display: grid;
    gap: 14px;
}

.public-policy-layout {
    align-items: start;
}

.policy-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 28px;
}

.policy-card h3 {
    margin-top: 0;
}

.policy-side {
    position: sticky;
    top: 110px;
    padding: 28px;
}

.policy-side .public-kicker {
    margin-bottom: 12px;
}

.policy-side > p {
    margin: 0 0 18px;
}

.policy-links a {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.legal-document-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.legal-overview {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 18px;
}

.legal-summary-card,
.legal-action-card,
.legal-help-box {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.legal-summary-card {
    padding: 34px;
}

.legal-summary-card span,
.policy-card span {
    color: #4c1d95;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.legal-summary-card h2 {
    max-width: 860px;
    margin: 12px 0 0;
    color: #0f172a;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.18;
    font-weight: 700;
}

.legal-summary-card p {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 15px;
}

.legal-action-card {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 28px;
    background: #f8fafc;
}

.legal-action-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
}

.legal-action-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.legal-action-card .btn {
    width: fit-content;
}

.legal-section-list {
    gap: 16px;
}


.legal-section-number {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #4c1d95;
    background: #f3e8ff;
    font-weight: 700;
}

.policy-card h3 {
    margin: 8px 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.policy-card p {
    font-size: 15px;
    line-height: 1.75;
}

.legal-side {
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.policy-links a.active {
    border-color: #c4b5fd;
    background: #f5f3ff;
}

.policy-links a:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.policy-links strong {
    color: #0f172a;
    font-size: 14px;
}

.policy-links span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.legal-help-box {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding: 18px;
    background: #f8fafc;
}

.legal-help-box strong {
    color: #0f172a;
    font-size: 14px;
}

.legal-help-box span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.public-error-page {
    min-height: 62vh;
    padding: 94px 0;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.92)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.public-error-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    gap: 36px;
    align-items: center;
}

.public-error-grid h1 {
    max-width: 720px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.06;
}

.public-error-grid p {
    max-width: 620px;
    margin: 18px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}

.public-error-panel {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    background: #fff;
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.1);
}

.public-error-panel strong {
    color: #4c1d95;
    font-size: 76px;
    line-height: 1;
}

.public-error-panel span {
    margin-top: 10px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 600;
}

.public-error-panel p {
    margin-top: 10px;
    font-size: 14px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 46px 0 20px;
    color: rgba(255, 255, 255, 0.72);
    background:
        linear-gradient(135deg, rgba(3, 7, 18, 0.99), rgba(11, 18, 32, 0.99)),
        radial-gradient(circle at top right, rgba(71, 85, 105, 0.12), transparent 36%);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    pointer-events: none;
}

.site-footer .shell {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.35fr) repeat(4, minmax(130px, 1fr));
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-brand {
    width: fit-content;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
}

.footer-logo {
    width: 138px;
    height: 62px;
}

.footer-main p {
    max-width: 360px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.65;
}

.footer-contact {
    display: grid;
    gap: 6px;
    margin-top: 16px;
}

.footer-contact > span,
.footer-social > span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-contact a,
.footer-col a {
    color: rgba(226, 232, 240, 0.72);
    font-size: 13px;
    font-weight: 400;
    transition: color 0.16s ease, transform 0.16s ease;
}

.footer-contact--compact a,
.footer-contact--compact span:not(:first-child) {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    color: #c4b5fd;
    font-size: 13px;
    line-height: 1;
}

.footer-social {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.footer-social__links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(124, 58, 237, 0.16);
    border: 1px solid rgba(196, 181, 253, 0.16);
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.footer-social__links a:hover {
    transform: translateY(-2px);
    color: #fff;
    background: rgba(124, 58, 237, 0.28);
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-col h4 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col a:hover,
.footer-contact a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12.5px;
}

@media (max-width: 1080px) {
    .hero-grid,
    .split-section,
    .about-grid,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .product-shot {
        max-width: 760px;
    }

    .pricing-grid,
    .module-showcase,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .header-shell {
        min-height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 4px 0 2px;
        scrollbar-width: none;
        border-top: 1px solid rgba(124, 58, 237, 0.1);
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        padding: 10px 12px;
    }

    .nav-actions {
        margin-left: auto;
        gap: 10px;
    }

    .hero,
    .page-hero {
        padding: 62px 0;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 42px;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        display: none;
    }

    .metric-grid,
    .benefit-grid,
    .feature-grid,
    .pricing-grid,
    .module-showcase,
    .values-grid,
    .stats-panel,
    .legal-overview,
    .legal-document-layout,
    .footer-grid,
    .policy-layout {
        grid-template-columns: 1fr;
    }

    .stats-panel div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-panel div:last-child {
        border-bottom: 0;
    }

    .pricing-card.featured {
        transform: none;
    }

    .cta-inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .brand {
        max-width: 160px;
    }

    .brand-logo {
        width: 136px;
        height: 54px;
        max-width: 100%;
    }

    .nav-actions {
        width: 100%;
        margin-left: 0;
    }

    .nav-actions .btn {
        flex: 1;
    }

    .nav-login {
        flex: 0 0 auto;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        border: 1px solid rgba(124, 58, 237, 0.16);
        border-radius: var(--radius);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .section {
        padding: 64px 0;
    }

    .section-head h2,
    .split-section h2,
    .about-grid h2,
    .cta-inner h2 {
        font-size: 31px;
    }

    .product-main,
    .benefit-grid article,
    .feature-card,
    .values-grid article,
    .module-showcase article,
    .contact-panel,
    .public-form,
    .pricing-card,
    .policy-card,
    .policy-side,
    .cta-inner {
        padding: 22px;
    }

    .policy-card {
        grid-template-columns: 1fr;
    }

    .legal-summary-card,
    .legal-action-card {
        padding: 24px;
    }

    .legal-overview {
        position: static;
    }

    .table-head,
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


