/* =============================================
   DESIGN TOKENS
   ============================================= */
@font-face {
    font-family: 'Redemption';
    src: url('assets/fonts/redemption_regular.ttf') format('truetype');
    font-weight: 400 700;
    font-display: swap;
}

:root {
    /* Brand Colors */
    --c-primary:       #495533; /* OliveLeaf1 */
    --c-primary-mid:   #5A5B37;
    --c-primary-light: #8b8d5a; /* OliveMist-ish */
    --c-accent:        #5c6b3a; /* readable olive accent on light surfaces */
    --c-accent-light:  #a7ad72; /* OliveMist */
    --c-premium:       #b8862b; /* premium highlight (gold) */
    --c-premium-light: #e6c15c; /* clear gold for text/checks on the dark band */

    /* App background gradient (olive) */
    --c-bg-a: #2F3721; /* OliveShade */
    --c-bg-b: #495533; /* OliveLeaf1 */
    --c-bg-c: #7F8055; /* DustyOlive */

    /* Neutrals */
    --c-ghost-white:   #E8E9F3; /* GhostWhite — text on the gradient */
    --c-card:          #E8E9F3; /* app light card surface */
    --c-card-elevated: #ffffff;
    --c-on-card:       #151612; /* Onyx — text on cards */
    --c-carbon-black:  #20221c; /* CarbonBlack */
    --c-onyx:          #151612;

    /* Status */
    --c-success: #43A047;
    --c-error:   #E53935;

    /* Gradients */
    --g-page:  linear-gradient(160deg, var(--c-bg-a) 0%, var(--c-bg-b) 55%, var(--c-bg-c) 100%);
    --g-brand: linear-gradient(135deg, var(--c-bg-b) 0%, var(--c-bg-c) 100%);

    /* On-card text opacities */
    --t-card-strong: rgba(21, 22, 18, 0.92);
    --t-card-body:   rgba(21, 22, 18, 0.72);
    --t-card-muted:  rgba(21, 22, 18, 0.5);
    --t-card-faint:  rgba(21, 22, 18, 0.35);

    /* On-gradient text opacities */
    --t-bg-strong: var(--c-ghost-white);
    --t-bg-body:   rgba(232, 233, 243, 0.85);
    --t-bg-muted:  rgba(232, 233, 243, 0.65);

    /* Spacing */
    --sp-xs:   4px;
    --sp-s:    8px;
    --sp-m:    16px;
    --sp-l:    24px;
    --sp-xl:   32px;
    --sp-xxl:  48px;
    --sp-xxxl: 80px;

    /* Typography */
    --font-display: 'Redemption', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radius */
    --r-m:    8px;
    --r-l:    16px;
    --r-xl:   24px;
    --r-pill: 999px;

    /* Card border + elevation (app: 1dp border + 4dp elevation) */
    --card-border: 1px solid rgba(21, 22, 18, 0.08);
    --card-shadow: 0 4px 16px rgba(21, 34, 12, 0.18);

    /* Transitions */
    --t-fast: 0.15s ease;
    --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--c-bg-b) var(--g-page) fixed;
    color: var(--t-bg-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Film-grain texture over the gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-size: 220px 220px;
    opacity: 0.5;
    mix-blend-mode: soft-light;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.section {
    padding: var(--sp-xxxl) 0;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--c-ghost-white);
    text-align: center;
    margin-bottom: var(--sp-xxl);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--c-bg-a);
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.85;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(47, 55, 33, 0.25) 0%, rgba(47, 55, 33, 0.85) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: var(--sp-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-m);
}

.hero__logo {
    width: clamp(80px, 12vw, 140px);
    height: auto;
    filter: invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    margin-bottom: var(--sp-s);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    color: var(--c-ghost-white);
    letter-spacing: 0.04em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
    line-height: 1;
}

.hero__baseline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: rgba(232, 233, 243, 0.9);
    letter-spacing: -0.01em;
}

.hero__scroll {
    position: absolute;
    bottom: var(--sp-xxl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.6;
}

.hero__scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--r-pill);
    position: relative;
}

