/* RemitONE Growth Hub — shared stylesheet.
   Design system carried over unchanged from the SPI Landing Page project.
   No new colours, fonts, or component patterns. */

:root {
  --navy-darkest: #081322;
  --navy-dark:    #102540;
  --navy-mid:     #112C4B;
  --steel:        #798898;
  --gold:         #FAAD16;
  --gold-dark:    #E09A00;
  --grey-light:   #F0F0F0;
  --white:        #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.70);
  --text-muted:   rgba(255, 255, 255, 0.40);
  --divider:      rgba(255, 255, 255, 0.08);
  --section-padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 2rem);
  --container-max: 1140px;
  --border-radius-card: 12px;
  --gap-grid: 2rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background-color: #081322;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { line-height: 1.2; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

/* Page fade — one of the five approved micro-interactions (~200ms) */
body.gh-page {
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.gh-page.gh-page--in { opacity: 1; }

/* Buttons (unchanged from SPI) */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-primary { background: #FAAD16; color: #102540; }
.btn-primary:hover { background: #E09A00; }
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.spi-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}
.spi-text-link:hover { color: #FAAD16; border-bottom-color: #FAAD16; }

/* Header (unchanged from SPI) */
.spi-header {
  position: sticky; top: 0; z-index: 100;
  background: #102540;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 0.75rem clamp(1rem, 5vw, 2rem);
}
.spi-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; width: 100%;
}
.spi-header__logo { display: inline-flex; margin-left: -6px; }
.spi-header__logo img { height: 88px; width: auto; display: block; }
.gh-header-cta {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid rgba(250, 173, 22, 0.7);
  border-radius: 8px;
  color: #FAAD16;
  font-size: 0.9rem; font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gh-header-cta:hover { background: #FAAD16; border-color: #FAAD16; color: #102540; }

/* Hero (SPI hero band, typography-led, no illustrations) */
.spi-hero {
  background: linear-gradient(180deg, #081322 0%, #102540 100%);
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1rem, 5vw, 2rem) clamp(1.75rem, 4vw, 2.75rem);
}
.spi-eyebrow {
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FAAD16;
  margin-bottom: 0.5rem;
}
.spi-hero__heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900; line-height: 1.15;
  color: #ffffff; max-width: 820px;
  margin-bottom: 1rem;
}
.spi-gold { color: #FAAD16; }
.spi-hero__sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem; line-height: 1.55;
  font-weight: 500;
  max-width: 620px;
}

/* Hero split layout — copy on the left, snapshot form on the right */
.spi-hero--split .spi-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.spi-hero--split .spi-hero__heading { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
.gh-hero-form {
  gap: 0.4rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-top: 3px solid #FAAD16;
  background: rgba(255, 255, 255, 0.05);
}
.gh-hero-form__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.gh-hero-form__sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.gh-hero-form__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gh-hero-form .gh-field--left { align-items: flex-start; }
.gh-hero-form .gh-field--left .gh-input-error { text-align: left; }
.gh-hero-form .gh-input--compact {
  max-width: none;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  text-align: left;
}
.gh-hero-form__btn { width: 100%; margin-top: 0.25rem; }

/* Section heading shared (unchanged from SPI) */
.spi-section__heading {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700; color: #ffffff;
  margin-top: 0.25rem; margin-bottom: 2rem;
  line-height: 1.25;
}

/* Cards (unchanged base from SPI) */
.spi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.spi-card__title {
  font-size: 1.125rem; font-weight: 700;
  color: #ffffff; line-height: 1.3;
}
.spi-card__body {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.65;
}

/* Tool card grid on the hub */
.gh-tools { background: #112C4B; padding: var(--section-padding); }
.gh-tools__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-grid);
}
.gh-tool-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gh-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border-color: rgba(250, 173, 22, 0.45);
}
.gh-tool-card--primary { border-top: 3px solid #FAAD16; }
.gh-tool-card__title {
  font-size: 1.35rem; font-weight: 700;
  color: #ffffff; line-height: 1.3;
}
.gh-tool-card__list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.gh-tool-card__list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 1rem; color: rgba(255, 255, 255, 0.85);
}
.gh-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FAAD16; flex-shrink: 0;
}
.gh-tool-card__support {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.50);
}
.gh-tool-card__cta { margin-top: auto; align-self: flex-start; }

