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

:root {
  --navy: #1a2b45;
  --navy-dark: #111e30;
  --blue: #2f5496;
  --accent: #c8972b;
  --gray-light: #f4f5f7;
  --gray-mid: #e2e4e8;
  --gray-text: #6b7280;
  --white: #ffffff;
  --body-text: #2d3748;
  /* Monospace stack for calculated figures — signals "engineered, not guessed". */
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--body-text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

/* ── Header & Nav ── */

header {
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

nav a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: #c9d3e0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}

nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

nav a.active {
  color: var(--white);
  border-bottom: 2px solid var(--accent);
}

/* ── Language toggle ── */

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  margin-left: 1.5rem;
  font-size: 0.78rem;
  font-family: inherit;
  letter-spacing: 0.06em;
  color: #8899aa;
  transition: border-color 0.15s;
}

.lang-toggle:hover {
  border-color: rgba(255,255,255,0.5);
}

.lang-toggle .divider {
  color: #4a5568;
}

.lang-toggle span[data-lang] {
  color: #8899aa;
  transition: color 0.15s;
}

.lang-toggle span[data-lang].active {
  color: var(--accent);
  font-weight: 600;
}

/* ── Dropdown ── */

nav li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background: var(--white);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  min-width: 160px;
  z-index: 200;
}

nav li:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.1rem;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--gray-mid);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--gray-light);
  color: var(--blue);
}

/* ── Page content ── */

main {
  min-height: calc(100vh - 68px - 56px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container.narrow {
  max-width: 760px;
}

/* ── Sections ── */

.section {
  padding: 4rem 0;
}

/* ── Founder profile ── */

.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.founder-media {
  display: flex;
  flex-direction: column;
}

.founder-profile {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(26,43,69,0.16);
}

.founder-name {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.founder-role {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.founder-body h2 {
  margin-top: 0;
}

@media (max-width: 640px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .founder-media {
    max-width: 220px;
  }
}

.section-alt {
  background: var(--gray-light);
}

.section h2 {
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section p {
  font-size: 1.05rem;
  color: var(--body-text);
}

.section-lead {
  color: var(--gray-text);
  margin-bottom: 2rem;
  max-width: 640px;
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: #b07f1f;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-mid);
}

.btn-secondary:hover {
  border-color: var(--navy);
}

/* ── Hero ── */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
  border-bottom: 3px solid var(--accent);
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: #c9d3e0;
  max-width: 680px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.hero .btn-secondary:hover {
  border-color: var(--white);
}

/* ── Stats strip ── */

.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  padding: 2.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-n {
  display: block;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.05;
}

.stat-l {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--gray-text);
}

/* ── FAQ accordion ── */

.faq {
  margin-top: 1.75rem;
}

.faq details {
  border-bottom: 1px solid var(--gray-mid);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1.2rem;
  max-width: 640px;
  font-size: 0.98rem;
  color: var(--gray-text);
}

/* ── Steps ── */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: none;
}

.step {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--accent);
  border-radius: 3px;
  padding: 1.75rem 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--gray-text);
}

/* ── Proof grid ── */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proof-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 3px;
  padding: 1.75rem 1.5rem;
}

.proof-card h3 {
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.proof-card p {
  font-size: 0.95rem;
  color: var(--gray-text);
}

/* ── "What this covers" list ── */

.covers-label {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue) !important;
}

.covers-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.covers-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.02rem;
  color: var(--body-text);
}

.covers-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
}

.covers-list strong {
  color: var(--navy);
}

/* ── Small print note ── */

.note-small {
  margin-top: 1.5rem;
  font-size: 0.88rem !important;
  color: var(--gray-text) !important;
  border-left: 2px solid var(--gray-mid);
  padding-left: 0.9rem;
}

/* ── Timeline ── */

.timeline {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.timeline li {
  padding-left: 1.4rem;
  border-left: 3px solid var(--accent);
}

.timeline-date {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.timeline p {
  font-size: 0.98rem !important;
  color: var(--gray-text) !important;
}

/* ── Contact form ── */

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
  margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--body-text);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 3px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.contact-form .btn {
  justify-self: start;
}

.form-reassure {
  font-size: 0.85rem !important;
  color: var(--gray-text) !important;
  margin-top: -0.25rem;
}

/* ── Direct contact details ── */

.contact-details {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-details li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 1.02rem;
}

.cd-label {
  flex: 0 0 110px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-details a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
  transition: border-color 0.15s;
}

.contact-details a:hover {
  border-color: var(--blue);
}

/* ── Closing band: dual CTA ── */

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-band .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.cta-band .btn-secondary:hover {
  border-color: var(--white);
}

/* ── Testimonial ── */

.testimonial {
  border-left: 4px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.75rem;
}

.testimonial blockquote {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.testimonial figcaption {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--gray-text);
}

/* ── Lead magnet ── */

.magnet {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-left: 4px solid var(--accent);
  border-radius: 3px;
  padding: 2.5rem;
}

.magnet-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.magnet-form input {
  flex: 1 1 240px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--gray-mid);
  border-radius: 3px;
}

