/* NextGo IQ — static marketing site */

:root {
  --navy: #082344;
  --blue: #007bc7;
  --blue-text: #005f9e;
  --orange: #ff7900;
  --orange-text: #c25700;
  --cloud: #f4f7fa;
  --white: #ffffff;
  --night: #082344;
  --night-raised: #0c2f5c;
  --cream: #f4f7fa;
  --cream-deep: #e7eef5;
  --paper: #ffffff;
  --ink: #082344;
  --ink-soft: #1a3a5c;
  --muted: #314e6b;
  --copper: #c25700;
  --copper-bright: #ff7900;
  --line: rgba(8, 35, 68, 0.14);
  --serif: "Montserrat", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --header: 4.5rem;
  color-scheme: light;
}

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

html {
  scroll-padding-top: var(--header);
  overflow-anchor: none;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h3 {
  font-weight: 600;
}

p {
  margin: 0 0 0.85rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--night);
  outline-offset: 3px;
}

.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.calc-band :focus-visible {
  outline-color: var(--white);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 80;
  border-radius: 0 0 0.6rem 0.6rem;
  font-weight: 600;
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Keep the live region in the viewport so announcements do not scroll the page. */
#calc-live {
  position: fixed;
  top: 0;
  left: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(1120px, calc(100% - 3rem));
  }
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.section {
  padding: 4.25rem 0;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  max-width: 18em;
  margin-bottom: 0.75rem;
}

.lede,
.section-intro {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

section[id],
article[id] {
  scroll-margin-top: 5.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}

.button-primary,
.button-dark {
  background: var(--orange);
  color: var(--navy);
}

.button-primary:hover,
.button-dark:hover {
  background: #e56e00;
  color: var(--navy);
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.site-nav a.button,
.site-nav a.button:hover,
.site-footer a.button,
.site-footer a.button:hover {
  color: var(--navy);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--night);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header);
  flex-wrap: wrap;
}

.logo {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
}

.logo:hover {
  opacity: 0.92;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.18);
}

.lang-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--white);
  min-width: 44px;
  min-height: 36px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
}

html[lang="en"] .lang-btn[data-set-lang="en"],
html[lang="es"] .lang-btn[data-set-lang="es"] {
  background: var(--cream);
  color: var(--night);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: var(--white);
  font-weight: 600;
}

.nav-toggle-icon {
  width: 1rem;
  height: 0.72rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.nav-toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid currentColor;
}

.nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: inline;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-basis: 100%;
  order: 5;
  padding-bottom: 0.85rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 0.15rem;
  white-space: nowrap;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  color: var(--white);
}

.site-nav a.button,
.site-nav a.button:hover {
  color: var(--night);
  text-decoration: none;
}

.site-nav a.button {
  margin-top: 0.35rem;
  align-self: flex-start;
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

html.js .nav-toggle {
  display: inline-flex;
}

html.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-basis: auto;
  order: 0;
  background: #0c2f5c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.35rem 1.15rem 1rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

html.js .site-nav.is-open {
  display: flex;
}

@media (min-width: 720px) {
  .logo img {
    height: 46px;
  }
}

@media (max-width: 420px) {
  .logo img {
    height: 32px;
  }

  .header-inner {
    gap: 0.4rem;
  }

  .lang-btn {
    min-width: 40px;
  }

  .nav-toggle {
    padding-inline: 0.65rem;
  }

  .nav-toggle-open,
  .nav-toggle-close {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .logo {
    margin-right: 0;
  }

  .site-nav {
    flex-direction: row;
    align-items: center;
    gap: 1.05rem;
    flex-basis: auto;
    order: 0;
    margin-left: auto;
    padding-bottom: 0;
  }

  .site-nav a {
    padding: 0.35rem 0;
  }

  .site-nav a.button {
    margin-top: 0;
    margin-left: 0.35rem;
    padding: 0.75rem 1.5rem;
  }

  html.js .nav-toggle {
    display: none;
  }

  html.js .site-nav,
  html.js .site-nav.is-open {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
  }
}

/* Hero */

.hero {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(224, 122, 61, 0.24), transparent 58%),
    radial-gradient(700px 420px at -10% 110%, rgba(62, 143, 114, 0.28), transparent 55%),
    var(--night);
  color: var(--white);
  padding: 2.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--copper-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.15vw, 3.15rem);
  max-width: none;
  color: var(--white);
  min-height: 2.4em;
}

