@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: #ffffff;
  --foreground: #050505;
  --muted: #6f6f6f;
  --muted-soft: #a3a3a3;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --accent: #0f766e;
  --accent-dark: #064e3b;
  --accent-soft: rgba(15, 118, 110, 0.1);
  --button: #050505;
  --button-text: #ffffff;
  --shadow-soft: 0 28px 90px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--background);
}

.rate-ticker {
  position: relative;
  z-index: 30;
  overflow: hidden;
  min-height: 34px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  background: #071a18;
  color: rgba(255, 255, 255, 0.72);
}

.rate-ticker-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: rateTicker 32s linear infinite;
}

.rate-ticker:hover .rate-ticker-track {
  animation-play-state: paused;
}

.rate-ticker-group {
  display: flex;
  min-width: 50%;
  align-items: center;
  gap: 1.35rem;
  padding: 0.55rem 1.35rem;
  white-space: nowrap;
}

.rate-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.rate-chip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #34d399;
}

.rate-chip strong {
  color: #ffffff;
  font-weight: 700;
}

.site-nav {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(100% - 2rem, 1280px);
  min-height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: block;
  width: 142px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:first-child,
.nav-links a:hover {
  color: var(--foreground);
}

.nav-cta,
.primary-cta {
  border: 0;
  background: var(--button);
  color: var(--button-text);
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-size: 0.78rem;
}

.nav-cta:hover {
  transform: scale(1.03);
  background: #1c1c1c;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 980px;
  padding: 4.5rem 1rem 7rem;
}

.video-layer {
  position: absolute;
  z-index: 0;
  inset: 270px 0 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(219, 239, 235, 0.62), rgba(237, 231, 217, 0.4)),
    #edf4f2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  filter: saturate(0.72) contrast(0.9) brightness(1.08);
  transition: opacity 80ms linear;
}

.video-overlay,
.video-vignette {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.video-overlay {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(255, 255, 255, 0.72) 24%,
    rgba(255, 255, 255, 0.24) 52%,
    rgba(255, 255, 255, 0.82) 88%,
    #ffffff 100%
  );
}

.video-vignette {
  background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.12) 48%, #ffffff 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.3rem;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  max-width: 1000px;
  margin: 0 auto;
  color: #000000;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-title em {
  color: #797979;
  font-weight: 400;
}

.exchange-badge {
  position: relative;
  display: inline-flex;
  width: 0.96em;
  height: 0.68em;
  margin: 0 0.06em;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 0.22em;
  background: rgba(218, 238, 235, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 28px rgba(15, 118, 110, 0.08);
  vertical-align: 0.08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.exchange-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-arrows {
  width: 0.52em;
  height: 0.52em;
  overflow: visible;
  color: #132a27;
  animation: exchangeRingRotate 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform-origin: center;
}

.exchange-core {
  position: relative;
  display: block;
  width: 0.28em;
  height: 0.34em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 10px rgba(6, 78, 59, 0.12);
}

.currency-symbol {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #071a18;
  font-family: var(--font-body);
  font-size: 0.2em;
  font-weight: 800;
  line-height: 1;
}

.symbol-naira {
  animation: showNaira 3.6s ease-in-out infinite;
}

.symbol-cedi {
  opacity: 0;
  animation: showCedi 3.6s ease-in-out infinite;
}

.hero-description {
  max-width: 640px;
  margin: 1.75rem auto 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.6vw, 1.08rem);
  line-height: 1.75;
}

.hero-rate-note {
  max-width: 560px;
  margin: 0.8rem auto 0;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quote-stage {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 330px);
  width: min(100%, 980px);
  margin: 3rem auto 0;
  align-items: start;
  justify-content: center;
  gap: 1.1rem;
}

.quote-column {
  min-width: 0;
}

.quote-card,
.live-quotes-card,
.trend-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.quote-card {
  border-radius: 28px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.quote-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.quote-kicker,
.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.quote-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.live-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  animation: livePulse 1.2s ease-in-out infinite;
}

.status-bar {
  min-height: 22px;
  margin: -0.45rem 0 0.65rem;
  text-align: center;
}

.loading-status {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
}

.loading-status:not(.hidden) {
  display: flex;
}

.loading-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(15, 118, 110, 0.2);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.error-message {
  display: none;
  margin-bottom: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.16);
  border-radius: 12px;
  background: rgba(254, 242, 242, 0.9);
  padding: 0.8rem 0.9rem;
  color: #b91c1c;
  font-size: 0.75rem;
}

