/* ── IMPORTS & RESET ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Outfit', sans-serif; background: #080C12; color: #C8D4E0; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CSS VARIABLES ────────────────────────────────────────────── */
:root {
  --bg:       #080C12;
  --bg2:      #0D1320;
  --card:     #111827;
  --card2:    #162033;
  --border:   #1A2540;
  --border2:  #243050;
  --green:    #00C48C;
  --green2:   #00A876;
  --green-d:  #004D36;
  --blue:     #3B82F6;
  --purple:   #8B5CF6;
  --amber:    #F59E0B;
  --red:      #F25C54;
  --white:    #F0EDE8;
  --text:     #C8D4E0;
  --muted:    #5A6A7A;
  --muted2:   #3A4A5A;
  --radius:   12px;
  --radius-sm: 8px;
  --shadow:   0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 60px rgba(0,0,0,.5);
  --transition: .2s ease;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */
.syne { font-family: 'Syne', sans-serif; }
.mono { font-family: 'Space Mono', monospace; }
h1,h2,h3,h4,h5,h6 { font-family: 'Syne', sans-serif; letter-spacing: -.02em; color: var(--white); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
p { font-size: 1rem; line-height: 1.75; }

/* ── LAYOUT ───────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* ── SCROLLBAR ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted2); border-radius: 4px; }

/* ── NAVIGATION ───────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 24px; height: 68px; display: flex; align-items: center; transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition); }
.nav.scrolled { background: rgba(8,12,18,.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--white); }
.nav-logo-icon { width: 34px; height: 34px; background: var(--green); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; color: var(--muted); transition: color var(--transition), background var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--card); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; letter-spacing: .01em; white-space: nowrap; }
.btn-primary { background: var(--green); color: #050A0E; }
.btn-primary:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,196,140,.25); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--border2); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--white); }

/* ── BADGES & TAGS ────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.badge-green { background: rgba(0,196,140,.12); color: var(--green); border: 1px solid rgba(0,196,140,.25); }
.badge-blue { background: rgba(59,130,246,.12); color: var(--blue); }
.badge-purple { background: rgba(139,92,246,.12); color: var(--purple); }
.badge-amber { background: rgba(245,158,11,.12); color: var(--amber); }

/* ── CARDS ────────────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.card-hover { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border2); }

/* ── SECTION HEADER ───────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--green); text-transform: uppercase; margin-bottom: 14px; display: block; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(0,196,140,.08) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(26,37,64,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(26,37,64,.4) 1px, transparent 1px); background-size: 60px 60px; }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; background: rgba(0,196,140,.1); border: 1px solid rgba(0,196,140,.25); border-radius: 30px; font-size: .82rem; font-weight: 700; color: var(--green); letter-spacing: .08em; margin-bottom: 28px; }
.hero h1 { margin-bottom: 22px; max-width: 800px; }
.hero h1 .accent { color: var(--green); position: relative; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-social-proof { display: flex; align-items: center; gap: 16px; }
.hero-avatars { display: flex; }
.hero-avatars span { width: 34px; height: 34px; border-radius: 50%; background: var(--card2); border: 2px solid var(--bg); display: flex; align-items: center; justify-content: center; font-size: 14px; margin-left: -10px; }
.hero-avatars span:first-child { margin-left: 0; }

/* ── STATS STRIP ──────────────────────────────────────────────── */
.stats-strip { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.stats-strip .grid-4 > div { text-align: center; padding: 0 20px; }
.stats-strip .grid-4 > div + div { border-left: 1px solid var(--border); }
.stat-value { font-family: 'Space Mono', monospace; font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: .88rem; color: var(--muted); }

/* ── FEATURES ─────────────────────────────────────────────────── */
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.feature-card { padding: 28px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: .93rem; color: var(--muted); }

/* ── HOW IT WORKS ─────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 30px; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.step { text-align: center; padding: 0 20px; }
.step-num { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; font-family: 'Space Mono', monospace; font-size: 1.1rem; font-weight: 700; color: var(--green); margin: 0 auto 20px; background: var(--bg); position: relative; z-index: 1; }
.step:first-child .step-num { background: var(--green); color: #050A0E; }
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--muted); }

/* ── GRANTS TABLE ─────────────────────────────────────────────── */
.grants-table { width: 100%; border-collapse: collapse; }
.grants-table thead th { padding: 14px 18px; text-align: left; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--bg2); }
.grants-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.grants-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.grants-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.grants-table tbody tr:hover { background: var(--card2); }
.grants-table tbody td { padding: 16px 18px; font-size: .93rem; }
.match-bar { height: 4px; border-radius: 2px; background: var(--border); margin-top: 4px; overflow: hidden; }
.match-fill { height: 100%; border-radius: 2px; }

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonial-card { padding: 28px 30px; }
.testimonial-stars { color: var(--amber); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: .97rem; color: var(--text); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--card2); border: 2px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.testimonial-name { font-size: .93rem; font-weight: 700; color: var(--white); }
.testimonial-role { font-size: .82rem; color: var(--muted); }

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing-card { padding: 32px 28px; position: relative; }
.pricing-card.featured { border-color: var(--green); background: linear-gradient(135deg, rgba(0,196,140,.08) 0%, var(--card) 60%); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #050A0E; padding: 4px 16px; border-radius: 20px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.pricing-name { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.pricing-price { font-family: 'Space Mono', monospace; font-size: 2.8rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 6px; }
.pricing-price span { font-size: 1rem; color: var(--muted); font-family: 'Outfit', sans-serif; }
.pricing-desc { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.pricing-features { margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--text); }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── COMPARISON TABLE ─────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 16px 20px; text-align: center; font-family: 'Syne', sans-serif; font-size: .9rem; background: var(--bg2); border-bottom: 1px solid var(--border); }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); text-align: center; font-size: .92rem; }
.compare-table td:first-child { text-align: left; color: var(--text); }
.compare-table tr:hover td { background: var(--card2); }
.check-yes { color: var(--green); font-size: 16px; }
.check-no { color: var(--muted2); font-size: 16px; }