.hero-line {
  display: block;
}

.hero-line.accent {
  color: var(--orange);
}

.hero .lede {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 36rem;
  min-height: 4.5em;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.35rem;
}

.hero-points li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  color: #ffffff;
  font-size: 0.875rem;
  white-space: nowrap;
}

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

.hero-note {
  margin-top: 1rem;
  color: #ffffff;
  min-height: 3em;
}

.call-card {
  background: rgba(255, 253, 248, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.25rem;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.call-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.call-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-bright);
}

.call-status {
  margin: 0;
  color: #d7f3e6;
  font-weight: 600;
  font-size: 0.92rem;
}

.call-status .dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: #7ddec0;
  vertical-align: 0.05em;
}

.call-disclaimer {
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.caller-quote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.call-outcomes {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.call-outcomes div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.call-outcomes dt {
  font-weight: 600;
}

.call-outcomes dd {
  margin: 0.15rem 0 0;
  color: #ffffff;
}

@media (min-width: 900px) {
  .hero {
    padding: 4rem 0 4.75rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: start;
  }

  .hero-points {
    flex-wrap: nowrap;
  }

  .hero-line {
    white-space: nowrap;
  }
}

/* Trade strip */

.trade-strip {
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
}

.trade-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  list-style: none;
  padding: 0.95rem 0;
  margin: 0;
}

.trade-strip a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.trade-strip a:hover {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Steps, features, trades */

.step-list,
.feature-list,
.trade-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.step-list {
  display: grid;
  gap: 0.9rem;
}

.step,
.trade-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.15rem 1.15rem 1.25rem;
  height: 100%;
}

.step-num {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--copper);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.step h3,
.trade-card h3,
.feature-list h3 {
  font-size: 1.35rem;
}

.step p,
.trade-card p,
.feature-list p {
  margin-top: 0.45rem;
  color: var(--ink-soft);
}

.band-deep {
  background: var(--cream-deep);
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.feature-icon {
  color: var(--copper);
  margin-top: 0.15rem;
}

.feature-icon svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.trade-list {
  display: grid;
  gap: 0.9rem;
}

.trade-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.caller-line {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (min-width: 700px) {
  .trade-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .step-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

@media (min-width: 1040px) {
  .section {
    padding: 5.5rem 0;
  }

  .trade-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Calculator */

.calc-band {
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(224, 122, 61, 0.18), transparent 60%),
    var(--night);
  color: var(--white);
}

.calc-band .kicker {
  color: var(--copper-bright);
}

.calc-band .section-title,
.calc-band h2 {
  color: var(--white);
}

.calc-band .section-intro,
.calc-band .estimate-note,
.calc-figure-label {
  color: #ffffff;
}

.calc-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.calc-fields {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.hint {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3.1rem;
  padding: 0 0.85rem;
  background: var(--paper);
  border: 1.5px solid #cbbfae;
  border-radius: 0.85rem;
}

.control:focus-within {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(240, 163, 106, 0.45);
}

.control input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.75rem 0;
}

.control input:focus,
.control input:focus-visible {
  outline: none;
}

.affix {
  color: var(--ink-soft);
  font-weight: 700;
}

.calc-actions {
  margin-top: 0.25rem;
}

.calc-result {
  background: var(--night-raised);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  padding: 1.15rem;
}

.calc-figures {
  display: grid;
  gap: 1rem;
}

.calc-figure-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.calc-figures output {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--copper-bright);
  line-height: 1.1;
}

.calc-formula {
  margin-top: 1rem;
  font-weight: 600;
}

.calc-status {
  min-height: 1.4em;
  margin-top: 0.7rem;
}

.calc-status.is-error {
  color: #ffd7cc;
  font-weight: 700;
}

.estimate-note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .calc-figures {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
  }
}

/* Pricing and contact */

.price-card,
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--copper);
  border-radius: 1.25rem;
  padding: 1.4rem 1.25rem 1.45rem;
}

