:root {
  --ink: #0d1b1e;
  --ink-soft: #263c40;
  --forest: #0d5b4c;
  --teal: #28a99e;
  --gold: #f5b942;
  --gold-strong: #d99a15;
  --paper: #f7faf8;
  --line: #dde8e4;
  --muted: #647477;
  --white: #ffffff;
}

* {
  letter-spacing: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--forest);
  text-decoration: none;
}

a:hover {
  color: var(--gold-strong);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
}

.btn-warning {
  border-color: var(--gold);
  background: var(--gold);
  color: #241500;
}

.btn-warning:hover {
  border-color: #ffc95e;
  background: #ffc95e;
  color: #241500;
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.btn:focus,
.btn:active:focus,
.nav-link:focus,
.form-control:focus,
.form-select:focus,
.accordion-button:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(40, 169, 158, 0.24);
}

.site-navbar {
  min-height: 76px;
  background: rgba(8, 27, 30, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-navbar.is-scrolled {
  background: rgba(8, 27, 30, 0.96);
  box-shadow: 0 10px 30px rgba(8, 27, 30, 0.2);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.navbar-brand:hover,
.footer-brand:hover {
  color: var(--white);
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.25rem;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.77rem;
}

.site-navbar .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
  padding: 0.65rem 0.75rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--gold);
}

.nav-cta {
  padding: 0.62rem 1rem;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.28);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem;
  box-shadow: 0 18px 45px rgba(13, 27, 30, 0.12);
}

.dropdown-item {
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
}

.dropdown-item:hover {
  background: #eff7f3;
  color: var(--forest);
}

.hero-shell {
  background: var(--ink);
}

.hero-slide,
.page-hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(8, 27, 30, 0.93), rgba(8, 27, 30, 0.78), rgba(8, 27, 30, 0.42)),
    url("/images/fx-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-slide {
  min-height: 74vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 6rem;
}

.hero-slide-three {
  background-image:
    linear-gradient(90deg, rgba(8, 27, 30, 0.94), rgba(13, 91, 76, 0.72), rgba(8, 27, 30, 0.42)),
    url("/images/fx-hero.png");
}

.hero-slide-four {
  background-image:
    linear-gradient(90deg, rgba(8, 27, 30, 0.94), rgba(22, 58, 71, 0.74), rgba(8, 27, 30, 0.44)),
    url("/images/fx-hero.png");
}

.hero-slide-five {
  background-image:
    linear-gradient(90deg, rgba(8, 27, 30, 0.95), rgba(94, 62, 14, 0.7), rgba(8, 27, 30, 0.4)),
    url("/images/fx-hero.png");
}

.hero-slide-six {
  background-image:
    linear-gradient(90deg, rgba(8, 27, 30, 0.95), rgba(45, 61, 80, 0.74), rgba(8, 27, 30, 0.44)),
    url("/images/fx-hero.png");
}

.hero-slide-investment,
.investment-hero {
  background-image:
    linear-gradient(90deg, rgba(8, 27, 30, 0.95), rgba(15, 73, 50, 0.82), rgba(145, 98, 20, 0.42)),
    url("/images/fx-hero.png");
}

.hero-content {
  max-width: 760px;
}

.hero-content h1,
.page-hero h1 {
  max-width: 860px;
  margin: 0.8rem 0 1.2rem;
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 900;
}

.hero-content p,
.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.75;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.carousel-indicators {
  bottom: 1.6rem;
}

.carousel-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.55);
}

.carousel-control-prev,
.carousel-control-next {
  width: 7%;
}

.rate-strip {
  position: relative;
  z-index: 2;
  margin-top: -2.8rem;
}

.rate-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(13, 27, 30, 0.14);
}

