/* ================================================================
   IRONMARGIN — clean B2B marketing site
   White + light-grey sections, navy headings, orange CTAs,
   Montserrat headings / Lato body, soft card shadows.
   ================================================================ */

:root {
  --navy-900: #142838;
  --navy-800: #1b3a57;
  --navy-700: #24486a;
  --ink: #1f3347;
  --text: #4a5d70;
  --muted: #7b8a99;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;
  --border: #e1e8ee;
  --orange: #e8611c;
  --orange-dark: #cf4f0f;
  --orange-tint: #fdf1ea;
  --green: #27a567;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(20, 40, 56, 0.08);
  --shadow-md: 0 4px 16px rgba(20, 40, 56, 0.1);
  --shadow-lg: 0 12px 32px rgba(20, 40, 56, 0.14);
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 800px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; }

::selection { background: var(--orange); color: #fff; }

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(20, 40, 56, 0.05);
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-800);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark em { font-style: normal; color: var(--orange); }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  background: var(--orange);
  padding: 0.85rem 1.9rem;
  border: 2px solid var(--orange);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-small { font-size: 0.9rem; padding: 0.55rem 1.2rem; }
.btn-big { font-size: 1.1rem; padding: 1.05rem 2.4rem; }
.btn-outline {
  background: #fff;
  color: var(--navy-800);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--navy-800);
}
.btn-white:hover { background: var(--bg-alt); border-color: var(--bg-alt); }

/* ================= HERO ================= */
.hero {
  background: linear-gradient(180deg, #f2f7fb 0%, #fbfdfe 100%);
  padding: clamp(3.5rem, 9vh, 6.5rem) 0 clamp(6rem, 12vh, 8rem);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-tint);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 850px;
  margin: 0 auto;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
  max-width: 720px;
  margin: 1.5rem auto 2.25rem;
  font-size: 1.2rem;
  color: var(--text);
}
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.proof {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.proof strong { color: var(--ink); }

/* stats card overlapping hero bottom */
.hero-stats {
  max-width: 1040px;
  margin: -4.25rem auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.stat {
  padding: 1.9rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.15;
}
.stat-label { display: block; margin-top: 0.45rem; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .hero-stats { grid-template-columns: 1fr 1fr; margin-left: 1.25rem; margin-right: 1.25rem; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ================= SECTIONS ================= */
.section { padding: clamp(4rem, 9vh, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 3.25rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.section-head h2 em { font-style: normal; color: var(--orange); }
.section-sub { margin-top: 1.1rem; font-size: 1.1rem; color: var(--text); }

/* ================= PROBLEM LIST ================= */
.leak-list { list-style: none; max-width: 920px; margin: 0 auto; }
.leak {
  display: grid;
  grid-template-columns: 56px 1fr 150px;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.leak:last-child { border-bottom: none; }
.leak-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leak h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; }
.leak p { font-size: 1rem; }
.leak-cost {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.2rem;
}
.leak-cost strong {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}
.leak-cost small { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 760px) {
  .leak { grid-template-columns: 44px 1fr; }
  .leak-cost { grid-column: 2; justify-self: start; text-align: left; flex-direction: row; align-items: baseline; gap: 0.6rem; }
}

/* calculator pointer band */
.leak-cta {
  max-width: 920px;
  margin: 3rem auto 0;
  background: var(--orange-tint);
  border: 1px solid #f5d9c6;
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.leak-cta p { color: var(--ink); font-size: 1rem; max-width: 520px; }
.leak-cta-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.text-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ================= SOLUTION CARDS ================= */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.sol {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.sol:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sol-wide { grid-column: 1 / -1; }
.sol .check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e7f6ef;
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.sol h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.7rem; }
.sol p { font-size: 0.98rem; }
@media (max-width: 760px) { .sol-grid { grid-template-columns: 1fr; } }

/* ================= REBATES ================= */
.rebate-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.rebate-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 1.2rem;
}
.rebate-copy h2 em { font-style: normal; color: var(--orange); }
.rebate-copy p { margin-bottom: 1.1rem; }
@media (max-width: 860px) { .rebate-cols { grid-template-columns: 1fr; gap: 2.25rem; } }

.calc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem 2.25rem;
}
.calc-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.calc-row:last-child { border-bottom: none; }
.calc-label { color: var(--text); }
.calc-val { font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.calc-val.pos { color: var(--green); }
.calc-total { background: #f0faf5; margin: 0.5rem -2.25rem -2rem; padding: 1.1rem 2.25rem 1.3rem; border-radius: 0 0 var(--radius) var(--radius); }
.calc-total .calc-val { color: var(--green); font-size: 1.15rem; }

.rebate-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}
.cat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.4rem;
}
.cat-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.cat h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.cat p { font-size: 0.87rem; color: var(--muted); line-height: 1.55; }
.rebate-why { max-width: 780px; margin: 2.75rem auto 0; text-align: center; font-size: 0.98rem; color: var(--text); }

/* ================= PRICING ================= */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.tier-featured {
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow-lg);
}
.tier-flag {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.32rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-head h3 { font-size: 1.4rem; font-weight: 800; }
.tier-tag { color: var(--muted); font-size: 0.92rem; margin: 0.5rem 0 1.3rem; min-height: 2.7em; }
.price {
  font-family: var(--font-head);
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
}
.price small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.price-launch { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.price-launch s { color: var(--muted); }
.tier-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.tier-list li {
  font-size: 0.93rem;
  padding-left: 1.7rem;
  position: relative;
}
.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}
.tier .btn { text-align: center; }
.tier-note { font-size: 0.78rem; color: var(--muted); text-align: center; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 480px; } }

.tier-compare {
  max-width: 820px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--text);
}
.tier-compare strong { color: var(--ink); }

/* ================= FOUNDER ================= */
.founder-body p { margin-bottom: 1.35rem; font-size: 1.05rem; }
.founder-pull {
  border-left: 4px solid var(--orange);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.9rem;
  color: var(--ink);
  font-size: 1.05rem;
}

/* ================= FAQ ================= */
.obj {
  max-width: 800px;
  margin: 0 auto 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.obj summary {
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 3.4rem 1.3rem 1.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  position: relative;
}
.obj summary::-webkit-details-marker { display: none; }
.obj summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.obj[open] summary::after { content: "−"; }
.obj summary:hover { color: var(--orange); }
.obj p { padding: 0 1.75rem 1.5rem; font-size: 0.98rem; }

/* ================= FINAL CTA ================= */
.final {
  background: var(--navy-800);
  padding: clamp(4.5rem, 10vh, 7rem) 0;
  text-align: center;
}
.final-inner { max-width: 760px; margin: 0 auto; }
.final h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.final h2 em { font-style: normal; color: #ffb38a; }
.final p { color: #c3d2df; margin-bottom: 1.2rem; font-size: 1.02rem; }
.final-punch { color: #fff !important; font-weight: 700; font-size: 1.15rem !important; margin: 1.8rem 0 2.2rem !important; }
.final-fine { font-size: 0.85rem; color: #8fa6b8 !important; margin-top: 1.4rem; }

/* ================= FOOTER ================= */
.footer { background: var(--navy-900); padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer .wordmark { color: #fff; }
.foot-tag { color: #8fa6b8; font-size: 0.92rem; margin-top: 0.6rem; max-width: 280px; }
.foot-col h5 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6d8499;
  margin-bottom: 1rem;
}
.foot-col a {
  display: block;
  color: #c3d2df;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}
.foot-col a:hover { color: #fff; }
.foot-legal {
  grid-column: 1 / -1;
  border-top: 1px solid #24425c;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #6d8499;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ================= REVEAL ANIMATION ================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
