:root {
  color-scheme: dark;
  --bg: #0b0908;
  --panel: #161210;
  --panel-raised: #201915;
  --text: #f7f1e8;
  --muted: #a99d91;
  --line: rgba(247, 241, 232, 0.13);
  --ember: #ff6b35;
  --ember-light: #ff9d61;
  --shadow: rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 77% 18%, rgba(255, 107, 53, 0.13), transparent 27rem),
    linear-gradient(rgba(247, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 241, 232, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: auto;
  height: 42px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #777069;
  box-shadow: 0 0 0 4px rgba(119, 112, 105, 0.12);
}

main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: 92px 0;
}

.notice {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--ember-light);
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.5rem, 7.2vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: -0.072em;
}

.lead,
.detail {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.19rem);
  line-height: 1.72;
}

.lead {
  margin-top: 38px;
}

.lead strong {
  color: var(--text);
  font-weight: 650;
}

.detail {
  margin-top: 13px;
}

.text-link {
  color: var(--text);
  text-decoration-color: var(--ember);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--ember-light);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.primary-action {
  gap: 18px;
  color: #1c0e08;
  background: var(--ember);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.15);
}

.primary-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action:hover {
  background: var(--ember-light);
}

.secondary-action:hover {
  border-color: rgba(247, 241, 232, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.text-link:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid rgba(255, 157, 97, 0.8);
  outline-offset: 4px;
}

.transfer-card {
  position: relative;
  min-height: 430px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(36, 28, 24, 0.96), rgba(18, 14, 12, 0.97));
  box-shadow: 0 34px 90px var(--shadow);
}

.card-grid {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.card-label,
.metric-mark,
.destination,
.domain,
.card-rule,
.transfer-card dl {
  position: relative;
}

.card-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-mark {
  height: 96px;
  margin: 52px 0 24px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.metric-mark span {
  width: 18px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(to top, #b53d1c, var(--ember-light));
  box-shadow: 0 0 24px rgba(255, 107, 53, 0.12);
}

.metric-mark span:nth-child(1) { height: 28%; }
.metric-mark span:nth-child(2) { height: 50%; }
.metric-mark span:nth-child(3) { height: 42%; }
.metric-mark span:nth-child(4) { height: 76%; }
.metric-mark span:nth-child(5) { height: 100%; }

.destination {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 820;
  letter-spacing: -0.055em;
}

.domain {
  margin-top: 7px;
  color: var(--ember-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

.card-rule {
  height: 1px;
  margin: 34px 0 23px;
  background: var(--line);
}

.transfer-card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.transfer-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.transfer-card dt,
.transfer-card dd {
  margin: 0;
  font-size: 0.83rem;
}

.transfer-card dt {
  color: var(--muted);
}

.transfer-card dd {
  font-weight: 680;
}

footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: #7f766e;
  font-size: 0.8rem;
}

.footer-note {
  text-align: right;
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 36px, 640px);
  }

  .site-header {
    min-height: 78px;
  }

  .wordmark img {
    height: 36px;
  }

  .status {
    font-size: 0;
  }

  main {
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(3.4rem, 15vw, 5.8rem);
  }

  .transfer-card {
    min-height: 390px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: min(100% - 28px, 640px);
  }

  h1 {
    letter-spacing: -0.065em;
  }

  .actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .transfer-card {
    min-height: 380px;
    padding: 26px;
    border-radius: 14px;
  }

  footer {
    min-height: 78px;
  }

  .footer-note {
    max-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