.rate-pill {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rate-pill span,
.rate-pill small {
  color: var(--muted);
  font-weight: 800;
}

.rate-pill strong {
  color: var(--ink);
  font-size: 1rem;
}

.section-pad {
  padding: 6rem 0;
}

.alt-band {
  background: #edf5f1;
}

.investment-band {
  background:
    radial-gradient(circle at 82% 22%, rgba(245, 185, 66, 0.18), transparent 28%),
    linear-gradient(135deg, #0d1b1e 0%, #0d5b4c 54%, #172a2e 100%);
  color: var(--white);
}

.investment-band .section-title,
.investment-band .lead-copy {
  color: var(--white);
}

.investment-band .lead-copy,
.investment-band p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading h2,
.section-title {
  margin: 0.8rem 0 1rem;
  color: var(--ink);
  font-size: 2.4rem;
  line-height: 1.13;
  font-weight: 900;
}

.section-heading p,
.lead-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.service-card,
.value-card,
.process-step,
.rate-form,
.conversion-panel,
.chart-panel,
.contact-panel,
.enquiry-form,
.mission-panel {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(13, 27, 30, 0.08);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 255px;
  padding: 1.5rem;
}

.service-icon,
.value-card i {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #e8f7f3;
  color: var(--forest);
  font-size: 1.45rem;
}

.service-card h3,
.value-card h3,
.process-step h3 {
  margin: 0.5rem 0 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 850;
}

.service-card p,
.value-card p,
.process-step p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card a {
  margin-top: auto;
  font-weight: 800;
}

.feature-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(13, 27, 30, 0.18);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.floating-rate-panel {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.25rem;
  max-width: 290px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 27, 30, 0.82);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.floating-rate-panel span,
.floating-rate-panel small {
  color: rgba(255, 255, 255, 0.72);
}

.calculator-preview {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.calculator-preview div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.calculator-preview span {
  color: var(--muted);
  font-weight: 700;
}

.calculator-preview strong {
  text-align: right;
}

.investment-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.investment-metric-grid div {
  display: grid;
  gap: 0.25rem;
  min-height: 118px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.investment-metric-grid span,
.investment-metric-grid small {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 750;
}

.investment-metric-grid strong {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
}

.investment-showcase {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.growth-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: end;
  min-height: 220px;
  padding: 1.4rem;
  border-radius: 8px;
  background: rgba(8, 27, 30, 0.82);
}

.growth-card span {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
}

.growth-card strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1.14;
  font-weight: 900;
}

.mini-chart {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 160px;
}

.mini-chart i {
  display: block;
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--gold), #23b69c);
}

.mini-chart i:nth-child(1) { height: 42%; }
.mini-chart i:nth-child(2) { height: 58%; }
.mini-chart i:nth-child(3) { height: 49%; }
.mini-chart i:nth-child(4) { height: 72%; }
.mini-chart i:nth-child(5) { height: 83%; }
.mini-chart i:nth-child(6) { height: 100%; }

.investment-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.investment-area-grid div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.investment-area-grid i {
  color: var(--gold);
  font-size: 1.3rem;
}

.investment-area-grid span {
  color: var(--white);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  min-height: 220px;
  padding: 1.4rem;
  overflow: hidden;
}

.process-step span {
  color: var(--gold-strong);
  font-size: 2rem;
  font-weight: 900;
}

.page-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 10rem 0 4.5rem;
}

.compact-hero {
  min-height: 360px;
}

.customer-signup-hero {
  min-height: 260px;
  padding: 7.6rem 0 2.4rem;
}

.services-hero,
.rates-hero,
.compliance-hero {
  background-image:
    linear-gradient(90deg, rgba(8, 27, 30, 0.94), rgba(13, 91, 76, 0.72), rgba(8, 27, 30, 0.4)),
    url("/images/fx-hero.png");
}

.investment-summary-panel {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(245, 185, 66, 0.34);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(13, 27, 30, 0.18);
}

.investment-summary-panel > span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.investment-summary-panel > strong {
  display: block;
  margin: 0.35rem 0 0.75rem;
  color: var(--gold);
  font-size: 2.2rem;
  line-height: 1.08;
  font-weight: 900;
}

.investment-summary-panel p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.72;
}

.summary-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.summary-row i {
  color: var(--gold);
}

