*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --bg: #F7F6F2; --surface: #FFFFFF; --surface2: #F0EFE9;
    --text: #1A1916; --muted: #6B6860; --accent: #1B4FD8;
    --accent2: #1440B3; --green: #047857; --green-light: #ECFDF5;
    --gold: #92400E; --border: #E5E3DC;
  }
  body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
  header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 2rem; height: 60px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
  .logo { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--accent); text-decoration: none; letter-spacing: -0.5px; }
  .logo em { font-style: italic; }
  .nav-links { display: flex; gap: 1.25rem; align-items: center; }
  .nav-links a { font-size: 13px; text-decoration: none; color: var(--muted); font-weight: 500; }
  .nav-links a:hover { color: var(--accent); }
  @media (max-width: 520px) { .nav-links a:not(.nav-home) { display: none; } }
  .hero { background: linear-gradient(135deg, #047857, #059669); padding: 2.5rem 2rem; text-align: center; color: white; }
  .hero-eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
  .hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 700; line-height: 1.15; margin-bottom: 0.5rem; }
  .hero h1 em { font-style: italic; }
  .hero p { font-size: 14px; color: rgba(255,255,255,0.82); font-weight: 300; max-width: 480px; margin: 0 auto; }
  main { flex: 1; max-width: 720px; margin: 0 auto; width: 100%; padding: 2rem 1.5rem; }
  .calc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.75rem; margin-bottom: 1.5rem; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  @media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
  .field { margin-bottom: 0.25rem; }
  .field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
  .input-wrap { position: relative; }
  .input-wrap .prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
  .input-wrap .suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
  input[type="number"], select { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; font-size: 15px; font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); outline: none; transition: border-color 0.2s; }
  input[type="number"]:focus { border-color: var(--accent); background: white; }
  input[type="number"].has-prefix { padding-left: 28px; }
  input[type="number"].has-suffix { padding-right: 40px; }
  input[type="range"] { width: 100%; margin-top: 0.5rem; accent-color: var(--green); }
  .range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }
  .results-card { background: linear-gradient(135deg, #047857, #059669); border-radius: 20px; padding: 1.75rem; margin-bottom: 1.5rem; color: white; display: none; }
  .results-card.show { display: block; animation: fadeUp 0.4s ease; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .result-main { text-align: center; margin-bottom: 1.25rem; }
  .result-main .lbl { font-size: 12px; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
  .result-main .val { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 8vw, 3.5rem); font-weight: 700; line-height: 1; }
  .result-main .sub { font-size: 13px; opacity: 0.75; margin-top: 0.25rem; }
  .result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  @media (max-width: 400px) { .result-grid { grid-template-columns: 1fr; } }
  .r-item { background: rgba(255,255,255,0.15); border-radius: 12px; padding: 0.75rem; text-align: center; }
  .r-item .r-lbl { font-size: 10px; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
  .r-item .r-val { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
  .progress-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem; display: none; }
  .progress-card.show { display: block; }
  .progress-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 0.5rem; }
  .progress-bar { height: 12px; background: var(--surface2); border-radius: 100px; overflow: hidden; }
  .progress-fill { height: 100%; background: var(--green); border-radius: 100px; transition: width 0.6s ease; }
  .ad-block { background: #f9f9f9; border: 1px dashed #ddd; border-radius: 12px; text-align: center; font-size: 11px; color: var(--muted); margin-bottom: 1.5rem; min-height: 260px; display: flex; align-items: center; justify-content: center; }
  .content h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 400; margin: 1.75rem 0 0.75rem; }
  .content p { font-size: 14px; color: #2C2B28; margin-bottom: 1rem; line-height: 1.7; }
  .content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
  .faq { margin: 2rem 0; }
  .faq h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 400; margin-bottom: 1rem; }
  .faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
  .faq-item h3 { font-size: 14px; font-weight: 600; margin-bottom: 0.4rem; }
  .faq-item p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
  .related-box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem; }
  .related-box h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 1rem; }
  .related-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .related-links a { padding: 0.5rem 1rem; background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--text); }
  .related-links a:hover { border-color: var(--accent); color: var(--accent); }
  footer { background: var(--surface); border-top: 1px solid var(--border); padding: 1.5rem 2rem; text-align: center; font-size: 12px; color: var(--muted); }
  footer a { color: var(--accent); text-decoration: underline; }
  .affiliate-box{background:linear-gradient(135deg,#1a3c5e,#2563a8);color:white;border-radius:16px;padding:1.5rem;margin:1.5rem 0;text-align:center}
  .affiliate-box h3{font-size:15px;font-weight:600;margin-bottom:.4rem}
  .affiliate-box p{font-size:13px;opacity:.85;margin-bottom:1rem;line-height:1.5}
  .affiliate-btn{display:inline-block;background:white;color:#1a3c5e;padding:.7rem 1.5rem;border-radius:10px;font-weight:600;font-size:14px;text-decoration:none}