.magnet-form input:focus {
  outline: none;
  border-color: var(--blue);
}

/* ── Closing CTA band ── */

.cta-band {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: #c9d3e0;
  margin-bottom: 1.75rem;
}

/* ── Hamburger button (mobile only) ── */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.75rem;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ── */

@media (max-width: 720px) {
  .hero h1 { font-size: 1.9rem; }
  .steps, .proof-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Show hamburger, hide nav by default */
  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 71px; /* header height + accent border */
    left: 0;
    right: 0;
    background: var(--navy-dark);
    border-bottom: 3px solid var(--accent);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
    z-index: 99;
  }

  nav.is-open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li {
    width: 100%;
  }

  nav a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  nav a.active {
    border-bottom: none;
    background: rgba(255,255,255,0.06);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-bottom: none;
    border-left: 3px solid var(--accent);
    margin-left: 1.5rem;
    background: transparent;
    display: block; /* always visible when parent nav is open */
    min-width: unset;
  }

  .dropdown-menu a {
    color: #c9d3e0;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-bottom: none;
  }

  .dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--white);
  }

  .lang-toggle {
    margin: 0.75rem 1.5rem 0;
    align-self: flex-start;
  }

  /* Sections */
  .section { padding: 2.75rem 0; }
  .hero { padding: 3.5rem 0; }
  .cta-band { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .stats-band { padding: 2rem 0; }

  .magnet { padding: 1.75rem 1.25rem; }
  .hero-sub { font-size: 1rem; }
  .cta-band h2 { font-size: 1.5rem; }
  .testimonial blockquote { font-size: 1.15rem; }

  .contact-details li { flex-direction: column; gap: 0.2rem; }
  .cd-label { flex: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-n { font-size: 1.8rem; }
  .section h2 { font-size: 1.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

/* ── Footer ── */

footer {
  background: var(--navy-dark);
  color: #8899aa;
  font-size: 0.82rem;
  text-align: center;
  padding: 1rem 2rem;
}

footer a {
  color: #8899aa;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

footer a:hover {
  color: #c9d3e0;
  border-bottom-color: #c9d3e0;
}

.footer-sep {
  margin: 0 0.5rem;
  color: #4a5568;
}

/* ── Cookie consent banner ── */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 1000;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--body-text);
  margin: 0;
  flex: 1 1 280px;
}

.cookie-text a {
  color: var(--blue);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ── Form success / error states ── */

.form-wrap .form-success,
.form-wrap .form-error {
  margin-top: 1.5rem;
}

.form-success-title {
  font-size: 1.2rem !important;
  font-weight: 700;
  color: var(--navy) !important;
  margin-bottom: 0.5rem;
}

.form-success .btn {
  margin-top: 1rem;
}

.form-error-text {
  font-size: 0.95rem !important;
  color: #b3261e !important;
}

/* ── Legal / text pages ── */

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.legal p {
  max-width: 720px;
}

.legal .legal-intro {
  font-size: 1.1rem;
  color: var(--gray-text);
}

.legal .legal-note {
  margin-top: 2.5rem;
  font-size: 0.85rem !important;
  color: var(--gray-text) !important;
  border-left: 2px solid var(--gray-mid);
  padding-left: 0.9rem;
}

.legal ul {
  max-width: 720px;
  margin: 0.75rem 0 0.75rem 1.5rem;
  line-height: 1.7;
}

.legal ul li {
  margin-bottom: 0.4rem;
}

.legal .legal-meta {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--gray-text);
}

/* ── 404 ── */

.notfound {
  text-align: center;
  padding: 5rem 0;
}

.notfound .nf-code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.notfound h1 {
  font-size: 1.8rem;
  color: var(--navy);
  margin: 1rem 0 0.75rem;
}

.notfound p {
  color: var(--gray-text);
  margin-bottom: 1.75rem;
}

/* ════════════════════════════════════════════════════════════
   Packaging-savings calculator (calculadora.html)
   Conforms to the site palette (navy + gold accent). Leans on the
   existing dark-navy hero so the handoff from the partner pop-up
   feels continuous; figures are monospace to read as "calculated".
   ════════════════════════════════════════════════════════════ */

/* Minimal header variant for the landing page */
.header-inner--minimal {
  justify-content: space-between;
}

.header-tag {
  color: #8899aa;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 540px) {
  .header-tag { display: none; }
}

/* ── The stage: dark, with a subtle radial glow (continuous with the pop-up) ── */
.calc-stage {
  position: relative;
  background: var(--navy-dark);
  border-bottom: 3px solid var(--accent);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.calc-stage::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  width: 900px;
  height: 900px;
  max-width: 140vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(47,84,150,0.38) 0%, rgba(47,84,150,0) 62%);
  pointer-events: none;
  z-index: 0;
}

.calc-stage-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.calc-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.calc-h1 {
  font-size: 2.4rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}

.calc-sub {
  font-size: 1.12rem;
  line-height: 1.55;
  color: #c9d3e0;
  max-width: 620px;
  margin-bottom: 2.25rem;
}

/* ── The payoff: live euro range ── */
.calc-result {
  margin-bottom: 2rem;
}

.calc-result-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8899aa;
  margin-bottom: 0.6rem;
}