.why-invest-grid,
.investment-area-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.why-invest-grid div,
.investment-area-page-grid article,
.investment-product-card,
.compliance-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(13, 27, 30, 0.08);
}

.why-invest-grid div {
  display: grid;
  gap: 0.35rem;
  min-height: 154px;
  padding: 1.25rem;
}

.why-invest-grid i,
.investment-area-page-grid i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #e8f7f3;
  color: var(--forest);
  font-size: 1.3rem;
}

.why-invest-grid span {
  color: var(--ink);
  font-weight: 900;
}

.why-invest-grid small {
  color: var(--muted);
  line-height: 1.55;
}

.investment-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
}

.investment-product-card > span {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.investment-product-card h3 {
  margin: 0.55rem 0 0.75rem;
  color: var(--ink);
  font-weight: 900;
}

.investment-product-card p {
  color: var(--muted);
  line-height: 1.65;
}

.investment-product-card dl {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.45rem 0.75rem;
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.investment-product-card dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.investment-product-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.investment-area-page-grid article {
  min-height: 210px;
  padding: 1.35rem;
}

.investment-area-page-grid h3 {
  margin: 1rem 0 0.5rem;
  font-weight: 900;
}

.investment-area-page-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.compliance-note-band {
  background: var(--ink);
  color: var(--white);
}

.compliance-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.compliance-note i {
  color: var(--gold);
  font-size: 1.65rem;
}

.compliance-note h2 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
}

.compliance-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.mission-panel,
.contact-panel,
.enquiry-form,
.rate-form,
.conversion-panel,
.chart-panel,
.details-panel,
.submission-panel {
  padding: 1.5rem;
}

.chart-panel canvas {
  display: block;
  max-width: 100% !important;
}

.mission-panel h3 {
  font-weight: 900;
  color: var(--forest);
}

.mission-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.value-card {
  min-height: 220px;
  padding: 1.4rem;
}

.service-detail-grid {
  display: grid;
  gap: 1.4rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(13, 27, 30, 0.08);
}

.service-media {
  display: grid;
  min-height: 220px;
  place-items: center;
  border-radius: 8px;
  background-image:
    linear-gradient(135deg, rgba(8, 27, 30, 0.85), rgba(13, 91, 76, 0.58)),
    url("/images/fx-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--gold);
  font-size: 4rem;
}

.pickup-media {
  background-image:
    linear-gradient(135deg, rgba(8, 27, 30, 0.84), rgba(94, 62, 14, 0.58)),
    url("/images/fx-hero.png");
}

.account-media {
  background-image:
    linear-gradient(135deg, rgba(8, 27, 30, 0.84), rgba(22, 58, 71, 0.62)),
    url("/images/fx-hero.png");
}

.corporate-media {
  background-image:
    linear-gradient(135deg, rgba(8, 27, 30, 0.84), rgba(54, 73, 99, 0.62)),
    url("/images/fx-hero.png");
}

.service-detail span {
  color: var(--gold-strong);
  font-weight: 900;
}

.service-detail h2 {
  margin: 0.4rem 0 0.7rem;
  font-weight: 900;
}

.service-detail p,
.service-detail li {
  color: var(--muted);
  line-height: 1.75;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(13, 27, 30, 0.07);
}

.timeline-item span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--gold);
  font-weight: 900;
}

.timeline-item h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.timeline-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compliance-grid div {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(13, 27, 30, 0.07);
}

.compliance-grid i {
  color: var(--forest);
  font-size: 1.5rem;
}

.compliance-grid span {
  font-weight: 800;
}

.faq-accordion {
  display: grid;
  gap: 0.8rem;
}

.faq-accordion .accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(13, 27, 30, 0.06);
}

.faq-accordion .accordion-button {
  color: var(--ink);
  font-weight: 850;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #e8f7f3;
  color: var(--forest);
}

.rate-form h2,
.chart-panel h2 {
  font-size: 1.25rem;
  font-weight: 900;
}

.conversion-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.conversion-panel div {
  min-height: 112px;
  padding: 1.2rem;
  border-radius: 8px;
  background: #f0f8f4;
}

