
:root {
  --lake: #6E89A8;
  --forest: #5D7257;
  --sage: #AAB8A3;
  --earth: #8A6E56;
  --sand: #D9D0C3;
  --chocolate: #3A322C;
  --cream: #F8F5EF;
  --white: #FFFFFF;
  --ink-soft: rgba(58,50,44,.74);
  --shadow: 0 24px 70px rgba(58,50,44,.13);
  --shadow-soft: 0 14px 42px rgba(58,50,44,.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--chocolate);
  font-family: "Source Sans Pro", "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 4%, rgba(170,184,163,.44), transparent 27rem),
    radial-gradient(circle at 90% 10%, rgba(110,137,168,.20), transparent 31rem),
    linear-gradient(180deg, #fbf8f2 0%, #f4eee5 100%);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.page { overflow: hidden; }
.container { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }
.muted { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--forest); font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; font-size: 12px;
}
.eyebrow:before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
h1, h2, h3 {
  margin: 0;
  font-family: "Avenir Next", Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.035em; line-height: .98;
}
h1 { font-size: clamp(52px, 7vw, 96px); color: var(--chocolate); }
h2 { font-size: clamp(38px, 5vw, 66px); color: var(--lake); }
h3 { font-size: 24px; color: var(--chocolate); line-height: 1.08; }
p { margin: 0; }
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248,245,239,.88); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(58,50,44,.10);
}
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 260px; }
.brand-mark { width: 48px; height: 48px; border-radius: 18px; background: linear-gradient(135deg, var(--lake), var(--forest)); box-shadow: var(--shadow-soft); position: relative; }
.brand-mark:after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.68); border-radius: 11px; }
.brand-title { display: grid; gap: 2px; font-family: "Avenir Next", Montserrat, system-ui, sans-serif; }
.brand-title strong { font-size: 18px; letter-spacing: -.03em; }
.brand-title span { font-size: 12px; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; color: rgba(58,50,44,.78); }
.nav-links a { position: relative; }
.nav-links a.active:after, .nav-links a:hover:after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; border-radius: 999px; background: var(--forest); }
.nav-cta { min-width: 154px; display: flex; justify-content: flex-end; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: 0 16px 34px rgba(93,114,87,.24); }
.btn-secondary { background: #fff; color: var(--chocolate); border-color: rgba(58,50,44,.13); }
.hero { position: relative; padding: 74px 0 58px; }
.hero:before {
  content: ""; position: absolute; left: -9vw; top: 30px; width: 520px; height: 520px;
  border-radius: 50%; border: 1px solid rgba(110,137,168,.18);
  box-shadow: inset 0 0 0 42px rgba(217,208,195,.22); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: .94fr 1.06fr; gap: 50px; align-items: center; }
.hero-copy { padding: 24px 0; }
.hero-copy h1 { margin-top: 22px; max-width: 760px; }
.hero-copy .lead { margin-top: 28px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: rgba(58,50,44,.78); max-width: 700px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-card { position: relative; border-radius: var(--radius-xl); background: rgba(255,255,255,.58); box-shadow: var(--shadow); padding: 16px; isolation: isolate; }
.hero-card:before { content: ""; position: absolute; inset: -18px -18px 26px 36px; background: var(--sand); border-radius: var(--radius-xl); z-index: -1; }
.hero-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: 28px; }
.hero-note { position: absolute; left: -28px; bottom: 30px; width: min(350px, 68%); background: #fff; border-radius: 22px; box-shadow: var(--shadow-soft); padding: 20px; border-left: 5px solid var(--forest); }
.hero-note strong { display: block; font-family: Merriweather, Georgia, serif; font-style: italic; color: var(--earth); line-height: 1.28; }
.hero-note span { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-soft); }
.trust-strip { position: relative; margin: -12px auto 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { background: rgba(255,255,255,.70); border: 1px solid rgba(58,50,44,.10); border-radius: 18px; padding: 18px; box-shadow: 0 12px 30px rgba(58,50,44,.06); }
.trust-item strong { display: block; font-size: 18px; color: var(--forest); }
.trust-item span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft); }
.section { padding: 82px 0; }
.section-tight { padding: 58px 0; }
.section-head { display: grid; grid-template-columns: .72fr 1fr; gap: 44px; align-items: end; margin-bottom: 34px; }
.section-head p { font-size: 19px; color: var(--ink-soft); }
.calculator-shell {
  background: rgba(255,255,255,.76); border: 1px solid rgba(58,50,44,.10);
  border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 18px;
}
.calculator-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.notice-card { background: #fff; border-radius: 22px; border: 1px solid rgba(58,50,44,.10); padding: 22px; }
.notice-card strong { color: var(--forest); display: block; margin-bottom: 8px; }
.embed-frame {
  overflow: hidden; border-radius: 28px; background: #fff;
  border: 1px solid rgba(58,50,44,.12); min-height: 1200px;
}
.embed-frame iframe { display: block; width: 100%; min-height: 1200px; border: 0; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { background: rgba(255,255,255,.78); border: 1px solid rgba(58,50,44,.10); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-soft); }
.info-card .num { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items:center; justify-content:center; background: var(--sand); color: var(--forest); font-weight: 900; margin-bottom: 18px; }
.info-card p { margin-top: 12px; color: var(--ink-soft); }
.deep-panel { border-radius: var(--radius-xl); background: var(--chocolate); color: #fff; padding: clamp(38px, 6vw, 72px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.deep-panel:after { content: ""; position: absolute; right: -100px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(110,137,168,.16); }
.deep-panel h2 { color: #fff; max-width: 760px; }
.deep-panel p { color: rgba(255,255,255,.78); font-size: 18px; margin-top: 18px; max-width: 850px; }
.deep-list { margin-top: 28px; display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; position: relative; z-index: 1; }
.deep-list div { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.cta-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; background: rgba(255,255,255,.76); border: 1px solid rgba(58,50,44,.10); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 34px; }
.cta-panel h2 { color: var(--chocolate); }
.cta-actions { display:flex; justify-content:flex-end; gap:12px; flex-wrap:wrap; }
.disclaimer { background: rgba(217,208,195,.38); border-top: 1px solid rgba(58,50,44,.10); padding: 28px 0; font-size: 13px; color: rgba(58,50,44,.70); }
.footer { background: var(--chocolate); color: rgba(255,255,255,.82); padding: 44px 0; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.footer strong { color: #fff; font-size: 18px; }
.footer p { margin-top: 8px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.footer-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); }
@media (max-width: 980px) {
  .container { width: min(100% - 36px, var(--max)); }
  .nav { min-height: auto; padding: 18px 0; align-items: flex-start; }
  .nav-links { display: none; }
  .brand { min-width: 0; }
  .hero-grid, .section-head, .calculator-intro, .cta-panel, .footer-grid { grid-template-columns: 1fr; }
  .hero-note { position: relative; left: auto; bottom: auto; width: auto; margin: -20px 18px 0; }
  .trust-strip, .cards-grid, .deep-list { grid-template-columns: 1fr; }
  .cta-actions, .footer-links { justify-content: flex-start; }
}
@media (max-width: 620px) {
  h1 { font-size: 48px; }
  .nav-cta { display: none; }
  .hero { padding-top: 42px; }
  .section { padding: 58px 0; }
  .calculator-shell { padding: 10px; }
  .embed-frame, .embed-frame iframe { min-height: 1260px; }
}


/* Universal header repair - keeps desktop clean and prevents split-screen squish */
.nav { gap: 34px; }
.nav-links { flex: 1 1 auto; min-width: 0; gap: 18px; font-size: 13px; }
.nav-cta.nav-actions { min-width: 294px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex: 0 0 auto; }
.nav-cta.nav-actions .btn { min-height: 44px; padding: 0 20px; }
.btn-call { background:#fff; color:var(--forest); border:1px solid rgba(58,50,44,.14); box-shadow:none; }
@media (max-width: 1240px) { .nav-links { display:none; } }
@media (max-width: 720px) { .nav { gap: 16px; } .nav-cta.nav-actions { display:none; } }

/* Exact calculator embed restore */
.embed-frame { min-height: 1200px !important; background: #fff !important; }
.embed-frame iframe { width: 100% !important; min-height: 1200px !important; border: 0 !important; display: block !important; }

/* Bottom CTA spacing */
.cta-actions { gap: 24px !important; align-items: center; }
.cta-actions .btn { min-width: 164px; }

/* Universal footer component */
.site-footer {
  background: #3A322C;
  color: #F7F3EB;
  padding: 48px 24px 24px;
  font-size: 14px;
  line-height: 1.55;
}
.site-footer a { color: #F7F3EB; text-decoration: underline; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.6fr;
  gap: 36px;
  align-items: start;
}
.site-footer h2 {
  font-family: "Avenir Next", Montserrat, system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 12px;
}
.site-footer p { margin: 0 0 12px; color: rgba(247,243,235,.86); }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-logos { margin-top: 18px; }
.footer-bottom {
  max-width: 1180px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 36px 20px 22px; }
}


/* Calculator stable launch card - prevents broken local iframe display */
.calculator-launch-card {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,245,239,.92));
  border: 1px solid rgba(58,50,44,.12);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.calculator-launch-card h3 { font-size: clamp(28px, 4vw, 44px); color: var(--chocolate); max-width: 720px; }
.calculator-launch-card p { margin-top: 14px; color: var(--ink-soft); font-size: 18px; max-width: 760px; }
.launch-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.embed-testing-note { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 900px) { .calculator-launch-card { grid-template-columns: 1fr; } .launch-actions { justify-content: flex-start; } }




@media (max-width: 720px) {
  html, body, .page { overflow-x: hidden !important; }
  .container { width: min(100% - 32px, var(--max)) !important; max-width: 100% !important; }
  .hero { padding-top: 38px !important; }
  .hero-grid { gap: 24px !important; }
  .hero-card { min-height: auto !important; padding-bottom: 18px !important; }
  .hero-image-frame { width: 100% !important; max-width: 360px !important; margin: 0 auto !important; }
  .hero-note { position: relative !important; left: auto !important; bottom: auto !important; width: auto !important; max-width: calc(100% - 16px) !important; margin: -34px auto 0 !important; }
  .calculator-shell, .calculator-launch-card, .cta-panel { max-width: 100% !important; overflow: hidden !important; }
  .launch-actions { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
  .launch-actions .btn { width: 100% !important; }
}
