/* qwail.org. Dark like the wallet itself, one hot pink, hard squares. */
@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root { --bg: #0b0b0f; --card: #16161c; --raised: #1f1f27; --line: #2a2a34; --ink: #f5f4f2; --muted: #a8aab5; --brand: #ff2d55; --deep: #c9143a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 19px/1.55 "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.03; }
h1 { font-size: clamp(46px, 7.6vw, 108px); }
h1 em { font-style: normal; color: var(--brand); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 16px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 15, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 40px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 30px; flex: 1; }
nav a { text-decoration: none; font-weight: 600; padding: 14px 0; color: var(--muted); }
nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 0 30px; font: inherit; font-weight: 700; text-decoration: none; background: var(--brand); color: #fff; border: 2px solid var(--brand); position: relative; overflow: hidden; transition: transform 0.14s ease, box-shadow 0.2s ease; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.34) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.7s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 14px 44px rgba(255, 45, 85, 0.35); }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 48px; padding: 0 22px; }
.btn.big { min-height: 78px; padding: 0 44px; font-size: 24px; }
.btn.line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.line:hover { border-color: var(--ink); box-shadow: none; }

.hero { position: relative; overflow: hidden; text-align: center; padding: 96px 0 0; }
.glow { position: absolute; left: 50%; top: 240px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 45, 85, 0.34), transparent); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { max-width: 1000px; margin: 0 auto; }
.lead { margin-top: 26px; font-size: 23px; color: var(--muted); max-width: 720px; }
.hero .lead { margin-left: auto; margin-right: auto; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: 44px; }
.soon { font-weight: 600; font-size: 20px; color: var(--ink); padding: 12px 20px; border: 2px solid var(--line); }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 76px; }
.phone { width: 380px; height: 470px; overflow: hidden; background: #0b0b0f; border: 2px solid var(--line); border-bottom: 0; box-shadow: 0 -20px 90px rgba(255, 45, 85, 0.22); }
.phone img { display: block; width: 132%; max-width: none; margin-left: -16%; }
.phone.side { width: 320px; height: 390px; opacity: 0.72; }
.phone.tall { height: 540px; border-bottom: 2px solid var(--line); justify-self: center; }

section { padding: 110px 0; }
.split-sec { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.card { background: var(--card); border: 1px solid var(--line); padding: 34px 32px 38px; min-height: 220px; transition: transform 0.18s ease, border-color 0.18s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card.wide { grid-column: span 2; }
.card.pink { background: linear-gradient(135deg, var(--brand), var(--deep)); border-color: transparent; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); }
.card.pink p { color: #ffe3e9; }
.keys { display: grid; gap: 14px; }
.keys div { background: var(--bg); border: 1px solid var(--line); padding: 26px 28px; display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: center; }
.keys i { width: 60px; height: 60px; border: 11px solid var(--brand); display: block; }
.keys div:nth-child(2) i { border-color: var(--ink); }
.keys div:nth-child(3) { background: linear-gradient(135deg, var(--brand), var(--deep)); border-color: transparent; }
.keys div:nth-child(3) i { border: 0; background: #fff; }
.keys b { display: block; font-size: 22px; }
.keys span { color: var(--muted); }
.keys div:nth-child(3) span { color: #ffe3e9; }
.keys div:nth-child(3) b { color: #fff; }
.list { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.list li { padding-left: 34px; position: relative; color: var(--muted); }
.list li b { color: var(--ink); }
.list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border: 4px solid var(--brand); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.steps > div { counter-increment: step; background: var(--card); border: 1px solid var(--line); padding: 30px 28px 34px; }
.steps > div::before { content: counter(step); display: block; font-size: 60px; font-weight: 700; color: var(--brand); letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.steps p { color: var(--muted); margin-top: 8px; }
pre { margin: 0; padding: 28px 30px; background: var(--bg); border: 1px solid var(--line); border-left: 6px solid var(--brand); overflow-x: auto; font: 500 16px/1.6 "JetBrains Mono", ui-monospace, Menlo, monospace; }
footer { padding: 54px 0; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
footer nav { justify-content: flex-end; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .phone.side { display: none; }
  .phone { width: min(380px, 88vw); }
  .btn.big { min-height: 68px; padding: 0 28px; font-size: 21px; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn::after { display: none; } }