/* Coming Soon cards — muted, non-clickable, same shape */
.gh-card--soon {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.gh-soon-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FAAD16;
  background: rgba(250, 173, 22, 0.12);
  border: 1px solid rgba(250, 173, 22, 0.45);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

/* Tool pages — question screens */
.gh-tool { background: #081322; padding: var(--section-padding); }
.gh-tool__panel { max-width: 640px; margin: 0 auto; text-align: center; }

/* Info section beneath the Revenue Snapshot form */
.gh-info {
  max-width: 1000px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  text-align: center;
}
#whats-included { scroll-margin-top: 120px; }
.gh-info__heading { margin-bottom: 0.75rem; }
.gh-info__intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.gh-info__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-grid);
  text-align: left;
}
.gh-info-card { border-top: 3px solid #FAAD16; }
.gh-info-card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(250, 173, 22, 0.10);
  color: #FAAD16;
  flex-shrink: 0;
}
.gh-info-card__icon svg { width: 22px; height: 22px; }
.gh-info-card .gh-tool-card__list li { align-items: flex-start; }
.gh-info-card .gh-dot { margin-top: 0.5em; }
.gh-info-card__toggle {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FAAD16;
  padding: 0.35rem 0;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.gh-info-card__toggle::-webkit-details-marker { display: none; }
.gh-info-card__toggle:hover { text-decoration: underline; }
.gh-info-card__toggle:focus-visible {
  outline: 2px solid #FAAD16;
  outline-offset: 3px;
  border-radius: 4px;
}
.gh-info-card__chevron {
  width: 0.55em; height: 0.55em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.gh-info-card__details[open] .gh-info-card__chevron {
  transform: rotate(225deg) translateY(-2px);
}
.gh-info-card__more {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding-top: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.65;
}
.gh-info-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: -0.35rem;
}
.gh-info-card__list--cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.25rem;
}
.gh-info-card__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.gh-step-counter {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 1rem;
  text-align: left;
}
.gh-question {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}
.gh-helper {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.70);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.gh-input {
  width: 100%;
  max-width: 420px;
  padding: 1.1rem 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  outline: none;
}
.gh-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.gh-input:focus {
  border-color: #FAAD16;
  background: rgba(255, 255, 255, 0.10);
}
.gh-input-row {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem;
}

/* Chips (composed from the SPI pill pattern; ≥44px tap targets) */
.gh-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.75rem;
}
.gh-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: rgba(250, 173, 22, 0.08);
  border: 1px solid rgba(250, 173, 22, 0.45);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}
.gh-chip:hover, .gh-chip:focus-visible {
  background: rgba(250, 173, 22, 0.16);
  border-color: #FAAD16;
}

/* Results — vertical executive summary */
.gh-result { background: #081322; padding: var(--section-padding); }
.gh-result__inner { max-width: 760px; margin: 0 auto; }
.gh-hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 0.75rem;
  text-align: center;
}
.gh-hero-number {
  font-size: clamp(3rem, 9vw, 4.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
}
.gh-context {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.70);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.gh-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1rem;
}
.gh-recalc-row { text-align: center; margin-top: 0.75rem; }
.gh-recalc {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  cursor: pointer;
}
.gh-recalc:hover, .gh-recalc:focus-visible { color: #FAAD16; }
.gh-input-error {
  font-size: 0.9rem;
  color: #FAAD16;
  text-align: center;
  margin: 0.25rem 0 0;
}
.gh-back {
  display: inline-block;
  margin-top: 1.5rem;
  background: none;
  border: none;
  padding: 0.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.gh-back:hover, .gh-back:focus-visible { color: #FAAD16; }
.gh-chip[aria-pressed="true"] {
  background: rgba(250, 173, 22, 0.25);
  border-color: #FAAD16;
}
.gh-separator {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: clamp(2.5rem, 6vw, 4rem) 0;
}
.gh-opportunity__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.gh-opportunity__figure {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 900;
  color: #FAAD16;
  margin-bottom: 0.75rem;
}
.gh-opportunity__figure span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 0.25rem;
}
.gh-opportunity__context {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 1.5rem;
}

/* Revenue Model disclosure (composed from the SPI FAQ disclosure pattern) */
.gh-disclosure {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.gh-disclosure__toggle {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  text-align: left;
  transition: background 0.2s ease;
}
.gh-disclosure__toggle:hover { background: rgba(255, 255, 255, 0.04); }
.gh-disclosure__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
  color: #FAAD16;
}
.gh-disclosure__toggle[aria-expanded="true"] .gh-disclosure__chevron {
  transform: rotate(180deg);
}
.gh-disclosure__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease-out;
}
.gh-disclosure__body.is-open { grid-template-rows: 1fr; }
.gh-disclosure__content { overflow: hidden; }
.gh-disclosure__content-inner { padding: 0 1.25rem 1.25rem; }

/* Calculation table */
.gh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.gh-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gh-table td {
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.80);
  vertical-align: top;
}
.gh-table td:last-child { color: #ffffff; font-weight: 500; white-space: nowrap; }
.gh-table tr:last-child td {
  border-bottom: none;
  color: #FAAD16;
  font-weight: 700;
}
.gh-table tr:last-child td:first-child { color: #ffffff; }
.gh-assumptions-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.50);
}