.hero__scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--c-ghost-white);
    border-radius: var(--r-pill);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50%      { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* =============================================
   PROGRESSIVE OVERLOAD
   ============================================= */
.overload {
    position: relative;
}

.overload__card {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    background: var(--c-card);
    border: var(--card-border);
    border-radius: var(--r-xl);
    padding: var(--sp-xxxl) var(--sp-xxl);
    text-align: center;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.overload__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(73, 85, 51, 0.12), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

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

.overload__badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    background: rgba(73, 85, 51, 0.1);
    border: 1px solid rgba(73, 85, 51, 0.25);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    margin-bottom: var(--sp-l);
}

.overload__title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--t-card-strong);
    line-height: 1.2;
    margin-bottom: var(--sp-l);
    letter-spacing: -0.02em;
}

.overload__text {
    font-size: 1.125rem;
    color: var(--t-card-body);
    margin-bottom: var(--sp-m);
}

.overload__text b {
    color: var(--t-card-strong);
}

.overload__highlight {
    display: inline-block;
    margin-top: var(--sp-l);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-accent);
    padding: var(--sp-m) var(--sp-xl);
    background: rgba(73, 85, 51, 0.07);
    border-radius: var(--r-l);
    border: 1px solid rgba(73, 85, 51, 0.22);
}

.overload__asterisk {
    color: var(--c-accent);
}

.overload__note {
    margin-top: var(--sp-xs);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--t-card-muted);
}

/* =============================================
   DESCRIPTION
   ============================================= */
.description__card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--c-card);
    border: var(--card-border);
    border-radius: var(--r-xl);
    padding: var(--sp-xxl);
    text-align: center;
    box-shadow: var(--card-shadow);
}

.description__text {
    font-size: 1.125rem;
    color: var(--t-card-body);
}

.description__text b {
    color: var(--t-card-strong);
}

.description__disclaimer {
    margin-top: var(--sp-xl);
    padding-top: var(--sp-l);
    border-top: 1px solid rgba(21, 22, 18, 0.1);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--t-card-muted);
}

/* =============================================
   DOWNLOAD
   ============================================= */
.download {
    position: relative;
    text-align: center;
    background: rgba(21, 22, 18, 0.55);
    border-top: 1px solid rgba(232, 233, 243, 0.1);
    border-bottom: 1px solid rgba(232, 233, 243, 0.1);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
}

.download__buttons-wrap {
    position: relative;
    display: inline-block;
}

.download__badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    z-index: 3;
    padding: 10px 24px;
    background: var(--c-primary);
    color: var(--c-ghost-white);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: var(--r-l);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.download__subtitle {
    font-size: 1.125rem;
    color: var(--t-bg-muted);
    margin-bottom: var(--sp-xxl);
}

