/* Remit Me
   Idea: money changes colour as it travels, like dusk turning to a warm
   evening. Crypto violet on the way in, through rose, to the amber-gold of
   pounds landing. The route line is the signature element.
   Type: Bricolage Grotesque (display) + Instrument Sans (text). */

:root {
  --crypto: #6D4AFF;
  --crypto-soft: #EFEBFF;
  --crypto-ink: #5534E0;
  --brand: #5B3DF5;
  --brand-ink: #4A2FD9;
  --rose: #E0457B;
  --rose-ink: #B8285A;
  --gold: #F08A24;
  --cash: #B45309;
  --cash-ink: #8A3F06;
  --cash-deep: #1E1538;
  --cash-soft: #FFF1DC;
  --mid: #B8285A;
  --sun: #FFC24D;
  --sun-soft: #FFF4D9;
  --ink: #1C1530;
  --ink-2: #4A4160;
  --ink-3: #61577A;
  --line: #E7E1F3;
  --mist: #F7F4FD;
  --white: #FFFFFF;
  --sunset: linear-gradient(100deg, #D6336C 0%, #C2560C 100%);
  --danger: #C4302B;

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 75rem;
  --gutter: clamp(1.25rem, 3.5vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: var(--brand); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--crypto); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
h1, h2, .r-out, .close h2 { font-family: var(--display); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; max-width: 18ch; }
h2.narrow { max-width: 22ch; }
h3 { font-family: var(--text); font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.sub { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.15rem; max-width: 38rem; }
.fine { margin-top: 1.25rem; color: var(--ink-3); font-size: .85rem; max-width: 46rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.5rem; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; border-radius: 12px; font-size: .95rem; }
.btn-cash { background: var(--brand); color: var(--white); }
.btn-cash:hover { background: var(--brand-ink); color: var(--white); }
.btn-line { color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 2px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.btn-sun { background: var(--sun); color: var(--cash-deep); }
.btn-sun:hover { background: #FFD27A; color: var(--cash-deep); }

/* ---------- risk + header ---------- */
.risk { background: var(--cash-deep); color: #D9D1F0; font-size: .8rem; line-height: 1.45; }
.risk p { max-width: var(--wrap); margin: 0 auto; padding: .55rem var(--gutter); }
.risk a { color: var(--sun); font-weight: 600; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; white-space: nowrap; flex: none; }
.logo span { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; line-height: 1; }
.logo-mark { width: 40px; height: 18px; }
.top nav { margin-left: auto; }
.top ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.top nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.top nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem); background: linear-gradient(var(--white) 40%, var(--mist)); }
.hero > .wrap { position: relative; z-index: 2; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%); }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow i { position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%; filter: blur(80px); opacity: .16; }
.hero-glow i:first-child { left: -14vw; top: -18vw; background: var(--crypto); }
.hero-glow i:last-child { right: -16vw; top: 6vw; background: #F06BA0; }
.motion .hero-glow i:first-child { animation: drift-a 18s ease-in-out infinite alternate; }
.motion .hero-glow i:last-child { animation: drift-b 22s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(8vw, 6vw) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-7vw, -4vw) scale(1.1); } }
.route { position: relative; z-index: 2; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero h1 { font-size: clamp(3.2rem, 8.2vw, 7rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; color: var(--crypto); }
.hero h1 .out { color: var(--cash); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 30rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* the route converter */
.route { margin-top: clamp(2.5rem, 5vw, 3.75rem); background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; grid-template-columns: 15.5rem minmax(0, 1fr) 15rem; gap: 1.5rem 2.25rem; align-items: center;
  box-shadow: 0 1px 0 rgba(28, 21, 48, .03), 0 30px 60px -35px rgba(40, 20, 80, .35); }
.r-label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-3); margin-bottom: .5rem; }
.r-input { display: flex; align-items: center; gap: .5rem; border-radius: 16px; background: var(--crypto-soft); padding: .35rem 1rem; box-shadow: inset 0 0 0 2px transparent; }
.r-input:focus-within { box-shadow: inset 0 0 0 2px var(--crypto); }
.r-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--crypto-ink); padding: .2rem 0; }
.r-input span { font-weight: 700; color: var(--crypto-ink); }
.r-net { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: .9rem; color: var(--ink-2); }
.r-net select { font: inherit; font-weight: 600; color: var(--crypto-ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem 2rem .35rem .85rem; cursor: pointer; appearance: none; max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23574B78' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; }
.r-net select:hover { border-color: var(--crypto); }
.r-fiat { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
.r-fiat { font-size: .9rem; color: var(--ink-2); margin-bottom: .9rem; }
.r-fiat select { font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem 1.9rem .3rem .8rem; cursor: pointer; appearance: none; max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23574B78' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; }
.r-fiat select:hover { border-color: var(--brand); }
.r-fiat select:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.r-net select:focus-visible { outline: 2px solid var(--crypto); outline-offset: 2px; }
.r-help { margin-top: .5rem; font-size: .8rem; color: var(--ink-3); }
.r-help.err { color: var(--danger); font-weight: 600; }
.r-get { text-align: right; }
.r-out.long { font-size: clamp(2.1rem, 3.5vw, 2.75rem); }
.r-out.xlong { font-size: clamp(1.8rem, 2.9vw, 2.25rem); }
.r-out { display: block; font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--cash); }
.r-meta { margin-top: .6rem; font-size: .82rem; color: var(--ink-3); }
.r-note { grid-column: 1 / -1; font-size: .78rem; color: var(--ink-3); padding-top: 1rem; border-top: 1px dashed var(--line); }

.r-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.r-line::before, .r-line::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 4px; border-radius: 4px; }
.r-line::before { background: var(--line); }
.r-line::after { background: linear-gradient(90deg, var(--crypto), var(--rose), var(--gold)); transform-origin: left; }
.stop { text-align: center; position: relative; z-index: 1; padding: 0 .25rem; }
.pin { display: block; width: 22px; height: 22px; margin: 0 auto .8rem; border-radius: 50%; background: var(--white); border: 4px solid var(--crypto); }
.stop:nth-child(3) .pin { border-color: #A84BE0; }
.stop:nth-child(4) .pin { border-color: var(--rose); }
.stop:nth-child(5) .pin { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 6px var(--cash-soft); }
.stop b { display: block; font-size: .95rem; font-weight: 700; }
.fee { display: block; font-size: .8rem; color: var(--ink-3); margin-top: .15rem; }

/* one orchestrated moment: money travels the route on first load */
.js .route.ready .r-line::after { transform: scaleX(0); }
.js .route.ready .pin { transform: scale(.6); opacity: .35; }
.js .route.go .r-line::after { transform: scaleX(1); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1); }
.js .route.go .pin.lit { transform: none; opacity: 1; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), opacity .2s ease; }

.facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; color: var(--ink-2); font-size: .95rem; }
.facts li { padding-left: 1rem; border-left: 3px solid var(--line); }
.facts b { color: var(--ink); }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-mist { background: var(--mist); }

/* chat */
.chat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.flow { list-style: none; counter-reset: f; margin: 2.25rem 0 2.25rem; padding: 0; display: grid; gap: 1.1rem; max-width: 36rem; }
.flow li { counter-increment: f; position: relative; padding-left: 3.1rem; color: var(--ink-2); }
.flow li::before { content: counter(f); position: absolute; left: 0; top: -.05rem; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--crypto-soft); color: var(--crypto-ink); }
.flow li:last-child::before { background: var(--cash-soft); color: var(--cash); }
.flow b { color: var(--ink); }