.conversion-panel span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-weight: 800;
}

.conversion-panel strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.28rem;
}

.conversion-panel p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.chart-note {
  color: var(--muted);
  font-weight: 700;
}

.rate-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(13, 27, 30, 0.08);
}

.rate-table {
  width: 100%;
  min-width: 760px;
  margin-bottom: 0;
}

.rate-list-shell {
  display: grid;
  gap: 1rem;
  min-width: 0;
  width: min(100%, 1040px);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.rate-list-shell > *,
[data-public-rate-list] {
  min-width: 0;
}

.rate-search-form {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.rate-search-form .form-control {
  max-width: 420px;
}

.rate-table thead th {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.currency-code {
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: #e8f7f3;
  color: var(--forest);
  font-weight: 900;
}

.positive-change {
  color: #127b50 !important;
  font-weight: 900;
}

.negative-change {
  color: #b0443f !important;
  font-weight: 900;
}

.contact-panel h2 {
  font-weight: 900;
}

.contact-panel p {
  color: var(--muted);
}

.contact-row {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.contact-row i {
  color: var(--forest);
  font-size: 1.2rem;
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: #cad9d5;
  border-radius: 8px;
}

textarea.form-control {
  min-height: 150px;
}

.auth-container {
  max-width: 540px;
}

.auth-container.wide {
  max-width: 920px;
}

.onboarding-container {
  max-width: 1120px;
}

.onboarding-note,
.rate-update-optin,
.submission-panel,
.details-panel,
.admin-form,
.admin-table-panel,
.upload-panel,
.admin-metric-card,
.admin-action-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(13, 27, 30, 0.08);
}

.admin-form {
  padding: 1.5rem;
}

.onboarding-note {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
}

.onboarding-note i {
  display: inline-grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #e8f7f3;
  color: var(--forest);
  font-size: 1.4rem;
}

.onboarding-note strong,
.onboarding-note span {
  display: block;
}

.onboarding-note span {
  color: var(--muted);
  line-height: 1.6;
}

.onboarding-form {
  display: grid;
  gap: 1.6rem;
}

.customer-signup-section {
  padding-top: 2rem;
}

.compact-signup-form {
  gap: 1.15rem;
}

.compact-signup-form textarea.form-control {
  min-height: 104px;
}

.onboarding-section {
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.onboarding-section-heading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.onboarding-section-heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--gold);
  font-weight: 900;
}

.onboarding-section-heading h2,
.details-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 900;
}

.onboarding-section-heading p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.verification-callout {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(13, 91, 76, 0.2);
  border-radius: 8px;
  background: #f0f8f4;
}

.verification-callout span,
.verification-callout strong {
  display: block;
}

.verification-callout span {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.verification-callout strong {
  color: var(--ink);
  font-weight: 850;
}

.document-guidance {
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink-soft);
  font-weight: 750;
}

.rate-update-optin {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #f8fbf9;
}

.rate-update-optin strong,
.rate-update-optin span {
  display: block;
}

.rate-update-optin span {
  color: var(--muted);
  line-height: 1.55;
}

.submission-panel {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
}

.submission-panel i {
  color: var(--forest);
  font-size: 3rem;
}

.submission-panel span {
  color: var(--muted);
  font-weight: 800;
}

.submission-panel strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 900;
}

.submission-panel p {
  color: var(--muted);
}

.details-panel {
  height: 100%;
}

.details-panel h2 {
  margin-bottom: 1rem;
}

.details-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.78rem 0;
  border-top: 1px solid var(--line);
}

.details-row span {
  color: var(--muted);
  font-weight: 800;
}

