/* =============================================
   BONUS CALCULATOR — Educational Light Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --forest:    #2D5016;
  --moss:      #4A7C2F;
  --sage:      #7BA05B;
  --sage-lt:   #A8C88A;
  --cream:     #F5F0E8;
  --cream-dk:  #EDE8DC;
  --parchment: #FAF7F2;
  --ink:       #1A1A1A;
  --ink-lt:    #3D3D3D;
  --muted:     #6B6B6B;
  --gold:      #C8902A;
  --gold-lt:   #F2D07A;
  --rust:      #B84C1E;
  --border:    #D4CCBC;
  --white:     #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(45,80,22,0.08);
  --shadow-md: 0 6px 24px rgba(45,80,22,0.12);
  --shadow-lg: 0 16px 48px rgba(45,80,22,0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --transition:   0.25s 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);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--moss); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--forest); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--forest); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--ink-lt); margin-bottom: 0.75rem; }

em { font-style: italic; color: var(--moss); }
strong { color: var(--forest); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.bg-cream { background: var(--cream); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-primary:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 52px;
  line-height: 1.6;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--parchment);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--forest);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-lt);
  font-size: 1.1rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-lt);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--forest); }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: var(--parchment);
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 10px 0;
  font-weight: 600;
  color: var(--ink-lt);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--forest); }
.mobile-nav.open { display: flex; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--forest) 0%, #3d6b1f 40%, #527829 100%);
  padding: 96px 0 0;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(200,144,42,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,144,42,0.2);
  color: var(--gold-lt);
  border: 1px solid rgba(200,144,42,0.4);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold-lt); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--forest); font-weight: 700; }
.hero .btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.hero-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); font-weight: 900; }
.stat span { font-size: 0.82rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.08em; }

/* Hero Visual Card */
.hero-visual { display: flex; justify-content: center; }
.calc-preview-card {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.preview-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.95rem;
}
.preview-row span { color: var(--muted); }
.preview-row strong { color: var(--ink); font-weight: 600; }
.preview-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}
.result-row strong.accent {
  color: var(--forest);
  font-size: 1.1rem;
  font-weight: 700;
}
.preview-sparkle {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
}
.hero-wave { margin-top: 64px; line-height: 0; }

/* =============================================
   CALCULATOR SECTION
   ============================================= */
.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.calc-tabs {
  display: flex;
  overflow-x: auto;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  gap: 0;
}
.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--forest); background: var(--cream-dk); }
.tab-btn.active {
  color: var(--forest);
  border-bottom-color: var(--forest);
  background: var(--white);
}

.calc-body { padding: 0; }
.tab-panel { display: none; padding: 40px; }
.tab-panel.active { display: block; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.calc-inputs h3 {
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream);
}

.input-group {
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-lt);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.input-group input,
.input-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--parchment);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.input-group input:focus,
.input-group select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(74,124,47,0.1);
  background: var(--white);
}
.range-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 5px;
  font-style: italic;
}
.calc-btn { width: 100%; justify-content: center; margin-top: 8px; padding: 14px; font-size: 1rem; }

/* Results Panel */
.calc-results {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 280px;
}
.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 220px;
  text-align: center;
  color: var(--muted);
}
.placeholder-icon { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.5; }
.results-placeholder p { font-size: 0.95rem; max-width: 220px; }

/* Result Cards */
.result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.result-header h4 { font-size: 1rem; color: var(--forest); margin: 0; }
.result-icon { font-size: 1.3rem; }

.result-main {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.result-main-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.result-main-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--forest);
  line-height: 1;
  margin: 8px 0 4px;
}
.result-main-sub { font-size: 0.83rem; color: var(--muted); }

.result-breakdown { list-style: none; }
.result-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.result-breakdown li:last-child { border-bottom: none; }
.result-breakdown li span { color: var(--muted); }
.result-breakdown li strong { color: var(--ink); font-weight: 600; }
.result-breakdown li.highlight strong { color: var(--forest); }
.result-breakdown li.highlight span { color: var(--forest); font-weight: 600; }

.result-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--cream-dk);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* =============================================
   BONUS TYPES
   ============================================= */
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.type-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: var(--white); }
.type-icon { font-size: 2rem; margin-bottom: 14px; }
.type-card h3 { margin-bottom: 10px; }
.type-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 16px; }
.type-formula {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  line-height: 1.5;
}
.type-formula span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
  margin-bottom: 3px;
}

/* =============================================
   FORMULAS SECTION
   ============================================= */
.formulas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.formula-block {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--moss);
}
.formula-header { margin-bottom: 16px; }
.formula-tag {
  display: inline-block;
  background: var(--sage-lt);
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.formula-header h3 { font-size: 1.15rem; }
.formula-display {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  color: var(--forest);
  margin-bottom: 16px;
  line-height: 1.5;
}
.formula-block p { font-size: 0.92rem; margin-bottom: 14px; }
.formula-example {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--ink-lt);
}
.formula-example em { font-style: normal; color: var(--rust); font-weight: 600; }

/* =============================================
   TIPS SECTION
   ============================================= */
.tips-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.tip-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.tip-item:last-child { margin-bottom: 0; }
.tip-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.tip-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tip-item p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* =============================================
   COMPARISON TABLE
   ============================================= */
.table-wrapper { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table thead tr { background: var(--forest); }
.compare-table th {
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}
.compare-table td {
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-lt);
  border-bottom: 1px solid var(--border);
}
.compare-table tr:nth-child(even) td { background: var(--cream); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td strong { color: var(--forest); }
.compare-table tr:hover td { background: var(--cream-dk); }

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.faq-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--cream-dk); }
.faq-arrow {
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--sage);
}
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
}
.faq-answer.open { display: block; }
.faq-answer p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 0.98rem; margin-bottom: 16px; }
.about-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.about-bullet {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.about-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 24px;
}
.benchmark-bars { display: flex; flex-direction: column; gap: 14px; }
.bench-item { display: flex; align-items: center; gap: 12px; }
.bench-item > span { font-size: 0.82rem; font-weight: 600; color: var(--ink-lt); width: 75px; flex-shrink: 0; }
.bench-bar {
  flex: 1;
  height: 28px;
  background: var(--cream);
  border-radius: 100px;
  overflow: hidden;
}
.bench-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--moss), var(--sage));
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  transition: width 1s ease;
}
.bench-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 16px; margin-bottom: 0; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner { position: relative; z-index: 1; }
.cta-box h2 { color: var(--white); margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-box .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--forest); font-weight: 700; font-size: 1.05rem; }
.cta-box .btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.cta-decoration {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 8rem;
  color: rgba(255,255,255,0.04);
  font-family: var(--font-display);
  pointer-events: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 0; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .formulas-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-cta-row { justify-content: center; }
  .hero-stats { justify-content: center; }

  .calc-grid { grid-template-columns: 1fr; }
  .calc-tabs { flex-wrap: nowrap; }
  .tab-panel { padding: 24px 20px; }

  .steps-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .tips-columns { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 40px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
