/* ======================================================
   Stackaris SIP Calculator — Premium Production CSS
====================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --success: #10b981;
  --success-dark: #059669;

  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 10px 30px rgba(0,0,0,0.08);

  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;

  --gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-hero: linear-gradient(150deg, #0a0f1e 0%, #0f2057 45%, #1e40af 100%);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.stackaris-sip-tool {
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stackaris-sip-tool *:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* =========================
   CONTAINER
========================= */

.sip-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   SECTION HEADER
========================= */

.sip-section-header {
  text-align: center;
  margin-bottom: 44px;
}

.sip-section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.sip-section-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.sip-hero {
  background: var(--gradient-hero);
  padding: 80px 0 64px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sip-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.35) 0%, transparent 70%);
  pointer-events: none;
}

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

.sip-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.92);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.2px;
}

.sip-hero h1 {
  font-size: 54px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -2px;
  line-height: 1.05;
}

.sip-hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.sip-hero-stats {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.sip-hero-stats > div {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.sip-hero-stats > div:last-child {
  border-right: none;
}

.sip-hero-stats strong {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.sip-hero-stats span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* =========================
   CALCULATOR SECTION
========================= */

.sip-calculator-section {
  padding: 64px 0;
}

.sip-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

/* =========================
   CARD
========================= */

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

.sip-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

/* =========================
   STICKY SUMMARY
========================= */

.sip-summary-sticky {
  position: sticky;
  top: 24px;
}

.sip-summary-card {
  padding: 28px 24px;
}

/* =========================
   FORM GROUPS
========================= */

.sip-form-group {
  margin-bottom: 28px;
}

.sip-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sip-label-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.sip-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.sip-input-wrap:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.sip-input-inline {
  min-width: 130px;
  max-width: 148px;
}

.sip-prefix,
.sip-suffix {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--border-light);
  align-self: stretch;
  display: flex;
  align-items: center;
  line-height: 1;
}

.sip-prefix { border-right: 1px solid var(--border); }
.sip-suffix { border-left: 1px solid var(--border); }

.sip-input-wrap input[type="number"] {
  width: 100%;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 15px;
  font-weight: 700;
  background: transparent;
  color: var(--text);
  min-width: 0;
  -moz-appearance: textfield;
  appearance: textfield;
  font-family: inherit;
}

.sip-input-wrap input[type="number"]::-webkit-inner-spin-button,
.sip-input-wrap input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* =========================
   RANGE SLIDER
========================= */

.sip-form-group input[type="range"] {
  width: 100%;
  height: 5px;
  border-radius: 20px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(
    to right,
    var(--primary) var(--range-pct, 0%),
    #dbeafe var(--range-pct, 0%)
  );
  outline: none;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background var(--transition);
}

.sip-form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.sip-form-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}

.sip-form-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
  cursor: pointer;
}

.sip-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

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

.sip-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.sip-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.sip-btn {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.sip-btn:hover {
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

/* =========================
   DONUT CHART
========================= */

.sip-donut-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 14px;
}

.sip-donut-wrap canvas {
  display: block;
  width: 160px !important;
  height: 160px !important;
}

.sip-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sip-donut-center span {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.5px;
}

.sip-donut-center small {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sip-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}

.sip-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.sip-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================
   RESULTS
========================= */

.sip-results {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}

.sip-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.sip-result-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sip-result-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.sip-label-bold {
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
}

.sip-result-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sip-result-row strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.sip-green { color: var(--success) !important; }

.sip-result-total {
  background: linear-gradient(135deg, #f0f7ff 0%, #f0fdf7 100%);
  margin: 10px -4px 0;
  padding: 14px !important;
  border-radius: var(--radius-sm);
  border: 1px solid #dbeafe !important;
}

.sip-result-total strong {
  font-size: 19px !important;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================
   CTA BOX
========================= */

.sip-cta-box {
  margin-top: 18px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  border: 1px solid #dbeafe;
}

.sip-cta-box p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* =========================
   GROWTH CHART
========================= */

.sip-chart-section {
  padding-bottom: 64px;
}

.sip-chart-card {
  padding: 28px;
  overflow: hidden;
}

.sip-chart-card canvas {
  width: 100% !important;
  display: block;
}

/* =========================
   YEARLY TABLE
========================= */

.sip-table-section {
  padding-bottom: 64px;
}

.sip-table-card {
  padding: 0;
  overflow: hidden;
}

.sip-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.sip-table thead th {
  background: var(--bg);
  padding: 13px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.sip-table thead th:not(:first-child) { text-align: right; }

.sip-table tbody td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-weight: 500;
}

.sip-table tbody td:not(:first-child) { text-align: right; }
.sip-table tbody tr:last-child td { border-bottom: none; }
.sip-table tbody tr:hover td { background: #f8faff; }
.sip-table tbody tr:nth-child(even) td { background: #fafbfd; }
.sip-table tbody tr:nth-child(even):hover td { background: #f8faff; }

.sip-table .sip-table-highlight td {
  background: #eff6ff !important;
  font-weight: 700;
  color: var(--primary);
}

.sip-table td.sip-positive { color: var(--success); font-weight: 700; }
.sip-table td.sip-year     { font-weight: 700; color: var(--primary); }

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

.sip-content-section {
  padding: 64px 0;
}

.sip-content-block {
  max-width: 820px;
  margin: 40px auto 0;
}

.sip-content-block h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.sip-content-block p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 15px;
}

/* =========================
   HOW IT WORKS STEPS
========================= */

.sip-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sip-step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition-slow);
}

.sip-step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #c7d8fb;
}

.sip-step-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sip-step-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sip-step-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.sip-step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================
   BENEFITS
========================= */

.sip-benefits-section {
  background: var(--card);
  padding: 64px 0;
}

.sip-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sip-benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition-slow);
}

