/* Rill: deep water, aqua light, Hanken Grotesk + IBM Plex Mono for the counters. Quiet, wide, slow. */
:root { --bg: #03080b; --s1: #07131a; --s2: #0c1d26; --line: rgba(191, 246, 241, .1); --text: #ecf7f6; --muted: rgba(220, 240, 238, .58); --accent: #7fe7e0; --deep: #3fb8b4; --on-accent: #022024; --font: "Hanken Grotesk", Inter, Arial, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace; --wrap: 1160px; --g: clamp(20px, 4vw, 40px) }
* { box-sizing: border-box; margin: 0; padding: 0 }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scrollbar-color: rgba(127, 231, 224, .25) transparent; scrollbar-width: thin }
body { background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; min-height: 100vh; display: flex; flex-direction: column }
main { flex: 1 } a { color: inherit; text-decoration: none } img { display: block; max-width: 100% } button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer } em { font-style: normal }
::-webkit-scrollbar { width: 8px } ::-webkit-scrollbar-thumb { background: rgba(127, 231, 224, .22); border-radius: 999px } ::-webkit-scrollbar-thumb:hover { background: rgba(127, 231, 224, .5) }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--g) * 2); margin: 0 auto; padding-inline: var(--g) }
.muted { color: var(--muted) } .mono { font-family: var(--mono) } .aqua { color: var(--accent) }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, opacity .2s, border-color .2s }
.btn.aq { background: var(--accent); color: var(--on-accent) } .btn.aq:hover { opacity: .9 }
.btn.glass { background: rgba(236, 247, 246, .06); border: 1px solid rgba(236, 247, 246, .18); backdrop-filter: blur(10px) } .btn.glass:hover { background: rgba(236, 247, 246, .12) }
.btn.big { height: 56px; padding: 0 32px; font-size: 16px }

.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 20 } .bar.solid { position: sticky; background: rgba(3, 8, 11, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line) }
.bar .wrap { height: 78px; display: flex; align-items: center; gap: 34px }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 22px var(--font); letter-spacing: -.02em } .brand img { width: 30px; height: 30px }
.bar nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; color: rgba(236, 247, 246, .7) } .bar nav a:hover, .bar nav a.on { color: #fff }

/* hero: water, one sentence, a counter that never stops */
.hero { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: drift 40s ease-in-out infinite alternate }
@keyframes drift { to { transform: scale(1.1) translateX(-1.5%) } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(3, 8, 11, .62), rgba(3, 8, 11, .25) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 25%) }
.hero .wrap { padding-block: 120px 80px; display: flex; flex-direction: column; align-items: center }
.hero h1 { font: 300 clamp(40px, 5.6vw, 80px)/1.04 var(--font); letter-spacing: -.035em; max-width: 13em; text-wrap: balance }
.hero h1 b { font-weight: 600 }
.counter { margin-top: 38px; font: 300 clamp(44px, 7.4vw, 108px)/1 var(--mono); letter-spacing: -.04em; color: #fff; text-shadow: 0 0 40px rgba(127, 231, 224, .28) }
.counter small { font-size: .32em; letter-spacing: .02em; color: var(--accent); margin-left: .3em }
.counter-note { margin-top: 14px; color: rgba(236, 247, 246, .72); font-size: 16px }
.ctas { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; justify-content: center }
.ca { margin-top: 20px; display: inline-flex; gap: 12px; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; background: rgba(3, 8, 11, .55); border: 1px solid var(--line); font: 13px var(--mono); color: var(--muted); cursor: pointer; backdrop-filter: blur(8px) } .ca b { color: var(--accent); font-weight: 500 }

/* live numbers, wide and quiet */
.live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-block: 60px; border-bottom: 1px solid var(--line) }
.live div { text-align: center } .live b { display: block; font: 300 clamp(34px, 4vw, 54px)/1 var(--mono); letter-spacing: -.03em } .live span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px }

section.s { padding-block: clamp(80px, 10vw, 140px); border-bottom: 1px solid var(--line) }
.s h2 { font: 300 clamp(34px, 4.2vw, 58px)/1.05 var(--font); letter-spacing: -.035em; max-width: 14em; text-wrap: balance } .s h2 b { font-weight: 600 }
.s .lead { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 36em }

/* the flow diagram: one stream drawn as a river, sender to recipient */
.flow { margin-top: 56px; position: relative }
.flow svg { width: 100%; height: auto; display: block; overflow: visible }
.flow .lbl { font: 13px var(--mono); fill: rgba(220, 240, 238, .6) } .flow .big { font: 500 15px var(--font); fill: #ecf7f6 }
.legend { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--muted) } .legend i { display: inline-block; width: 22px; height: 6px; border-radius: 3px; margin-right: 9px; vertical-align: 2px }