.download__buttons {
    display: flex;
    gap: var(--sp-l);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.download .section__title {
    margin-bottom: var(--sp-xs);
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-m);
    padding: 14px 28px;
    background: rgba(232, 233, 243, 0.1);
    border: 1px solid rgba(232, 233, 243, 0.22);
    border-radius: var(--r-l);
    text-decoration: none;
    color: var(--c-ghost-white);
    transition: var(--t-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.store-btn[aria-disabled="true"] {
    cursor: default;
    pointer-events: none;
}

.store-btn:hover {
    background: rgba(232, 233, 243, 0.18);
    border-color: rgba(232, 233, 243, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.store-btn__icon {
    width: 32px;
    height: 32px;
}

.store-btn__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn__label {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-btn__name {
    font-size: 1.2rem;
    font-weight: 600;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
.pricing__wrapper {
    overflow-x: auto;
    border-radius: var(--r-xl);
    border: var(--card-border);
    background: var(--c-card);
    box-shadow: var(--card-shadow);
}

.pricing__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    min-width: 600px;
}

.pricing__table th {
    padding: var(--sp-xl) var(--sp-l);
    text-align: center;
    color: var(--t-card-strong);
    background: rgba(21, 22, 18, 0.03);
    border-bottom: 1px solid rgba(21, 22, 18, 0.1);
}

.pricing__table th:first-child {
    text-align: left;
    width: 45%;
}

.pricing__plan-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing__plan-price {
    display: block;
    font-size: 0.9rem;
    color: var(--t-card-muted);
    font-weight: 400;
}

.pricing__plan-price--premium {
    color: var(--c-accent);
    font-weight: 600;
    opacity: 1;
}

.pricing__table tbody tr {
    transition: background var(--t-fast);
    border-bottom: 1px solid rgba(21, 22, 18, 0.06);
}

.pricing__table tbody tr:hover {
    background: rgba(21, 22, 18, 0.03);
}

.pricing__table td {
    padding: var(--sp-m) var(--sp-l);
    color: var(--t-card-body);
    text-align: center;
    vertical-align: middle;
}

.pricing__table td:first-child {
    text-align: left;
    color: var(--t-card-strong);
}

.pricing__table td i {
    font-size: 0.85em;
    color: var(--t-card-muted);
    display: block;
    margin-top: 4px;
    font-style: normal;
}

.premium-col {
    background: rgba(21, 22, 18, 0.88);
    position: relative;
    box-shadow: inset 1px 0 0 rgba(232, 233, 243, 0.12),
                inset -1px 0 0 rgba(232, 233, 243, 0.12);
}

.pricing__table th.premium-col {
    background: rgba(21, 22, 18, 0.92);
    color: var(--c-ghost-white);
    box-shadow: inset 1px 0 0 rgba(232, 233, 243, 0.12),
                inset -1px 0 0 rgba(232, 233, 243, 0.12);
}

.pricing__table th.premium-col .pricing__plan-price--premium {
    color: var(--c-premium-light);
    opacity: 1;
}

/* Check / cross cells */
.check {
    color: var(--t-card-faint);
    font-size: 1.2rem;
    font-weight: 600;
}

.pricing__table td.check--premium {
    color: var(--c-premium-light);
}

.check--partial {
    color: var(--c-accent);
    font-size: 0.9rem;
}

.cross {
    color: rgba(229, 57, 53, 0.55);
}

/* =============================================
   FAQ
   ============================================= */
.faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-m);
}

.faq__item {
    background: var(--c-card);
    border: var(--card-border);
    border-radius: var(--r-l);
    overflow: hidden;
    transition: border-color var(--t-base), box-shadow var(--t-base);
    box-shadow: var(--card-shadow);
}

.faq__item[open] {
    border-color: rgba(73, 85, 51, 0.4);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-m);
    padding: var(--sp-l) var(--sp-xl);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--t-card-strong);
    cursor: pointer;
    list-style: none;
    transition: color var(--t-fast);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question:hover {
    color: var(--c-accent);
}

.faq__question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: var(--c-accent);
    transition: transform var(--t-base);
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 var(--sp-xl) var(--sp-l);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--t-card-body);
}

.faq__link {
    color: var(--c-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(92, 107, 58, 0.4);
    transition: color var(--t-fast), border-color var(--t-fast);
}

.faq__link:hover {
    color: var(--c-on-card);
    border-color: var(--c-on-card);
}

.faq__answer-list {
    margin: var(--sp-m) 0;
    padding-left: var(--sp-l);
    list-style: none;
}

.faq__answer-list li {
    position: relative;
    padding-left: var(--sp-l);
    margin-bottom: var(--sp-s);
}

.faq__answer-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--c-success);
    font-weight: 600;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background-color: rgba(21, 22, 18, 0.55);
    padding: var(--sp-xxl) 0;
    border-top: 1px solid rgba(232, 233, 243, 0.08);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-m);
}

.footer__copyright {
    font-size: 0.9rem;
    color: var(--t-bg-muted);
}

.footer__nav {
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
}

.footer__link {
    color: var(--t-bg-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--t-fast);
}

.footer__link:hover {
    color: var(--c-ghost-white);
}

.footer__link--instagram {
    display: flex;
    align-items: center;
    gap: var(--sp-s);
}

.footer__link--instagram:hover {
    color: #E1306C;
}

/* =============================================
   LEGAL PAGE
   ============================================= */
.legal-page {
    background: var(--c-bg-b) var(--g-page) fixed;
}

/* Sticky header */
.legal-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(47, 55, 33, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 233, 243, 0.1);
}

.legal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-m);
    padding-bottom: var(--sp-m);
}

.legal-back {
    color: var(--t-bg-body);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-s);
    transition: color var(--t-fast);
}

.legal-back:hover {
    color: var(--c-ghost-white);
}

.legal-header__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--c-ghost-white);
}