.sip-benefit-card:hover {
  background: var(--card);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #c7d8fb;
}

.sip-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sip-icon-blue   { background: #eff6ff; color: #2563eb; }
.sip-icon-green  { background: #ecfdf5; color: #059669; }
.sip-icon-purple { background: #f5f3ff; color: #7c3aed; }
.sip-icon-orange { background: #fff7ed; color: #c2410c; }
.sip-icon-teal   { background: #f0fdfa; color: #0d9488; }
.sip-icon-red    { background: #fef2f2; color: #dc2626; }

.sip-benefit-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.sip-benefit-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =========================
   TYPES OF SIP
========================= */

.sip-types-section {
  background: var(--bg);
  padding: 64px 0;
}

.sip-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sip-type-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition-slow);
}

.sip-type-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.sip-type-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.sip-type-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.sip-type-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sip-type-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sip-type-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sip-type-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* =========================
   COMPARISON
========================= */

.sip-comparison-section {
  padding: 64px 0;
  background: var(--card);
}

.sip-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

.sip-comparison-table th {
  padding: 13px 20px;
  background: var(--bg);
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sip-comparison-table th.sip-col-highlight {
  background: var(--primary);
  color: #fff;
}

.sip-comparison-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-weight: 500;
}

.sip-comparison-table td.sip-col-highlight {
  color: var(--primary);
  font-weight: 700;
  background: #f0f5ff;
}

.sip-comparison-table tr:last-child td { border-bottom: none; }
.sip-comparison-table tr:hover td { background: var(--bg); }
.sip-comparison-table tr:hover td.sip-col-highlight { background: #e8f0fe; }

/* =========================
   FORMULA
========================= */

.sip-formula-section {
  background: var(--bg);
}

.sip-formula-card {
  text-align: center;
}

.sip-formula-display {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f2057 100%);
  color: #fff;
  padding: 36px 32px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
}

.sip-formula-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.sip-formula-text sup { font-size: 14px; }

.sip-formula-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.sip-formula-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.sip-formula-var {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 7px;
  font-weight: 800;
  font-size: 14px;
  font-family: 'Georgia', serif;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================
   FAQ
========================= */

.sip-faq-section {
  padding: 64px 0;
  background: var(--bg);
}

.sip-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sip-faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.sip-faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}

.sip-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  font-family: inherit;
}

.sip-faq-q:hover { color: var(--primary); }

.sip-faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition-slow);
  color: var(--text-light);
}

.sip-faq-item.active .sip-faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.sip-faq-a { border-top: 1px solid var(--border-light); }
.sip-faq-a[hidden] { display: none; }

.sip-faq-a p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  padding: 16px 24px 20px;
}

/* =========================
   RELATED TOOLS
========================= */

.sip-related-section {
  padding: 64px 0;
  background: var(--card);
}

.sip-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sip-related-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-slow);
}

.sip-related-card:hover {
  background: var(--card);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.sip-related-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.sip-related-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}

.sip-related-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================
   SEO SECTION
========================= */

.sip-seo-section {
  padding: 64px 0 80px;
  background: var(--bg);
}

.sip-seo-section > .sip-container > h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 44px;
  text-align: center;
  letter-spacing: -0.5px;
}

.sip-seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.sip-seo-col h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.sip-seo-col h3:first-child { margin-top: 0; }

.sip-seo-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 14px;
}

.sip-seo-col p strong {
  color: var(--text);
  font-weight: 600;
}

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

@media (max-width: 1040px) {
  .sip-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .sip-grid { grid-template-columns: 1fr; }
  .sip-summary-sticky { position: static; }

  .sip-benefits-grid,
  .sip-types-grid,
  .sip-related-grid { grid-template-columns: repeat(2, 1fr); }

  .sip-seo-grid { grid-template-columns: 1fr; gap: 0; }
  .sip-seo-col h3:first-child { margin-top: 32px; }
  .sip-seo-col:first-child h3:first-child { margin-top: 0; }
}

@media (max-width: 640px) {
  .sip-hero { padding: 52px 0 44px; }
  .sip-hero h1 { font-size: 36px; letter-spacing: -1.5px; }
  .sip-hero-desc { font-size: 16px; }

  .sip-hero-stats {
    flex-wrap: wrap;
    width: 100%;
    max-width: 320px;
  }
  .sip-hero-stats > div {
    padding: 14px 20px;
    width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .sip-hero-stats > div:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.12);
  }
  .sip-hero-stats > div:nth-last-child(-n+2) { border-bottom: none; }

  .sip-section-header h2 { font-size: 26px; }
  .sip-card { padding: 20px; }
  .sip-card-title { font-size: 17px; }

  .sip-steps-grid,
  .sip-benefits-grid,
  .sip-types-grid,
  .sip-related-grid { grid-template-columns: 1fr; }

  .sip-formula-legend { grid-template-columns: 1fr; }
  .sip-formula-text { font-size: 16px; letter-spacing: 0; }
  .sip-result-total strong { font-size: 17px !important; }
  .sip-chart-card { padding: 16px; }
}

@media (max-width: 420px) {
  .sip-label-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sip-input-inline { max-width: 100%; width: 100%; }
  .sip-hero-stats { display: none; }
  .sip-container { padding: 0 16px; }
}