/* uses: a plain table of real rates */
table.uses { width: 100%; border-collapse: collapse; margin-top: 44px; font-size: 16px }
table.uses th { text-align: left; font-weight: 400; color: var(--muted); font-size: 13px; padding: 0 0 14px } table.uses th:not(:first-child), table.uses td:not(:first-child) { text-align: right }
table.uses td { padding: 22px 0; border-top: 1px solid var(--line); vertical-align: top } table.uses td:not(:first-child) { font-family: var(--mono); white-space: nowrap; padding-left: 20px }
table.uses td b { display: block; font-weight: 600; font-size: 19px } table.uses td small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; max-width: 30em }

.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start }
ol.steps { list-style: none; counter-reset: s }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; padding: 26px 0; border-top: 1px solid var(--line) } ol.steps li:last-child { border-bottom: 1px solid var(--line) }
ol.steps li::before { content: "0" counter(s); grid-row: span 2; font: 400 15px var(--mono); color: var(--accent); padding-top: 4px }
ol.steps b { font-weight: 600; font-size: 20px; letter-spacing: -.01em } ol.steps span { color: var(--muted); margin-top: 6px }

dl.safe { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin-top: 44px }
dl.safe dt, dl.safe dd { padding: 22px 0; border-top: 1px solid var(--line) } dl.safe dt { font-weight: 600; font-size: 19px; padding-right: 24px } dl.safe dd { color: var(--muted) }

.faq { margin-top: 40px } .faq details { border-top: 1px solid var(--line) } .faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 500; font-size: 20px } .faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--accent); font: 300 26px/1 var(--mono); transition: transform .25s } .faq details[open] summary::after { transform: rotate(45deg) }
.faq p { color: var(--muted); padding-bottom: 24px; max-width: 44em }

.end { position: relative; isolation: isolate; overflow: hidden; text-align: center }
.end img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5 }
.end::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), rgba(3, 8, 11, .35) 45%, var(--bg)) }
.end .wrap { padding-block: clamp(110px, 14vw, 200px) } .end h2 { font: 300 clamp(40px, 5.6vw, 76px)/1.02 var(--font); letter-spacing: -.04em } .end h2 b { font-weight: 600 } .end .ctas { margin-top: 32px }

.foot { background: #000; padding: 60px 0 72px }
.foot .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap } .foot p { color: rgba(255, 255, 255, .5); font-size: 13px; margin-top: 12px }
.foot .cols { display: flex; gap: 64px; font-size: 14px } .foot .cols div { display: grid; gap: 10px; align-content: start } .foot .cols b { font-weight: 600 } .foot .cols a { color: rgba(255, 255, 255, .62) } .foot .cols a:hover { color: #fff }

/* docs */
.page-top { padding-block: 150px 60px; border-bottom: 1px solid var(--line) } .page-top h1 { font: 300 clamp(44px, 6vw, 84px)/1 var(--font); letter-spacing: -.045em } .page-top h1 b { font-weight: 600 } .page-top p { margin-top: 20px; color: var(--muted); font-size: 19px; max-width: 38em }
.doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-block: 64px; border-bottom: 1px solid var(--line) }
.doc h2 { font: 400 30px/1.1 var(--font); letter-spacing: -.03em; position: sticky; top: 110px; align-self: start }
.doc p, .doc li { color: var(--muted); max-width: 44em } .doc p + p { margin-top: 12px } .doc b { color: var(--text); font-weight: 600 } .doc ul { padding-left: 20px } .doc li + li { margin-top: 8px }
.doc code { font: 14px var(--mono); background: var(--s2); padding: 2px 7px; border-radius: 6px; color: var(--text) }
.doc table { width: 100%; border-collapse: collapse } .doc td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top } .doc td:first-child { color: var(--muted); width: 36%; padding-right: 16px } .doc td a { font: 13px var(--mono); color: var(--accent) }

@media (max-width: 900px) {
  .bar nav { display: none } .bar .wrap { justify-content: space-between }
  .live { grid-template-columns: 1fr; gap: 34px } .two, .doc, dl.safe { grid-template-columns: 1fr } .doc { gap: 20px } .doc h2 { position: static } dl.safe dd { border-top: 0; padding-top: 0 }
  table.uses .hs { display: none }
}
@media (max-width: 560px) { .ctas .btn { flex: 1 } .foot .cols { gap: 36px; flex-wrap: wrap } .counter small { display: block; margin: 8px 0 0 } }
@media (prefers-reduced-motion: reduce) { .hero picture img { animation: none } }