.error-message:not(.hidden) {
  display: block;
}

.error-message p {
  margin: 0;
}

.error-message button {
  margin-top: 0.45rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.field-group {
  margin-bottom: 1rem;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.field-label {
  display: inline-flex;
  margin: 0;
  color: #343434;
  font-size: 0.76rem;
  font-weight: 600;
}

.max-amount-button {
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.78);
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.38rem 0.55rem;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.max-amount-button:hover {
  border-color: rgba(15, 118, 110, 0.42);
  background: rgba(204, 251, 241, 0.86);
  transform: translateY(-1px);
}

.amount-box {
  position: relative;
  overflow: hidden;
  min-height: 78px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.amount-box:focus-within {
  border-color: rgba(15, 118, 110, 0.65);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.08);
}

.amount-box::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

.amount-box::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(5, 5, 5, 0.12);
  font-size: 1.8rem;
  pointer-events: none;
}

.amount-box > * {
  position: relative;
  z-index: 1;
}

.currency-bg-ngn::before {
  background: linear-gradient(90deg, rgba(0, 135, 81, 0.55) 0 33.33%, transparent 33.33% 66.66%, rgba(0, 135, 81, 0.55) 66.66% 100%);
}

.currency-bg-ghs::before {
  background: linear-gradient(180deg, rgba(206, 17, 38, 0.35) 0 33.33%, rgba(252, 209, 22, 0.38) 33.33% 66.66%, rgba(0, 107, 63, 0.35) 66.66% 100%);
}

.currency-bg-ghs::after {
  content: "★";
}

.field-flag {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
}

.amount-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 1.42rem 7rem 1.42rem 3.7rem;
  color: #080808;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0;
}

.amount-input::placeholder {
  color: #b5b5b5;
}

.currency-select-wrap,
.currency-output {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.currency-select {
  max-width: 88px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222222;
  font-size: 0.9rem;
  font-weight: 700;
}

.currency-output {
  color: #222222;
  font-size: 0.9rem;
  font-weight: 700;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 1.1rem;
}

.quick-amounts button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.07);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.quick-amounts button:hover,
.quick-amounts button:focus-visible {
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
}

.swap-row {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin: -0.2rem 0 0.5rem;
}

.swap-button {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: var(--accent-dark);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(6, 78, 59, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.swap-button:hover {
  transform: rotate(8deg) scale(1.03);
  background: var(--accent);
}

.swap-button svg {
  width: 21px;
  height: 21px;
}

.rate-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0.15rem;
}

.rate-panel-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.rate-panel-value {
  margin: 0.2rem 0 0;
  color: #090909;
  font-size: 0.95rem;
  font-weight: 700;
}

.rate-panel-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.rate-panel-standard {
  color: rgba(9, 9, 9, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.rate-panel-applied {
  color: #090909;
  font-size: 0.95rem;
  font-weight: 800;
}

.rate-validity {
  color: var(--muted);
  font-size: 0.65rem;
  text-align: right;
  white-space: nowrap;
}

.savings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: -0.2rem 0 1rem;
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 14px;
  background: rgba(236, 253, 245, 0.76);
  padding: 0.75rem 0.85rem;
}

.savings-row.hidden {
  display: none;
}

.savings-label {
  color: var(--accent-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.savings-message {
  margin: 0;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}

.private-copy {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.primary-cta {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
}

.primary-cta:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.005);
  background: #1a1a1a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
}

.primary-cta:disabled {
  cursor: not-allowed;
  background: #d5d8dd;
  color: #737882;
}

.validation-message {
  display: none;
  margin: 0.65rem 0 0;
  color: #b91c1c;
  font-size: 0.7rem;
  text-align: center;
}

.validation-message:not(.hidden) {
  display: block;
}

.quote-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.6;
  text-align: center;
}

.assurance-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  margin-top: 1.25rem;
  color: rgba(55, 65, 81, 0.8);
  font-size: 0.68rem;
  font-weight: 500;
}

.assurance-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.assurance-row span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.live-quotes-card {
  border-radius: 22px;
  padding: 1rem;
}

.live-quotes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.live-quotes-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rate-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.rate-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.54);
}

