@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --ink: #07140f;
  --ink-soft: #25322d;
  --muted: #5d6964;
  --line: #dce4e1;
  --line-dark: rgba(7, 20, 15, 0.14);
  --white: #ffffff;
  --paper: #f3f7f5;
  --sky: #aee7ff;
  --sky-strong: #6ccfff;
  --sky-soft: #e7f8ff;
  --dark: #07140f;
  --dark-card: #10261f;
  --shadow: 0 34px 90px rgba(17, 36, 29, 0.16);
  --display: "Archivo Black", "Arial Black", "Inter", sans-serif;
  --sans: "Inter", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

img,
svg {
  max-width: 100%;
}

button {
  cursor: pointer;
}

.site-header,
.section-shell,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 22px;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links {
  justify-content: center;
}

.header-actions {
  justify-content: flex-end;
}

.handle-link {
  color: rgba(7, 20, 15, 0.76);
}

.button {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-light {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(7, 20, 15, 0.08);
}

.button-sky {
  background: var(--sky);
  color: var(--ink);
}

.button-light-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.hero {
  min-height: 940px;
  padding: 112px 0 78px;
  background:
    radial-gradient(circle at 52% 0%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(180deg, #aee7ff 0%, #aee7ff 72%, #ffffff 72%);
}

.hero-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(54px, 8.3vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  max-width: 690px;
  margin: 24px auto 0;
  color: rgba(7, 20, 15, 0.78);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.42;
  font-weight: 700;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rotating-line {
  min-height: 28px;
  margin: 18px 0 36px;
  color: rgba(7, 20, 15, 0.7);
  font-weight: 900;
}

.typing-char {
  display: inline-block;
}

.typing-char.is-new {
  animation: typingRise 180ms ease both;
}

.hero-quote {
  margin: 0 auto;
}

.quote-card {
  width: min(500px, 100%);
  padding: 30px;
  border-radius: 36px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: left;
}

.quote-card-top,
.quote-label-row,
.quote-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.quote-card-top {
  margin-bottom: 18px;
}

.lock-pill,
.rate-pill,
.inline-currency-pill,
.currency-cycle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #eef5f2;
  color: var(--ink);
  border: 0;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.rate-pill b {
  color: var(--muted);
  font-size: 12px;
}

.inline-currency-pill img,
.currency-cycle img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-field {
  padding: 13px 0;
}

.quote-label-row {
  margin-bottom: 8px;
}

.quote-label-row strong {
  font-size: 14px;
  font-weight: 800;
}

.amount-input {
  display: block;
}

.amount-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-align: right;
}

.amount-input input::-webkit-outer-spin-button,
.amount-input input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.receive-input input {
  color: #13281f;
}

.discount-strip {
  margin: 8px 0 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #e6f7ff;
  color: #276072;
  font-size: 12px;
  font-weight: 900;
}

.quote-meta {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.quote-info-row {
  min-height: 98px;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.quote-info-copy {
  min-width: 0;
}

.quote-info-copy p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
}

.quote-info-copy strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  line-height: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.meta-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(7, 20, 15, 0.02);
  color: var(--ink);
  font-weight: 900;
}

.meta-icon svg {
  width: 25px;
  height: 25px;
}

.meta-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meta-icon-usdc {
  color: #2775ca;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: -0.04em;
}

.quote-actions {
  margin-top: 24px;
}

.quote-add-recipient {
  flex: 1;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  font-weight: 900;
}

.quote-add-recipient.is-disabled {
  opacity: 0.55;
}

.currency-cycle {
  min-height: 52px;
  padding-inline: 16px;
}

.logo-strip {
  width: 100%;
  min-height: 72px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 24px 26px;
  background: var(--white);
}

.logo-strip span {
  padding: 10px 16px;
  border-radius: 999px;
  background: #f4f7f6;
  color: rgba(7, 20, 15, 0.7);
  font-size: 13px;
  font-weight: 900;
}

.intro-section,
.product-cards,
.developer-section,
.portal-section {
  padding: 96px 0;
}

.flag-ribbon {
  max-width: 850px;
  margin: 0 auto 72px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.flag-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.flag-ribbon img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.4vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.section-heading p:not(.kicker) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.feature-row {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.large-product-card,
.metric-card,
.portal-card {
  border: 1px solid var(--line);
  background: #f8fbfa;
  border-radius: 30px;
}

.feature-card {
  padding: 30px;
  min-height: 230px;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--sky);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.04em;
}

.feature-card h3,
.large-product-card h3,
.developer-copy h2,
.portal-header h2,
.portal-card h3,
.metric-card strong {
  margin: 22px 0 10px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.feature-card p,
.large-product-card p,
.developer-copy p,
.portal-card p,
.metric-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 650;
}

.wide-media {
  margin: 72px 0 0;
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 38px;
  background: #dce9ee;
}

.wide-media img,
.safety-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wide-media figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.wide-media figcaption strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.wide-media figcaption span {
  max-width: 560px;
  color: var(--muted);
  font-weight: 700;
}

.pricing-section {
  padding: 104px 0;
  background: var(--paper);
}

.pricing-section .button {
  margin-top: 28px;
}

.comparison-card {
  margin-top: 58px;
  padding: 34px;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 18px;
  margin-bottom: 32px;
}

.comparison-top label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.comparison-top input,
.comparison-top select {
  min-height: 50px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.75fr repeat(3, 1fr);
  gap: 18px;
}

.comparison-labels,
.provider-column {
  display: grid;
  grid-template-rows: 64px repeat(5, minmax(52px, auto));
  gap: 0;
}

.comparison-labels {
  padding-top: 68px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.comparison-labels span,
.provider-column p,
.provider-column strong {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-top: 1px solid var(--line);
}

.provider-column {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fbfdfc;
}

.provider-column.highlighted {
  background: var(--sky);
  border-color: transparent;
}

.provider-column h3 {
  margin: 8px 0 18px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.provider-column strong {
  font-size: 18px;
  font-weight: 900;
}

.provider-column p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 750;
}

.provider-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
}

.provider-badge.muted {
  background: #edf3f0;
  color: var(--ink);
  font-size: 12px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.large-product-card {
  min-height: 520px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.large-product-card > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-visual {
  min-height: 190px;
  margin-top: auto;
  border-radius: 24px;
  background: var(--sky-soft);
  overflow: hidden;
}

.account-visual {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  padding: 26px;
}

.account-visual b {
  min-height: 94px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.07em;
}

.account-visual i {
  height: 4px;
  background: var(--ink);
}

.rail-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
}

.rail-visual span {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--white);
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.06em;
}

.fee-visual {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.fee-visual span {
  padding: 17px 18px;
  border-radius: 16px;
  background: var(--white);
  font-weight: 900;
}

.safety-section {
  padding: 104px 0;
  background: var(--paper);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.safety-media {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border-radius: 42px;
  background: #dce9ee;
}

.safety-copy h2,
.developer-copy h2,
.portal-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.safety-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.proof-list {
  margin: 34px 0;
  border-top: 1px solid var(--line-dark);
}

.proof-list div {
  padding: 19px 0;
  border-bottom: 1px solid var(--line-dark);
}

.proof-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.proof-list strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.dark-section {
  padding: 106px 0;
  background: var(--dark);
  color: var(--white);
}

.dark-heading {
  color: var(--white);
}

.dark-heading .kicker {
  color: var(--sky);
}

.corridor-cards {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.corridor-card {
  min-height: 300px;
  padding: 25px;
  border-radius: 28px;
  background: var(--dark-card);
}

.corridor-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.corridor-card h3 {
  margin: 100px 0 12px;
  font-size: 34px;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.corridor-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
  font-weight: 650;
}

.token-section {
  padding: 108px 0;
  background: #eef7fb;
}

.token-shell {
  display: grid;
  gap: 54px;
}

.token-heading p:not(.kicker) {
  color: var(--ink-soft);
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.token-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid rgba(7, 20, 15, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(17, 36, 29, 0.08);
}

.token-card-featured {
  grid-column: span 2;
  background: var(--ink);
  color: var(--white);
}

.token-buyback {
  grid-column: span 2;
  background:
    radial-gradient(circle at 18% 20%, rgba(132, 211, 255, 0.38), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #dff4ff 100%);
}

.token-card > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.token-card-featured > span {
  color: var(--sky);
}

.token-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.token-card p,
.token-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 700;
}

.token-card-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.buyback-flow {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.buyback-flow div {
  min-height: 176px;
  padding: 18px;
  border: 1px solid rgba(7, 20, 15, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.buyback-flow b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--sky);
  font-family: var(--mono);
  font-size: 12px;
}

.buyback-flow strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.03em;
}

.buyback-flow span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.42;
}

.allocation-bars {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.allocation-bars div {
  display: grid;
  grid-template-columns: 155px 1fr 52px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}

.allocation-bars b {
  color: rgba(255, 255, 255, 0.78);
}

.allocation-bars i {
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--sky) var(--bar), rgba(255, 255, 255, 0.14) var(--bar));
}

.allocation-bars em {
  color: var(--sky);
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.token-checklist {
  background: var(--sky);
}

.token-checklist ul {
  margin: 22px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.token-checklist li {
  color: var(--ink);
}

.developer-section {
  background: var(--white);
}

.developer-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 60px;
  align-items: center;
}

.developer-copy p:not(.kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.developer-copy .button {
  margin-top: 22px;
}

.code-window {
  overflow: hidden;
  border-radius: 30px;
  background: #081510;
  color: #dcfff2;
  box-shadow: var(--shadow);
}

.code-tabs {
  min-height: 58px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 18px;
  background: #0d2119;
}

.code-tabs span {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 900;
}

.code-tabs .active {
  background: rgba(174, 231, 255, 0.14);
  color: var(--sky);
}

pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
}

.code-key {
  color: #8bd7ff;
}

.code-string {
  color: #b8f2ce;
}

.code-number {
  color: #ffd17a;
}

.portal-section {
  color: var(--white);
}

.portal-section[hidden] {
  display: none;
}

.portal-section {
  margin-bottom: 96px;
  padding: 34px;
  border-radius: 38px;
  background: var(--dark);
}

.portal-header,
.dashboard-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.portal-header .kicker {
  color: var(--sky);
}

#portal-identity {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

.dashboard-toolbar {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-toolbar span {
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-toolbar strong {
  color: rgba(255, 255, 255, 0.82);
}

.portal-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card,
.portal-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.metric-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--sky);
}

.metric-card p,
.portal-card p {
  color: rgba(255, 255, 255, 0.64);
}

.portal-label {
  color: var(--sky);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portal-card-wide {
  grid-column: span 2;
}

.rail-bars {
  display: grid;
  gap: 13px;
}

.rail-bars span {
  display: grid;
  grid-template-columns: 105px 1fr 80px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.rail-bars i {
  height: 10px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--sky) var(--bar), rgba(255, 255, 255, 0.12) var(--bar));
}

.rail-bars em {
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
  text-align: right;
}

.fee-control-card input {
  width: 100%;
  accent-color: var(--sky);
}

.fee-preview {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.fee-preview strong {
  color: var(--white);
}

.portal-card code {
  display: block;
  margin-top: 16px;
  padding: 12px;
  overflow-x: auto;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--sky);
  font-family: var(--mono);
  font-size: 12px;
}

.text-button {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--sky);
  font-weight: 900;
  padding: 0;
}

.site-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal,
.animated-copy {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible,
.animated-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 46px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(50px, 13vw, 92px);
  }

  .feature-row,
  .product-cards,
  .safety-grid,
  .developer-grid,
  .comparison-grid,
  .corridor-cards,
  .token-grid {
    grid-template-columns: 1fr;
  }

  .token-card-featured {
    grid-column: auto;
  }

  .token-buyback {
    grid-column: auto;
  }

  .buyback-flow {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-labels {
    display: none;
  }

  .comparison-top {
    grid-template-columns: 1fr;
  }

  .wide-media figcaption,
  .portal-header,
  .dashboard-toolbar,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .buyback-flow {
    grid-template-columns: 1fr;
  }

  .site-header,
  .section-shell,
  .site-footer,
  .hero-shell {
    width: min(100% - 28px, 1200px);
  }

  .site-header {
    gap: 12px;
  }

  .header-actions {
    gap: 10px;
  }

  .handle-link {
    display: none;
  }

  .button {
    min-height: 44px;
    padding: 0 16px;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-title {
    letter-spacing: -0.075em;
  }

  .quote-card {
    padding: 20px;
    border-radius: 26px;
  }

  .quote-card-top,
  .quote-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .amount-input input {
    font-size: 42px;
  }

  .intro-section,
  .product-cards,
  .developer-section,
  .portal-section,
  .pricing-section,
  .safety-section,
  .dark-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading h2,
  .safety-copy h2,
  .developer-copy h2,
  .portal-header h2 {
    font-size: 42px;
  }

  .wide-media,
  .safety-media {
    min-height: 330px;
  }

  .wide-media figcaption {
    position: static;
    border-radius: 0;
  }

  .portal-section {
    padding: 22px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-card-wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
