/* Premium animated remittance homepage. All theme tokens are scoped to this page. */
body.remittance-page {
  --brand-primary: #063b2a;
  --brand-primary-dark: #03281c;
  --brand-primary-soft: #e5f4ec;
  --brand-accent: #2f9a6a;
  --brand-gold: #d4a853;
  --text-primary: #142722;
  --text-secondary: #536861;
  --surface: #ffffff;
  --surface-muted: #f2f7f4;
  --border-subtle: #d9e6df;
  --shadow-card: 0 24px 70px rgba(15, 62, 45, .1), 0 5px 18px rgba(15, 62, 45, .05);
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border-subtle);
  --canvas: #f8fbf9;
  --teal: var(--brand-primary);
  --teal-dark: var(--brand-primary-dark);
  --teal-soft: var(--brand-primary-soft);
  --lime: #cfe9d9;
  --remittance-action: var(--brand-primary);
  --remittance-action-hover: var(--brand-primary-dark);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 22rem, rgba(159, 225, 189, .12), transparent 22rem),
    linear-gradient(180deg, #fff 0, #fffdf9 46rem, #fff 100%);
}

body.remittance-page .customer-header {
  border-color: rgba(13, 101, 71, .1);
  background: rgba(255, 255, 255, .92);
}

body.remittance-page .brand-mark {
  background:
    linear-gradient(145deg, #0d6547 0 56%, #d4ae5b 56% 70%, #173b30 70%);
  box-shadow: 0 7px 18px rgba(13, 101, 71, .18);
}

body.remittance-page .header-action {
  color: var(--brand-primary-dark);
}

body.remittance-page .header-action:hover {
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
}

body.remittance-page .portal-main {
  width: 100%;
  max-width: 1380px;
  padding: 1rem clamp(1rem, 2.2vw, 2rem) 5rem;
}

body.remittance-page .portal-footer {
  background: #fff;
}

.premium-home {
  max-width: none;
}

.premium-home.remittance-home::before {
  display: none;
}

.premium-home .steps-wrap {
  margin: 0 0 1.15rem;
}

.premium-home .steps li::after {
  height: 2px;
}

.premium-home .steps li.complete::before,
.premium-home .steps li.complete::after,
.premium-home .steps li.current::after {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}

.premium-home .steps li.current::before {
  border-color: var(--brand-primary);
  color: var(--brand-primary-dark);
  box-shadow: 0 0 0 4px var(--brand-primary-soft);
}

.premium-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 38fr) minmax(390px, 32fr);
  grid-template-areas: "copy flow calculator";
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
  min-height: 650px;
  padding: clamp(1rem, 2vw, 1.7rem) 0 2rem;
}

.premium-hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  align-self: start;
  padding: 1rem 0;
}

.premium-hero-copy .eyebrow {
  margin-bottom: .9rem;
  color: var(--brand-primary);
  font-size: .74rem;
  letter-spacing: .12em;
}

.premium-hero-copy .page-title {
  max-width: 8.5em;
  color: var(--text-primary);
  font-size: clamp(3.2rem, 4.8vw, 4.65rem);
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: .99;
}

.premium-hero-copy .page-lead {
  max-width: 28rem;
  margin-top: 1.3rem;
  color: var(--text-secondary);
  font-size: clamp(.96rem, 1.25vw, 1.1rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.7rem;
}

.home-primary-action,
.home-secondary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border-radius: 13px;
  padding: .72rem 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.home-primary-action {
  border: 1px solid var(--brand-primary);
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 101, 71, .2);
}

.home-primary-action:hover,
.home-primary-action:focus-visible {
  border-color: var(--brand-primary-dark);
  background: var(--brand-primary-dark);
  color: #fff;
}

.home-secondary-action {
  border: 1px solid #b9cec4;
  background: rgba(255, 255, 255, .78);
  color: var(--brand-primary-dark);
}

.home-secondary-action:hover,
.home-secondary-action:focus-visible {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
}

.hero-supporting-copy {
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: .75rem;
}

.hero-supporting-copy span {
  color: var(--brand-primary);
  font-weight: 900;
}

.flow-visual {
  grid-area: flow;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 590px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.flow-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.flow-glow-one {
  width: 76%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(117, 197, 153, .26), rgba(220, 244, 231, .11) 48%, transparent 72%);
}

.flow-glow-two {
  right: 6%;
  bottom: 16%;
  width: 32%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(211, 174, 91, .15), transparent 68%);
}