.rate-table th,
.rate-table td {
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  padding: 0.78rem 0.55rem;
  text-align: left;
  vertical-align: middle;
}

.rate-table tr:last-child th,
.rate-table tr:last-child td {
  border-bottom: 0;
}

.rate-table th:not(:last-child),
.rate-table td:not(:last-child) {
  border-right: 1px solid rgba(15, 118, 110, 0.1);
}

.rate-table thead th {
  background: rgba(15, 118, 110, 0.06);
  color: var(--accent-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rate-table tbody th {
  width: 31%;
  color: #34413f;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rate-table td {
  color: #080808;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
}

.rate-currency {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.rate-unit {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.operational-section {
  position: relative;
  z-index: 5;
  padding: 5.5rem 1rem 6.5rem;
  background: #ffffff;
}

.operational-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  width: min(100%, 1080px);
  margin: 0 auto;
  align-items: start;
  gap: 1.25rem;
}

.trend-card {
  border-radius: 24px;
  background: rgba(250, 252, 252, 0.92);
  padding: clamp(1.1rem, 2.5vw, 1.7rem);
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.07);
}

.trend-header,
.trend-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.trend-header {
  margin-bottom: 1rem;
}

.trend-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 400;
}

.history-periods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.07);
  padding: 3px;
}

.history-period {
  min-width: 50px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0.45rem 0.65rem;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 700;
}