.calc-range {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0;
}

.calc-num {
  font-family: var(--mono);
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.calc-dash {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--accent);
  line-height: 1;
}

.calc-result-foot {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: #8899aa;
  max-width: 520px;
}

/* ── Email gate: figure blurred until a valid email is entered ── */
.calc-range {
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.calc-result.is-locked .calc-range {
  filter: blur(14px);
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
}

.calc-gate {
  margin-top: 1.4rem;
  max-width: 520px;
}

.calc-result:not(.is-locked) .calc-gate {
  display: none;
}

.calc-gate-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.85rem;
}

.calc-gate-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.calc-gate-form input {
  flex: 1 1 220px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--body-text);
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
}

.calc-gate-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,151,43,0.25);
}

.calc-gate-note {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: #8899aa;
}

.calc-unlocked .calc-sent {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── The calculator card: hairline-bordered, dark inset ── */
.calc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.75rem;
  display: grid;
  gap: 1.75rem;
}

.calc-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.calc-field label {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
}

.calc-hint {
  font-weight: 400;
  font-size: 0.82rem;
  color: #8899aa;
  letter-spacing: 0.01em;
}

.calc-field-val {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Range sliders */
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  outline: none;
  cursor: pointer;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--navy-dark);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: pointer;
  transition: transform 0.12s;
}

.calc-field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--navy-dark);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: pointer;
}

.calc-field input[type="range"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(200,151,43,0.35);
}

/* Stepper */
.calc-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.calc-step {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: #c9d3e0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  padding: 0.75rem 0;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.calc-step:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.calc-step.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-dark);
}

.calc-step:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,151,43,0.35);
}

/* ── Open-loop copy ── */
.calc-loop {
  font-size: 1.15rem !important;
  line-height: 1.6;
  color: var(--navy) !important;
  font-weight: 500;
}

/* ── Credibility block ── */
.calc-cred {
  border-left: 4px solid var(--accent);
  padding-left: 1.75rem;
}

.calc-cred-lead {
  font-size: 1.3rem !important;
  line-height: 1.4;
  font-weight: 700;
  color: var(--navy) !important;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.calc-cred-body {
  font-size: 1.02rem !important;
  color: var(--gray-text) !important;
  max-width: 640px;
}

/* ── Email capture + call CTA ── */
.calc-capture-title {
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  max-width: 560px;
}

.calc-capture-sub {
  font-size: 1.02rem !important;
  color: var(--gray-text) !important;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.calc-email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 560px;
}

.calc-email-form input {
  flex: 1 1 260px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--body-text);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 3px;
}

.calc-email-form input:focus {
  outline: none;
  border-color: var(--blue);
}

.calc-cta-row {
  margin-top: 1.25rem;
}

/* Inactive "call" button — present but unavailable */
.btn-soon {
  position: relative;
  cursor: not-allowed;
  opacity: 0.55;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-soon:hover {
  border-color: var(--gray-mid);
}

.calc-soon {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  border: 1px solid var(--gray-mid);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}

/* ── Footer PPWR soft line ── */
.calc-ppwr {
  color: #8899aa;
}

/* ── Staggered fade-in on load ── */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: calcFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0) * 90ms);
}

@keyframes calcFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .calc-h1 { font-size: 1.85rem; }
  .calc-stage { padding: 3.5rem 0 3rem; }
  .calc-card { padding: 1.35rem; }
  .calc-email-form input { flex-basis: 100%; }
}