/* Cross-sell prompt — calm, lower weight */
.gh-crosssell { text-align: center; }
.gh-crosssell__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.gh-crosssell__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 1.25rem;
}

/* Primary CTA block */
.gh-cta-block { text-align: center; }
.gh-cta-block__leadin {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

/* Recommendation card + proof point + trust block */
.gh-reco-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #FAAD16;
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
}
.gh-reco-card__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}
.gh-reco-card__list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.gh-reco-card__list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}
.gh-reco-card__list .gh-dot { margin-top: 0.55rem; }
.gh-reco-card__timeline {
  font-size: 0.9rem;
  font-weight: 500;
  color: #FAAD16;
}
.gh-proof {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
}
.gh-trust {
  text-align: left;
}
.gh-trust__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.gh-trust__body {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.65;
}

/* Calendly (centred intro) */
.spi-calendly { background: #081322; padding: var(--section-padding); }
.spi-calendly .container { text-align: center; }
.spi-calendly__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.80);
  max-width: 540px; line-height: 1.65;
  margin: 0 auto 2rem;
}
.spi-calendly__fallback {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.spi-calendly__fallback a { color: #FAAD16; }

/* Footer (unchanged from SPI, plus About block) */
.gh-about {
  max-width: 1140px;
  margin: 0 auto 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gh-about__title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 0.5rem;
}
.gh-about__body {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.65;
}
.gh-about__body + .gh-about__body { margin-top: 0.75rem; }
.spi-footer {
  background: #081322;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem clamp(1rem, 5vw, 2rem);
}
.spi-footer__inner {
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: 1140px; margin: 0 auto; width: 100%;
}
.spi-footer__logo img { height: 64px; width: auto; opacity: 0.8; }
.spi-footer__links { display: flex; gap: 1.5rem; }
.spi-footer__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.50);
  transition: color 0.2s ease;
}
.spi-footer__links a:hover { color: rgba(255, 255, 255, 0.80); }
.spi-footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.50);
}

