:root {
  color-scheme: dark;
  --ink: #f4f1ea;
  --muted: #a5a7aa;
  --blue: #1d70d6;
  --blue-light: #5da4f4;
  --line: rgba(255, 255, 255, .12);
  --panel: rgba(19, 21, 24, .88);
  --danger: #ff9b9b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 24%, rgba(29, 112, 214, .18), transparent 31rem),
    linear-gradient(135deg, #070809 0%, #0c0e11 55%, #08090b 100%);
  font-family: "Barlow", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header, footer, main { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { color: var(--ink); text-decoration: none; font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: .14em; font-size: 1.08rem; }
.brand span { color: var(--blue-light); }
.secure-label { color: #c9cbcd; font: 600 .72rem/1 "Barlow Condensed", sans-serif; letter-spacing: .18em; }
.secure-label span { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #6ed19a; box-shadow: 0 0 0 4px rgba(110, 209, 154, .1); }

main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; min-height: calc(100vh - 180px); padding: 64px 0; }
.intro { align-self: center; }
.eyebrow, .panel-kicker { color: var(--blue-light); text-transform: uppercase; letter-spacing: .19em; font: 600 .73rem/1.2 "Barlow Condensed", sans-serif; }
h1 { margin: 17px 0 24px; max-width: 720px; font: 600 clamp(3.7rem, 7vw, 6.7rem)/.88 "Barlow Condensed", sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
h1 em { display: inline-block; color: #d6d0c4; font: 400 italic .66em/1.05 "Cormorant Garamond", serif; text-transform: none; letter-spacing: -.02em; }
.lede { max-width: 560px; margin: 0; color: #b8b9bc; font-size: 1.07rem; line-height: 1.7; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.trust-row span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: #c6c7c9; font-size: .79rem; }

.transfer-card { position: relative; overflow: hidden; min-height: 550px; border: 1px solid rgba(255,255,255,.15); border-radius: 4px; background: var(--panel); box-shadow: 0 34px 90px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.transfer-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), transparent 75%); }
.step-rail { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.step { position: relative; display: flex; gap: 10px; align-items: baseline; padding: 19px 24px; color: #686b70; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step b { font: 600 .68rem "Barlow Condensed", sans-serif; letter-spacing: .12em; }
.step span { font-size: .8rem; }
.step.active { color: var(--ink); background: rgba(29,112,214,.08); }
.step.complete { color: #6ed19a; }

.panel { display: none; padding: clamp(30px, 5vw, 55px); }
.panel.active { display: block; animation: panel-in .3s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(7px); } }
.panel h2 { margin: 10px 0 9px; font: 600 clamp(2rem, 4vw, 3.25rem)/1 "Barlow Condensed", sans-serif; letter-spacing: -.025em; text-transform: uppercase; }
.panel-copy { margin: 0 0 30px; color: var(--muted); line-height: 1.55; }
.panel-copy strong { color: var(--ink); font-weight: 500; }
label { display: block; margin: 0 0 9px; color: #d9dadb; font: 600 .75rem "Barlow Condensed", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
input { width: 100%; height: 55px; border: 1px solid #3b3e44; border-radius: 2px; outline: 0; background: #0c0e10; color: var(--ink); padding: 0 16px; font: 500 1rem "Barlow", sans-serif; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(93,164,244,.12); }
.code-input { letter-spacing: .45em; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
button { font-family: inherit; }
.primary { width: 100%; min-height: 54px; margin-top: 18px; border: 0; border-radius: 2px; color: white; background: var(--blue); font-weight: 700; font-size: .87rem; letter-spacing: .04em; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.primary:hover:not(:disabled) { background: #2c7fe5; transform: translateY(-1px); }
.primary:disabled { opacity: .45; cursor: not-allowed; }
.form-note { color: #74777b; margin: 14px 0 0; font-size: .75rem; line-height: 1.45; }
.text-button { display: block; margin: 17px auto 0; border: 0; background: transparent; color: #9fbfe6; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.drop-zone { width: 100%; min-height: 210px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px dashed #4a4e55; border-radius: 3px; color: var(--ink); background: rgba(8,10,12,.48); cursor: pointer; transition: border-color .2s, background .2s; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--blue-light); background: rgba(29,112,214,.09); }
.drop-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; border: 1px solid #52565e; border-radius: 50%; color: var(--blue-light); font-size: 1.5rem; }
.drop-zone strong { font-size: 1rem; }
.drop-zone small { margin-top: 5px; color: #92959a; }
.drop-zone .limits { margin-top: 14px; color: #676a6f; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.file-list { display: grid; gap: 7px; margin-top: 15px; max-height: 170px; overflow: auto; }
.file-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 2px; font-size: .82rem; }
.file-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item small { color: #878a8e; }
.file-item.uploaded small { color: #6ed19a; }
.file-item.failed small { color: var(--danger); }
.progress { height: 2px; grid-column: 1 / -1; background: #25282d; overflow: hidden; }
.progress i { display: block; width: 0; height: 100%; background: var(--blue-light); transition: width .2s; }

.success-panel { text-align: center; padding-top: 100px; }
.success-mark { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 28px; border: 1px solid rgba(110,209,154,.55); border-radius: 50%; color: #6ed19a; font-size: 1.5rem; box-shadow: 0 0 0 10px rgba(110,209,154,.06); }
.status { min-height: 24px; margin: 0 50px 22px; color: var(--muted); font-size: .82rem; text-align: center; }
.status.error { color: var(--danger); }

footer { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #686b70; font-size: .7rem; letter-spacing: .08em; }

@media (max-width: 900px) {
  main { grid-template-columns: 1fr; min-height: auto; padding-top: 45px; }
  .intro { text-align: center; }
  .lede { margin-inline: auto; }
  .trust-row { justify-content: center; }
  .transfer-card { width: min(650px, 100%); margin-inline: auto; }
}
@media (max-width: 560px) {
  .site-header, footer, main { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 72px; }
  .secure-label { font-size: .62rem; }
  main { gap: 35px; padding: 38px 0 55px; }
  h1 { font-size: clamp(3.1rem, 17vw, 4.7rem); }
  .step { padding: 15px 12px; justify-content: center; }
  .step span { display: none; }
  .panel { padding: 31px 23px; }
  .status { margin-inline: 23px; }
  footer { flex-direction: column; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
