:root{
    color-scheme: dark;

    --bg: #040816;
    --bg-soft: #0a1020;
    --bg-elev: rgba(10, 16, 32, 0.82);
    --card: rgba(9, 15, 29, 0.88);
    --card-2: rgba(11, 18, 32, 0.72);
    --border: rgba(90, 106, 133, 0.28);

    --text: #e8eefc;
    --muted: #9eb0cc;
    --strong: #ffffff;

    --accent: #2f7cff;
    --accent-2: #00c2ff;
    --accent-3: #31d17c;

    --shadow-lg: 0 30px 80px rgba(0,0,0,.45);
    --shadow-md: 0 20px 45px rgba(0,0,0,.28);
    --shadow-sm: 0 10px 22px rgba(0,0,0,.18);

    --hero-bg:
        radial-gradient(circle at 10% 10%, rgba(47,124,255,.25), transparent 25%),
        radial-gradient(circle at 90% 15%, rgba(0,194,255,.18), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(49,209,124,.10), transparent 25%),
        linear-gradient(180deg, #040816 0%, #060b18 40%, #09101d 100%);

    --container: 1200px;
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
}

html[data-theme="light"]{
    color-scheme: light;

    --bg: #f4f7fc;
    --bg-soft: #eef4ff;
    --bg-elev: rgba(255,255,255,.84);
    --card: rgba(255,255,255,.92);
    --card-2: rgba(248,250,255,.92);
    --border: rgba(20, 37, 63, 0.12);

    --text: #0d1728;
    --muted: #55657f;
    --strong: #07101f;

    --accent: #2563eb;
    --accent-2: #0ea5e9;
    --accent-3: #16a34a;

    --shadow-lg: 0 30px 70px rgba(7,16,31,.10);
    --shadow-md: 0 18px 40px rgba(7,16,31,.08);
    --shadow-sm: 0 10px 24px rgba(7,16,31,.06);

    --hero-bg:
        radial-gradient(circle at 10% 10%, rgba(37,99,235,.14), transparent 25%),
        radial-gradient(circle at 90% 15%, rgba(14,165,233,.12), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(22,163,74,.08), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f6f9ff 40%, #eef4ff 100%);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--hero-bg);
    color: var(--text);
    line-height:1.5;
}

a{
    color: var(--accent);
    text-decoration:none;
}

a:hover{
    text-decoration:none;
}

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

.page{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.container{
    width:min(var(--container), calc(100% - 32px));
    margin:0 auto;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.site-header{
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,.72);
    border-bottom: 1px solid rgba(20,37,63,.06);
}

html[data-theme="dark"] .site-header{
    background: rgba(4,8,22,.58);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.nav-desktop{
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--strong);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-logo{
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #31d17c 0%, #2f7cff 55%, #142f66 100%);
    box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 12px 30px rgba(47,124,255,.28);
}

.brand-text{
    font-size: .95rem;
    white-space: nowrap;
}

.nav-menu{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}

.nav-menu a{
    color: var(--muted);
    font-size: .96rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.nav-menu a:hover{
    color: var(--text);
}

.nav-menu a.is-active{
    color: var(--strong);
}

.nav-actions{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:44px;
    padding:0 18px;
    border-radius:999px;
    border:1px solid transparent;
    font-size:.92rem;
    font-weight:700;
    cursor:pointer;
    transition:.22s ease;
    white-space:nowrap;
}

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

.btn-primary{
    background: linear-gradient(135deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
    color:#ffffff;
    box-shadow: 0 14px 30px rgba(47,124,255,.28);
}

.btn-primary:hover{
    filter:brightness(1.04);
}

.btn-secondary{
    background: var(--card-2);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover,
.btn-ghost:hover{
    background: rgba(255,255,255,.06);
}

html[data-theme="light"] .btn-secondary:hover,
html[data-theme="light"] .btn-ghost:hover{
    background: rgba(20,37,63,.04);
}

.btn-ghost{
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-lg{
    min-height:52px;
    padding:0 24px;
    font-size:1rem;
}

.btn-block{
    width:100%;
}

.btn-nav{
    min-height: 42px;
    padding: 0 18px;
}

.theme-toggle{
    min-height: 42px;
    padding: 0 14px;
}

.theme-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(47,124,255,.12);
}

.theme-label-text{
    color: var(--muted);
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section{
    padding:48px 0 28px;
}

.hero-section-sm{
    padding-top: 38px;
    padding-bottom: 18px;
}

.hero-grid{
    display:grid;
    grid-template-columns: 1.08fr .92fr;
    gap:28px;
    align-items:center;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:16px;
    font-size:.82rem;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--accent-2);
}

.hero-title{
    margin:0;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height:1.02;
    letter-spacing:-.04em;
    font-weight:900;
    color:var(--strong);
    max-width: 720px;
}

.hero-title span{
    display:block;
    margin-top:10px;
    background: linear-gradient(90deg, #ffffff, #9cc6ff 45%, #8cf0ff 70%, #7dffb2 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

html[data-theme="light"] .hero-title span{
    background: linear-gradient(90deg, #0b1220, #2563eb 48%, #0ea5e9 74%, #16a34a 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero-subtitle{
    max-width: 720px;
    margin:20px 0 0;
    font-size:1.05rem;
    color:var(--muted);
}

.hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
}

.chip{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 14px;
    border-radius:999px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.04);
    color:var(--text);
    font-size:.88rem;
    font-weight:700;
}

html[data-theme="light"] .chip{
    background: rgba(37,99,235,.05);
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.hero-note{
    margin-top:16px;
    color:var(--muted);
    font-size:.95rem;
}

/* =========================================================
   HERO PANEL
   ========================================================= */

.hero-panel{
    position:relative;
}

.panel-glow{
    position:absolute;
    inset:20px;
    background:
        radial-gradient(circle at 30% 20%, rgba(47,124,255,.24), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(0,194,255,.18), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(49,209,124,.14), transparent 35%);
    filter: blur(30px);
    z-index:0;
}

.product-card{
    position:relative;
    z-index:1;
    overflow:hidden;
    padding:22px;
    border-radius: var(--radius-xl);
    border:1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
        var(--bg-elev);
    box-shadow: var(--shadow-lg);
}

.product-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:20px;
}

.product-label{
    color:var(--muted);
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:800;
}

.product-title{
    color:var(--strong);
    font-size:1.25rem;
    font-weight:800;
    margin-top:4px;
}

.status-live{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    background: rgba(49,209,124,.12);
    border:1px solid rgba(49,209,124,.26);
    color:#7dffb2;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.12em;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
}

.stat-box{
    padding:18px;
    border-radius:18px;
    background: rgba(255,255,255,.04);
    border:1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .stat-box{
    background: rgba(255,255,255,.74);
}

.stat-kicker{
    color:var(--muted);
    font-size:.74rem;
    text-transform:uppercase;
    letter-spacing:.16em;
    font-weight:800;
}

.stat-value{
    margin-top:8px;
    color:var(--strong);
    font-size:1.18rem;
    font-weight:800;
}

.stat-sub{
    margin-top:6px;
    color:var(--muted);
    font-size:.88rem;
}

.signal-card{
    margin-top:16px;
    padding:18px;
    border-radius:18px;
    background: rgba(255,255,255,.04);
    border:1px solid var(--border);
}

html[data-theme="light"] .signal-card{
    background: rgba(255,255,255,.74);
}

.signal-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    margin-bottom:14px;
    color:var(--text);
    font-weight:700;
}

.signal-ok{
    color:#7dffb2;
    font-size:.9rem;
}

.signal-bars{
    display:grid;
    grid-template-columns:repeat(12, 1fr);
    gap:8px;
    align-items:end;
    min-height:70px;
}

.signal-bars span{
    display:block;
    border-radius:999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.signal-bars span:nth-child(1){height:20px;}
.signal-bars span:nth-child(2){height:28px;}
.signal-bars span:nth-child(3){height:32px;}
.signal-bars span:nth-child(4){height:36px;}
.signal-bars span:nth-child(5){height:42px;}
.signal-bars span:nth-child(6){height:56px;}
.signal-bars span:nth-child(7){height:40px;}
.signal-bars span:nth-child(8){height:48px;}
.signal-bars span:nth-child(9){height:58px;}
.signal-bars span:nth-child(10){height:50px;}
.signal-bars span:nth-child(11){height:64px;}
.signal-bars span:nth-child(12){height:46px;}

.signal-foot{
    margin-top:14px;
    color:var(--muted);
    font-size:.9rem;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip{
    padding:18px 0 8px;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
}

.trust-item{
    padding:18px;
    border-radius:18px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.04);
    box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .trust-item{
    background: rgba(255,255,255,.8);
}

.trust-item strong{
    display:block;
    color:var(--strong);
    font-size:1rem;
}

.trust-item span{
    display:block;
    margin-top:6px;
    color:var(--muted);
    font-size:.9rem;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section{
    padding:78px 0;
}

.section-soft{
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}

.section-pricing{
    background: linear-gradient(180deg, rgba(47,124,255,.05), rgba(255,255,255,0));
}

.section-heading{
    max-width:760px;
    margin-bottom:32px;
}

.section-heading.center{
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

.section-heading h2{
    margin:0;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height:1.08;
    color:var(--strong);
    letter-spacing:-.03em;
}

.section-heading p{
    margin:14px 0 0;
    color:var(--muted);
    font-size:1rem;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
}

.feature-card{
    padding:24px;
    border-radius:24px;
    border:1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-md);
}

.feature-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:54px;
    height:34px;
    padding:0 12px;
    border-radius:999px;
    background: linear-gradient(135deg, rgba(47,124,255,.16), rgba(0,194,255,.12));
    color:#9fd2ff;
    font-size:.75rem;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
}

html[data-theme="light"] .feature-icon{
    color:#2563eb;
}

.feature-card h3{
    margin:16px 0 10px;
    color:var(--strong);
    font-size:1.2rem;
}

.feature-card p{
    margin:0;
    color:var(--muted);
    font-size:.95rem;
}

.feature-card ul{
    margin:16px 0 0;
    padding-left:18px;
    color:var(--muted);
}

.feature-card li + li{
    margin-top:6px;
}

/* =========================================================
   STEPS
   ========================================================= */

.steps-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
}

.step-card{
    padding:24px;
    border-radius:24px;
    border:1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-md);
}

.step-number{
    width:58px;
    height:58px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color:#fff;
    font-size:1rem;
    font-weight:900;
    letter-spacing:.06em;
    box-shadow: 0 18px 30px rgba(47,124,255,.22);
}

.step-card h3{
    margin:18px 0 10px;
    color:var(--strong);
    font-size:1.18rem;
}

.step-card p{
    margin:0;
    color:var(--muted);
}

/* =========================================================
   PRICING
   ========================================================= */

.pricing-group-title{
    margin:24px 0 18px;
    color:var(--strong);
    font-size:1.2rem;
    font-weight:800;
}

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

.price-card{
    position:relative;
    display:flex;
    flex-direction:column;
    padding:24px;
    border-radius:24px;
    border:1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-md);
}

.plan-badge{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 12px;
    border-radius:999px;
    background: rgba(255,255,255,.06);
    border:1px solid var(--border);
    color:var(--muted);
    font-size:.76rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    width:max-content;
}

.badge-green{
    background: rgba(49,209,124,.12);
    border-color: rgba(49,209,124,.28);
    color:#8ff0b6;
}

.price-card h3{
    margin:16px 0 8px;
    color:var(--strong);
    font-size:1.35rem;
}

.price{
    color:var(--strong);
    font-size:2.15rem;
    font-weight:900;
    letter-spacing:-.04em;
}

.price span{
    color:var(--muted);
    font-size:1rem;
    font-weight:700;
    margin-left:6px;
}

.plan-desc{
    margin:12px 0 0;
    color:var(--muted);
    min-height:48px;
}

.price-card ul{
    margin:18px 0 24px;
    padding-left:18px;
    color:var(--muted);
    flex:1;
}

.price-card li + li{
    margin-top:7px;
}

.price-card.featured{
    border-color: rgba(49,209,124,.34);
    transform: translateY(-6px);
    box-shadow:
        0 24px 60px rgba(47,124,255,.16),
        0 0 0 1px rgba(49,209,124,.20) inset;
    background:
        linear-gradient(180deg, rgba(49,209,124,.08), rgba(47,124,255,.04)),
        var(--card);
}

.pricing-footer-note{
    margin-top:22px;
    color:var(--muted);
    text-align:center;
    font-size:.95rem;
}

/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-section{
    padding-top:48px;
    padding-bottom:88px;
}

.cta-box{
    position:relative;
    overflow:hidden;
    border-radius:32px;
    border:1px solid var(--border);
    background:
        radial-gradient(circle at 0% 0%, rgba(47,124,255,.18), transparent 35%),
        radial-gradient(circle at 100% 0%, rgba(0,194,255,.14), transparent 25%),
        radial-gradient(circle at 100% 100%, rgba(49,209,124,.12), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    box-shadow: var(--shadow-lg);
}

.cta-content{
    padding:42px;
    max-width:900px;
}

.cta-content h2{
    margin:0;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height:1.08;
    color:var(--strong);
    letter-spacing:-.03em;
}

.cta-content p{
    margin:16px 0 0;
    color:var(--muted);
    font-size:1.02rem;
    max-width:760px;
}

.cta-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:26px;
}

.contact-meta{
    display:grid;
    gap:8px;
    margin-top:22px;
    color:var(--muted);
}

.contact-meta strong{
    color:var(--strong);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
    margin-top:auto;
    border-top:1px solid rgba(255,255,255,.05);
    padding:24px 0 32px;
}

html[data-theme="light"] .site-footer{
    border-top:1px solid rgba(20,37,63,.06);
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    color:var(--muted);
    font-size:.92rem;
}

.footer-links{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.footer-links a{
    color:var(--muted);
}

.footer-links a:hover{
    color:var(--text);
}

/* =========================================================
   LEGAL TABLES / LEGAL PAGES
   ========================================================= */

.legal-hero{
    padding: 42px 0 18px;
}

.legal-shell{
    padding: 28px 0 72px;
}

.legal-wrap{
    max-width: 980px;
}

.legal-card{
    border:1px solid var(--border);
    background: var(--card);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
}

.legal-kicker{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 12px;
    border-radius:999px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.04);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-title{
    margin:16px 0 10px;
    color:var(--strong);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height:1.06;
    letter-spacing:-.03em;
    font-weight:900;
}

.legal-subtitle{
    margin:0;
    color:var(--muted);
    font-size:1rem;
    max-width:800px;
}

.legal-section{
    margin-top:32px;
}

.legal-section:first-child{
    margin-top:0;
}

.legal-section h2{
    margin:0 0 10px;
    color:var(--strong);
    font-size:1.4rem;
    line-height:1.2;
}

.legal-section h3{
    margin:18px 0 8px;
    color:var(--strong);
    font-size:1.05rem;
    line-height:1.25;
}

.legal-section p{
    margin:0 0 12px;
    color:var(--muted);
    font-size:.98rem;
    line-height:1.7;
}

.legal-section ul{
    margin:0 0 12px 20px;
    padding:0;
    color:var(--muted);
}

.legal-section li{
    margin-bottom:8px;
    line-height:1.7;
}

.legal-divider{
    border:0;
    border-top:1px solid var(--border);
    margin:26px 0;
}

.legal-callout{
    margin-top:14px;
    padding:16px 18px;
    border-radius:18px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.04);
    color:var(--muted);
    font-size:.95rem;
    line-height:1.7;
}

.legal-callout strong{
    color:var(--strong);
}

.legal-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.legal-badge{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-size:.86rem;
    font-weight:700;
}

.inline-code{
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .9em;
    padding: .1rem .42rem;
    border-radius: .55rem;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--strong);
    white-space: nowrap;
}

.legal-table-wrap{
    overflow-x:auto;
    margin-top: 8px;
}

.legal-table{
    width:100%;
    border-collapse:collapse;
    font-size:.92rem;
}

.legal-table th,
.legal-table td{
    border:1px solid var(--border);
    padding:12px 14px;
    text-align:left;
    color:var(--text);
    vertical-align: top;
}

.legal-table th{
    background: rgba(255,255,255,.04);
    color:var(--strong);
    font-weight:800;
}

html[data-theme="light"] .legal-table th{
    background: rgba(20,37,63,.04);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1280px){
    .nav-desktop{
        grid-template-columns: auto 1fr;
        row-gap: 12px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .nav-actions{
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .nav-menu{
        justify-content: flex-start;
        gap: 20px;
    }
}

@media (max-width: 1100px){
    .hero-grid,
    .feature-grid,
    .steps-grid,
    .pricing-grid,
    .trust-grid{
        grid-template-columns:repeat(2, 1fr);
    }

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

@media (max-width: 980px){
    .nav-desktop{
        grid-template-columns: 1fr;
        align-items: start;
    }

    .nav-menu{
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow: visible;
        gap: 16px 18px;
    }

    .nav-actions{
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 820px){
    .hero-grid,
    .feature-grid,
    .steps-grid,
    .pricing-grid,
    .trust-grid,
    .stats-grid{
        grid-template-columns:1fr;
    }

    .hero-section{
        padding-top:28px;
    }

    .hero-title{
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }

    .section,
    .cta-section{
        padding:58px 0;
    }

    .cta-content{
        padding:28px;
    }

    .legal-card{
        padding:22px;
        border-radius:22px;
    }

    .legal-title{
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }
}

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

    .btn,
    .btn-lg,
    .btn-nav,
    .theme-toggle{
        min-height: 42px;
        font-size: .9rem;
    }

    .nav-menu{
        gap: 14px 16px;
    }

    .brand-text{
        font-size: .88rem;
    }

    .hero-subtitle,
    .section-heading p,
    .cta-content p,
    .legal-section p,
    .legal-section li{
        font-size: .95rem;
    }
}