/* Legal hero */
.legal-hero {
    position: relative;
    padding: var(--sp-xxxl) 0 var(--sp-xxl);
    text-align: center;
    border-bottom: 1px solid rgba(232, 233, 243, 0.08);
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(167, 173, 114, 0.15), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(47, 55, 33, 0.25), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.legal-hero > .container {
    position: relative;
    z-index: 1;
}

.legal-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-ghost-white);
    background: rgba(232, 233, 243, 0.12);
    border: 1px solid rgba(232, 233, 243, 0.25);
    padding: 6px 16px;
    border-radius: var(--r-pill);
    margin-bottom: var(--sp-l);
}

.legal-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--c-ghost-white);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: var(--sp-m);
}

.legal-hero__subtitle {
    max-width: 620px;
    margin: 0 auto var(--sp-l);
    font-size: 1.05rem;
    color: var(--t-bg-muted);
    line-height: 1.6;
}

.legal-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-s);
    font-size: 0.85rem;
    color: var(--t-bg-muted);
}

.legal-hero__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent-light);
    box-shadow: 0 0 8px rgba(167, 173, 114, 0.7);
}

/* Main layout */
.legal-main {
    padding: var(--sp-xxl) 0 var(--sp-xxxl);
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--sp-xxl);
    align-items: start;
}

/* Table of contents */
.legal-toc {
    position: sticky;
    top: 88px;
    background: var(--c-card);
    border: var(--card-border);
    border-radius: var(--r-l);
    padding: var(--sp-l);
    box-shadow: var(--card-shadow);
}

.legal-toc__title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--t-card-muted);
    margin-bottom: var(--sp-m);
}

.legal-toc__list {
    list-style: none;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
}

.legal-toc__list li {
    counter-increment: toc;
}

.legal-toc__link {
    display: block;
    position: relative;
    padding: 10px 12px 10px 36px;
    font-size: 0.92rem;
    color: var(--t-card-body);
    text-decoration: none;
    border-radius: var(--r-m);
    transition: var(--t-fast);
    line-height: 1.4;
}

.legal-toc__link::before {
    content: counter(toc, decimal-leading-zero);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--c-accent);
    letter-spacing: 0.05em;
}

.legal-toc__link:hover {
    background: rgba(21, 22, 18, 0.05);
    color: var(--c-on-card);
}

/* Sections */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xxl);
    min-width: 0;
}

.legal-section {
    background: var(--c-card);
    border: var(--card-border);
    border-radius: var(--r-xl);
    padding: var(--sp-xxl);
    scroll-margin-top: 96px;
    box-shadow: var(--card-shadow);
}

.legal-section__header {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-l);
    padding-bottom: var(--sp-l);
    margin-bottom: var(--sp-xl);
    border-bottom: 1px solid rgba(21, 22, 18, 0.1);
}

.legal-section__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--r-m);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--c-accent);
    background: rgba(73, 85, 51, 0.1);
    border: 1px solid rgba(73, 85, 51, 0.28);
    letter-spacing: 0.05em;
}

.legal-h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--t-card-strong);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.legal-section__lead {
    font-size: 0.98rem;
    color: var(--t-card-muted);
    line-height: 1.5;
}

/* Articles (subsections) */
.legal-article {
    padding: var(--sp-l) 0;
    border-bottom: 1px dashed rgba(21, 22, 18, 0.1);
}

.legal-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-article:first-of-type {
    padding-top: 0;
}

.legal-h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--t-card-strong);
    margin-bottom: var(--sp-s);
    letter-spacing: 0.005em;
}

.legal-article p {
    color: var(--t-card-body);
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal-article p + p {
    margin-top: var(--sp-m);
}

/* Lists */
.legal-list {
    list-style: none;
    margin-top: var(--sp-m);
    display: flex;
    flex-direction: column;
    gap: var(--sp-s);
}

.legal-list li {
    position: relative;
    padding-left: var(--sp-l);
    color: var(--t-card-body);
    font-size: 0.98rem;
    line-height: 1.6;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
}

.legal-list--rights li {
    padding: var(--sp-s) var(--sp-m) var(--sp-s) calc(var(--sp-l) + 4px);
    background: rgba(21, 22, 18, 0.03);
    border-radius: var(--r-m);
    border-left: 2px solid rgba(73, 85, 51, 0.45);
}

.legal-list--rights li::before {
    left: var(--sp-m);
    top: 1.1em;
}

.legal-list b {
    color: var(--t-card-strong);
    font-weight: 600;
}

/* Callout */
.legal-callout {
    margin-top: var(--sp-l);
    padding: var(--sp-m) var(--sp-l);
    background: rgba(73, 85, 51, 0.08);
    border: 1px solid rgba(73, 85, 51, 0.25);
    border-radius: var(--r-m);
}

.legal-callout p {
    color: var(--t-card-strong);
    font-size: 0.95rem;
}

/* Links */
.legal-link {
    color: var(--c-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(92, 107, 58, 0.35);
    transition: var(--t-fast);
}

.legal-link:hover {
    color: var(--c-on-card);
    border-bottom-color: var(--c-on-card);
}

/* Publisher / host info cards */
.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-l);
}

