:root {
  --paper: #F4F7FC;
  --paper-card: #FFFFFF;
  --paper-dim: #E6EDF6;
  --peach: #FFF4E8;
  --ink: #202530;
  --ink-soft: #555E70;
  --ink-muted: #848D9E;
  
  --amber: #FF8A1E;
  --amber-deep: #E86F00;
  --amber-light: #FFB366;
  --amber-soft: #FFEAD4;
  --amber-gradient: linear-gradient(135deg, #FF952B 0%, #E86F00 100%);
  
  --green: #27A656;
  --green-soft: #E8F7EC;
  --line: rgba(32, 37, 48, 0.08);
  --line-strong: rgba(32, 37, 48, 0.16);
  --shadow-sm: 0 4px 12px rgba(32, 37, 48, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(32, 37, 48, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(232, 111, 0, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Baloo 2', cursive, sans-serif;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: var(--paper-card);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brandmark {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.brandmark .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 138, 30, 0.6);
}

.topbar .meta-badge {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--paper-dim);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  padding: 48px 0 32px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--amber-soft);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  border: 1px solid rgba(232, 111, 0, 0.15);
}

.hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-deep);
  background: linear-gradient(135deg, #FF8A1E 0%, #E86F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stat {
  background: var(--paper-card);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hero-stat b {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--amber-deep);
  line-height: 1;
}

.hero-stat span {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF4E8 100%);
  border: 2px solid var(--amber-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.badge-highlight {
  display: inline-block;
  background: var(--amber-gradient);
  color: #FFF;
  font-family: 'Baloo 2', sans-serif;
  font-size: 28px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 20px rgba(232, 111, 0, 0.3);
  margin-bottom: 16px;
}

.visual-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  text-align: left;
}

.v-feat {
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
}

.v-feat::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.calc-shell {
  margin: 16px auto 40px;
}

.calc-card {
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px 28px;
}

.calc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.calc-top h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}

.calc-top p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.toggle {
  display: inline-flex;
  background: var(--paper-dim);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}

.toggle button {
  border: none;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}

.toggle button.active {
  background: var(--amber-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(232, 111, 0, 0.3);
}

.amount-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 8px;
}

.amount-display .num {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.amount-display .unit {
  font-size: 22px;
  font-weight: 800;
  color: var(--amber-deep);
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber) var(--fill, 50%), var(--paper-dim) var(--fill, 50%), var(--paper-dim) 100%);
  margin: 20px 0 8px;
  cursor: pointer;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber);
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 2px var(--amber), 0 8px 18px rgba(232, 111, 0, 0.4);
  cursor: grab;
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

input[type=range]::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber);
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 2px var(--amber), 0 8px 18px rgba(232, 111, 0, 0.4);
  cursor: grab;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.calc-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.fact {
  background: var(--paper-dim);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--line);
}

.fact .label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.fact .val {
  font-family: 'Baloo 2', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.fact .val.ok {
  color: var(--green);
}

.calc-note {
  font-size: 13.5px;
  color: var(--ink);
  background: var(--amber-soft);
  border-left: 4px solid var(--amber);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: 600;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--amber-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 54px -10px rgba(232, 111, 0, 0.4);
}

.cta-btn .arrow {
  font-size: 22px;
  transition: transform 0.25s ease;
}

.cta-btn:hover .arrow {
  transform: translateX(6px);
}

.cta-sub {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 12px;
  font-weight: 500;
}

.disclosure-section {
  background: #FFFFFF;
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

.disclosure-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclosure-section h2::before {
  content: "ℹ";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-size: 16px;
  font-family: sans-serif;
}

.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.disc-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.disc-card .disc-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-deep);
  margin-bottom: 6px;
}

.disc-card .disc-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.disc-card .disc-value.highlight-rrso {
  font-family: 'Baloo 2', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--amber-deep);
}

.rep-example-box {
  background: var(--peach);
  border: 1px solid rgba(232, 111, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 16px;
}

.rep-example-box h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--amber-deep);
}

.rep-example-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 500;
}

.trust-badges-section {
  background: var(--paper-dim);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 40px 0;
}

.trust-badges-header {
  text-align: center;
  margin-bottom: 24px;
}

.trust-badges-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.trust-badges-header p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

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

.badge-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.badge-link:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.badge-icon {
  font-family: 'Baloo 2', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--amber-deep);
  background: var(--amber-soft);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.badge-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.badge-desc {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.badge-ext-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-deep);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-ext-link::after {
  content: "↗";
  font-size: 13px;
}

.how {
  padding: 48px 0;
}

.how h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.how-sub {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 36px;
}

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

.step {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step .n {
  font-family: 'Baloo 2', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--amber-deep);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

.faq {
  padding: 32px 0 60px;
}

.faq h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.faq-list {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

details:last-child {
  border-bottom: none;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 16.5px;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

summary .plus {
  font-size: 24px;
  color: var(--amber);
  transition: transform 0.25s ease;
  font-weight: 400;
}

details[open] summary .plus {
  transform: rotate(45deg);
}

details p {
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

footer {
  background: var(--ink);
  color: #B0B7C6;
  padding: 40px 0 32px;
  font-size: 12.5px;
  line-height: 1.7;
}

footer a {
  color: var(--amber);
  text-decoration: underline;
}

footer a:hover {
  color: #FFFFFF;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-brand {
  font-family: 'Baloo 2', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}

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

.footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
}

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

.footer-text {
  max-width: 960px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .disclosure-grid {
    grid-template-columns: 1fr;
  }
  .badges-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .calc-facts {
    grid-template-columns: 1fr 1fr;
  }
  .calc-card {
    padding: 24px 20px 20px;
  }
  .topbar .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 440px) {
  .wrap {
    padding: 0 14px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .calc-facts {
    grid-template-columns: 1fr;
  }
  .toggle {
    width: 100%;
  }
  .toggle button {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .cta-btn {
    padding: 16px 18px;
    font-size: 16px;
  }
  .disclosure-section {
    padding: 20px 16px;
  }
  .rep-example-box {
    padding: 16px;
  }
}