/* Utility */
.gh-hidden { display: none; }
.gh-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Input fields (two-field form: company name + active customers) */
.gh-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.gh-field__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Currency toggle on the results dashboard */
.gh-currency-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.gh-currency-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.gh-currency-btn {
  min-height: 44px;
  padding: 0.45rem 1.15rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.60);
  transition: background 0.2s ease, color 0.2s ease;
}
.gh-currency-btn:hover, .gh-currency-btn:focus-visible { color: #ffffff; }
.gh-currency-btn[aria-pressed="true"] {
  background: #FAAD16;
  color: #102540;
}

/* Results dashboard — two-column top section */
.gh-result__inner--wide { max-width: 1040px; }
.gh-dash {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.gh-dash-main {
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2.5rem 2rem;
}
.gh-dash-main .gh-hero-label { margin-bottom: 0; }
.gh-dash-main .gh-hero-number { margin-bottom: 0.25rem; overflow-wrap: anywhere; }
.gh-dash-main__based {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}
.gh-dash-main__note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.gh-dash-summary { gap: 0.75rem; }
.gh-dash-summary__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}
.gh-summary-list { display: flex; flex-direction: column; }
.gh-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gh-summary-row:last-child { border-bottom: none; }
.gh-summary-row dt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.gh-summary-row dd {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Calculation model boxes */
.gh-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.gh-calc-box { gap: 0.75rem; }
.gh-calc-box__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
.gh-calc-box__context {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.70);
}
.gh-formula {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
}
.gh-calc-box .gh-assumptions-note { margin-top: 0; }

/* Highlighted CTA panel */
.gh-cta-panel {
  background: rgba(250, 173, 22, 0.08);
  border: 1px solid rgba(250, 173, 22, 0.45);
  border-radius: 12px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin: 2rem 0 1.5rem;
}
.gh-cta-panel__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.gh-cta-panel__body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.gh-cta-panel__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.gh-cta-panel__error { margin-top: 1rem; }

/* Educational cards on the results screen — visually secondary */
.gh-info--results { margin-bottom: 2.5rem; }
.gh-info--results .gh-info__heading { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
.gh-info--results .gh-info__intro { font-size: 1rem; color: rgba(255, 255, 255, 0.70); }

/* Calculating/loading modal */
.gh-loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 19, 34, 0.82);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.gh-loading.is-visible { display: flex; }
.gh-loading__card {
  background: #102540;
  border: 1px solid rgba(250, 173, 22, 0.45);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  padding: clamp(2rem, 5vw, 2.75rem);
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.gh-loading__spinner {
  width: 44px; height: 44px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 4px solid rgba(250, 173, 22, 0.20);
  border-top-color: #FAAD16;
  animation: gh-spin 0.9s linear infinite;
}
@keyframes gh-spin { to { transform: rotate(360deg); } }
.gh-loading__title {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.65rem;
}
.gh-loading__body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.gh-loading__note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
@media (prefers-reduced-motion: reduce) {
  .gh-loading__spinner { animation-duration: 2s; }
}

/* Hide the input screen instantly when arriving with hero-form query params,
   so there is no flash before the auto-generated results appear. */
html.gh-autorun #input-screen { display: none; }

/* Cross-sell text link — low weight */
.gh-crosssell-link {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: 2rem;
}
.gh-crosssell-link .spi-text-link { margin-left: 0.35rem; }

/* Bottom navigation — lower-weight links */
.gh-bottom-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.gh-bottom-nav a.gh-recalc { text-decoration: underline; }

/* Mobile */
/* Hero split collapses below tablet width — text first, form below */
@media (max-width: 900px) {
  .spi-hero--split .spi-hero__grid { grid-template-columns: 1fr; }
  .gh-hero-form { width: 100%; }
  .gh-info__grid { grid-template-columns: 1fr; }
  .gh-about { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .gh-info-card__list--cols { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .spi-header { padding: 0.5rem clamp(1rem, 5vw, 2rem); }
  .spi-header__logo img { height: 68px; }
  .gh-header-cta { display: none; }
  .gh-tools__grid { grid-template-columns: 1fr; }
  .gh-currency-row { justify-content: center; }
  .gh-tool-card__cta { align-self: stretch; }
  .gh-cta-block .btn, .gh-crosssell .btn { width: 100%; }
  .gh-hero-number { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .gh-dash { grid-template-columns: 1fr; }
  .gh-calc-grid { grid-template-columns: 1fr; }
  .gh-cta-panel .btn, .gh-pdf-btn { width: 100%; }
  .gh-table { font-size: 0.82rem; }
  .gh-table td:last-child { white-space: normal; }
  .gh-bottom-nav { flex-direction: column; align-items: center; gap: 1rem; }
  .spi-footer__inner {
    flex-direction: column; align-items: center;
    text-align: center; gap: 1rem;
  }
}

/* Reduced motion — substitute instant state changes */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.gh-page { opacity: 1; transition: none; }
  .btn, .gh-tool-card,
  .gh-disclosure__toggle, .gh-disclosure__chevron, .gh-disclosure__body {
    transition: none;
  }
  .gh-tool-card:hover { transform: none; }
}