.legal-info-card {
    background: rgba(21, 22, 18, 0.03);
    border: 1px solid rgba(21, 22, 18, 0.08);
    border-radius: var(--r-l);
    padding: var(--sp-l);
}

.legal-info-card__title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-accent);
    margin-bottom: var(--sp-m);
    padding-bottom: var(--sp-s);
    border-bottom: 1px solid rgba(21, 22, 18, 0.1);
}

.legal-info-card__list {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: var(--sp-s) var(--sp-m);
    font-size: 0.93rem;
    line-height: 1.5;
}

.legal-info-card__list dt {
    color: var(--t-card-muted);
    font-weight: 500;
}

.legal-info-card__list dd {
    color: var(--t-card-strong);
    word-break: break-word;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--sp-m);
    }

    .overload__card, .description__card {
        padding: var(--sp-xl) var(--sp-m);
    }

    .store-btn {
        width: 100%;
        justify-content: center;
    }

    .pricing__table {
        min-width: 0;
        font-size: 0.8rem;
    }

    .pricing__table th,
    .pricing__table td {
        padding: var(--sp-s) 6px;
    }

    .pricing__table th:first-child,
    .pricing__table td:first-child {
        width: auto;
        min-width: 0;
    }

    .pricing__plan-name {
        font-size: 0.95rem;
    }

    .pricing__plan-price {
        font-size: 0.72rem;
    }

    .pricing__table td i {
        font-size: 0.78em;
    }

    .check {
        font-size: 1rem;
    }

    .check--partial {
        font-size: 0.75rem;
    }

    .faq__question {
        padding: var(--sp-m) var(--sp-l);
        font-size: 1rem;
    }

    .faq__answer {
        padding: 0 var(--sp-l) var(--sp-m);
        font-size: 0.95rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: var(--sp-l);
    }

    /* Legal page — mobile */
    .legal-layout {
        grid-template-columns: 1fr;
        gap: var(--sp-l);
    }

    .legal-toc {
        position: static;
    }

    .legal-section {
        padding: var(--sp-xl) var(--sp-l);
    }

    .legal-section__header {
        gap: var(--sp-m);
    }

    .legal-section__num {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .legal-hero {
        padding: var(--sp-xxl) 0 var(--sp-xl);
    }

    .legal-info-card__list {
        grid-template-columns: 80px 1fr;
    }
}

/* =============================================
   LANGUAGE SWITCHER (i18n)
   ============================================= */
.lang-switch {
    position: fixed;
    top: var(--sp-m);
    right: var(--sp-m);
    z-index: 1000;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: rgba(47, 55, 33, 0.55);
    border: 1px solid rgba(232, 233, 243, 0.22);
    border-radius: var(--r-pill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-switch__btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    min-width: 38px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--c-ghost-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background var(--t-fast), color var(--t-fast);
}

.lang-switch__btn:hover {
    background: rgba(232, 233, 243, 0.15);
}

.lang-switch__btn.is-active {
    background: var(--c-primary);
    color: var(--c-ghost-white);
}

.description__fr-only {
    margin-top: var(--sp-l);
    padding: var(--sp-m);
    border-left: 3px solid var(--c-primary);
    border-radius: var(--r-m);
    background: rgba(73, 85, 51, 0.08);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--t-card-body);
}

.flag-inline {
    display: inline-block;
    height: 1em;
    width: auto;
    vertical-align: -0.15em;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(21, 22, 18, 0.15);
}

.legal-page .lang-switch {
    top: var(--sp-s);
}