.phone { margin: 0; justify-self: center; width: 100%; max-width: 25rem; border-radius: 40px; padding: 12px; background: var(--ink);
  box-shadow: 0 50px 80px -40px rgba(40, 20, 80, .55); }
.phone-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-radius: 30px 30px 0 0; background: linear-gradient(120deg, var(--brand), #8A3FD9); color: var(--white); }
.phone-head .logo-mark { width: 36px; }
.phone-head b { display: block; font-size: .98rem; }
.phone-head small { display: block; font-size: .75rem; opacity: .8; }
.thread { list-style: none; margin: 0; padding: 1.1rem .9rem 1.25rem; background: #F9F7FE; display: flex; flex-direction: column; gap: .55rem; }
.m { max-width: 85%; padding: .6rem .85rem; border-radius: 18px; font-size: .88rem; line-height: 1.45; }
.m.me { align-self: flex-end; background: var(--crypto-ink); color: var(--white); border-bottom-right-radius: 6px; }
.m.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.m-btn { display: block; margin: .55rem -.85rem -.6rem; padding: .5rem .85rem; border-top: 1px solid var(--line); text-align: center; font-weight: 700; color: var(--brand); }
.m.paid { background: var(--sun-soft); border-color: #F7D9A0; }
.phone figcaption { background: #F9F7FE; border-radius: 0 0 30px 30px; padding: 0 1.1rem 1.1rem; font-size: .72rem; color: var(--ink-3); }

/* statement */
.statement { margin-top: 2.75rem; background: var(--white); border-radius: 22px; border: 1px solid var(--line); overflow: hidden; }
.st-row { display: grid; grid-template-columns: minmax(0, 1fr) 9rem 10rem; gap: 1.5rem; align-items: center; padding: 1.15rem 1.5rem; border-top: 1px solid var(--line); }
.st-row:first-child { border-top: 0; }
.st-head { padding-top: .8rem; padding-bottom: .8rem; background: #FAF8FE; font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.st-row span:nth-child(n+2) { text-align: right; }
.st-row b { display: block; font-weight: 600; }
.st-row em { display: inline-block; margin-top: .25rem; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.st-in { color: var(--crypto-ink); font-weight: 700; }
.st-out { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--cash); }

/* fees + receipt */
.fees-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.fee-def { margin: 2.25rem 0 0; display: grid; gap: 1.25rem; max-width: 34rem; }
.fee-def dt { font-weight: 700; }
.fee-def dd { margin: .2rem 0 0; color: var(--ink-2); }
.receipt { position: relative; background: var(--white); padding: 1.75rem 1.6rem 2rem; border-radius: 6px 6px 0 0;
  box-shadow: 0 1px 2px rgba(28, 21, 48, .08), 0 30px 50px -30px rgba(40, 20, 80, .45); font-variant-numeric: tabular-nums; }
.receipt-wrap { filter: drop-shadow(0 1px 1px rgba(28, 21, 48, .08)) drop-shadow(0 24px 30px rgba(40, 20, 80, .16)); }
.receipt { box-shadow: none !important; padding-bottom: 2.6rem;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle at 9px 100%, transparent 6px, #000 6.5px) bottom / 18px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle at 9px 100%, transparent 6px, #000 6.5px) bottom / 18px 9px repeat-x; }
.rc-top { display: flex; justify-content: space-between; align-items: baseline; }
.rc-brand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.rc-id { font-size: .8rem; color: var(--ink-3); }
.rc-status { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 1.25rem; font-weight: 600; color: var(--cash-ink); font-size: .92rem; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); position: relative; flex: none; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rc-lines { margin: 0; border-top: 1px dashed var(--line); padding-top: .75rem; }
.rc-lines div { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .95rem; }
.rc-lines dt { color: var(--ink-2); }
.rc-lines dd { margin: 0; font-weight: 600; }
.rc-lines .minus dd { color: var(--ink-2); font-weight: 500; }
.rc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .75rem; padding-top: .9rem; border-top: 2px solid var(--ink); }
.rc-total span { font-weight: 700; }
.rc-total b { font-variant-numeric: lining-nums; font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--cash); }
.rc-foot { margin-top: .9rem; font-size: .75rem; color: var(--ink-3); }

/* first time */
.days { list-style: none; margin: 3rem 0 2.75rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.days li { position: relative; padding: 2.25rem 2rem 0 0; }
.days li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--line); }
.days li:first-child::before { background: var(--crypto); border-radius: 4px 0 0 4px; }
.days li:nth-child(2)::before { background: linear-gradient(90deg, var(--crypto), var(--rose), var(--gold)); }
.days li.go::before { background: var(--gold); border-radius: 0 4px 4px 0; }
.days li::after { content: ""; position: absolute; left: 0; top: -7px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--crypto); }
.days li:nth-child(2)::after { border-color: var(--rose); }
.days li.go::after { border-color: var(--gold); background: var(--gold); }
.when { font-weight: 700; font-size: .9rem; color: var(--crypto-ink); margin-bottom: .4rem; }
.days li:nth-child(2) .when { color: var(--mid); }
.days li.go .when { color: var(--cash-ink); }
.days p:not(.when) { margin-top: .5rem; color: var(--ink-2); max-width: 21rem; }

/* rules */
.rules { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.rules > div { padding: 1.75rem 2.5rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.rules > div:nth-child(odd) { border-right: 1px solid var(--line); }
.rules > div:nth-child(even) { padding-left: 2.5rem; padding-right: 0; }
.rules h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.rules p { margin-top: .5rem; color: var(--ink-2); max-width: 30rem; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 14px; height: 2px; background: var(--brand); transition: transform .2s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 2.5rem 1.3rem 0; color: var(--ink-2); }

/* close */
.close { background: radial-gradient(60rem 30rem at 85% 0%, rgba(224, 69, 123, .28), transparent 60%), radial-gradient(50rem 30rem at 0% 100%, rgba(109, 74, 255, .35), transparent 60%), var(--cash-deep); color: var(--white); padding: clamp(4rem, 9vw, 6rem) 0; position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--crypto), var(--rose), var(--gold)); }
.close-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.close h2 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.75rem); max-width: 12ch; line-height: .98; }
.close p { color: #CFC4EE; font-size: 1.15rem; margin-bottom: 1.25rem; max-width: 24rem; }

/* footer */
.foot { background: var(--white); padding: 3.5rem 0 2rem; color: var(--ink-2); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; }
.foot-line { margin-top: .9rem; max-width: 22rem; }
.foot nav { display: flex; gap: 4rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--brand); }
.foot-legal { margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 2rem; font-size: .8rem; color: var(--ink-3); }
.foot-legal p:first-child { max-width: 50rem; }

