/*
Theme Name: Returning
Description: The Returning crypto swap site.
Version: 0.4.0
Text Domain: returning
*/

:root {
  color-scheme: light;
  --page: #fff;
  --canvas: #f8faf6;
  --hero-fade: linear-gradient(to top, var(--canvas), transparent clamp(36px, 5.1vw, 72px));
  --sage-glow: #d8ee9e55;
  --card-shadow: 0 10px 28px #3143230e;
  --surface: #fff;
  --well: #f5f7f0;
  --text: #1b2419;
  --muted: #535e50;
  --line: #dde4d6;
  --accent: #c9ef72;
  --focus: #526c13;
  --content: 1120px;
  --site-header-height: 73px;
  --site-header-top: 0px;
  font-family: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: absolute;
  z-index: 7;
  inset: 8px auto auto 8px;
  padding: 9px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--accent);
  color: #151b0d;
}

.analytics-preferences { margin: 0; padding: 5px 0; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; }
.analytics-preferences:hover { color: var(--focus); text-decoration: underline; }
.analytics-preferences:focus-visible { outline-offset: 3px; }
.analytics-options { position: fixed; z-index: 10; inset: auto 20px 20px auto; max-width: min(380px, calc(100vw - 40px)); padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 8px 28px #1b24191a; }
.analytics-options p { margin-top: 0; }
.analytics-options button { margin: 2px 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--well); }
.analytics-options [data-choice="allow"] { background: var(--accent); }

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 6;
  padding-block-end: 1px;
}

.site-header[data-sticky-header] {
  position: sticky;
  inset-block-start: var(--site-header-top);
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-block-end: 1px solid rgba(26, 29, 26, .06);
  background: var(--canvas);
  opacity: 0;
  pointer-events: none;
  content: '';
}

.site-header[data-scrolled]::before { opacity: 1; }

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header::before {
    background: rgba(248, 250, 246, .85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header::before { transition: opacity 250ms ease; }
}

:root:has(> body > .site-header[data-sticky-header]) {
  scroll-padding-block-start: calc(var(--site-header-top) + var(--site-header-height));
}

:root:has(> body.admin-bar) { --site-header-top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 782px) {
  :root:has(> body.admin-bar) { --site-header-top: var(--wp-admin--admin-bar--height, 46px); }
}
@media (max-width: 600px) {
  /* The WordPress toolbar scrolls away at this width. */
  :root:has(> body.admin-bar) { --site-header-top: 0px; }
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 22px;
  width: min(calc(100% - 64px), var(--content));
  min-height: 72px;
  margin-inline: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 22px);
}
.primary-nav[hidden], .mobile-nav-toggle { display: none; }

.primary-nav a, .primary-nav button, .footer-nav a, .footer-nav button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  text-align: left;
}

.footer-nav a:hover, .footer-nav button:hover { color: var(--focus); }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 11px; border-radius: 8px; }
.primary-nav a:hover { background: var(--well); color: var(--focus); }
.primary-nav a[aria-current="page"] { background: var(--accent); color: var(--text); }