.price-card {
  max-width: 40rem;
  margin-top: 1.25rem;
}

.pilot-offer {
  font-size: 1.15rem;
  font-weight: 600;
  max-width: 36rem;
}

.price-sentence {
  margin: 0.8rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.email-link,
.button.email-link,
.button.email-link:hover {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.phone-slot {
  border: 1.5px dashed rgba(26, 23, 20, 0.38);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 253, 248, 0.45);
}

.phone-slot h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.phone-slot p {
  color: var(--ink-soft);
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .contact-panel,
  .phone-slot {
    height: 100%;
  }
}

/* Footer */

.site-footer {
  background: var(--night);
  color: #ffffff;
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.site-footer .logo {
  display: inline-block;
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: var(--white);
  overflow-wrap: anywhere;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal {
  margin-top: 0.4rem;
  color: var(--white);
  font-weight: 600;
}

.fine-print {
  color: #ffffff;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

/* 404 and noscript */

.page-404 {
  padding: 4.5rem 0 5.5rem;
  min-height: 50vh;
}

.page-404 h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 14ch;
  margin-bottom: 0.75rem;
}

.noscript-note {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
  background: #f4f7fa;
  border: 1px solid #082344;
  border-radius: 0.8rem;
  color: var(--ink);
}

@media print {
  .site-nav,
  .nav-toggle,
  .lang-switch,
  .hero-actions,
  .calc-actions {
    display: none !important;
  }

  .site-header,
  .hero,
  .calc-band,
  .site-footer {
    position: static;
    background: white !important;
    color: black !important;
  }

  .hero,
  .calc-band,
  .site-footer,
  .call-card,
  .logo,
  .logo-iq {
    color: black !important;
  }

  a {
    color: black !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.timeline {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.timeline li {
  position: relative;
  padding-left: 4.25rem;
}

.timeline-num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.375rem - 1px);
  top: 2.75rem;
  bottom: -1.75rem;
  width: 2px;
  background: var(--blue);
}

.timeline h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  text-wrap: balance;
}

.timeline p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.trial-band {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.2rem 1.35rem;
  border-radius: 1rem;
  background: var(--navy);
  color: var(--white);
}

.trial-band p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 1rem;
  line-height: 1.5;
}

.trial-band .button {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 860px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .timeline li {
    padding-left: 0;
    padding-top: 3.7rem;
  }

  .timeline-num {
    top: 0;
  }

  .timeline li:not(:last-child)::before {
    left: 2.75rem;
    top: calc(1.375rem - 1px);
    bottom: auto;
    width: calc(100% - 1.25rem);
    height: 2px;
  }
}

.trust-note {
  margin-top: 1.15rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--copper);
}

.plan-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.1rem;
}

.plan {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1rem 1.1rem;
}

.plan h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-price {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.plan p {
  margin: 0;
  color: var(--ink-soft);
}

.trade-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.85rem;
}

.trade-chip {
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.trade-chip[aria-pressed="true"] {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--navy);
}

.field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.field-head label {
  margin-bottom: 0;
}

.readout {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--copper-bright);
}

.slider {
  width: 100%;
  margin: 0.35rem 0 0.15rem;
  accent-color: #ff7900;
  height: 2.4rem;
  cursor: pointer;
}

.trade-hint {
  display: none;
  margin: 0.35rem 0 0;
}

.trade-hint.is-visible {
  display: block;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.legal-page {
  padding: 3.5rem 0 4.5rem;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 1.4rem 0 0.4rem;
}

@media (min-width: 700px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Language visibility stays last so it wins over component display rules. */
html[lang="es"] .lang-en {
  display: none !important;
}

html:not([lang="es"]) .lang-es {
  display: none !important;
}