.details-row strong {
  min-width: 0;
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.review-panel {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.review-panel p {
  margin: 0;
  color: var(--muted);
}

.review-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: min(100%, 430px);
}

.review-controls .form-select {
  min-width: 210px;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.document-card {
  display: grid;
  gap: 0.45rem;
  min-height: 190px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.document-card i {
  color: var(--forest);
  font-size: 1.45rem;
}

.document-card span {
  color: var(--muted);
  font-weight: 800;
}

.document-card strong {
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.document-card small {
  color: var(--muted);
}

.document-card .btn {
  align-self: end;
  justify-self: start;
}

.admin-metric-grid,
.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.admin-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-metric-card {
  display: grid;
  gap: 0.35rem;
  min-height: 135px;
  padding: 1.25rem;
}

.admin-metric-card span,
.admin-action-card span {
  color: var(--muted);
  font-weight: 750;
}

.admin-metric-card strong {
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 900;
}

.admin-action-card {
  display: grid;
  gap: 0.6rem;
  min-height: 190px;
  padding: 1.35rem;
  color: var(--ink);
}

.admin-action-card:hover {
  transform: translateY(-2px);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(13, 27, 30, 0.12);
}

.admin-action-card i {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #e8f7f3;
  color: var(--forest);
  font-size: 1.45rem;
}

.admin-action-card strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-search-form,
.admin-toolbar-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.admin-search-form {
  flex: 1 1 auto;
  max-width: 760px;
}

.admin-search-form .form-control {
  min-width: 230px;
}

.upload-panel {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.upload-panel h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.upload-panel p {
  margin: 0;
  color: var(--muted);
}

.admin-table-panel {
  overflow: hidden;
}

.admin-table-panel table {
  min-width: 860px;
  margin-bottom: 0;
}

.admin-table-panel thead th {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.pagination-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.pagination-row span {
  flex: 1 1 auto;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.pagination-row .btn {
  flex: 0 0 112px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.status-badge.success {
  background: #e8f7f3;
  color: #127b50;
}

.status-badge.failure {
  background: #fff1ef;
  color: #b0443f;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.site-footer h2 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-load {
  animation: riseIn 680ms ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 1199.98px) {
  .rate-strip-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .document-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .site-navbar {
    background: rgba(8, 27, 30, 0.98);
  }

  .site-navbar .navbar-collapse {
    padding: 1rem 0;
  }

  .hero-slide {
    min-height: 78vh;
    padding: 7rem 0 5rem;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 2.65rem;
  }

  .rate-strip {
    margin-top: 0;
  }

  .rate-strip-grid,
  .process-grid,
  .compliance-grid,
  .investment-area-grid,
  .investment-metric-grid,
  .admin-metric-grid,
  .admin-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .hero-content h1,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .hero-content p,
  .page-hero p {
    font-size: 1rem;
  }

  .section-pad {
    padding: 4.25rem 0;
  }

  .section-heading h2,
  .section-title {
    font-size: 2rem;
  }

  .rate-strip-grid,
  .process-grid,
  .compliance-grid,
  .conversion-panel,
  .investment-area-grid,
  .why-invest-grid,
  .investment-area-page-grid,
  .investment-metric-grid,
  .growth-card,
  .admin-metric-grid,
  .admin-action-grid,
  .upload-panel,
  .document-grid,
  .details-row {
    grid-template-columns: 1fr;
  }

  .admin-toolbar,
  .admin-search-form,
  .admin-toolbar-actions,
  .rate-search-form,
  .verification-callout,
  .rate-update-optin,
  .review-panel,
  .review-controls,
  .pagination-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-search-form,
  .rate-search-form .form-control {
    max-width: none;
  }

  .pagination-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .pagination-row .btn {
    width: 100%;
    min-width: 0;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .calculator-preview div,
  .footer-bottom {
    display: grid;
  }

  .calculator-preview strong {
    text-align: left;
  }

  .timeline-item {
    grid-template-columns: 54px 1fr;
    gap: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 82vh;
    padding: 6.5rem 0 4.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .page-hero {
    min-height: 330px;
    padding: 8.5rem 0 3.5rem;
  }

  .customer-signup-hero {
    min-height: auto;
    padding: 6.6rem 0 1.5rem;
  }

  .customer-signup-section {
    padding-top: 1.3rem;
  }

  .floating-rate-panel {
    position: static;
    max-width: none;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