.language-menu { position: relative; justify-self: end; z-index: 5; }
.language-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 58px;
  min-height: 44px;
  padding-inline: 10px;
  list-style: none;
  border-radius: 10px;
  color: var(--text);
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover, .language-menu[open] summary { background: var(--well); color: var(--focus); }
.language-globe { flex: none; }
.language-code { font-size: 13px; font-weight: 650; }
.language-list {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  width: min(206px, calc(100vw - 40px));
  max-height: calc(100dvh - 90px - var(--wp-admin--admin-bar--height, 0px));
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(27, 36, 25, .12);
}
.language-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}
.language-list a[aria-current], .language-list a:hover, .language-list a:focus-visible {
  background: var(--well);
  color: var(--focus);
}
.language-list a[aria-current="true"] { background: #edf4df; font-weight: 650; }
.language-list a[aria-current="true"]::after {
  flex: 0 0 10px;
  width: 10px;
  height: 6px;
  margin-inline-start: auto;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(-45deg);
  content: '';
}
.language-list a:focus-visible { outline-offset: -2px; }

.swap-hero {
  --swap-card-width: 520px;
  background: var(--hero-fade) #f7f9f3;
  border-bottom: 1px solid var(--canvas);
}

.swap-hero:is([data-hero-style="lime"], [data-hero-style="sage"]) {
  margin-block-start: calc(-1 * var(--site-header-height));
  padding-block-start: var(--site-header-height);
}

.swap-hero[data-hero-style="lime"] {
  background-color: #edf4df;
  background-image: var(--hero-fade), url("assets/lime-swap-hero.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.swap-hero[data-hero-style="lime"] .intro-mission { color: var(--text); }
.swap-hero[data-hero-style="olive"] { background: var(--hero-fade), linear-gradient(110deg, #1b2416, #303a22); }
.swap-hero[data-hero-style="rainforest"] {
  --rainforest-overlay: linear-gradient(100deg, #0e190dc4, #0e190da6 34%, #0e190d2b 73%, #0e190d0d);
  background-color: #22301d;
  background-image: var(--hero-fade), var(--rainforest-overlay), url("assets/rainforest-hero.webp");
  background-position: center top;
  background-size: cover;
}
.swap-hero:is([data-hero-style="olive"], [data-hero-style="rainforest"]) .intro { color: #fff; }
.swap-hero:is([data-hero-style="olive"], [data-hero-style="rainforest"]) .intro-mission { color: #f0f3eb; }
.swap-hero:is([data-hero-style="olive"], [data-hero-style="rainforest"]) .intro-accent { color: #e2f59a; }
.returning-page-preview [data-preview-quote] .continue-button:disabled { background: var(--accent); color: #19200d; }
.returning-page-preview :is(a, .mobile-nav-toggle) { cursor: default; }
@media (max-width: 680px) {
  .swap-hero[data-hero-style="rainforest"] { background-position: 44% center; }
  .returning-page-preview #primary-nav { display: none; }
}

.swap-hero-inner {
  --hero-column-gap: clamp(35px, 5.8vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  gap: var(--hero-column-gap);
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
  padding-block: clamp(38px, 5.1vw, 72px);
}
.intro { min-width: 0; }
.intro h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(38px, 4.45vw, 65px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.08;
  text-wrap: balance;
}
.swap-headline-break { display: none; }
.intro-mission {
  max-width: 38ch;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.5;
}
.intro-accent {
  margin: 16px 0 0;
  color: var(--focus);
  font-size: clamp(13px, 1.38vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
@media (min-width: 901px) {
  .intro-accent { margin-inline-end: calc(12px - var(--hero-column-gap)); }
}
.swap-card {
  width: 100%;
  max-width: var(--swap-card-width);
  justify-self: end;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 48px #31432312, 0 2px 8px #3143230a;
  scroll-margin-top: 20px;
}


.asset-grid { display: grid; grid-template-columns: minmax(0, 1fr); }

.asset-panel {
  position: relative;
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--well);
}

.asset-panel-receive { background: #eff5e6; }
.asset-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px; }
.field-label { color: var(--text); font-size: 15px; font-weight: 620; line-height: 1.35; }
.network { color: var(--muted); font-size: 13px; line-height: 1.3; }

.asset-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }

.amount-entry {
  --amount-size: 36px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  container-type: inline-size;
}

.amount-input {
  appearance: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  caret-color: var(--focus);
  font-size: var(--amount-size);
  font-size: clamp(16px, calc(145cqi / var(--digits, 4)), var(--amount-size));
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: 1.1;
}

.amount-input:focus { outline: none; }
.amount-input::placeholder { color: var(--muted); opacity: 1; }
.amount-approximation { color: var(--muted); font-size: clamp(21px, 2.8vw, 28px); line-height: 1; }
.asset-panel:has(.amount-input:focus) { border-color: var(--focus); }
.asset-fiat { min-height: 1.3em; margin: 4px 0 0; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1.3; }

.asset-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-width: 114px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 13px 0 10px;
  background: var(--surface);
  font-size: 16px;
  font-weight: 650;
}

.asset-select:hover { border-color: #839472; }
.asset-select img { flex: 0 0 28px; width: 28px; height: 28px; }
.chevron { width: 7px; height: 7px; transform: rotate(45deg); border-right: 1.5px solid; border-bottom: 1.5px solid; }
.asset-select > .chevron { flex: 0 0 7px; margin: -3px 1px 0 3px; color: var(--muted); }

.direction-button {
  position: relative;
  z-index: 1;
  display: grid;
  justify-self: center;
  margin-block: -13px;
  transform: rotate(90deg);
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
}

.direction-button:hover { border-color: var(--focus); }
.direction-icon { position: relative; width: 17px; height: 13px; }

.direction-icon::before, .direction-icon::after {
  position: absolute;
  width: 16px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(0 37%, 72% 37%, 72% 0, 100% 50%, 72% 100%, 72% 63%, 0 63%);
  content: '';
}

.direction-icon::before { top: 1px; left: 1px; }
.direction-icon::after { bottom: 0; left: 0; transform: rotate(180deg); }
.direction-button:disabled { cursor: default; opacity: .52; }
.quote-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 5px 12px;
  margin: 8px 0 3px;
  color: var(--muted);
  font-size: 13px;
}
.quote-note { display: flex; flex-wrap: wrap; gap: 5px 11px; margin: 0; font-variant-numeric: tabular-nums; }
.quote-note #unit-rate:empty, .quote-transition:empty { display: none; }
.quote-transition { font-size: 12px; }
.amount-input.previous-estimate { opacity: .68; }
.quote-meta { min-width: 0; padding: 10px 0; }
.live-card .quote-meta { min-height: calc(64px + 1.5em); }
.live-card .quote-note { min-height: 1.5em; }
.quote-note { align-items: center; }
.quote-countdown:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 5px;
  background: #edf8d6;
  color: var(--focus);
  font-size: 12px;
  font-weight: 650;
}
.countdown-clock {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.countdown-clock::after {
  position: absolute;
  inset: 2px 2px 4px 4px;
  border-bottom: 1px solid;
  border-left: 1px solid;
  content: '';
}
.quote-fees { position: relative; width: fit-content; }
.quote-fees summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
}
.quote-fees summary::-webkit-details-marker { display: none; }
.quote-fees summary > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--well);
  color: var(--focus);
  font-size: 12px;
  font-weight: 650;
}
.fee-info-icon {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}
.quote-fees p {
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  width: min(285px, calc(100vw - 84px));
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 20px #17281020;
  line-height: 1.5;
}
.swap-minimum { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.swap-minimum:empty { margin: 0; }
.minimum-warning { color: #8a4c09; }

.rate-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--text);
  font-size: 14px;
  font-weight: 620;
  cursor: pointer;
}
.rate-switch input {
  appearance: none;
  width: 38px;
  height: 22px;
  margin: 0;
  padding: 2px;
  border: 1px solid #929e87;
  border-radius: 999px;
  background: #e3e8dc;
  cursor: inherit;
}
.rate-switch input::before {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #1524003d;
  content: '';
}
.rate-switch input:checked { border-color: var(--focus); background: var(--focus); }
.rate-switch input:checked::before { transform: translateX(16px); }
.rate-switch input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .rate-switch input { transition: background-color .16s ease, border-color .16s ease; }
  .rate-switch input::before { transition: transform .16s ease; }
  .amount-input { transition: opacity .16s ease; }
}

.swap-provider:not([hidden]) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef4e4;
  font-size: 14px;
  line-height: 1.4;
}
.swap-provider strong { overflow-wrap: anywhere; }
.swap-provider-identity { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 12px; min-width: 0; }
.swap-provider-logo:not([hidden]) { display: block; max-width: 100%; object-fit: contain; }
.swap-actions { margin-top: 14px; }
.refund-field { min-width: 0; border-top: 1px solid var(--line); }
.refund-field summary { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 550; list-style: none; }
.refund-field summary::-webkit-details-marker { display: none; }
.refund-field summary:hover { color: var(--text); }
.refund-plus { position: relative; flex: 0 0 16px; width: 16px; height: 16px; border: 1px solid #87937d; border-radius: 50%; }
.refund-plus::before, .refund-plus::after { position: absolute; inset: 6.5px 3px auto; border-top: 1px solid; content: ''; }
.refund-plus::after { transform: rotate(90deg); }
.refund-field[open] .refund-plus::after { visibility: hidden; }
.refund-field input { display: block; min-height: 44px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--well); }

.continue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 52px;
  padding: 7px 17px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #19200d;
  font-size: 16px;
  font-weight: 750;
}

.continue-button:hover { background: #bce65f; }
.continue-button:disabled { background: #edf0e7; color: #58604e; cursor: default; }

.site-footer { border-top: 1px solid #e5eae1; background: #e4eddb; }
body:has(> .content-page),
:is(.swap-page, .content-page) ~ .site-footer { background-color: var(--canvas); }
.site-footer .footer-inner {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
  padding-block: clamp(32px, 4vw, 56px);
}
.footer-inner { --footer-tracks: minmax(0, 1.2fr) repeat(3, minmax(0, .7fr)); }
.footer-inner-with-newsletter { --footer-tracks: minmax(0, 1.2fr) repeat(2, minmax(0, .7fr)) minmax(0, 1.55fr); }
.footer-identity-row, .footer-exchanges {
  display: grid;
  grid-template-columns: var(--footer-tracks);
  align-items: start;
  gap: 24px clamp(20px, 4vw, 52px);
}
.footer-identity-row .footer-brand, .footer-identity-row .footer-newsletter { grid-area: auto; }
.footer-exchanges {
  border-top: 1px solid #d9e2d3;
  margin-top: 32px;
  padding-top: 30px;
}
.footer-exchanges .ex-footer-pairs { min-width: 0; }
.footer-exchanges:not(:has(nav)) { display: none; }
@media (max-width: 940px) {
  .site-footer .footer-inner { --footer-tracks: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .site-footer .footer-inner { --footer-tracks: minmax(0, 1fr); }
  .site-footer .footer-inner, .site-footer .footer-copyright-inner { width: calc(100% - 36px); }
}
.footer-nav h2, .footer-newsletter h2 { margin: 3px 0 12px; color: var(--text); font-size: 14px; font-weight: 720; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-links button { line-height: 1.5; overflow-wrap: anywhere; }
.footer-links [aria-current="page"] { color: var(--focus); font-weight: 650; }
.ex-footer-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 24px;
}
.ex-footer-columns .footer-links { min-width: 0; max-width: 100%; }
.footer-social { display: flex; align-items: center; gap: 4px; margin-top: 7px; color: var(--focus); }
.footer-social a { display: inline-flex; align-items: center; justify-content: flex-start; min-width: 32px; min-height: 32px; }
.footer-social a:hover { color: var(--text); }
.footer-social svg { display: block; width: 16px; height: 16px; }
.footer-social + .footer-contact { margin-top: 8px; }
.footer-contact {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}
.footer-contact li { display: flex; align-items: center; gap: 9px; }
.footer-contact svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--focus); }
.footer-contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-newsletter { grid-area: 1 / -2; min-width: 0; }
.footer-newsletter p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer-newsletter-form { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.footer-newsletter-form input[type="email"], .footer-newsletter-form button {
  min-width: 0;
  min-height: 42px;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}
.footer-newsletter-form input[type="email"] { width: 100%; border: 1px solid #b8c6ae; background: var(--surface); }
.footer-newsletter-form input[type="email"]::placeholder { color: var(--muted); opacity: 1; }
.footer-newsletter-form button { border: 1px solid transparent; background: var(--accent); font-weight: 700; }
.footer-newsletter-form button:hover:not(:disabled) { border-color: var(--focus); }
.footer-newsletter-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.footer-newsletter .footer-newsletter-status { margin: 10px 0 0; color: var(--text); }
.footer-copyright { background: #1c2a20; color: #f3f6ee; font-size: 13px; }
.footer-copyright-inner {
  display: block;
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.footer-disclaimer { margin: 10px 0 0; color: #d9e4d6; line-height: 1.55; white-space: pre-line; }
.footer-copyright-inner .analytics-preferences { display: block; min-height: 32px; margin-top: 4px; text-align: start; }
.footer-copyright-inner .analytics-preferences:hover { color: var(--accent); }
.footer-copyright-inner .analytics-preferences:focus-visible { outline-color: var(--accent); }
body:has(> .content-page:not(.about-page, .how-page)) {
  background-image: radial-gradient(ellipse min(100%, 820px) 300px at 50% 0, var(--sage-glow), transparent);
}
.content-page { width: min(100%, 750px); margin: 50px auto; padding: 0 24px; }
.content-page h1 { margin: 0 0 19px; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.045em; }
.content-page h2 { margin: 29px 0 8px; font-size: 20px; }
.content-page p, .content-page li { margin: 0 0 13px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.content-page ol { margin: 20px 0 0; padding-inline-start: 24px; }
.content-page #returning-page-body a { color: var(--focus); text-underline-offset: 3px; }

.about-page, .how-page {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(34px, 5vw, 64px);
}
.how-page #returning-page-body > p { max-width: 72ch; }
.how-page h2 {
  margin: 0 0 8px;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.how-aggregator, .how-funds {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.how-aggregator {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 5vw, 62px);
  background: var(--well);
}
.how-aggregator > h2, .how-aggregator > p:first-of-type { grid-column: 1; }
.how-aggregator p, .how-funds p, .how-details p { margin: 0; }
.how-aggregator strong, .how-funds strong { color: var(--text); }
.how-provider-current {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
}
.how-funds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-block: clamp(16px, 2.5vw, 28px);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.how-funds h2, .how-funds p { grid-column: 1; }
.how-funds .how-funds-flow {
  --flow-gap: clamp(26px, 3vw, 38px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: stretch;
  gap: var(--flow-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-funds-flow li {
  position: relative;
  display: grid;
  grid-template-rows: 24px 1fr;
  justify-items: center;
  gap: 7px;
  min-height: 88px;
  margin: 0;
  padding: 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--well);
  color: var(--text);
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}
.how-funds-flow li::after {
  grid-row: 1;
  width: 28px;
  height: 24px;
  background: var(--focus);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='1' y='3' width='26' height='18' rx='4'/%3E%3Cpath d='M27 9h-7a3 3 0 0 0 0 6h7'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}
.how-funds-flow li:nth-child(2)::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8h24m-5-5 5 5-5 5M26 16H2m5-5-5 5 5 5'/%3E%3C/svg%3E");
}
.how-funds-flow li + li::before {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: calc(100% + (var(--flow-gap) - 18px) / 2);
  translate: 0 -50%;
  width: 18px;
  height: 8px;
  background: var(--focus);
  clip-path: polygon(0 43%, 80% 43%, 65% 8%, 72% 0, 100% 50%, 72% 100%, 65% 92%, 80% 57%, 0 57%);
  content: "";
}
.how-funds-flow:dir(rtl) li + li::before { scale: -1 1; }
.how-steps ol {
  display: grid;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: swap-step;
  list-style: none;
}
.how-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 18%) minmax(0, 1fr);
  align-items: center;
  gap: 8px 20px;
  margin: 0;
  padding-block: 8px;
  counter-increment: swap-step;
}
.how-steps li + li { border-block-start: 1px solid #edf1e9; }
.how-steps li::before {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #e8efdf;
  color: var(--text);
  font-weight: 700;
  content: counter(swap-step);
}
.how-steps h3 { margin: 0; color: var(--text); font-size: 18px; line-height: 1.3; }
.how-steps p { margin: 0; }
.how-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(28px, 4vw, 38px);
  padding-top: clamp(24px, 3vw, 30px);
  border-top: 1px solid var(--line);
}
.how-details h2 { font-size: clamp(20px, 2.3vw, 24px); letter-spacing: -.025em; }
.how-details:has(> .how-rate-guide) {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}
.how-rate-guide { grid-column: 1 / -1; }
.how-rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.how-rate-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.how-page .how-rate-card h2, .how-rate-card h3 { margin: 0; font-size: 21px; line-height: normal; letter-spacing: -.03em; }
.how-rate-card p { margin: 7px 0 13px; font-size: 14px; line-height: 1.5; }
.how-rate-chart {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto 69px;
  align-items: center;
  gap: 8px 11px;
  margin-top: auto;
  padding: 8px 11px 6px;
  border: 1px solid #e3e9dd;
  border-radius: 8px;
  background: var(--well);
  direction: ltr;
}
.how-rate-axis { color: var(--muted); font-size: 11px; }
.how-rate-axis + .how-rate-axis { grid-column: 3; text-align: end; }
.how-rate-value { font-size: clamp(13px, 1.4vw, 17px); font-weight: 700; white-space: nowrap; }
.how-rate-result, .how-rate-outcomes { color: var(--focus); text-align: end; }
.how-rate-trend {
  position: relative;
  align-self: stretch;
  border-radius: 5px;
  background:
    repeating-linear-gradient(0deg, transparent 0 14px, #f1f4ee 14px 15px),
    repeating-linear-gradient(90deg, transparent 0 27px, #f1f4ee 27px 28px);
}
.how-rate-trend::before, .how-rate-floating .how-rate-trend::after {
  position: absolute;
  inset: 0;
  background: #728d40;
  clip-path: polygon(0 48%, 100% 48%, 100% 52%, 0 52%);
  content: "";
}
.how-rate-floating .how-rate-trend::before { clip-path: polygon(0 48%, 100% 15%, 100% 19%, 0 52%); }
.how-rate-floating .how-rate-trend::after { clip-path: polygon(0 48%, 100% 81%, 100% 85%, 0 52%); }
.how-rate-outcomes { display: grid; align-content: space-between; height: 60px; }

@media (max-width: 760px) {
  .how-aggregator, .how-funds, .how-details { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .how-aggregator .how-provider-current { grid-area: auto; margin-top: 14px; }
  .how-funds .how-funds-flow { --flow-gap: 22px; grid-area: auto; margin-top: 18px; }
  .how-funds-flow li { min-height: 78px; padding: 10px 4px 8px; }
  .how-steps li { grid-template-columns: 36px minmax(0, 1fr); gap: 3px 14px; align-items: start; }
  .how-steps li::before { grid-row: span 2; }
  .how-steps p { grid-column: 2; }
  .how-rate-grid { grid-template-columns: minmax(0, 1fr); }
  .how-rate-card { padding: 13px; }
}

.page-hero {
  --page-hero-spacing: clamp(44px, 6.5vw, 94px);
  margin-block-start: calc(-1 * var(--site-header-height));
  padding-block: calc(var(--page-hero-spacing) + var(--site-header-height)) var(--page-hero-spacing);
  background: var(--hero-fade), #edf4df url("assets/lime-swap-hero.webp") center / cover no-repeat;
}
.page-hero-inner, :is(.about-page, .how-page) #returning-page-body {
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.06;
}
.page-hero-intro { max-width: 59ch; margin-top: 18px; }
.page-hero-intro p { color: var(--text); font-size: clamp(16px, 1.8vw, 19px); }
.page-hero-intro p:last-child { margin-bottom: 0; }
:is(.about-page, .how-page) #returning-page-body { margin-top: clamp(26px, 5vw, 60px); }
.about-page #returning-page-body > p { max-width: 89ch; }
.about-page #returning-page-body:has(> .about-purpose) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.about-page #returning-page-body > :not(.about-routing, .about-purpose) { grid-column: 1 / -1; }
.about-routing, .about-purpose {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--well);
}
.about-routing {
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.about-routing h2, .about-purpose h2, .about-team h2, .about-page #returning-page-body > h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.about-routing p:last-child, .about-purpose p:last-child { margin-bottom: 0; }
.about-impact {
  margin: clamp(28px, 4vw, 44px) 0;
  padding-block: clamp(24px, 4vw, 44px);
  background: #e8efdf;
  box-shadow: 0 0 0 100vmax #e8efdf;
  clip-path: inset(0 -100vmax);
}
.about-impact {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px clamp(32px, 7vw, 96px);
}
.about-impact::after {
  position: absolute;
  inset-block: clamp(24px, 4vw, 44px);
  inset-inline-start: 50%;
  width: 1px;
  background: #cbd8bc;
  content: "";
}
.about-impact-column {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
}
.about-impact-column h2 {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.22;
  letter-spacing: -.025em;
}
.about-impact-copy .about-impact-approximation { margin: 18px 0 4px; }
.about-impact-copy .about-impact-approximation + .about-impact-total { margin-top: 0; }
.about-impact-copy .about-impact-total {
  margin: 18px 0 4px;
  color: #304016;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.about-impact-accessible-total {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.about-impact-copy .about-impact-period { margin-bottom: 0; }
.about-organization-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  align-self: start;
  gap: 8px 16px;
}
.about-organization-logos figure { width: 100%; max-width: 220px; margin: 0; }
.about-organization-logos figure:first-child { max-width: 190px; }
.about-organization-logos figure:last-child { grid-column: 1 / -1; max-width: 190px; }
.about-organization-logos img { display: block; width: 100%; height: auto; }

.about-team {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 12px clamp(24px, 5vw, 64px);
  align-content: start;
  align-items: start;
  margin-block-start: clamp(18px, 3vw, 36px);
  padding-block-start: clamp(26px, 4vw, 48px);
  border-block-start: 1px solid var(--line);
}
.about-team > h2, .about-team > p { grid-column: 1; margin-bottom: 0; }
.about-team-people {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 18px);
}
.about-team-people figure {
  margin: 0;
  padding: clamp(14px, 2.2vw, 24px) 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--well);
  text-align: center;
}
.about-team-people img {
  display: block;
  width: min(100%, clamp(82px, 12vw, 126px));
  height: auto;
  margin-inline: auto;
  border-radius: 50%;
}
.about-team-people figcaption {
  margin-top: 12px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
}

@media (max-width: 700px) {
  .page-hero {
    background-image: var(--hero-fade), linear-gradient(100deg, #f3f6eaf5, #f3f6ea50), url("assets/lime-swap-hero.webp");
    background-position: center, center, 75% center;
    background-size: auto, auto, cover;
    background-repeat: no-repeat;
  }
  .page-hero-inner, :is(.about-page, .how-page) #returning-page-body { width: calc(100% - 40px); }
  .about-page #returning-page-body:has(> .about-purpose), .about-team { grid-template-columns: minmax(0, 1fr); }
  .about-team { grid-template-rows: none; }
  .about-team-people { grid-area: auto; margin-top: 6px; }
  .about-impact {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .about-impact::after { display: none; }
  .about-impact-column { display: block; grid-row: auto; }
  .about-impact-column h2 { margin-bottom: 16px; }
}
.support-contact {
  margin-bottom: 24px;
  padding: clamp(18px, 3vw, 30px);
  scroll-margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.support-form, .support-form-row { display: grid; gap: 16px; }
.support-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support-form label { display: grid; gap: 6px; font-weight: 650; }
.support-form small { color: var(--muted); font-weight: 400; }
.support-form :is(input, textarea) {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--well); color: var(--text); font: inherit; font-weight: 400;
}
.support-form textarea { resize: vertical; }
.support-form p { margin: -8px 0 0; font-size: 14px; }
.support-form button { width: fit-content; min-width: 150px; }
.content-page .support-feedback { padding: 10px 12px; border-radius: 8px; background: var(--well); color: var(--text); }
.content-page .support-error { background: #fff1ed; color: #84251e; }
.order-support { margin-top: 20px; }
@media (max-width: 580px) {
  .support-form-row { grid-template-columns: minmax(0, 1fr); }
  .support-form button { width: 100%; }
}
.homepage-guide { background-color: var(--canvas); }
.home-benefits, .home-currencies, .home-walkthrough { width: min(calc(100% - 64px), var(--content)); margin-inline: auto; }
.home-benefits { padding-block-start: clamp(32px, 4.6vw, 56px); }
.home-benefits-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-benefit {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: clamp(17px, 2vw, 25px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--well);
}
.home-benefit svg, .home-benefit h3 { color: var(--focus); }
.home-benefit h3 { margin: 0 0 7px; font-size: clamp(18px, 1.75vw, 21px); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.home-benefit p { margin: 0; color: var(--muted); line-height: 1.55; }
.home-currencies {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
  align-items: center;
  gap: 24px;
  margin-block-start: 18px;
  padding: 24px clamp(20px, 3vw, 34px);
  border-radius: 14px;
  background: #24362a;
  color: #fff;
}
.home-currencies h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 9px;
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.home-currencies h2 strong { font-size: clamp(37px, 4vw, 52px); font-weight: 730; letter-spacing: -.055em; }
.home-currencies p { max-width: 35ch; margin: 8px 0 0; line-height: 1.5; }
.home-currencies-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 6px 3px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #9aab95 transparent;
  list-style: none;
  mask-image: linear-gradient(90deg, #0006, #000 12%, #000 88%, #0006);
}
.home-currencies-icons:focus-visible { outline: 2px solid #f3f8ee; outline-offset: -2px; mask-image: none; }
.home-currencies-icons li {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff2;
}
.home-currency-icon {
  display: block;
  width: 34px;
  aspect-ratio: 1;
  background: url("assets/home-currency-icons.webp") no-repeat var(--coin-position) center / 1500% 100%;
}
@media (max-width: 1140px) {
  .home-currencies { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home-currencies-icons { gap: 6px; }
}
.home-walkthrough {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start;
  gap: clamp(28px, 6vw, 75px); padding-block: clamp(36px, 5vw, 68px);
}
.home-benefits h2, .home-walkthrough h2, .home-about h2, .home-faq-band h2 {
  margin: 0 0 21px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 650;
  letter-spacing: -.04em;
}
.home-steps { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; counter-reset: walkthrough; }
.home-steps li { position: relative; min-height: 34px; padding-inline-start: 42px; counter-increment: walkthrough; }
.home-steps li::before {
  position: absolute;
  inset-block-start: 1px;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf4df;
  color: var(--focus);
  font-size: 14px;
  font-weight: 650;
  content: counter(walkthrough);
}
.home-steps h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; }
.home-steps p { margin: 0; color: var(--muted); line-height: 1.55; }
.home-tracking-example {
  min-width: 0; padding: clamp(18px, 3.5vw, 32px); border: 1px solid var(--line); border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.home-example-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-block-size: 38px; margin-bottom: 16px; }
.home-example-pair {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0;
  color: var(--muted); font-size: 13px; line-height: 1.4;
}
.home-example-coins, .home-example-coins > span { display: inline-flex; align-items: center; gap: 4px; }
.home-example-coins {
  padding: 4px 8px; border: 1px solid #e5e9dc; border-radius: 999px; background: #f5f7f0;
  color: var(--text); font-weight: 650; white-space: nowrap;
}
.home-example-coins svg { flex: none; }
.home-tracking-example h3 { margin: 0; font-size: clamp(22px, 3vw, 31px); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; }
.home-example-description { min-block-size: 3em; margin: 6px 0 14px; color: #666; font-size: 14px; line-height: 1.5; }
.home-example-details {
  margin: 20px 0 0; padding-top: 14px;
  border-top: 1px solid #f0f0ec; color: var(--muted); font-size: 13px;
}
.home-example-toggle:not([hidden]) {
  display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--focus);
}
.home-example-toggle:hover { background: var(--well); }
.home-example-toggle span { width: 10px; height: 12px; border-inline: 2px solid currentColor; }
.home-example-toggle[data-paused="true"] span {
  width: 0; height: 0; margin-inline-start: 2px;
  border: 6px solid transparent; border-inline-start: 9px solid currentColor; border-inline-end: 0;
}
.home-tracking-example .order-stages,
.order-progress .order-stages { gap: clamp(4px, 1vw, 13px); }
.home-tracking-example .order-stages li,
.order-progress .order-stages li { position: relative; overflow-wrap: anywhere; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .home-tracking-example.is-playing .order-stages [aria-current="step"]::after,
  .order-progress .order-stages [aria-current="step"]:not(:last-child)::after {
    position: absolute;
    inset: -3px 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent) -100% 0 / 45% 100% no-repeat;
    content: '';
    pointer-events: none;
    animation: example-order-sweep 1.15s ease-out both;
  }
  .order-progress .order-stages [aria-current="step"]:not(:last-child)::after {
    animation-duration: 2.4s;
    animation-iteration-count: infinite;
  }
  @keyframes example-order-sweep {
    from { background-position: -100% 0; }
    to { background-position: 200% 0; }
  }
}
.home-about {
  --home-glow-position: calc(50% - min(19vw, 220px)) 50%;
  padding-block: clamp(44px, 6vw, 88px);
  background: radial-gradient(ellipse min(39vw, 500px) 50% at var(--home-glow-position), var(--sage-glow), transparent);
}
.home-about:has(> .home-about-inner[data-comparison-layout="right"]) {
  --home-glow-position: calc(50% + min(19vw, 220px)) 50%;
}
.home-about-inner {
  display: grid;
  grid-template-areas: "comparison copy";
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}
.home-about-inner[data-comparison-layout="right"] {
  grid-template-areas: "copy comparison";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}
.home-about-copy { grid-area: copy; overflow-wrap: anywhere; }
.home-about h2 { margin-bottom: 16px; color: #1a1d1a; }
.home-about-copy p {
  max-width: 43ch;
  margin: 0;
  color: #5a625a;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  white-space: pre-line;
}
.home-about-copy p + p { margin-top: 16px; }
.home-comparison {
  grid-area: comparison;
  display: grid;
  grid-template-areas: "direct badge returning";
  grid-template-columns: minmax(0, .76fr) 14px minmax(0, 1fr);
  align-items: center;
}
.home-comparison-card {
  min-width: 0;
  padding: clamp(16px, 1.75vw, 23px);
  border: 1px solid #dce4d7;
  border-radius: 16px;
  color: #1a1d1a;
  box-shadow: 0 8px 22px #29341b0e;
  overflow-wrap: anywhere;
}
.home-comparison-direct { grid-area: direct; background: #f4f6f3; }
.home-comparison-returning {
  grid-area: returning;
  background: #fff;
  border: 2px solid #c5e86c;
  box-shadow: 0 10px 28px #29341b13;
}
.home-comparison-card h3 {
  margin: 0 0 17px;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.home-comparison-returning h3 { display: flex; align-items: center; gap: 8px; }
.home-comparison-returning .wordmark-icon { flex-basis: 28px; width: 28px; height: 25px; }
.home-comparison-card ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.home-comparison-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.4; }
.home-comparison-direct li { color: #5a625a; }
.home-comparison-returning li strong { display: block; font-size: 15px; line-height: 1.25; }
.home-comparison-returning li p { margin: 2px 0 0; color: #5a625a; }
.home-comparison-mark {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: #edf5df;
  color: #526f17;
  font-weight: 700;
}
.home-comparison-vs {
  grid-area: badge;
  z-index: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e2e8df;
  border-radius: 50%;
  background: #fff;
  color: #1a1d1a;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px #28331d12;
}
.home-comparison-cta {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #c5e86c;
  color: #1a1d1a;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.home-comparison-cta:hover { background: #b8db5d; }
.home-comparison-cta:focus-visible { outline: 2px solid #526f17; outline-offset: 3px; }

@media (max-width: 960px) {
  .home-about { background: radial-gradient(ellipse min(54vw, 500px) 28% at 50% 68%, var(--sage-glow), transparent); }
  .home-about-inner[data-comparison-layout] {
    grid-template-areas: "copy" "comparison";
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
  }
  .home-about-copy p { max-width: 58ch; }
}
@media (max-width: 560px) {
  .home-comparison {
    grid-template-areas: "returning" "direct";
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .home-comparison-vs { display: none; }
}
.home-faq-band { padding-block: clamp(38px, 5.5vw, 76px); border-top: 1px solid transparent; }
.home-faq-inner {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.75fr);
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 18px clamp(32px, 6vw, 80px);
  width: min(calc(100% - 64px), var(--content));
  margin-inline: auto;
}
.home-faq-intro h2 { margin-bottom: 9px; }
.home-faq-intro p { max-width: 29ch; margin: 0; color: var(--muted); line-height: 1.6; }
.home-faq { grid-column: 2; grid-row: 1 / span 3; }
.home-faq-marks {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 2.5vw, 30px);
  padding-block-start: 15px;
  color: #d7e3cb;
  font-size: clamp(96px, 8vw, 148px);
  font-weight: 740;
  line-height: .9;
  text-shadow: 0 4px 6px #526c1321;
  user-select: none;
}
.home-faq-marks span:nth-child(2) { font-size: .53em; margin-top: 13px; }
.home-faq-marks span:nth-child(3) { font-size: .29em; }
.home-faq-support {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #acbf9a;
  border-radius: 8px;
  background: var(--surface);
  color: var(--focus);
  font-size: 14px;
  font-weight: 640;
  text-decoration: none;
}
.home-faq-support:hover { background: var(--well); }
.home-text-link { color: var(--focus); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .home-benefits, .home-currencies, .home-walkthrough, .home-about-inner, .home-faq-inner { width: calc(100% - 40px); }
  .home-benefits-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-benefit { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .home-benefit svg { width: 25px; height: 25px; }
  .home-walkthrough { grid-template-columns: minmax(0, 1fr); }
  .home-faq-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 15px; }
  .home-faq { grid-column: auto; grid-row: auto; }
  .home-faq-inner { position: relative; }
  .home-faq-intro { position: relative; z-index: 1; }
  .home-faq-marks { position: absolute; inset: 0 0 auto auto; padding: 0; font-size: 74px; opacity: .7; pointer-events: none; }
  .home-faq-marks span + span { display: none; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.asset-picker {
  position: absolute;
  z-index: 4;
  inset: calc(100% + 5px) -1px auto;
  max-height: min(440px, 65dvh);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 30px #17281025;
}

.asset-picker:not([hidden]) { display: flex; flex-direction: column; }
.picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px 8px 21px; }
.picker-heading h2 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.035em; }

.picker-close {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.picker-close:hover { background: var(--well); color: var(--text); }
.picker-close::before, .picker-close::after { position: absolute; inset: 21px 14px auto; transform: rotate(45deg); border-top: 1.5px solid; content: ''; }
.picker-close::after { transform: rotate(-45deg); }

.picker-search { display: flex; align-items: center; gap: 11px; margin: 0 20px 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--well); }
.picker-search:focus-within { border-color: var(--focus); }
.picker-search input { width: 100%; min-width: 0; min-height: 46px; border: 0; padding: 0; background: transparent; font-size: 16px; }
.picker-search input:focus { outline: 0; }
.picker-search input::placeholder { color: var(--muted); opacity: 1; }
.search-icon { position: relative; flex: 0 0 14px; width: 14px; height: 14px; border: 1.5px solid; border-radius: 50%; color: var(--muted); }
.search-icon::after { position: absolute; inset: 10px auto auto 9px; width: 6px; transform: rotate(45deg); transform-origin: left; border-top: 1.5px solid; content: ''; }
.picker-results { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 12px 12px; }
.picker-results h3 { margin: 9px 9px 5px; color: var(--muted); font-size: 13px; font-weight: 600; }

.asset-option {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto 10px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 57px;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  background: transparent;
  text-align: left;
}

.asset-option:hover, .asset-option[aria-pressed='true'] { background: var(--well); }
.asset-option:focus-visible { outline-offset: -2px; }
.asset-option img { width: 32px; height: 32px; }
.option-meta { display: grid; gap: 3px; min-width: 0; }
.option-meta strong { overflow-wrap: anywhere; font-size: 15px; font-weight: 620; line-height: 1.2; }
.option-network, .option-ticker { color: var(--muted); font-size: 12px; line-height: 1.25; }
.option-ticker { font-weight: 650; white-space: nowrap; }
.asset-option[aria-pressed='true'] .option-check { width: 10px; height: 6px; transform: rotate(-45deg); border-bottom: 1.5px solid var(--focus); border-left: 1.5px solid var(--focus); }
.no-results { margin: 18px 9px; color: var(--muted); font-size: 14px; }
.picker-more { min-height: 44px; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--well); color: var(--focus); font: inherit; }
.checkout-field[hidden] { display: none; }

@media (max-width: 900px) {
  .swap-hero[data-hero-style="lime"] {
    background-image: var(--hero-fade), linear-gradient(180deg, #f3f6eaf5, #f3f6ea18 63%), url("assets/lime-swap-hero.webp");
    background-position: center, center, 82% center;
  }
  .swap-hero[data-hero-style="rainforest"] {
    --rainforest-overlay: linear-gradient(180deg, #0e190dbf, #0e190d56 62%);
  }
  .swap-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .intro { justify-self: center; text-align: center; }
  .intro h1 { max-width: 22ch; margin-inline: auto; font-size: clamp(33px, 5vw, 50px); }
  #swap-selection .intro { justify-self: stretch; container-type: inline-size; }
  #swap-selection .intro h1 { max-width: 24ch; font-size: clamp(30px, 9.2vw, 50px); overflow-wrap: anywhere; }
  .intro-mission { margin: 12px auto 0; }
  .intro-accent {
    --intro-accent-mobile-size: .875rem;
    margin-top: 12px;
    font-size: var(--intro-accent-mobile-size);
    font-size: clamp(.5rem, 2.85cqi, var(--intro-accent-mobile-size));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  #swap-selection[data-mobile-text-align="left"] .intro {
    width: 100%;
    max-width: var(--swap-card-width);
    justify-self: center;
    padding-inline: 6px;
    text-align: start;
  }
  #swap-selection[data-mobile-text-align="left"] .intro h1 {
    max-width: 17ch;
    margin-inline: 0;
    font-size: clamp(30px, 8vw, 50px);
    text-wrap: balance;
  }
  #swap-selection[data-mobile-text-align="left"] .swap-headline-break { display: none; }
  #swap-selection[data-mobile-text-align="left"] .intro-mission { margin-inline: 0; }
  #swap-selection[data-mobile-text-align="left"] .intro-accent { text-wrap: pretty; }
  .swap-card { justify-self: center; }
}

@media (max-width: 940px) {
  .footer-inner {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 40px);
    gap: 24px 16px;
    padding: 28px 0;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-row: auto; grid-column: 1 / -1; max-width: 380px; }
  .footer-copyright-inner { width: calc(100% - 40px); }
  .footer-links { gap: 0; }
  .footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 38px; }
}

@media (min-width: 360px) and (max-width: 900px) {
  #swap-selection:not([data-mobile-text-align="left"]) .intro h1:lang(en) { max-width: var(--swap-card-width); text-wrap: wrap; }
  .swap-headline-break { display: inline; }
  .swap-headline-fitted .swap-headline-first { display: inline-block; white-space: nowrap; }
}

@media (min-width: 360px) and (max-width: 680px) {
  #swap-selection:not([data-mobile-text-align="left"]) .intro h1:lang(en) { max-width: none; margin-inline: -6px; }
}

@media (min-width: 360px) and (max-width: 580px) {
  #swap-selection:not([data-mobile-text-align="left"]) .intro h1:lang(en) { margin-inline: 8px; }
}

@media (max-width: 680px) {
  :root { --site-header-height: 65px; }
  .site-header-inner { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding-top: 8px; }
  #swap-selection:not([data-mobile-text-align="left"]) .intro h1:lang(en) { font-size: clamp(27px, 7.6vw, 48px); text-wrap: wrap; }
  .wordmark { gap: 8px; font-size: 25px; }
  .primary-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 0 12px; }
  .primary-nav a { justify-content: center; min-width: 44px; padding-inline: 7px; font-size: 13px; }
  .language-menu { grid-column: 2; grid-row: 1; }
  .language-menu summary { min-width: 44px; }
  .language-code { display: none; }
  .site-header-inner.has-mobile-nav {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 64px;
    gap: 6px;
    padding-top: 0;
  }
  .has-mobile-nav .language-menu { grid-column: 3; }
  .mobile-nav-toggle:not([hidden]) {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: transparent;
  }
  .mobile-nav-toggle:hover, .mobile-nav-toggle[aria-expanded="true"] { background: var(--well); }
  .mobile-nav-toggle span {
    position: relative;
    width: 18px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px currentColor, 0 5px currentColor;
  }
  .mobile-nav-toggle[aria-expanded="true"] span {
    background: transparent;
    box-shadow: none;
  }
  .mobile-nav-toggle[aria-expanded="true"] span::before,
  .mobile-nav-toggle[aria-expanded="true"] span::after {
    position: absolute;
    inset: 0;
    background: currentColor;
    content: '';
  }
  .mobile-nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
  .mobile-nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
  .has-mobile-nav .primary-nav:not([hidden]) {
    position: absolute;
    z-index: 5;
    inset: calc(100% + 6px) 0 auto auto;
    display: grid;
    width: min(224px, 100%);
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 12px 32px #1b24191f;
  }
  .has-mobile-nav .primary-nav a { justify-content: flex-start; padding-inline: 11px; border-radius: 8px; font-size: 14px; }
  .has-mobile-nav .primary-nav a:focus-visible { outline-offset: -2px; }
}

@media (max-width: 580px) {
  body:has(> .swap-page .swap-hero:not([hidden])) .site-header-inner { width: calc(100% - 36px); }
  .swap-hero-inner { width: calc(100% - 36px); gap: 14px; padding-block: 28px 36px; }
  .swap-card { padding: 13px; border-radius: 16px; }
  .asset-panel { padding-inline: 12px; }
  .asset-controls { gap: 8px; }
  .asset-panel-receive .amount-input { font-size: 32px; font-size: clamp(16px, calc(135cqi / var(--digits, 4)), 32px); }
  .asset-select { min-width: 103px; gap: 7px; padding-inline: 8px; }
  .asset-select img { flex-basis: 24px; width: 24px; height: 24px; }
  .network { font-size: 12px; }
  .swap-actions { margin-top: 11px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .footer-nav h2 { margin-bottom: 2px; }
  .picker-heading { padding: 10px 10px 7px 16px; }
  .picker-heading h2 { font-size: 19px; }
  .picker-search { margin-inline: 15px; }
  .picker-results { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.live-swap-fields {
  display: grid;
  gap: 12px;
}

.live-swap-fields label {
  font-weight: 650;
}

.live-swap-fields input:not([type="checkbox"]) {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.live-swap-confirm {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.live-swap-confirm input {
  flex: none;
  margin-top: 5px;
}

.live-quote-refresh {
  justify-self: start;
  border: 0;
  padding: 0;
  background: none;
  color: var(--focus);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.swap-hero[hidden],
.checkout-page[hidden] {
  display: none;
}

.checkout-page {
  width: min(calc(100% - 32px), 690px);
  margin: clamp(25px, 5vw, 64px) auto;
}

.checkout-order { width: min(calc(100% - 32px), 810px); }

.checkout-steps,
.order-stages {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.checkout-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.checkout-steps li,
.order-stages li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding-top: 9px;
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.checkout-steps li span {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  min-height: 20px;
  border-radius: 50%;
  background: var(--well);
  font-variant-numeric: tabular-nums;
}

.checkout-steps .checkout-step-complete,
.order-stages .checkout-step-complete { border-color: #b2c78d; }
.checkout-steps [aria-current],
.order-stages [aria-current] { border-color: var(--focus); color: var(--focus); font-weight: 680; }
.checkout-steps [aria-current] span { background: #edf8d6; }

.checkout-card {
  padding: clamp(16px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 48px #31432312, 0 2px 8px #3143230a;
}

.checkout-card h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -.045em;
  line-height: 1.15;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--focus);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.checkout-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.checkout-amounts > div { padding: clamp(10px, 3vw, 16px); background: var(--well); }
.checkout-amounts > div:last-child { background: #eff5e6; }

.checkout-amounts dt,
.order-summary dt,
.order-payment dt {
  color: var(--muted);
  font-size: 13px;
}

.checkout-amounts dd,
.order-summary dd,
.order-payment dd { margin: 4px 0 0; overflow-wrap: anywhere; }

.checkout-amounts dd strong {
  display: block;
  font-size: clamp(17px, 3vw, 24px);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.checkout-amounts dd span,
.checkout-rate,
.checkout-help { color: var(--muted); font-size: 13px; }
.checkout-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 19px; }
.checkout-fields { gap: 16px; }
.checkout-field { display: grid; gap: 6px; }
.checkout-fields .refund-field { padding-top: 4px; }
.checkout-fields .live-swap-confirm { font-size: 14px; font-weight: 400; }
.checkout-fields .live-swap-confirm input { accent-color: var(--focus); }
.checkout-fields input:not([type="checkbox"]) { min-height: 48px; }
.checkout-fields .continue-button[aria-busy="true"]::after {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  content: "";
}
@media (prefers-reduced-motion: no-preference) {
  .checkout-fields .continue-button[aria-busy="true"]::after { animation: checkout-submit-spin .8s linear infinite; }
  @keyframes checkout-submit-spin { to { transform: rotate(360deg); } }
}
.checkout-help { margin: 0 0 8px; line-height: 1.45; }
.checkout-card #live-order-message,
.checkout-card #order-status-message { margin: 0; overflow-wrap: anywhere; }
.checkout-card #live-order-message:empty,
.checkout-card #order-status-message:empty { display: none; }
.checkout-card a:not(.checkout-back) { color: var(--focus); }

.checkout-site-check {
  margin-block: 14px;
  padding: 15px 17px;
  border: 1px solid #d9e5ce;
  border-radius: 11px;
  background: #eaf2e1;
}
.checkout-site-check h2 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.checkout-site-check h2 bdi { display: block; }
.checkout-site-address {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 5px;
  width: fit-content;
  max-width: 100%;
  margin-top: 9px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #f9fcf6;
  color: #32432c;
  font-size: 13px;
}
.checkout-site-domain { font-weight: 650; overflow-wrap: anywhere; }
.checkout-site-secure { display: inline-flex; align-items: center; gap: 4px; color: var(--focus); white-space: nowrap; }
.checkout-site-lock { position: relative; width: 9px; height: 7px; margin-top: 3px; border-radius: 1px; background: currentColor; }
.checkout-site-lock::before { position: absolute; inset: -4px 1.5px auto; height: 5px; border: 1.3px solid; border-bottom: 0; border-radius: 4px 4px 0 0; content: ""; }
@media (min-width: 1200px) {
  #live-review:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 690px minmax(0, 1fr);
    grid-template-areas: ". steps ." ". form site" ". tips .";
    align-items: start;
    column-gap: 24px;
    width: min(calc(100% - 64px), 1318px);
  }
  #live-review > .checkout-steps { grid-area: steps; }
  #live-review > .checkout-card { grid-area: form; }
  #live-review > .checkout-site-check { grid-area: site; margin: 0; }
  #live-review > .checkout-tips { grid-area: tips; margin-top: 14px; }
}
.checkout-tips { padding: 20px 24px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.checkout-order > .checkout-tips { margin-block-start: 16px; }
.checkout-tips h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.034em; }
.checkout-tips-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checkout-tips-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.checkout-tips-context { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.46; }
.checkout-provider-guidance { margin: 0; }
.checkout-tips h3 { margin: 0 0 9px; font-size: 16px; font-weight: 680; letter-spacing: -.015em; }
.checkout-tip-icon {
  position: relative;
  display: grid;
  width: 14px;
  height: 14px;
  margin-top: 3px;
  place-items: center;
  border-radius: 50%;
  background: #238155;
}
.checkout-tip-icon::before {
  position: absolute;
  inset: 4px 3px auto 4px;
  width: 6px;
  height: 4px;
  border: solid #fff;
  border-width: 0 0 1.4px 1.4px;
  transform: rotate(-45deg);
  content: "";
}
.checkout-deposit-exceptions { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e5ebe0; }
.checkout-tip-warning { width: 16px; height: 16px; background: #ffa134; }
.checkout-tip-warning::before, .checkout-tip-warning::after {
  position: absolute;
  inset: 7px 4px auto;
  width: 8px;
  height: 2px;
  border: 0;
  border-radius: 1px;
  background: #fff;
  transform: rotate(45deg);
  content: "";
}
.checkout-tip-warning::after { transform: rotate(-45deg); }
.checkout-deposit-help { margin: 13px 0 0; padding: 10px 11px; border-radius: 8px; background: #f5f8f2; color: var(--muted); font-size: 13px; line-height: 1.46; }
.checkout-deposit-help a { color: var(--focus); font-weight: 650; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .checkout-tips { padding: 17px; }
}

.order-tracking { display: grid; gap: 16px; }
.order-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.order-tracking h1 { margin-bottom: 0; }
.order-id { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; color: var(--muted); font-size: 13px; }
.order-id code { color: var(--text); }
.order-tracking code { overflow-wrap: anywhere; }
.order-copy {
  min-height: 32px;
  padding: 3px 7px;
  border: 0;
  border-radius: 6px;
  background: var(--well);
  color: var(--focus);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}
.order-payment { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.order-deposit { padding: clamp(12px, 3vw, 20px); border: 1px solid var(--line); border-radius: 12px; background: var(--well); }
.order-deposit h2 { margin: 0; font-size: 20px; }
.order-payment p { margin: 5px 0; }
.order-payment dl,
.order-summary { display: grid; gap: 11px; margin: 0; }
.order-payment dl { margin-top: 13px; }
.order-payment dd { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.order-payment dd code { min-width: 0; }
.order-payment dd strong { font-size: 24px; line-height: 1.2; }
.order-summary dd .order-copy { margin-inline-start: 4px; }
.order-payment figure { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.order-payment canvas { display: block; width: clamp(112px, 22vw, 172px); height: auto; margin-bottom: 4px; }
#deposit-clock { margin: 15px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
#deposit-clock time { margin-left: 6px; color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.order-status { margin: 0; font-weight: 700; }
.order-stages { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 4px; }
.order-stages li { font-size: 12px; }
.order-progress { display: grid; gap: 9px; padding-block: 4px; }
.order-progress .order-stages { margin: 0; }
.order-summary { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); padding-block: 12px; border-block: 1px solid var(--line); }
#order-payout-transaction { grid-column: 1 / -1; }
.checkout-order .order-support { margin-bottom: 0; }

@media (max-width: 515px) {
  .order-payment { grid-template-columns: 1fr; }
  .order-summary { grid-template-columns: minmax(0, 1fr); }
  .order-payment figure { justify-self: center; }
  .order-copy { min-height: 44px; }
  .order-stages { gap: 4px; }
  .order-stages li { font-size: 11px; }
  .home-tracking-example .order-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.12fr) repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .home-tracking-example .order-stages li { font-size: clamp(10px, 2.8vw, 11px); }
}

.home-intro-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 16px; }
.home-intro-grid .home-benefits-list { grid-template-columns: 1fr; gap: 10px; }
.home-intro-grid .home-benefit { grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; padding: 14px 20px; gap: 18px; }
.home-intro-grid .home-benefit > div { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.home-intro-grid .home-benefit h3 { margin-bottom: 4px; }
.home-intro-poster { position: relative; container-type: inline-size; overflow: hidden; border-radius: 12px; min-height: 220px; color: white; background: #132a17 url('assets/home-intro.webp') center / cover; }
.home-intro-brand { position: absolute; top: 10%; left: 6%; display: inline-flex; align-items: center; gap: .45em; font-size: clamp(16px, 4cqw, 26px); font-weight: 650; }
.home-intro-title { position: absolute; top: 50%; left: 6%; transform: translateY(-50%); max-width: 43%; font-size: clamp(26px, 7.2cqw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.home-intro-play { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; }
.home-intro-play span { display: grid; place-items: center; width: 10%; aspect-ratio: 1; border-radius: 50%; background: white; color: #1a3221; font-size: 4cqw; }
.home-intro-play:focus-visible { outline: 3px solid #b7ef51; outline-offset: -4px; }
.home-intro-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 800px) {
  .home-intro-grid { grid-template-columns: 1fr; }
  .home-intro-poster { aspect-ratio: 16 / 9; min-height: 0; }
}