.flow-canvas {
  width: min(100%, 540px);
  height: auto;
  overflow: visible;
}

.flow-track,
.flow-track-highlight {
  fill: none;
  stroke-linecap: round;
}

.flow-track {
  stroke-width: 4;
}

.flow-track-in { stroke: rgba(47, 154, 106, .28); }
.flow-track-out { stroke: rgba(173, 125, 39, .3); }

.flow-track-highlight {
  stroke-width: 4;
  stroke-dasharray: 2 26;
  opacity: .75;
}

.flow-track-highlight-in { stroke: #45a976; }
.flow-track-highlight-out { stroke: #ba8c35; }

.flow-engine-label {
  fill: var(--brand-primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.flow-engine-subtitle {
  fill: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
}

.flow-coin-label,
.flow-fiat-label {
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
}

.flow-coin-label { fill: #fff; }
.flow-fiat-label { fill: #7a5517; font-size: 19px; }
.flow-fiat-subtitle { fill: #856c3f; font-size: 10px; font-weight: 700; }

.flow-particle {
  fill: #3ba975;
  opacity: .34;
}

.flow-particle-three { fill: #c4963e; }

.flow-legend {
  position: absolute;
  right: 8%;
  bottom: 8%;
  left: 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  color: var(--text-secondary);
  font-size: .68rem;
  font-weight: 750;
  text-align: center;
}

.flow-legend span:nth-child(1) { color: var(--brand-primary); text-align: left; }
.flow-legend span:nth-child(3) { color: #8c641f; text-align: right; }

.flow-currency-stack {
  position: absolute;
  right: 5%;
  top: 13%;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.flow-currency-stack span {
  min-width: 48px;
  padding: .3rem .5rem;
  transform: translateX(calc(var(--stack-index, 0) * 4px));
  border: 1px solid rgba(173, 125, 39, .25);
  border-radius: 9px;
  background: rgba(255, 253, 247, .86);
  color: #785719;
  font-size: .63rem;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 8px 18px rgba(95, 68, 17, .06);
}

.flow-currency-stack span:nth-child(2) { margin-left: 8px; }
.flow-currency-stack span:nth-child(3) { margin-left: 16px; }
.flow-currency-stack span:nth-child(4) { margin-left: 24px; }

.flow-visual.is-animated .flow-orb {
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-orb-breathe 5.2s ease-in-out infinite;
}

.flow-visual.is-animated .flow-engine-mark {
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-engine-breathe 5.2s ease-in-out infinite;
}

.flow-visual.is-animated .flow-track-highlight {
  animation: flow-track-travel 4.8s linear infinite;
}

.flow-visual.is-animated .flow-coin-mover {
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-coin-enter 10s ease-in-out infinite;
}

.flow-visual.is-animated .flow-fiat-mover {
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-fiat-exit 10s ease-in-out infinite;
}

.flow-visual.is-animated .flow-particle-one { animation: flow-particle-float 6s ease-in-out infinite; }
.flow-visual.is-animated .flow-particle-two { animation: flow-particle-float 7s ease-in-out -2s infinite; }
.flow-visual.is-animated .flow-particle-three { animation: flow-particle-float 8s ease-in-out -4s infinite; }
.flow-visual.is-animated .flow-currency-stack { animation: flow-card-float 5.5s ease-in-out infinite; }

.flow-visual.is-paused *,
.flow-visual.is-reduced-motion * {
  animation-play-state: paused !important;
}

.flow-visual.is-reduced-motion .flow-coin-mover,
.flow-visual.is-reduced-motion .flow-fiat-mover,
.flow-visual.is-reduced-motion .flow-orb,
.flow-visual.is-reduced-motion .flow-engine-mark,
.flow-visual.is-reduced-motion .flow-track-highlight,
.flow-visual.is-reduced-motion .flow-particle,
.flow-visual.is-reduced-motion .flow-currency-stack {
  animation: none !important;
}

.flow-visual.is-reduced-motion .flow-coin-mover,
.flow-visual.is-reduced-motion .flow-fiat-mover,
.flow-visual.is-reduced-motion .flow-orb,
.flow-visual.is-reduced-motion .flow-engine-mark,
.flow-visual.is-reduced-motion .flow-track,
.flow-visual.is-reduced-motion .flow-track-highlight {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  animation-play-state: paused !important;
}

@keyframes flow-orb-breathe {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50% { transform: scale(1.035) rotate(1deg); }
}

@keyframes flow-engine-breathe {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

@keyframes flow-track-travel {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -112; }
}

@keyframes flow-coin-enter {
  0%, 8% { transform: translateX(-34px) scale(.92); opacity: 0; }
  16% { opacity: 1; }
  40% { transform: translateX(138px) scale(1); opacity: 1; }
  48%, 100% { transform: translateX(156px) scale(.78); opacity: 0; }
}

@keyframes flow-fiat-exit {
  0%, 48% { transform: translateX(-96px) scale(.82); opacity: 0; }
  58% { opacity: 1; }
  78%, 92% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(18px) scale(.98); opacity: 0; }
}

@keyframes flow-particle-float {
  0%, 100% { transform: translate(0, 0); opacity: .2; }
  50% { transform: translate(4px, -10px); opacity: .48; }
}

@keyframes flow-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Scheme C: dimensional globe with explicit crypto -> engine -> fiat flow. */
.scheme-c-stage {
  min-height: 590px;
  margin-top: -1.5rem;
  overflow: visible;
  perspective: 1000px;
}

.scheme-c-halo {
  position: absolute;
  z-index: -2;
  width: 104%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 44%, rgba(172, 237, 201, .46) 0, rgba(215, 246, 229, .25) 38%, rgba(240, 250, 244, .07) 61%, transparent 74%);
  filter: blur(5px);
}

.scheme-c-halo::after {
  position: absolute;
  right: 8%;
  bottom: 13%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 181, 84, .2), transparent 70%);
  content: "";
}

.scheme-c-globe {
  position: relative;
  z-index: 1;
  width: min(84%, 440px);
  height: auto;
  display: block;
  filter: saturate(1.08) contrast(1.035) drop-shadow(0 28px 28px rgba(20, 90, 64, .13));
  transform: translateZ(0);
}

.scheme-c-orbits {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 119%;
  max-width: 625px;
  height: auto;
  overflow: visible;
  transform: translate(-50%, -50%);
}

.scheme-c-orbit,
.scheme-c-orbit-pulse {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.scheme-c-orbit {
  stroke-width: 3;
}

.scheme-c-orbit.orbit-primary { stroke: url(#scheme-c-orbit-primary); }
.scheme-c-orbit.orbit-secondary { stroke: url(#scheme-c-orbit-secondary); stroke-width: 2; }

.scheme-c-orbit-pulse {
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 2 62;
  opacity: .8;
}

.orbit-pulse-in { stroke: #32c78a; }
.orbit-pulse-out { stroke: #e1b24a; stroke-dashoffset: -45; }

.scheme-c-engine {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 180px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--brand-primary-dark);
  text-align: center;
}

.scheme-c-engine-shield {
  width: 68px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 24px 24px 28px 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(220, 247, 232, .62));
  box-shadow: 0 14px 30px rgba(13, 101, 71, .17), inset 0 1px 0 rgba(255, 255, 255, .92);
  backdrop-filter: blur(7px);
}

.scheme-c-engine-shield svg {
  width: 46px;
  height: 52px;
}

.scheme-c-engine-shield path:first-child {
  fill: rgba(13, 101, 71, .14);
  stroke: #0d6547;
  stroke-width: 2.5;
}

.scheme-c-engine-shield path:last-child {
  fill: none;
  stroke: #0d6547;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
}

.scheme-c-engine > strong {
  margin-top: .55rem;
  font-size: .86rem;
  font-weight: 900;
}

.scheme-c-engine > small {
  margin-top: .12rem;
  color: var(--text-secondary);
  font-size: .62rem;
  font-weight: 750;
}

.scheme-c-crypto-node {
  position: absolute;
  z-index: 5;
  left: -1%;
  top: 42%;
  width: 112px;
  display: grid;
  justify-items: center;
  color: var(--brand-primary-dark);
  text-align: center;
}

.scheme-c-coin {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: linear-gradient(145deg, #68e6b3 0, #14a96f 48%, #087247 100%);
  box-shadow: 0 16px 27px rgba(10, 114, 72, .25), inset 7px 8px 12px rgba(255, 255, 255, .34), inset -7px -8px 13px rgba(4, 75, 44, .26);
}

.scheme-c-coin::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(225, 255, 241, .54);
  border-radius: inherit;
  content: "";
}

.scheme-c-coin b {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 2px 5px rgba(2, 68, 40, .27);
}

.scheme-c-crypto-node > strong {
  margin-top: .35rem;
  font-size: .78rem;
  font-weight: 900;
}

.scheme-c-crypto-node > small,
.scheme-c-fiat-card > small {
  color: var(--text-secondary);
  font-size: .55rem;
  font-weight: 700;
}

.scheme-c-fiat-card {
  position: absolute;
  z-index: 5;
  right: -2%;
  bottom: 13%;
  width: 174px;
  padding: .72rem;
  border: 1px solid rgba(179, 136, 47, .22);
  border-radius: 17px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 19px 38px rgba(78, 60, 20, .13), inset 0 1px 0 #fff;
  backdrop-filter: blur(10px);
  transform: rotate(-7deg);
  color: #5f491e;
  text-align: center;
}

.scheme-c-fiat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .28rem;
  margin-bottom: .55rem;
}

.scheme-c-fiat-grid span {
  min-width: 0;
  padding: .38rem .12rem .3rem;
  border: 1px solid rgba(183, 139, 49, .18);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 5px 12px rgba(78, 60, 20, .05);
}

.scheme-c-fiat-grid b,
.scheme-c-fiat-grid small {
  display: block;
}

.scheme-c-fiat-grid b {
  width: 23px;
  height: 23px;
  display: grid;
  margin: 0 auto .2rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f8d677, #c99124);
  color: #fff;
  font-size: .52rem;
}

.scheme-c-fiat-grid small {
  color: #6e5728;
  font-size: .48rem;
  font-weight: 900;
}

.scheme-c-fiat-card > strong {
  display: block;
  font-size: .66rem;
  font-weight: 900;
}

.scheme-c-particle {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #40cf94;
  box-shadow: 0 0 13px rgba(64, 207, 148, .55);
  opacity: .64;
}

.scheme-c-particle.particle-one { left: 13%; top: 29%; }
.scheme-c-particle.particle-two { right: 11%; top: 25%; width: 5px; height: 5px; }
.scheme-c-particle.particle-three { right: 18%; bottom: 24%; background: #d6a43e; box-shadow: 0 0 12px rgba(214, 164, 62, .46); }

.scheme-c-stage .flow-legend {
  z-index: 6;
  right: 4%;
  bottom: 2%;
  left: 4%;
  font-size: .62rem;
}

.scheme-c-stage.is-animated .scheme-c-globe {
  animation: scheme-c-globe-breathe 6s ease-in-out infinite;
}

.scheme-c-stage.is-animated .scheme-c-engine-shield {
  animation: scheme-c-engine-pulse 4.8s ease-in-out infinite;
}

.scheme-c-stage.is-animated .scheme-c-orbit-pulse {
  animation: scheme-c-orbit-travel 6.5s linear infinite;
}

.scheme-c-stage.is-animated .scheme-c-crypto-node {
  animation: scheme-c-crypto-travel 7.2s ease-in-out infinite;
}

.scheme-c-stage.is-animated .scheme-c-fiat-card {
  animation: scheme-c-fiat-arrive 7.2s ease-in-out infinite;
}

.scheme-c-stage.is-animated .scheme-c-particle {
  animation: scheme-c-particle-drift 5s ease-in-out infinite;
}

.scheme-c-stage.is-animated .particle-two { animation-delay: -1.5s; }
.scheme-c-stage.is-animated .particle-three { animation-delay: -3s; }

.scheme-c-stage.is-paused *,
.scheme-c-stage.is-reduced-motion * {
  animation-play-state: paused !important;
}

.scheme-c-stage.is-reduced-motion .scheme-c-globe,
.scheme-c-stage.is-reduced-motion .scheme-c-engine,
.scheme-c-stage.is-reduced-motion .scheme-c-engine-shield,
.scheme-c-stage.is-reduced-motion .scheme-c-orbits,
.scheme-c-stage.is-reduced-motion .scheme-c-orbit,
.scheme-c-stage.is-reduced-motion .scheme-c-orbit-pulse,
.scheme-c-stage.is-reduced-motion .scheme-c-crypto-node,
.scheme-c-stage.is-reduced-motion .scheme-c-fiat-card,
.scheme-c-stage.is-reduced-motion .scheme-c-particle,
.scheme-c-stage.is-reduced-motion .flow-legend {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  animation-play-state: paused !important;
}

.scheme-c-stage.is-reduced-motion .scheme-c-globe { transform: translateZ(0) !important; }
.scheme-c-stage.is-reduced-motion .scheme-c-engine { transform: translate(-50%, -50%) !important; }
.scheme-c-stage.is-reduced-motion .scheme-c-orbits { transform: translate(-50%, -50%) !important; }
.scheme-c-stage.is-reduced-motion .scheme-c-crypto-node { transform: translate(0, 0) !important; }
.scheme-c-stage.is-reduced-motion .scheme-c-fiat-card { transform: rotate(-7deg) !important; }

@keyframes scheme-c-globe-breathe {
  0%, 100% { transform: translateZ(0) scale(1); filter: saturate(1.08) contrast(1.035) drop-shadow(0 28px 28px rgba(20, 90, 64, .13)); }
  50% { transform: translateZ(10px) scale(1.025); filter: saturate(1.1) contrast(1.04) drop-shadow(0 32px 34px rgba(20, 90, 64, .17)); }
}

@keyframes scheme-c-engine-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.04); }
}

@keyframes scheme-c-orbit-travel {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -320; }
}

@keyframes scheme-c-crypto-travel {
  0%, 100% { transform: translate(-8px, 8px) rotate(-4deg); }
  45%, 55% { transform: translate(22px, -11px) rotate(2deg); }
}

@keyframes scheme-c-fiat-arrive {
  0%, 38% { transform: translate(-18px, 10px) rotate(-9deg); opacity: .72; }
  62%, 100% { transform: translate(0, 0) rotate(-7deg); opacity: 1; }
}

@keyframes scheme-c-particle-drift {
  0%, 100% { transform: translate(0, 0) scale(.85); opacity: .35; }
  50% { transform: translate(7px, -10px) scale(1.1); opacity: .75; }
}

.premium-home .quote-calculator {
  grid-area: calculator;
  position: relative;
  z-index: 3;
  width: 100%;
  align-self: center;
  padding: clamp(1.05rem, 1.8vw, 1.45rem);
  border: 1px solid rgba(29, 68, 54, .13);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(23, 59, 46, .11), 0 4px 16px rgba(23, 59, 46, .05);
}

.premium-home .calculator-heading {
  margin-bottom: .9rem;
}

.premium-home .calculator-kicker {
  color: var(--brand-primary);
}

.premium-home .calculator-heading h2 {
  font-size: 1.16rem;
}

.premium-home .live-quote-badge {
  flex: 0 0 auto;
}

.premium-home .live-quote-badge .quote-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #748079;
  box-shadow: 0 0 0 3px rgba(116, 128, 121, .12);
}

.premium-home .live-quote-badge .quote-status-label {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.premium-home .live-quote-badge.is-loading .quote-status-dot { background: #a56d13; box-shadow: 0 0 0 3px rgba(165, 109, 19, .14); }
.premium-home .live-quote-badge.is-success .quote-status-dot { background: var(--brand-primary); box-shadow: 0 0 0 3px rgba(13, 101, 71, .14); }
.premium-home .live-quote-badge.is-error .quote-status-dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(167, 38, 27, .13); }

.premium-home .notice-warning {
  border: 1px solid #ead8a7;
  background: #fff8e5;
  padding: .62rem .72rem;
  font-size: .72rem;
  line-height: 1.45;
}

.premium-home .notice-warning::before {
  border-color: #a47620;
  color: #7d5918;
}

.premium-home .quote-entry-card {
  padding: .72rem .82rem;
  border-color: #b8c9c1;
  border-radius: 14px;
}

.premium-home .quote-entry-card:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(13, 101, 71, .13);
}

.premium-home .quote-entry-row {
  grid-template-columns: minmax(0, 1fr) minmax(118px, 146px);
  gap: .5rem;
}

.premium-home .quote-calculator .amount-input-wrap .form-control,
.premium-home .receive-amount {
  min-height: 42px;
  font-size: clamp(1.72rem, 2.5vw, 2.25rem);
}

.premium-home .quote-select-wrap {
  background: var(--surface-muted);
}

.premium-home .quote-select-wrap .form-select {
  min-height: 42px;
  padding-left: .65rem;
  color: var(--text-primary);
  font-size: .75rem;
}

.premium-home .quote-select-wrap .form-select:focus {
  outline-color: rgba(13, 101, 71, .32);
}

.premium-home .network-select-row {
  grid-template-columns: minmax(112px, .82fr) minmax(0, 1.18fr);
  gap: .55rem;
  padding: .55rem .1rem;
}

.premium-home .quote-connector {
  height: 14px;
}

.premium-home .quote-connector span {
  width: 26px;
  height: 26px;
  color: var(--brand-primary);
}

.premium-home .quote-entry-receive {
  border-color: rgba(173, 125, 39, .38);
  background: #fffdf7;
}

.premium-home .quote-preview-panel {
  margin-top: .8rem;
  border-color: var(--border-subtle);
  background: #f8fbf9;
}

.premium-home .quote-detail-row {
  padding: .34rem 0;
  border-color: #dce8e2;
  font-size: .7rem;
}

.premium-home .quote-detail-row > span small {
  background: #e7f3ec;
  color: var(--brand-primary-dark);
}

.premium-home .quote-total-row strong {
  color: var(--brand-primary-dark);
}

.premium-home .quote-preview-status.is-success {
  background: #e6f4ec;
  color: var(--brand-primary-dark);
}

.premium-home .delivery-estimate {
  margin: .55rem 0;
  padding: .5rem .65rem;
  background: #fff8e4;
}

.premium-home .delivery-icon {
  background: #e6c36f;
  color: #46330e;
}

.premium-home .terms-check {
  margin: .45rem 0;
}

.premium-home .remit-button {
  min-height: 48px;
  background: var(--brand-primary);
  box-shadow: 0 10px 24px rgba(13, 101, 71, .22);
}

.premium-home .remit-button:hover,
.premium-home .remit-button:focus-visible,
.premium-home .remit-button:active {
  background: var(--brand-primary-dark);
}

.premium-home .calculator-footnote {
  margin-top: .4rem;
  font-size: .57rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 1.6rem 0 0;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  background: var(--border-subtle);
  overflow: hidden;
}

.trust-strip article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, .92);
}

.trust-icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  font-weight: 900;
}

.trust-strip h2 {
  margin: 0;
  font-size: .92rem;
}

.trust-strip p {
  margin: .1rem 0 0;
  color: var(--text-secondary);
  font-size: .72rem;
}

.home-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0 0;
}

.section-heading {
  max-width: 46rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 850;
}

.section-heading > p:last-child {
  margin: .75rem 0 0;
  color: var(--text-secondary);
}

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

.remittance-step-cards article {
  min-height: 205px;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f4f9f6);
  box-shadow: 0 12px 34px rgba(18, 66, 49, .05);
}

.remittance-step-cards article > span {
  display: inline-grid;
  min-width: 40px;
  min-height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  font-size: .72rem;
  font-weight: 900;
}

.remittance-step-cards h3 {
  margin: 1.7rem 0 .45rem;
  font-size: 1.18rem;
}

.remittance-step-cards p {
  margin: 0;
  color: var(--text-secondary);
  font-size: .86rem;
}

.supported-assets-section {
  padding-bottom: 1rem;
}

.supported-assets-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.supported-assets-grid > div {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: #fff;
}

.supported-assets-grid h3 {
  margin: 0 0 1rem;
  font-size: .88rem;
}

.capability-list,
.fiat-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: min(100%, 230px);
  padding: .72rem .8rem;
  border: 1px solid #e0ebe5;
  border-radius: 13px;
  background: var(--surface-muted);
}