/* ---------- refinements ---------- */
.route .r-out, .st-out, .rc-total b { font-feature-settings: "lnum"; }
.r-chips { display: flex; gap: .4rem; margin-top: .9rem; flex-wrap: wrap; }
.r-chips button { font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: .3rem .8rem; cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.r-chips button:hover { border-color: var(--crypto); color: var(--crypto-ink); }
.r-chips button[aria-pressed="true"] { background: var(--crypto-soft); border-color: var(--crypto-soft); color: var(--crypto-ink); }
.r-cta { margin-top: 1.1rem; min-height: 46px; font-size: .95rem; }

.facts li { display: flex; gap: .75rem; align-items: flex-start; padding-left: 0; border-left: 0; }
.facts svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: none; }
.avatar svg { width: 26px; height: 12px; }
.m time { display: block; text-align: right; font-size: .68rem; opacity: .7; margin-top: .15rem; }
.m.bot time { color: var(--ink-3); opacity: 1; }

.compare { margin-top: 2.75rem; border-top: 2px solid var(--ink); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1.15fr)); gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cmp-row > span { color: var(--ink-2); font-size: .98rem; }
.cmp-row > span[role="rowheader"] { color: var(--ink); font-weight: 700; }
.cmp-head > span { color: var(--ink-3); font-weight: 600; font-size: .9rem; }
.cmp-row .us { color: var(--cash-ink); font-weight: 600; position: relative; padding-left: 1.1rem; }
.cmp-row .us::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.cmp-head .us { font-family: var(--display); font-size: 1.1rem; font-weight: 800; color: var(--cash); padding-left: 1.1rem; }
.cmp-head .us::before { top: .55em; }