/* ── BLOG ─────────────────────────────────────────────────────── */
.blog-card { overflow: hidden; }
.blog-img { height: 180px; background: var(--card2); display: flex; align-items: center; justify-content: center; font-size: 48px; border-bottom: 1px solid var(--border); }
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; font-size: .82rem; color: var(--muted); }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 10px; transition: color var(--transition); }
.blog-card:hover h3 { color: var(--green); }
.blog-body p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.read-more { font-size: .85rem; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.blog-card:hover .read-more { gap: 10px; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; background: none; border: none; cursor: pointer; color: var(--white); font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; text-align: left; gap: 16px; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; color: var(--green); transition: transform var(--transition), background var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(0,196,140,.12); }
.faq-answer { font-size: .95rem; color: var(--muted); padding: 0 0 20px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding var(--transition); }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── CTA SECTION ──────────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, rgba(0,196,140,.1) 0%, rgba(59,130,246,.08) 100%); border-top: 1px solid rgba(0,196,140,.2); border-bottom: 1px solid rgba(0,196,140,.2); }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-desc { font-size: .9rem; color: var(--muted); margin-bottom: 20px; max-width: 280px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 16px; transition: all var(--transition); }
.footer-social a:hover { border-color: var(--green); color: var(--green); }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: .88rem; font-weight: 700; color: var(--white); letter-spacing: .08em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .9rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom p { font-size: .85rem; color: var(--muted2); }

/* ── PAGE HERO (inner pages) ──────────────────────────────────── */
.page-hero { padding: 140px 0 80px; background: var(--bg2); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(0,196,140,.07) 0%, transparent 65%); }

/* ── GRANT PROGRAM CARD ───────────────────────────────────────── */
.grant-card { padding: 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.grant-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,196,140,.3); }
.grant-match { font-family: 'Space Mono', monospace; font-size: 1.4rem; font-weight: 700; }
.grant-value { font-size: 1.1rem; font-weight: 700; color: var(--white); margin: 6px 0 4px; }

/* ── CALCULATOR (SR&ED page) ──────────────────────────────────── */
.calc-wrapper { background: var(--card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.calc-input-section { padding: 40px; border-right: 1px solid var(--border); }
.calc-result-section { padding: 40px; background: var(--card2); }
.calc-result-total { font-family: 'Space Mono', monospace; font-size: 3.2rem; font-weight: 700; color: var(--green); line-height: 1; }
.range-track { width: 100%; height: 5px; background: var(--border); border-radius: 3px; outline: none; appearance: none; cursor: pointer; }
.range-track::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green); border: 3px solid var(--bg); cursor: pointer; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-input { width: 100%; background: var(--bg2); border: 1px solid var(--border2); color: var(--white); padding: 12px 16px; border-radius: var(--radius-sm); font-family: 'Outfit', sans-serif; font-size: .95rem; outline: none; transition: border-color var(--transition); }
.form-input:focus { border-color: var(--green); }
.form-select { width: 100%; background: var(--bg2); border: 1px solid var(--border2); color: var(--white); padding: 12px 16px; border-radius: var(--radius-sm); font-family: 'Outfit', sans-serif; font-size: .95rem; outline: none; appearance: none; cursor: pointer; }
.input-group { position: relative; }
.input-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; }
.input-group .form-input { padding-left: 26px; }

/* ── ABOUT PAGE ───────────────────────────────────────────────── */
.team-card { padding: 28px; text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: rgba(0,196,140,.12); border: 2px solid rgba(0,196,140,.3); display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 16px; }
.value-card { padding: 28px; }
.value-icon { font-size: 32px; margin-bottom: 14px; }

/* ── CONTACT PAGE ─────────────────────────────────────────────── */
.contact-form { max-width: 600px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-textarea { resize: vertical; min-height: 140px; }

/* ── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
@keyframes pulse-glow { 0%,100%{ box-shadow:0 0 0 0 rgba(0,196,140,.4); } 50%{ box-shadow:0 0 0 12px rgba(0,196,140,0); } }
@keyframes counter { from { opacity:0; } to { opacity:1; } }
.animate { opacity:0; }
.animate.visible { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s !important; }
.delay-2 { animation-delay: .2s !important; }
.delay-3 { animation-delay: .3s !important; }
.delay-4 { animation-delay: .4s !important; }
.delay-5 { animation-delay: .5s !important; }

/* ── MOBILE ───────────────────────────────────────────────────── */
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(8,12,18,.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 20px 24px; flex-direction: column; gap: 4px; z-index: 999; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 16px; border-radius: var(--radius-sm); color: var(--text); font-size: 1rem; font-weight: 500; transition: background var(--transition); }
.mobile-menu a:hover { background: var(--card); }
.mobile-menu-cta { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }

/* ── UTILS ────────────────────────────────────────────────────── */
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.highlight-box { background: rgba(0,196,140,.07); border: 1px solid rgba(0,196,140,.2); border-radius: var(--radius); padding: 20px 24px; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-strip .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-strip .grid-4 > div { padding: 16px; }
  .stats-strip .grid-4 > div + div { border-left: none; border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .calc-wrapper { display: block !important; }
  .calc-input-section, .calc-result-section { border-right: none; border-top: 1px solid var(--border); }
  .compare-table { display: block; overflow-x: auto; }
  h1 { font-size: 2rem; }
  .section { padding: 64px 0; }
}