.capability-mark {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.capability-list strong,
.capability-list small {
  display: block;
}

.capability-list strong { font-size: .8rem; }
.capability-list small { margin-top: .08rem; color: var(--text-secondary); font-size: .67rem; }

.fiat-list li {
  min-width: 64px;
  padding: .72rem .9rem;
  border: 1px solid rgba(173, 125, 39, .24);
  border-radius: 12px;
  background: #fffaf0;
  color: #745318;
  font-size: .8rem;
  font-weight: 900;
  text-align: center;
}

.capability-list .capability-empty,
.fiat-list .capability-empty {
  color: var(--text-secondary);
  font-weight: 650;
}

.capability-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-secondary);
  font-size: .75rem;
  text-align: right;
}

@media (min-width: 861px) and (max-height: 850px) {
  body.remittance-page .portal-main {
    padding-top: .55rem;
  }

  .premium-home .steps-wrap {
    margin-bottom: .6rem;
  }

  .premium-hero {
    min-height: 590px;
    padding: 0 0 .8rem;
  }

  .premium-hero-copy {
    padding: .45rem 0;
  }

  .premium-hero-copy .eyebrow {
    margin-bottom: .6rem;
  }

  .premium-hero-copy .page-title {
    font-size: clamp(2.65rem, 4vw, 3.9rem);
  }

  .premium-hero-copy .page-lead {
    margin-top: .85rem;
    font-size: .92rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .home-primary-action,
  .home-secondary-action {
    min-height: 44px;
    padding: .58rem 1rem;
  }

  .hero-supporting-copy {
    margin-top: .65rem;
  }

  .flow-visual {
    min-height: 520px;
  }

  .scheme-c-stage { min-height: 520px; }
  .scheme-c-globe { width: min(78%, 385px); }
  .scheme-c-orbits { width: 112%; }
  .scheme-c-crypto-node { left: 0; top: 40%; transform: scale(.9); }
  .scheme-c-fiat-card { right: 0; bottom: 11%; transform: rotate(-7deg) scale(.9); }

  .premium-home .quote-calculator {
    padding: .78rem 1rem;
  }

  .premium-home .calculator-heading {
    margin-bottom: .55rem;
  }

  .premium-home .quote-calculator .mb-3 {
    margin-bottom: .55rem !important;
  }

  .premium-home .quote-entry-card {
    padding: .56rem .72rem;
  }

  .premium-home .network-select-row {
    padding: .32rem .1rem;
  }

  .premium-home .quote-connector {
    height: 10px;
  }

  .premium-home .quote-connector span {
    width: 22px;
    height: 22px;
  }

  .premium-home .quote-preview-panel {
    margin-top: .52rem;
  }

  .premium-home .quote-detail-row {
    padding: .24rem 0;
  }

  .premium-home .quote-preview-status {
    min-height: 0;
    margin-top: .32rem;
    padding: .38rem .52rem;
  }

  .premium-home .delivery-estimate {
    margin: .35rem 0;
    padding: .38rem .58rem;
  }

  .premium-home .terms-check {
    margin: .28rem 0;
  }

  .premium-home .remit-button {
    min-height: 44px;
  }

  .premium-home .calculator-footnote {
    margin-top: .25rem;
  }
}

@media (max-width: 1170px) {
  .premium-hero {
    grid-template-columns: minmax(0, 27fr) minmax(0, 32fr) minmax(350px, 41fr);
    gap: .85rem;
  }

  .premium-hero-copy .page-title {
    font-size: clamp(2.5rem, 4.6vw, 3.55rem);
  }

  .flow-visual { min-height: 520px; }
  .scheme-c-globe { width: min(105%, 360px); }
  .scheme-c-orbits { width: 126%; }
  .scheme-c-engine { width: 150px; }
  .scheme-c-engine-shield { width: 60px; height: 68px; }
  .scheme-c-engine-shield svg { width: 41px; }
  .scheme-c-engine > strong { font-size: .75rem; }
  .scheme-c-crypto-node { left: -5%; transform: scale(.88); }
  .scheme-c-fiat-card { right: -5%; width: 158px; transform: rotate(-7deg) scale(.9); }
  .flow-currency-stack { display: none; }
  .premium-home .quote-calculator { padding: 1rem; }
}

@media (max-width: 860px) {
  body.remittance-page .portal-main {
    max-width: 740px;
    padding-inline: 1.25rem;
  }

  .premium-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "calculator"
      "flow";
    gap: 1.5rem;
    min-height: 0;
    padding-top: .6rem;
  }

  .premium-hero-copy {
    padding: .65rem 0 0;
    text-align: center;
  }

  .premium-hero-copy .page-title,
  .premium-hero-copy .page-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .premium-hero-copy .page-title {
    font-size: clamp(2.8rem, 8vw, 4rem);
  }

  .hero-actions { justify-content: center; }
  .premium-home .quote-calculator { width: min(100%, 620px); justify-self: center; }
  .flow-visual { min-height: 465px; }
  .flow-canvas { width: min(100%, 470px); }
  .scheme-c-globe { width: min(68vw, 390px); }
  .scheme-c-orbits { width: min(105%, 590px); }
  .scheme-c-crypto-node { left: 7%; transform: scale(.92); }
  .scheme-c-fiat-card { right: 6%; width: 170px; transform: rotate(-7deg) scale(.94); }
  .trust-strip article { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 580px) {
  body.remittance-page .portal-main {
    max-width: none;
    padding: .75rem .75rem 3.5rem;
  }

  .premium-home .steps-wrap { margin-bottom: .8rem; overflow-x: visible; }
  .premium-home .steps { min-width: 0; }
  .premium-home .steps li {
    min-width: 0;
    flex-direction: column;
    gap: .22rem;
    padding: .2rem .08rem .55rem;
    font-size: .53rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .premium-home .steps li::before {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .premium-hero { gap: 1rem; padding-top: .2rem; }

  .premium-hero-copy {
    padding-top: .35rem;
    text-align: left;
  }

  .premium-hero-copy .eyebrow { margin-bottom: .55rem; font-size: .66rem; }
  .premium-hero-copy .page-title { font-size: clamp(2.55rem, 13vw, 3.1rem); }
  .premium-hero-copy .page-lead { margin-top: .85rem; font-size: .9rem; line-height: 1.6; }
  .hero-actions { justify-content: stretch; gap: .55rem; margin-top: 1.15rem; }
  .home-primary-action, .home-secondary-action { flex: 1 1 0; min-height: 46px; padding-inline: .7rem; font-size: .82rem; }
  .hero-supporting-copy { font-size: .67rem; }

  .premium-home .quote-calculator {
    padding: .9rem;
    border-radius: 18px;
  }

  .premium-home .calculator-heading h2 { font-size: 1.04rem; }
  .premium-home .live-quote-badge { padding-inline: .46rem; font-size: .56rem; }
  .premium-home .notice { gap: .6rem; padding: .72rem; font-size: .78rem; }
  .premium-home .quote-entry-card { padding: .68rem .72rem; }
  .premium-home .quote-entry-row { grid-template-columns: minmax(0, 1fr) 132px; gap: .35rem; }
  .premium-home .quote-calculator .amount-input-wrap .form-control,
  .premium-home .receive-amount { font-size: 1.85rem; }
  .premium-home .quote-select-wrap .form-select { padding-left: .5rem; font-size: .66rem; }
  .premium-home .network-select-row { grid-template-columns: minmax(100px, .78fr) minmax(0, 1.22fr); gap: .45rem; }
  .premium-home .network-select-row label > small { font-size: .56rem; }
  .premium-home .quote-detail-row { gap: .5rem; font-size: .65rem; }
  .premium-home .calculator-footnote { font-size: .55rem; }

  .flow-visual {
    min-height: 370px;
    margin-top: .3rem;
    overflow: hidden;
  }

  .scheme-c-stage { margin-top: 0; }

  .flow-canvas { width: min(112%, 400px); }
  .flow-track-highlight,
  .flow-particle,
  .flow-currency-stack { display: none; }
  .flow-visual.is-animated .flow-coin-mover,
  .flow-visual.is-animated .flow-fiat-mover { animation: none; }
  .flow-legend { right: 6%; bottom: 3%; left: 6%; font-size: .58rem; }

  .scheme-c-stage { overflow: hidden; }
  .scheme-c-halo { width: 112%; }
  .scheme-c-globe { width: min(76vw, 310px); }
  .scheme-c-orbits { width: 112%; min-width: 410px; }
  .scheme-c-engine { width: 130px; }
  .scheme-c-engine-shield { width: 52px; height: 59px; border-radius: 18px 18px 21px 21px; }
  .scheme-c-engine-shield svg { width: 35px; height: 42px; }
  .scheme-c-engine > strong { margin-top: .35rem; font-size: .64rem; }
  .scheme-c-engine > small { font-size: .5rem; }
  .scheme-c-crypto-node { left: 1%; top: 40%; transform: scale(.72); transform-origin: left center; }
  .scheme-c-fiat-card { right: -1%; bottom: 9%; width: 148px; transform: rotate(-6deg) scale(.78); transform-origin: right bottom; }
  .scheme-c-stage .flow-legend { right: 5%; bottom: 1%; left: 5%; }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .trust-strip article {
    align-items: center;
    flex-direction: row;
    padding: .9rem;
  }

  .home-section { padding-top: 3.6rem; }
  .section-heading h2 { font-size: 2rem; }
  .remittance-step-cards { grid-template-columns: 1fr; gap: .75rem; margin-top: 1.35rem; }
  .remittance-step-cards article { min-height: 0; padding: 1.2rem; }
  .remittance-step-cards h3 { margin-top: 1.2rem; }
  .supported-assets-grid { grid-template-columns: 1fr; gap: .75rem; margin-top: 1.35rem; }
  .supported-assets-grid > div { padding: 1rem; }
  .capability-note { grid-column: auto; text-align: left; }
}

@media (max-width: 370px) {
  .premium-home .quote-entry-row { grid-template-columns: minmax(0, 1fr) 120px; }
  .premium-home .quote-select-wrap .form-select { font-size: .62rem; }
  .premium-hero-copy .page-title { font-size: 2.42rem; }
  .scheme-c-crypto-node { left: -2%; }
  .scheme-c-fiat-card { right: -3%; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-visual *,
  .home-primary-action,
  .home-secondary-action,
  .premium-home .primary-button {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