.fee-def > div { position: relative; padding-left: 1.6rem; }
.fee-def > div::before { content: ""; position: absolute; left: 0; top: .32em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--crypto); background: var(--white); }
.fee-def > .fd-2::before { border-color: #A84BE0; }
.fee-def > .fd-3::before { border-color: var(--rose); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 5px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease; }
.menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu ul { position: absolute; right: 0; top: calc(100% + .6rem); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: .5rem;
  min-width: 13rem; box-shadow: 0 24px 48px -24px rgba(40, 20, 80, .45); display: grid; gap: 0; }
.menu a { display: block; padding: .7rem .9rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu a:hover { background: var(--mist); }
.menu .menu-cta { display: none; padding: .4rem .2rem .2rem; }
.menu .menu-cta a.btn { width: 100%; color: var(--white); }
.menu .menu-cta a.btn:hover { background: var(--brand-ink); }

/* pounds figures glow from rose to amber */
.h-line.out > span, .r-out, .st-out, .rc-total b, .close h2 .warm {
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.r-out, .st-out { padding-right: .04em; }

/* ---------- motion ----------
   Everything here is progressive: without JS, or with reduced motion,
   content is simply visible. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); interpolate-size: allow-keywords; }

/* buttons */
.btn { transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-cash:hover { box-shadow: 0 12px 26px -12px rgba(91, 61, 245, .8); }
.btn-sun:hover { box-shadow: 0 12px 26px -10px rgba(255, 194, 77, .7); }

/* headline: each line rises out of a mask */
.h-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.h-line > span { display: block; }

.motion .h-line > span { transform: translateY(110%); }
.motion .h-reveal.in .h-line > span { transform: none; transition: transform 1s var(--ease-out); }
.motion .h-reveal.in .h-line.out > span { transition-delay: .12s; }

/* generic reveal */
.motion [data-reveal]:not(.h-reveal) { opacity: 0; transform: translateY(18px); }
.motion [data-reveal].in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.motion [data-stagger] > * { opacity: 0; transform: translateY(14px); }
.motion [data-stagger].in > * { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
.motion [data-stagger][data-reveal] { opacity: 1; transform: none; }

/* coin travelling the route, changing from USDT to pounds */
.coin { position: absolute; z-index: 2; top: -4px; left: 12.5%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem; background: var(--crypto); opacity: 0;
  box-shadow: 0 6px 16px -6px rgba(109, 74, 255, .8); pointer-events: none; }
.coin i { grid-area: 1 / 1; font-style: normal; }
.coin .c-out { opacity: 0; }
.motion .route.looping .coin { animation: coin-x 5s var(--ease-io) infinite; }
.motion .route.looping .coin .c-in { animation: coin-in 5s linear infinite; }
.motion .route.looping .coin .c-out { animation: coin-out 5s linear infinite; }
@keyframes coin-x {
  0% { left: 12.5%; opacity: 0; transform: scale(.4); background: var(--crypto); }
  6% { opacity: 1; transform: none; }
  60% { left: 87.5%; background: var(--gold); box-shadow: 0 6px 16px -6px rgba(240, 138, 36, .8); transform: none; opacity: 1; }
  70% { left: 87.5%; transform: scale(1.25); opacity: 0; background: var(--gold); }
  100% { left: 87.5%; opacity: 0; background: var(--gold); }
}
@keyframes coin-in { 0%, 40% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes coin-out { 0%, 40% { opacity: 0; } 48%, 100% { opacity: 1; } }

/* each stop pings as the coin passes it */
.pin { position: relative; transition: transform .3s var(--ease-out); }
.pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.stop:nth-child(2) .pin { color: var(--crypto); }
.stop:nth-child(3) .pin { color: #A84BE0; }
.stop:nth-child(4) .pin { color: var(--rose); }
.stop:nth-child(5) .pin { color: var(--gold); }
.motion .route.looping .pin::after { animation: ping 5s var(--ease-out) infinite; }
.motion .route.looping .stop:nth-child(3) .pin::after { animation-delay: .95s; }
.motion .route.looping .stop:nth-child(4) .pin::after { animation-delay: 1.9s; }
.motion .route.looping .stop:nth-child(5) .pin::after { animation-delay: 2.9s; }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 18% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; transform: scale(2.2); } }

/* numbers that just changed */
.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 0% { transform: translateY(0); } 35% { transform: translateY(-3px); color: var(--cash-ink); } 100% { transform: none; } }
.fee.bump, [data-r].bump { animation-name: flash; }
@keyframes flash { 0% { background: var(--sun-soft); } 100% { background: transparent; } }

/* chat playback */
.motion .thread.play > li { opacity: 0; transform: translateY(10px) scale(.98); transform-origin: bottom left; }
.motion .thread.play > li.me { transform-origin: bottom right; }
.motion .thread.play > li.show { opacity: 1; transform: none; transition: opacity .35s ease, transform .45s var(--ease-out); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .75rem .9rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; border-bottom-left-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
.m.paid.show { animation: glow 1.4s ease .2s 1; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 77, .7); } 100% { box-shadow: 0 0 0 14px rgba(255, 194, 77, 0); } }

/* receipt prints out of a slot */
.receipt-wrap { position: relative; padding-top: 10px; }
.printer { position: absolute; left: -10px; right: -10px; top: 0; height: 18px; border-radius: 10px; background: var(--ink); z-index: 2; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.printer span { position: absolute; left: 16px; right: 16px; top: 8px; height: 3px; border-radius: 3px; background: #3A2E58; }
.rc-clip { overflow: hidden; padding-bottom: 40px; margin-bottom: -40px; }
.motion .receipt-wrap:not(.in) .receipt { transform: translateY(-101%); }
.motion .receipt-wrap.in .receipt { transform: none; transition: transform 2s cubic-bezier(.45, .05, .25, 1); }
.motion .receipt-wrap:not(.done) .rc-total b { opacity: .0; }
.motion .receipt-wrap.done .rc-total b { opacity: 1; transition: opacity .3s ease; }

/* first-time timeline draws itself */
.motion .days li::before { transform: scaleX(0); transform-origin: left; }
.motion .days li::after { transform: scale(0); }
.motion .days li > * { opacity: 0; transform: translateY(10px); }
.motion .days.in li::before { transform: none; transition: transform .7s var(--ease-io); }
.motion .days.in li::after { transform: none; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.motion .days.in li > * { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.motion .days.in li:nth-child(1)::after, .motion .days.in li:nth-child(1) > * { transition-delay: .05s; }
.motion .days.in li:nth-child(2)::before { transition-delay: .6s; }
.motion .days.in li:nth-child(2)::after, .motion .days.in li:nth-child(2) > * { transition-delay: .75s; }
.motion .days.in li:nth-child(3)::before { transition-delay: 1.3s; }
.motion .days.in li:nth-child(3)::after, .motion .days.in li:nth-child(3) > * { transition-delay: 1.45s; }
.motion .days.in li:nth-child(3)::after { animation: ping-cash 1.6s ease 2s 2; }
@keyframes ping-cash { 0% { box-shadow: 0 0 0 0 rgba(240, 138, 36, .5); } 100% { box-shadow: 0 0 0 14px rgba(240, 138, 36, 0); } }

/* compare: the Remit Me column gets highlighted as the rows arrive */
.cmp-row .us { background: linear-gradient(var(--cash-soft), var(--cash-soft)) left / 0% 100% no-repeat; border-radius: 6px; transition: background-size .9s var(--ease-io); }
.compare.in .cmp-row .us { background-size: 100% 100%; transition-delay: calc(var(--i, 0) * 90ms + 500ms); }
.cmp-row:not(.cmp-head) .us { padding-top: .15rem; padding-bottom: .15rem; padding-right: .5rem; }
.cmp-head .us { background: var(--sunset); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.close h2 .warm { background: linear-gradient(100deg, #FF8FB5, #FFC24D); -webkit-background-clip: text; background-clip: text; }

/* statement amounts count up */
.st-row { transition: background-color .2s ease; }
.st-row:not(.st-head):hover { background: #FAF8FE; }

/* faq opens smoothly where supported */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* close: the colour bar flows */
.close::before { background-size: 200% 100%; animation: flowbar 8s linear infinite; background-image: linear-gradient(90deg, var(--crypto), var(--rose), var(--gold), var(--sun), var(--crypto)); }
@keyframes flowbar { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .close::before, .coin, .pin::after { animation: none !important; }
  .coin { display: none; }
  .btn:hover, .btn:active { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .route { grid-template-columns: 1fr 1fr; }
  .r-line { grid-column: 1 / -1; grid-row: 2; }
  .r-get { grid-row: 1; grid-column: 2; }
}
@media (max-width: 900px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .menu { display: block; }
  .cmp-row { grid-template-columns: 1fr; gap: .35rem; padding: 1.25rem 0; }
  .cmp-head { display: none; }
  .cmp-row > span[role="cell"]::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
  .cmp-row > span.us { padding-left: 0; }
  .cmp-row > span.us::before { content: attr(data-label); position: static; width: auto; height: auto; background: none; border-radius: 0; color: var(--cash); }
  .hero-top, .chat-grid, .fees-grid, .faq-grid, .close-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .receipt { max-width: 24rem; }
  .days { grid-template-columns: 1fr; margin-left: .5rem; }
  .days li { padding: 0 0 2rem 2rem; }
  .days li::before { left: 0; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .days li:first-child::before, .days li.go::before { border-radius: 4px; }
  .days li:nth-child(2)::before { background: linear-gradient(var(--crypto), var(--rose), var(--gold)); }
  .days li::after { left: -7px; top: 0; }
  .rules { grid-template-columns: 1fr; }
  .rules > div, .rules > div:nth-child(even) { padding: 1.5rem 0; border-right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .route { grid-template-columns: 1fr; padding: 1.25rem; border-radius: 22px; }
  .r-get { grid-row: auto; grid-column: auto; text-align: left; }
  .r-fiat { justify-content: flex-start; }
  .r-line { grid-row: auto; grid-template-columns: 1fr; gap: 1rem; padding-left: .25rem; }
  .r-line::before, .r-line::after { left: 9px; right: auto; top: 11px; bottom: 11px; width: 4px; height: auto; }
  .r-line::after { background: linear-gradient(var(--crypto), var(--rose), var(--gold)); transform-origin: top; }
  .js .route.ready .r-line::after { transform: scaleY(0); }
  .js .route.go .r-line::after { transform: scaleY(1); }
  .stop { display: grid; grid-template-columns: 22px 1fr; column-gap: .9rem; text-align: left; }
  .coin { left: 0; top: 0; margin-left: 0; }
  .motion .route.looping .coin { animation-name: coin-y; }
  @keyframes coin-y {
    0% { top: -4px; opacity: 0; transform: scale(.4); background: var(--crypto); }
    6% { opacity: 1; transform: none; }
    60% { top: var(--coin-end, calc(100% - 26px)); background: var(--gold); transform: none; opacity: 1; }
    70% { top: var(--coin-end, calc(100% - 26px)); transform: scale(1.25); opacity: 0; background: var(--gold); }
    100% { top: var(--coin-end, calc(100% - 26px)); opacity: 0; }
  }
  .pin { margin: 0; grid-row: span 2; }
  .actions .btn { flex: 1 1 100%; }
  .top-row { gap: 1rem; }
  .top-row > .btn-sm { display: none; }
  .menu { margin-left: auto; }
  .menu .menu-cta { display: block; }
  .r-cta { width: 100%; }
  .st-row { grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; padding: 1rem 1.1rem; }
  .st-head { display: none; }
  .st-in { grid-column: 1; grid-row: 2; text-align: left !important; font-size: .9rem; }
  .st-out { grid-column: 2; grid-row: 1 / span 2; font-size: 1.3rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot nav { gap: 3rem; }
  .foot-legal { flex-direction: column; gap: .75rem; }
  .receipt { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .route.ready .r-line::after { transform: none; }
  .js .route.ready .pin { transform: none; opacity: 1; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 46rem; margin: 0 auto; padding: 3rem var(--gutter) 5rem; }
.legal .draft { background: var(--sun-soft); border: 1px solid #F7D9A0; padding: .9rem 1.1rem; border-radius: 12px; font-size: .9rem; margin-bottom: 2rem; color: #5C4500; }
.legal h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.legal .updated { color: var(--ink-3); margin-top: .9rem; font-size: .9rem; }
.legal h2 { font-family: var(--text); font-size: 1.3rem; font-weight: 700; letter-spacing: 0; margin: 2.5rem 0 .75rem; max-width: none; line-height: 1.3; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li { margin: .4rem 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 700; color: var(--ink); }
.legal-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal-head .top-row { min-height: 64px; }
.legal-head a.back { margin-left: auto; font-weight: 600; text-decoration: none; }