.history-period.bg-white {
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.history-pair {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.history-latest {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.history-point-label {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
}

.chart-surface {
  margin-top: 1rem;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.055);
  padding: 0.8rem;
}

.history-chart {
  display: block;
  width: 100%;
  height: 190px;
}

.history-chart.hidden {
  display: none;
}

.history-empty {
  display: none;
  margin: 0;
  padding: 3.4rem 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.history-empty:not(.hidden) {
  display: block;
}

.trend-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-grid-line {
  stroke: rgba(100, 116, 139, 0.2);
  stroke-width: 1;
}

.trend-axis-label {
  fill: #6b7280;
  font-size: 10px;
  font-weight: 600;
}

.trend-tooltip {
  opacity: 0;
  transition: opacity 120ms ease;
  pointer-events: none;
}

.trend-tooltip.is-visible {
  opacity: 1;
}

.service-note {
  padding: 1.4rem 0.2rem;
}

.service-note h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.service-note p {
  max-width: 390px;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.service-list {
  display: grid;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.service-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  color: #333333;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-list span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.info-band {
  padding: 6rem 1rem;
  background: #071a18;
  color: #ffffff;
}

.info-inner {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.info-heading {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  font-weight: 400;
  line-height: 0.98;
}

.info-heading em {
  color: rgba(255, 255, 255, 0.5);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.step {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 1.1rem;
}

.step-number {
  color: #5eead4;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step h3 {
  margin: 1.35rem 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.7;
}

.faq-band {
  padding: 5.5rem 1rem 6rem;
  background: #ffffff;
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  width: min(100%, 980px);
  margin: 0 auto;
  gap: 4rem;
}

.faq-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.95;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.faq-list summary {
  color: #1b1b1b;
  font-size: 0.84rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-size: 1rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0.8rem 2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.faq-list p.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 0.16rem;
  background: currentColor;
  opacity: 0.45;
  vertical-align: -0.08em;
  animation: faq-cursor-blink 900ms steps(1) infinite;
}

@keyframes faq-cursor-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-list p.is-typing::after {
    animation: none;
    opacity: 0;
  }
}

.site-footer {
  display: flex;
  width: min(100% - 2rem, 1080px);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.footer-support {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.footer-support:hover {
  color: var(--accent);
}

.animate-fade-rise {
  animation: fadeRise 0.8s ease-out both;
}

.animate-fade-rise-delay {
  animation: fadeRise 0.8s ease-out 0.18s both;
}

.animate-fade-rise-delay-2 {
  animation: fadeRise 0.8s ease-out 0.36s both;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rateTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes exchangeRingRotate {
  0%, 12% { transform: rotate(0deg); }
  42%, 55% { transform: rotate(180deg); }
  86%, 100% { transform: rotate(360deg); }
}

@keyframes showNaira {
  0%, 38% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  48%, 88% {
    opacity: 0;
    transform: translateY(-0.04em) scale(0.92);
  }
  96%, 100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes showCedi {
  0%, 38% {
    opacity: 0;
    transform: translateY(0.04em) scale(0.92);
  }
  48%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  96%, 100% {
    opacity: 0;
    transform: translateY(0.04em) scale(0.92);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .quote-stage {
    grid-template-columns: minmax(0, 620px);
    max-width: 620px;
  }

  .live-quotes-card {
    order: 2;
  }

  .operational-inner,
  .faq-inner {
    grid-template-columns: 1fr;
  }

  .service-note {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .page,
  .hero,
  .hero-content,
  .quote-stage,
  .quote-column,
  .quote-card,
  .live-quotes-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .rate-ticker-group {
    gap: 0.9rem;
    padding-inline: 0.9rem;
  }

  .rate-chip {
    font-size: 0.64rem;
  }

  .site-nav {
    min-height: 68px;
  }

  .nav-logo {
    width: 112px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
  }

  .hero {
    padding: 2.7rem 0.75rem 5rem;
  }

  .video-layer {
    inset: 220px 0 0;
  }

  .hero-title {
    font-size: clamp(3.25rem, 16vw, 4.4rem);
    line-height: 0.94;
    overflow-wrap: normal;
  }

  .exchange-badge {
    width: 0.9em;
    height: 0.66em;
    margin-inline: 0.03em;
  }

  .hero-description {
    margin-top: 1.3rem;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .hero-rate-note {
    margin-top: 0.65rem;
    font-size: 0.72rem;
  }

  .quote-stage {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2rem;
  }

  .quote-card {
    border-radius: 22px;
    padding: 1rem;
  }

  .quote-card-header {
    margin-bottom: 1rem;
  }

  .quote-title {
    font-size: 1.7rem;
  }

  .quote-status {
    font-size: 0.62rem;
  }

  .amount-box {
    min-height: 72px;
  }

  .amount-input {
    padding: 1.25rem 5.7rem 1.25rem 3.25rem;
    font-size: 1.4rem;
  }

  .field-flag {
    left: 0.8rem;
    font-size: 1.15rem;
  }

  .currency-select-wrap,
  .currency-output {
    right: 0.75rem;
  }

  .quick-amounts {
    gap: 0.35rem;
  }

  .quick-amounts button {
    min-height: 38px;
    font-size: 0.66rem;
  }

  .rate-panel {
    align-items: flex-start;
  }

  .savings-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .savings-label {
    white-space: normal;
  }

  .savings-message {
    text-align: left;
  }

  .rate-panel-value {
    font-size: 0.84rem;
  }

  .rate-validity {
    font-size: 0.58rem;
  }

  .live-quotes-card {
    border-radius: 18px;
  }

  .rate-table th,
  .rate-table td {
    padding: 0.72rem 0.45rem;
  }

  .rate-table {
    table-layout: fixed;
  }

  .rate-table td {
    font-size: 0.78rem;
  }

  .operational-section,
  .info-band,
  .faq-band {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .trend-summary {
    align-items: flex-end;
  }

  .history-chart {
    height: 175px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-top: 3rem;
  }

  .faq-inner {
    gap: 2.5rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .nav-cta {
    padding-inline: 0.8rem;
  }

  .hero-title {
    font-size: 3.05rem;
  }

  .exchange-badge {
    width: 0.86em;
  }

  .amount-input {
    font-size: 1.25rem;
  }

  .rate-table thead th,
  .rate-table tbody th {
    font-size: 0.55rem;
  }

  .rate-table td {
    font-size: 0.72rem;
  }
}

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

  .hero-video {
    display: none;
  }

  .ring-arrows,
  .symbol-naira,
  .symbol-cedi {
    animation: none !important;
  }

  .symbol-naira {
    opacity: 1 !important;
    transform: none !important;
  }

  .symbol-cedi {
    opacity: 0 !important;
    transform: none !important;
  }
}

/* Hero video opacity steps mirror the previous JavaScript opacity fade without inline styles. */
.video-opacity-0 { opacity: 0.00; }
.video-opacity-1 { opacity: 0.01; }
.video-opacity-2 { opacity: 0.02; }
.video-opacity-3 { opacity: 0.03; }
.video-opacity-4 { opacity: 0.04; }
.video-opacity-5 { opacity: 0.05; }
.video-opacity-6 { opacity: 0.06; }
.video-opacity-7 { opacity: 0.07; }
.video-opacity-8 { opacity: 0.08; }
.video-opacity-9 { opacity: 0.09; }
.video-opacity-10 { opacity: 0.10; }
.video-opacity-11 { opacity: 0.11; }
.video-opacity-12 { opacity: 0.12; }
.video-opacity-13 { opacity: 0.13; }
.video-opacity-14 { opacity: 0.14; }
.video-opacity-15 { opacity: 0.15; }
.video-opacity-16 { opacity: 0.16; }
.video-opacity-17 { opacity: 0.17; }
.video-opacity-18 { opacity: 0.18; }
.video-opacity-19 { opacity: 0.19; }
.video-opacity-20 { opacity: 0.20; }
.video-opacity-21 { opacity: 0.21; }
.video-opacity-22 { opacity: 0.22; }
.video-opacity-23 { opacity: 0.23; }
.video-opacity-24 { opacity: 0.24; }
.video-opacity-25 { opacity: 0.25; }
.video-opacity-26 { opacity: 0.26; }
.video-opacity-27 { opacity: 0.27; }
.video-opacity-28 { opacity: 0.28; }
.video-opacity-29 { opacity: 0.29; }
.video-opacity-30 { opacity: 0.30; }
.video-opacity-31 { opacity: 0.31; }
.video-opacity-32 { opacity: 0.32; }
.video-opacity-33 { opacity: 0.33; }
.video-opacity-34 { opacity: 0.34; }
.video-opacity-35 { opacity: 0.35; }
.video-opacity-36 { opacity: 0.36; }
.video-opacity-37 { opacity: 0.37; }
.video-opacity-38 { opacity: 0.38; }
.video-opacity-39 { opacity: 0.39; }
.video-opacity-40 { opacity: 0.40; }
.video-opacity-41 { opacity: 0.41; }
.video-opacity-42 { opacity: 0.42; }
.video-opacity-43 { opacity: 0.43; }
.video-opacity-44 { opacity: 0.44; }
.video-opacity-45 { opacity: 0.45; }
.video-opacity-46 { opacity: 0.46; }
.video-opacity-47 { opacity: 0.47; }
.video-opacity-48 { opacity: 0.48; }
.video-opacity-49 { opacity: 0.49; }
.video-opacity-50 { opacity: 0.50; }
.video-opacity-51 { opacity: 0.51; }
.video-opacity-52 { opacity: 0.52; }
.video-opacity-53 { opacity: 0.53; }
.video-opacity-54 { opacity: 0.54; }
.video-opacity-55 { opacity: 0.55; }
.video-opacity-56 { opacity: 0.56; }
.video-opacity-57 { opacity: 0.57; }
.video-opacity-58 { opacity: 0.58; }
.video-opacity-59 { opacity: 0.59; }
.video-opacity-60 { opacity: 0.60; }
.video-opacity-61 { opacity: 0.61; }
.video-opacity-62 { opacity: 0.62; }
.video-opacity-63 { opacity: 0.63; }
.video-opacity-64 { opacity: 0.64; }
.video-opacity-65 { opacity: 0.65; }
.video-opacity-66 { opacity: 0.66; }
.video-opacity-67 { opacity: 0.67; }
.video-opacity-68 { opacity: 0.68; }
.video-opacity-69 { opacity: 0.69; }
.video-opacity-70 { opacity: 0.70; }
.video-opacity-71 { opacity: 0.71; }
.video-opacity-72 { opacity: 0.72; }
