/* ════════════════════════════════════════════
   Social Vriddhi MMM — Light Theme Stylesheet
   ════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-family:'Inter',system-ui,sans-serif;color:#1e1e2f;background:#fff;font-size:16px;line-height:1.6}
body{overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul{list-style:none}
button{font-family:inherit;cursor:pointer}

/* ─── Palette ─── */
:root{
  --primary:#6c3ce9;
  --primary-light:#ede7fb;
  --primary-dark:#5025c4;
  --accent:#00c9a7;
  --accent-light:#e0faf5;
  --bg:#ffffff;
  --bg-alt:#f7f5ff;
  --text:#1e1e2f;
  --text-muted:#64648c;
  --border:#e6e6f0;
  --radius:12px;
  --shadow:0 4px 24px rgba(108,60,233,.08);
  --shadow-md:0 8px 32px rgba(108,60,233,.1);
  --shadow-lg:0 12px 48px rgba(108,60,233,.12);
}

/* ─── Utilities ─── */
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.text-center{text-align:center}
.full-w{width:100%}

/* ─── Buttons ─── */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.7rem 1.5rem;border-radius:8px;font-weight:600;font-size:.95rem;transition:all .25s ease;border:2px solid transparent}
.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary)}
.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark);transform:translateY(-2px);box-shadow:0 6px 20px rgba(108,60,233,.3)}
.btn-outline{border-color:var(--primary);color:var(--primary);background:transparent}
.btn-outline:hover{background:var(--primary);color:#fff;transform:translateY(-2px)}
.btn-ghost{color:var(--text);background:transparent}
.btn-ghost:hover{color:var(--primary)}
.btn-white{background:#fff;color:var(--primary);border-color:#fff}
.btn-white:hover{background:var(--primary-light)}
.btn-outline-white{border-color:#fff;color:#fff;background:transparent}
.btn-outline-white:hover{background:rgba(255,255,255,.15)}
.btn-lg{padding:.9rem 2rem;font-size:1.05rem}

/* ─── Navbar ─── */
.navbar{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);transition:box-shadow .3s}
.navbar.scrolled{box-shadow:var(--shadow)}
.nav-container{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:.6rem}
.logo-icon{width:36px;height:36px;border-radius:10px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.85rem;letter-spacing:-1px}
.logo-text{font-size:1rem;color:var(--text)}
.logo-text strong{color:var(--primary)}
.nav-links{display:flex;gap:1.8rem;align-items:center}
.nav-links>li>a{font-size:.92rem;font-weight:500;color:var(--text-muted);transition:color .2s;position:relative}
.nav-links>li>a:hover,.nav-links>li>a.active{color:var(--primary)}
.nav-links>li>a::after{content:'';position:absolute;left:0;bottom:-4px;width:0;height:2px;background:var(--primary);transition:width .3s}
.nav-links>li>a:hover::after{width:100%}
.arrow{font-size:.65rem;vertical-align:middle;margin-left:2px}

/* Dropdown */
.has-dropdown{position:relative}
.dropdown{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:.5rem 0;min-width:220px;z-index:100}
.has-dropdown:hover .dropdown{display:block}
.dropdown li a{display:block;padding:.55rem 1.2rem;font-size:.88rem;color:var(--text-muted);transition:background .2s,color .2s}
.dropdown li a:hover{background:var(--primary-light);color:var(--primary)}

.nav-actions{display:flex;gap:.6rem;align-items:center}
.mobile-toggle{display:none;background:none;border:none;flex-direction:column;gap:5px;padding:4px}
.mobile-toggle span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s}

/* ─── Hero ─── */
.hero{padding:5rem 0 4rem;background:linear-gradient(160deg,#f7f5ff 0%,#ede7fb 40%,#e0faf5 100%)}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.badge{display:inline-block;background:var(--primary-light);color:var(--primary);padding:.35rem .9rem;border-radius:50px;font-size:.82rem;font-weight:600;margin-bottom:1.2rem}
.hero h1{font-size:clamp(1.85rem, 2.45vw, 2.55rem);font-weight:800;line-height:1.24;margin-bottom:1rem}
.hero-title-line{white-space:nowrap;display:inline-block}
.gradient-text{background:linear-gradient(135deg,var(--primary),var(--accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;color:transparent}
.hero-sub{font-size:1.1rem;color:var(--text-muted);max-width:520px;margin-bottom:1.8rem;line-height:1.7}
.hero-sub strong{color:var(--text)}
.hero-cta{display:flex;gap:.8rem;flex-wrap:wrap}
.hero-trust{margin-top:1.6rem;font-size:.82rem;color:var(--text-muted)}
.hero-visual{position:relative}
.hero-img{border-radius:var(--radius);box-shadow:var(--shadow-lg);border:1px solid var(--border)}

/* ─── Hero Vector Illustration (MixModeler-inspired) ─── */
.hero-illustration-wrap{position:relative;width:100%;max-width:580px;margin:0 auto}
.formula-watermark{position:absolute;font-family:'Courier New',Courier,monospace;font-size:.78rem;color:#6c3ce9;opacity:.2;pointer-events:none;-webkit-user-select:none;user-select:none;font-weight:600}
.formula-1{top:-28px;left:10px;animation:floatFormula 6s ease-in-out infinite}
.formula-2{top:-14px;right:-10px;animation:floatFormula 8s ease-in-out infinite 1s}
.formula-3{bottom:-22px;left:20px;animation:floatFormula 7s ease-in-out infinite .5s}
.formula-4{bottom:8px;right:-15px;animation:floatFormula 9s ease-in-out infinite 2s}

@keyframes floatFormula{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

/* Tilted backdrop card */
.hero-card-backdrop{position:absolute;inset:12px -10px -12px 10px;background:linear-gradient(135deg,rgba(108,60,233,.12),rgba(0,201,167,.12));border:1px solid rgba(108,60,233,.18);border-radius:24px;transform:rotate(2.5deg);z-index:1;box-shadow:0 20px 40px -10px rgba(108,60,233,.15)}

/* Main elevated illustration card */
.hero-illustration-card{position:relative;z-index:2;background:#fff;border-radius:22px;padding:1.8rem 1.9rem;border:1px solid rgba(226,232,240,.95);box-shadow:0 25px 60px -15px rgba(15,23,42,.12),0 0 0 1px rgba(255,255,255,.9) inset;transition:transform .3s ease,box-shadow .3s ease}
.hero-illustration-card:hover{transform:translateY(-4px);box-shadow:0 30px 70px -15px rgba(108,60,233,.2)}

.hic-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}
.hic-title{font-size:1.18rem;font-weight:800;color:#0f172a;margin-bottom:.2rem;line-height:1.25}
.hic-subtitle{font-size:.78rem;color:#64748b;margin:0}
.hic-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .75rem;background:#ecfdf5;color:#059669;border-radius:50px;font-size:.72rem;font-weight:700;letter-spacing:.3px;white-space:nowrap;border:1px solid #d1fae5}
.pulse-dot{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 0 0 rgba(16,185,129,.7);animation:pulseDot 2s infinite}
@keyframes pulseDot{
  0%{box-shadow:0 0 0 0 rgba(16,185,129,.7)}
  70%{box-shadow:0 0 0 6px rgba(16,185,129,0)}
  100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}
}

.hic-legend{display:flex;flex-wrap:wrap;gap:.9rem;align-items:center;margin-bottom:1.1rem;font-size:.74rem;color:#475569;font-weight:600}
.legend-item{display:inline-flex;align-items:center;gap:.35rem}
.legend-dot{width:9px;height:9px;border-radius:2px}
.dot-base{background:#94a3b8}
.dot-promo{background:#f59e0b}
.dot-offline{background:#6366f1}
.dot-digital{background:#a855f7}
.legend-line{width:16px;height:3px;border-radius:2px;background:linear-gradient(90deg,#6c3ce9,#00c9a7)}

.hic-chart-wrap{width:100%;margin-bottom:1.3rem}
.hic-chart-svg{width:100%;height:auto;overflow:visible}
.chart-axis-text{font-size:10px;fill:#94a3b8;font-family:inherit;font-weight:600}
.chart-month-text{font-size:11px;fill:#475569;font-family:inherit;font-weight:700}
.chart-bar-col rect{transition:opacity .2s,transform .2s}
.chart-bar-col:hover rect{opacity:.85}

.hic-metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem;border-top:1px solid #f1f5f9;padding-top:1.1rem}
.hic-metric-pill{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.55rem .65rem;display:flex;align-items:center;gap:.55rem;transition:transform .2s,box-shadow .2s,border-color .2s}
.hic-metric-pill:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.05);border-color:#cbd5e1}
.hic-metric-pill.highlight{background:linear-gradient(135deg,#f0fdf4,#e6fffa);border-color:#a7f3d0}
.hic-pill-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.pill-label{display:block;font-size:.65rem;color:#64748b;font-weight:600;line-height:1.2}
.pill-val{display:block;font-size:.92rem;color:#0f172a;font-weight:800;line-height:1.1}
.hic-metric-pill.highlight .pill-val{color:#059669}

/* ─── Logos Bar ─── */
.logos-bar{padding:2.5rem 0;border-bottom:1px solid var(--border)}
.logos-label{text-align:center;font-size:.82rem;color:var(--text-muted);margin-bottom:1rem;text-transform:uppercase;letter-spacing:1px;font-weight:600}
.logos-track{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}
.logo-pill{padding:.45rem 1.1rem;border-radius:50px;background:var(--bg-alt);color:var(--text-muted);font-size:.82rem;font-weight:500;border:1px solid var(--border);transition:all .25s}
.logo-pill:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}

/* ─── Sections ─── */
.section{padding:5rem 0}
.section-alt{background:var(--bg-alt)}
.section-badge{display:inline-block;background:var(--primary-light);color:var(--primary);padding:.3rem .85rem;border-radius:50px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:.8rem}
.section h2{font-size:2.4rem;font-weight:800;margin-bottom:.6rem}
.section-sub{color:var(--text-muted);font-size:1.05rem;max-width:620px;margin:0 auto 2.5rem}

/* ─── Three Foundations ─── */
.foundations-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3rem;margin-bottom:2rem}
.foundation-card{background:#fff;border-radius:var(--radius);padding:2rem 1.8rem;box-shadow:var(--shadow);border:1px solid var(--border);text-align:center;transition:transform .3s,box-shadow .3s;position:relative}
.foundation-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.foundation-num{position:absolute;top:1rem;left:1.2rem;font-size:.75rem;font-weight:800;color:var(--primary);background:var(--primary-light);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.foundation-card h3{font-size:1.25rem;font-weight:700;margin-bottom:.25rem;color:var(--text)}
.foundation-subtitle{display:block;font-size:.82rem;color:var(--accent);font-weight:600;margin-bottom:1.2rem;text-transform:uppercase;letter-spacing:.5px}
.foundation-img-wrap{margin:0 -1.8rem 1.5rem;overflow:hidden}
.foundation-img{width:100%;height:auto;border-top:1px solid var(--border);border-bottom:1px solid var(--border);transition:transform .4s}
.foundation-card:hover .foundation-img{transform:scale(1.03)}
.foundation-card>p{font-size:.9rem;color:var(--text-muted);line-height:1.7;text-align:left}
.foundation-card>p strong{color:var(--text)}
.foundation-card>p em{color:var(--primary);font-style:normal;font-weight:600}

/* ─── Calibrate Row ─── */
.calibrate-row{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;margin-top:4rem;padding-top:3rem;border-top:1px solid var(--border)}
.calibrate-copy h3{font-size:1.8rem;font-weight:800;margin-bottom:1rem;color:var(--text)}
.calibrate-copy p{color:var(--text-muted);font-size:.95rem;line-height:1.75;margin-bottom:1rem}
.calibrate-copy p strong{color:var(--text)}
.calibrate-visual img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow)}

/* ─── Stats Row ─── */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3rem}
.stat-card{text-align:center;padding:2rem 1rem;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);border:1px solid var(--border);transition:transform .3s}
.stat-card:hover{transform:translateY(-4px)}
.stat-number{display:block;font-size:2.6rem;font-weight:800;color:var(--primary);margin-bottom:.4rem}
.stat-label{font-size:.85rem;color:var(--text-muted);line-height:1.5}

/* ─── Tabs ─── */
.tabs{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;margin-bottom:2rem}
.tab{padding:.65rem 1.4rem;border-radius:50px;background:#fff;border:1px solid var(--border);color:var(--text-muted);font-size:.9rem;font-weight:500;transition:all .25s}
.tab:hover{border-color:var(--primary);color:var(--primary)}
.tab.active{background:var(--primary);color:#fff;border-color:var(--primary)}

/* Tab Panels */
.tab-panel{display:none;animation:fadeIn .4s ease}
.tab-panel.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* Feature Detail */
.feature-detail{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.feature-detail-copy h3{font-size:1.6rem;font-weight:700;margin-bottom:.8rem;color:var(--text)}
.feature-lead{font-size:1.05rem;color:var(--text);font-weight:500;line-height:1.75;margin-bottom:1rem}
.feature-lead strong{color:var(--primary)}
.feature-lead em{color:var(--accent);font-style:normal;font-weight:600}
.feature-detail-copy p{color:var(--text-muted);margin-bottom:1.2rem;line-height:1.7}
.feature-detail-copy p strong{color:var(--text)}
.check-list{display:flex;flex-direction:column;gap:.5rem}
.check-list li{padding-left:1.6rem;position:relative;color:var(--text-muted);font-size:.92rem;line-height:1.6}
.check-list li::before{content:'✓';position:absolute;left:0;color:var(--accent);font-weight:700}
.feature-detail-visual{background:#fff;border-radius:var(--radius);padding:.5rem;box-shadow:var(--shadow-md);border:1px solid var(--border);transition:box-shadow .3s,border-color .3s}
.feature-detail:hover .feature-detail-visual{box-shadow:var(--shadow-lg);border-color:var(--primary)}
.feature-img{width:100%;border-radius:calc(var(--radius) - 4px);display:block;transition:transform .4s}
.feature-detail:hover .feature-img{transform:scale(1.02)}

/* Mock Cards */
.mock-card{background:#fff;border-radius:var(--radius);padding:1.8rem;box-shadow:var(--shadow);border:1px solid var(--border)}
.mock-bar{background:var(--primary-light);border-radius:8px;padding:.6rem 1rem;margin-bottom:.6rem;width:var(--w, 50%);transition:width .6s ease;display:flex;align-items:center}
.mock-bar span{font-size:.82rem;font-weight:600;color:var(--primary)}

/* Experiment Mock */
.exp-row{display:flex;align-items:center;gap:.8rem;margin-bottom:.8rem}
.exp-label{font-weight:600;font-size:.85rem;min-width:55px}
.exp-bar{height:14px;border-radius:8px;flex:1}
.exp-bar.control{background:var(--border);width:60%}
.exp-bar.test{background:var(--accent);width:78%}
.exp-verdict{margin-top:1rem;font-size:.88rem;color:var(--accent);font-weight:600}

/* Funnel Mock */
.funnel .funnel-step{background:var(--primary-light);color:var(--primary);text-align:center;padding:.65rem;border-radius:8px;margin:0 auto .5rem;width:var(--w, 60%);font-size:.85rem;font-weight:600;transition:width .5s}

/* Optimizer Mock */
.opt-channel{display:flex;align-items:center;gap:1rem;margin-bottom:.8rem;font-size:.88rem;font-weight:500}
.opt-channel input[type="range"]{flex:1;accent-color:var(--primary)}
.opt-result{margin-top:1rem;font-size:1rem;color:var(--accent);text-align:center}

/* ─── How It Works (Illustrated Steps) ─── */
.hiw-step{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center;margin-top:3.5rem}
.hiw-step.hiw-reverse .hiw-visual{order:2}
.hiw-step.hiw-reverse .hiw-copy{order:1}
.hiw-visual{position:relative;background:#fff;border-radius:var(--radius);padding:.5rem;box-shadow:var(--shadow-md);border:1px solid var(--border);overflow:hidden;transition:box-shadow .3s,border-color .3s}
.hiw-step:hover .hiw-visual{box-shadow:var(--shadow-lg);border-color:var(--primary)}
.hiw-img{width:100%;border-radius:calc(var(--radius) - 4px);display:block;transition:transform .4s}
.hiw-step:hover .hiw-img{transform:scale(1.02)}
.hiw-badge{display:inline-block;background:var(--primary);color:#fff;padding:.3rem .9rem;border-radius:50px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:.8rem}
.hiw-copy h3{font-size:1.6rem;font-weight:700;margin-bottom:.8rem;color:var(--text)}
.hiw-lead{font-size:1.05rem;color:var(--text);font-weight:500;line-height:1.75;margin-bottom:1rem}
.hiw-copy p{color:var(--text-muted);line-height:1.7;margin-bottom:1rem}
.hiw-copy p strong{color:var(--text)}
.hiw-copy .check-list{margin-top:.5rem}

/* ─── Quick Grid (Why Social Vriddhi) ─── */
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;margin-top:2.5rem}
.quick-card{padding:2.2rem 2rem;border-radius:var(--radius);background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.quick-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--primary)}
.quick-card-icon{width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:1.4rem;transition:transform .3s ease}
.quick-card:hover .quick-card-icon{transform:scale(1.08)}
.quick-card h4{font-size:1.2rem;font-weight:700;color:var(--text);margin-bottom:.7rem}
.quick-card p{color:var(--text-muted);font-size:.92rem;line-height:1.65;margin:0}
.quick-card p strong{color:var(--text);font-weight:600}
.quick-card p + p{margin-top:.6rem}

/* ─── Testimonials ─── */
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.testimonial-card{background:#fff;border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow);border:1px solid var(--border);transition:transform .3s}
.testimonial-card:hover{transform:translateY(-4px)}
.stars{color:#f5a623;font-size:1rem;margin-bottom:.8rem;letter-spacing:2px}
.testimonial-card p{color:var(--text-muted);font-size:.92rem;line-height:1.7;margin-bottom:1.2rem;font-style:italic}
.testimonial-author{display:flex;gap:.8rem;align-items:center}
.author-avatar{width:40px;height:40px;border-radius:50%;background:var(--primary-light);color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.78rem}
.testimonial-author strong{font-size:.88rem}
.testimonial-author span{font-size:.78rem;color:var(--text-muted)}

/* ─── Pricing Section (Interactive Budget Slider) ─── */
.pricing-spend-bar{max-width:680px;margin:2rem auto 2.5rem;background:#fff;padding:1.4rem 2rem;border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow)}
.spend-bar-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem;font-size:.95rem;color:var(--text)}
.spend-bar-ticks{display:flex;justify-content:space-between;margin-top:.75rem;font-size:.72rem;color:var(--text-muted);font-weight:600;padding:0 2px}
.spend-bar-ticks span{cursor:pointer;transition:all .15s;padding:2px 4px;border-radius:4px}
.spend-bar-ticks span:hover{color:var(--primary)}
.spend-bar-ticks span.active{color:#fff;background:#134e6b;font-weight:700}

/* Range input styling */
.spend-slider{width:100%;height:6px;border-radius:6px;background:#e2e8f0;outline:none;-webkit-appearance:none;appearance:none;cursor:pointer}
.spend-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#134e6b;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.25);cursor:pointer;transition:transform .15s}
.spend-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}
.spend-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#134e6b;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.25);cursor:pointer}

/* 4-column Pricing Grid */
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;margin-top:2rem;align-items:stretch}
.pricing-card{background:#fff;border-radius:16px;padding:2.2rem 1.5rem;border:1px solid var(--border);box-shadow:var(--shadow);display:flex;flex-direction:column;text-align:center;position:relative;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.pricing-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--primary)}
.pricing-card.featured{border-color:var(--primary);box-shadow:var(--shadow-lg)}
.popular-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--primary);color:#fff;padding:.22rem .9rem;border-radius:50px;font-size:.72rem;font-weight:700;letter-spacing:.5px}

.pricing-card-title{font-size:1.2rem;font-weight:700;color:#0f172a;margin-bottom:.9rem;min-height:54px;display:flex;align-items:center;justify-content:center}
.pricing-card-price{font-size:2.2rem;font-weight:800;color:#0f172a;line-height:1}
.pricing-card-price.is-quote{font-size:1.6rem;line-height:1.2;color:var(--primary)}
.pricing-card-price.is-quote .period{display:none}
.pricing-card-price .period{font-size:.95rem;font-weight:500;color:var(--text-muted)}
.pricing-card-custom{font-size:.78rem;color:#64748b;margin-top:.35rem;min-height:18px}

.card-spend-block{margin:1.3rem 0 1.2rem;background:#f8fafc;padding:.9rem 1rem;border-radius:10px;border:1px solid #edf2f7}
.card-spend-label{display:block;font-size:.78rem;color:#475569;font-weight:500;margin-bottom:.5rem}
.card-spend-val{display:block;font-size:1.05rem;font-weight:700;color:#0f172a;margin-top:.5rem}

.pricing-btn{display:block;width:100%;background:#134e6b;color:#fff;padding:.75rem 1rem;border-radius:8px;font-size:.92rem;font-weight:600;text-decoration:none;transition:background .2s,transform .2s;border:none;cursor:pointer;margin-top:.3rem}
.pricing-btn:hover{background:#0d364b;color:#fff;transform:translateY(-1px)}
.pricing-btn.btn-starter{background:#f1f5f9;color:var(--text);border:1px solid var(--border)}
.pricing-btn.btn-starter:hover{background:var(--primary);color:#fff;border-color:var(--primary)}

.pricing-card-tagline{font-size:.84rem;color:#475569;line-height:1.55;min-height:48px;margin:1.2rem 0;display:flex;align-items:center;justify-content:center}
.pricing-divider{width:50px;height:2px;background:#0f172a;margin:1rem auto}
.pricing-media-label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-weight:600;margin-bottom:.2rem}
.pricing-media-val{font-size:1.05rem;font-weight:700;color:#0f172a}

.pricing-features-list{list-style:none;padding:0;margin:1.2rem 0 0;text-align:left;display:flex;flex-direction:column;gap:.55rem;flex-grow:1}
.pricing-features-list li{position:relative;padding-left:1.3rem;font-size:.82rem;line-height:1.5;color:var(--text-muted)}
.pricing-features-list li::before{content:'✓';position:absolute;left:0;color:var(--accent);font-weight:700}
.pricing-features-list li strong{color:var(--text)}

/* ─── Resources Grid ─── */
.resources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.resource-card{background:#fff;border-radius:var(--radius);padding:2rem;border:1px solid var(--border);box-shadow:var(--shadow);transition:transform .3s,border-color .3s;display:block}
.resource-card:hover{transform:translateY(-4px);border-color:var(--primary)}
.resource-tag{display:inline-block;background:var(--accent-light);color:var(--accent);padding:.2rem .7rem;border-radius:50px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:.8rem}
.resource-card h4{font-size:1.05rem;margin-bottom:.5rem;color:var(--text)}
.resource-card p{font-size:.88rem;color:var(--text-muted);line-height:1.6}

/* ─── FAQ ─── */
.faq-list{max-width:740px;margin:0 auto}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.8rem;overflow:hidden;transition:border-color .3s}
.faq-item[open]{border-color:var(--primary)}
.faq-item summary{padding:1rem 1.4rem;font-weight:600;cursor:pointer;font-size:.95rem;list-style:none;display:flex;align-items:center;justify-content:space-between}
.faq-item summary::after{content:'+';font-size:1.2rem;color:var(--primary);transition:transform .3s}
.faq-item[open] summary::after{content:'−'}
.faq-item p{padding:0 1.4rem 1.2rem;color:var(--text-muted);font-size:.9rem;line-height:1.7}

/* ─── CTA Banner ─── */
.cta-banner{padding:4.5rem 0;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:#fff}
.cta-banner h2{font-size:2.2rem;font-weight:800;margin-bottom:.6rem}
.cta-banner p{font-size:1.05rem;opacity:.85;margin-bottom:1.5rem}

/* ─── Contact Form ─── */
.contact-form{max-width:720px;margin:0 auto}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.25rem}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:.95rem 1.15rem;border:1px solid #d1d5db;border-radius:10px;font-size:.95rem;font-family:inherit;background:#fff;color:var(--text);transition:border-color .2s,box-shadow .2s}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#6b7280;opacity:.9}
.contact-form select{color:var(--text)}
.contact-form select:invalid,.contact-form select option[value=""]{color:#6b7280}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(108,60,233,.12)}
.contact-form textarea{margin-bottom:1.25rem;resize:vertical;min-height:130px}
.contact-form button{border:none;cursor:pointer;padding:.85rem 1.75rem;font-size:1rem;font-weight:600;border-radius:8px}

/* ─── Footer ─── */
.footer{background:#1e1e2f;color:#fff;padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.footer-brand{display:flex;flex-direction:column;gap:.6rem}
.footer-brand p{color:rgba(255,255,255,.5);font-size:.88rem;margin-top:.5rem}
.footer-brand .logo-icon{background:var(--primary)}
.footer-brand .logo-text{color:#fff}
.footer-col h5{font-size:.82rem;text-transform:uppercase;letter-spacing:1.5px;color:rgba(255,255,255,.4);margin-bottom:1rem}
.footer-col a{display:block;color:rgba(255,255,255,.7);font-size:.9rem;padding:.25rem 0;transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:2rem 0;margin-top:2rem;border-top:1px solid rgba(255,255,255,.1)}
.footer-bottom p{font-size:.82rem;color:rgba(255,255,255,.4)}
.social-links{display:flex;gap:1rem}
.social-links a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:700;transition:background .2s}
.social-links a:hover{background:var(--primary)}

/* ─── Responsive ─── */
@media(max-width:1150px){
  .pricing-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:1024px){
  .hero-title-line{white-space:normal}
  .stats-row,.quick-grid,.testimonials-grid,.resources-grid{grid-template-columns:repeat(2,1fr)}
  .foundations-grid{grid-template-columns:1fr 1fr}
  .feature-detail{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  /* Mobile Navigation Drawer */
  .nav-links,.nav-actions{display:none}
  .nav-links.show{display:flex;flex-direction:column;position:fixed;top:64px;left:0;right:0;background:#ffffff;border-bottom:1px solid var(--border);padding:1.5rem;gap:1.1rem;box-shadow:0 12px 32px rgba(0,0,0,.15);max-height:calc(100vh - 130px);overflow-y:auto;z-index:9999}
  .nav-links.show li{width:100%}
  .nav-links.show li a{font-size:1.05rem;font-weight:600;color:var(--text);display:block;padding:.45rem 0}
  .nav-links.show .dropdown{position:static;box-shadow:none;border:none;padding-left:1rem;margin-top:.4rem;background:#f8fafc;border-radius:8px}
  .nav-links.show .has-dropdown:hover .dropdown{display:block}
  .nav-actions.show{display:flex;flex-direction:row;position:fixed;top:auto;bottom:0;left:0;right:0;background:#ffffff;padding:.85rem 1.25rem;gap:.6rem;z-index:10000;border-top:1px solid var(--border);box-shadow:0 -6px 20px rgba(0,0,0,.08)}
  .nav-actions.show .btn{flex:1;text-align:center;justify-content:center;font-size:.9rem;padding:.7rem .8rem}
  .mobile-toggle{display:flex}

  /* Section Spacing & Containers */
  .section{padding:3.5rem 0}
  .container{padding:0 1.25rem}

  /* Hero Section */
  .hero{padding:2.5rem 0 2rem;text-align:center}
  .hero-grid{grid-template-columns:1fr;gap:2.5rem}
  .hero h1{font-size:clamp(1.75rem, 6.5vw, 2.3rem);line-height:1.22}
  .hero-title-line{white-space:normal;display:inline}
  .hero-sub{margin-left:auto;margin-right:auto;font-size:1rem}
  .hero-cta{justify-content:center;gap:.6rem}
  .hero-cta .btn{width:100%;max-width:320px}

  /* Hero Illustration Card */
  .hero-illustration-wrap{max-width:100%}
  .hero-illustration-card{padding:1.4rem 1.1rem;border-radius:18px}
  .hero-card-backdrop{inset:8px -4px -8px 4px;border-radius:18px}
  .hic-header{flex-direction:column;align-items:flex-start;gap:.5rem}
  .hic-title{font-size:1.05rem}
  .hic-subtitle{font-size:.74rem}
  .formula-watermark{display:none} /* Avoid overflow on small viewports */
  .hic-legend{gap:.6rem;font-size:.7rem}
  .hic-metrics-row{grid-template-columns:repeat(2,1fr);gap:.55rem}

  /* Grids to single column */
  .stats-row,.quick-grid,.testimonials-grid,.pricing-grid,.resources-grid,.foundations-grid,.calibrate-row,.hiw-step{grid-template-columns:1fr}
  .hiw-step.hiw-reverse .hiw-visual{order:0}
  .hiw-step.hiw-reverse .hiw-copy{order:0}
  .hiw-step{gap:2rem;margin-top:2.5rem}

  /* Foundations */
  .foundation-card{padding:1.6rem 1.2rem}
  .foundation-img-wrap{margin:0 -1.2rem 1.2rem}

  /* Calibrate & Features */
  .calibrate-row{gap:2rem;margin-top:2.5rem;padding-top:2rem}
  .feature-detail{gap:2rem}

  /* Spend Slider Bar */
  .pricing-spend-bar{padding:1.2rem 1.25rem}
  .spend-bar-ticks{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;gap:.35rem;scrollbar-width:none}
  .spend-bar-ticks::-webkit-scrollbar{display:none}
  .spend-bar-ticks span{white-space:nowrap;font-size:.68rem;padding:2px 5px}

  /* Pricing Cards */
  .pricing-card{padding:1.8rem 1.2rem}
  .pricing-card-title{min-height:auto;margin-bottom:.5rem}
  .pricing-card-tagline{min-height:auto;margin:.8rem 0}

  /* Contact Form */
  .contact-form{padding:0}
  .form-row{grid-template-columns:1fr;gap:.9rem;margin-bottom:.9rem}
  .contact-form textarea{min-height:110px}
  .contact-form button{width:100%}

  /* Footer */
  .footer{padding:3rem 0 0}
  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .footer-bottom{flex-direction:column;gap:1.2rem;text-align:center}

  /* Tabs */
  .tabs{gap:.4rem}
  .tab{padding:.5rem .95rem;font-size:.82rem}
}

/* ─── Extra Small Mobile Screens (<= 480px and down to 320px) ─── */
@media(max-width:480px){
  /* Root & Layout Sizing */
  html{font-size:15px}
  .container{padding:0 .9rem}
  .section{padding:2.75rem 0}
  .section h2{font-size:1.8rem;line-height:1.25}
  .section-sub{font-size:.92rem;margin-bottom:1.8rem}

  /* Header & Nav */
  .logo-text{font-size:.9rem}
  .logo-icon{width:32px;height:32px;font-size:.78rem}

  /* Hero */
  .hero{padding:2rem 0 1.5rem}
  .hero h1{font-size:1.65rem;line-height:1.25}
  .hero-sub{font-size:.9rem;line-height:1.6;margin-bottom:1.4rem}
  .badge{font-size:.75rem;padding:.25rem .75rem;margin-bottom:.9rem}
  .hero-cta .btn{font-size:.9rem;padding:.75rem 1.2rem}

  /* Hero Illustration & Card Metrics */
  .hero-illustration-card{padding:1rem .85rem;border-radius:14px}
  .hero-card-backdrop{inset:4px -2px -4px 2px;border-radius:14px}
  .hic-metrics-row{grid-template-columns:1fr 1fr;gap:.4rem}
  .hic-metric-pill{padding:.45rem .5rem;gap:.4rem}
  .pill-label{font-size:.6rem}
  .pill-val{font-size:.82rem}
  .chart-axis-text{font-size:9px}
  .chart-month-text{font-size:10px}

  /* Spend Slider Bar & Pricing */
  .pricing-spend-bar{padding:1rem .85rem}
  .spend-bar-info{flex-direction:column;align-items:flex-start;gap:.25rem;font-size:.88rem}
  .spend-bar-ticks{gap:.25rem}
  .spend-bar-ticks span{font-size:.64rem;padding:2px 3px}
  .pricing-card-price{font-size:1.9rem}
  .pricing-card-price.is-quote{font-size:1.4rem}

  /* Quick Cards */
  .quick-card{padding:1.5rem 1.2rem}

  /* Stats Row */
  .stat-card{padding:1.4rem .8rem}
  .stat-number{font-size:2.1rem}

  /* Forms & Inputs */
  .contact-form input,.contact-form select,.contact-form textarea{padding:.8rem .95rem;font-size:.88rem}
  .contact-form textarea{min-height:100px}
}

/* ─── Narrowest Screens (<= 360px: iPhone SE, Galaxy Fold, Small Android) ─── */
@media(max-width:360px){
  html{font-size:14px}
  .container{padding:0 .75rem}
  .hero h1{font-size:1.45rem}
  .hero-cta{flex-direction:column;align-items:center}
  .hero-cta .btn{width:100%;max-width:100%}
  .hic-metrics-row{grid-template-columns:1fr;gap:.35rem}
  .hic-legend{gap:.4rem}
  .hic-legend .legend-item{font-size:.68rem}
  .spend-bar-ticks span{font-size:.6rem;padding:1px 2px}
  .pricing-card-price{font-size:1.75rem}
  .pricing-card{padding:1.5rem 1rem}
}

/* ════════════════════════════════════════════
   MMM Academy & Article Reader Styles
   ════════════════════════════════════════════ */

.academy-hero{padding:4.5rem 0 3.5rem;background:linear-gradient(160deg,#f7f5ff 0%,#ede7fb 45%,#e0faf5 100%);text-align:center;border-bottom:1px solid var(--border)}
.academy-hero h1{font-size:clamp(2rem,4vw,2.9rem);font-weight:800;line-height:1.2;margin-bottom:1rem;color:#0f172a}
.academy-hero p{font-size:1.1rem;color:var(--text-muted);max-width:720px;margin:0 auto 1.5rem;line-height:1.7}

.academy-badges-row{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
.academy-filter-pill{padding:.4rem 1.1rem;border-radius:50px;background:#fff;border:1px solid var(--border);color:var(--text-muted);font-size:.82rem;font-weight:600;transition:all .2s;cursor:pointer}
.academy-filter-pill:hover,.academy-filter-pill.active{background:var(--primary);color:#fff;border-color:var(--primary)}

/* Articles Hub Grid */
.academy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin:3.5rem 0}
.academy-card{background:#fff;border-radius:16px;border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;text-decoration:none;color:inherit}
.academy-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--primary)}
.academy-card-img-wrap{height:190px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--border)}
.academy-card-img-wrap svg{width:100%;height:100%;object-fit:cover}
.academy-card-body{padding:1.8rem;display:flex;flex-direction:column;flex-grow:1}
.academy-pillar-tag{display:inline-block;align-self:flex-start;padding:.22rem .75rem;border-radius:50px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.8px;margin-bottom:.8rem;background:var(--primary-light);color:var(--primary)}
.academy-card-title{font-size:1.25rem;font-weight:750;color:#0f172a;line-height:1.35;margin-bottom:.65rem}
.academy-card-excerpt{font-size:.9rem;color:var(--text-muted);line-height:1.65;margin-bottom:1.4rem;flex-grow:1}
.academy-card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;border-top:1px solid #f1f5f9;font-size:.82rem;color:#64748b;font-weight:600}
.academy-card-footer span.read-time{display:flex;align-items:center;gap:.35rem}
.academy-card-footer span.read-link{color:var(--primary);font-weight:700}

/* Single Article Reader Layout */
.article-header{padding:4.5rem 0 3rem;background:linear-gradient(165deg,#f8faff 0%,#f0f4ff 50%,#e8fbf7 100%);border-bottom:1px solid var(--border)}
.article-breadcrumbs{display:flex;gap:.5rem;align-items:center;font-size:.84rem;color:var(--text-muted);margin-bottom:1.5rem;font-weight:500}
.article-breadcrumbs a{color:var(--primary);transition:color .2s}
.article-breadcrumbs a:hover{text-decoration:underline}
.article-meta-bar{display:flex;align-items:center;gap:1.5rem;margin-top:1.5rem;font-size:.86rem;color:var(--text-muted);flex-wrap:wrap}
.article-author{display:flex;align-items:center;gap:.6rem;font-weight:600;color:var(--text)}
.article-author-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem}

.article-container{max-width:980px;margin:3.5rem auto 5rem;padding:0 1.5rem}
.article-body{background:#fff;border-radius:20px;padding:3.5rem 3.5rem;border:1px solid var(--border);box-shadow:var(--shadow-md);line-height:1.8;font-size:1.05rem;color:#334155}
.article-body h2{font-size:1.85rem;font-weight:800;color:#0f172a;margin:2.5rem 0 1rem;line-height:1.3;padding-bottom:.4rem;border-bottom:2px solid #f1f5f9}
.article-body h3{font-size:1.35rem;font-weight:750;color:#1e293b;margin:2rem 0 .75rem;line-height:1.35}
.article-body p{margin-bottom:1.4rem}
.article-body strong{color:#0f172a}
.article-body ul,.article-body ol{margin-bottom:1.6rem;padding-left:1.5rem}
.article-body li{margin-bottom:.5rem}

/* Key Takeaway / Executive Summary Box */
.takeaway-box{background:linear-gradient(135deg,#f8faff,#f5f3ff);border-left:4px solid var(--primary);padding:1.6rem 2rem;border-radius:0 14px 14px 0;margin:2rem 0;box-shadow:0 4px 16px rgba(108,60,233,.05)}
.takeaway-box h4{font-size:1rem;font-weight:800;color:var(--primary);text-transform:uppercase;letter-spacing:.8px;margin-bottom:.5rem;display:flex;align-items:center;gap:.45rem}
.takeaway-box p{margin-bottom:0;font-size:.95rem;color:#475569;line-height:1.7}

/* Inline Interactive/Vector Visual Frame */
.article-visual-frame{background:#fafcff;border:1px solid #e2e8f0;border-radius:16px;padding:2rem 1.8rem;margin:2.5rem 0;box-shadow:0 8px 24px rgba(0,0,0,.04);text-align:center}
.article-visual-caption{font-size:.82rem;color:#64748b;margin-top:.9rem;font-weight:600;font-style:italic}

/* Formula & Math Block */
.math-block{background:#0f172a;color:#e2e8f0;padding:1.4rem 1.8rem;border-radius:12px;font-family:'Courier New',Courier,monospace;font-size:.95rem;margin:1.8rem 0;overflow-x:auto;box-shadow:0 8px 24px rgba(15,23,42,.15)}
.math-block .math-title{color:var(--accent);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:1px;margin-bottom:.4rem}

/* Article Navigation footer */
.article-nav-buttons{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:4rem;padding-top:2.5rem;border-top:1px solid var(--border)}
.article-nav-card{padding:1.4rem 1.6rem;background:#f8fafc;border:1px solid var(--border);border-radius:14px;text-decoration:none;color:inherit;transition:all .25s ease}
.article-nav-card:hover{border-color:var(--primary);background:#fff;box-shadow:var(--shadow)}
.article-nav-card.prev{text-align:left}
.article-nav-card.next{text-align:right}
.article-nav-dir{font-size:.75rem;font-weight:700;text-transform:uppercase;color:var(--primary);letter-spacing:.8px;margin-bottom:.35rem}
.article-nav-title{font-size:1rem;font-weight:750;color:#0f172a;line-height:1.3}

.academy-card{background:#fff;border-radius:16px;border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;text-decoration:none;color:inherit;cursor:pointer}
.academy-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--primary)}
.academy-card:hover .academy-card-title{color:var(--primary)}
.academy-card:hover .read-link{text-decoration:underline}

@media(max-width:1024px){
  .academy-grid{grid-template-columns:repeat(2,1fr)}
  .article-body{padding:2.5rem 2rem}
}
@media(max-width:768px){
  .academy-grid{grid-template-columns:1fr}
  .article-body{padding:2rem 1.25rem;font-size:.98rem}
  .article-body h2{font-size:1.55rem}
  .article-nav-buttons{grid-template-columns:1fr;gap:1rem}
  .takeaway-box{padding:1.2rem 1.4rem}
  .article-visual-frame{padding:1.25rem .85rem;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .article-visual-frame svg{min-width:340px;max-width:100%;height:auto;display:block}
}
@media(max-width:480px){
  .academy-hero{padding:2.75rem 0 2rem}
  .academy-hero h1{font-size:1.6rem}
  .academy-hero p{font-size:.92rem;line-height:1.6}
  .academy-badges-row{gap:.5rem}
  .academy-filter-pill{padding:.35rem .85rem;font-size:.76rem}

  .article-header{padding:2.5rem 0 1.8rem}
  .article-header h1{font-size:1.55rem;line-height:1.25}
  .article-header p{font-size:.92rem;line-height:1.6}
  .article-breadcrumbs{font-size:.76rem;margin-bottom:1rem;flex-wrap:wrap}
  .article-meta-bar{gap:.6rem;font-size:.78rem}
  .article-container{margin:1.5rem auto 3rem;padding:0 .85rem}
  .article-body{padding:1.4rem 1rem;font-size:.92rem;line-height:1.7;border-radius:14px}
  .article-body h2{font-size:1.35rem;margin:1.8rem 0 .6rem}
  .article-body h3{font-size:1.15rem;margin:1.4rem 0 .5rem}
  .article-body ul,.article-body ol{padding-left:1.1rem;margin-bottom:1.2rem}
  .takeaway-box{padding:.9rem 1.1rem;margin:1.4rem 0;border-radius:0 10px 10px 0}
  .takeaway-box h4{font-size:.9rem}
  .takeaway-box p{font-size:.86rem;line-height:1.6}
  .math-block{padding:.9rem 1rem;font-size:.8rem;margin:1.3rem 0;border-radius:10px}
  .article-visual-frame{padding:.9rem .5rem;margin:1.5rem 0;border-radius:12px}
  .article-visual-frame svg{min-width:300px}
  .article-nav-buttons{grid-template-columns:1fr;gap:.8rem;margin-top:2.5rem;padding-top:1.5rem}
  .article-nav-card{padding:1rem 1.1rem}
  .article-nav-title{font-size:.92rem}
}
@media(max-width:360px){
  .article-header h1{font-size:1.35rem}
  .article-container{padding:0 .5rem;margin:1rem auto 2.5rem}
  .article-body{padding:1.15rem .75rem;font-size:.88rem}
  .article-body h2{font-size:1.2rem}
  .article-visual-frame{padding:.6rem .25rem}
  .article-visual-frame svg{min-width:280px}
  .math-block{padding:.75rem .8rem;font-size:.74rem}
}
