/* Vaultline shared styles */
:root {
  --bg: #0a0b0a;
  --bg-2: #101211;
  --line: #232824;
  --line-2: #323a34;
  --ink: #ecebe4;
  --dim: #8d948e;
  --faint: #5b625d;
  --green: #1d8a57;
  --green-deep: #0f5c3a;
  --green-glow: rgba(29, 138, 87, 0.16);
  --warn: #c9a45c;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --head: "Unbounded", "Archivo Black", "Arial Black", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.tnum { font-variant-numeric: tabular-nums; }

/* top bar */
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(10,11,10,.88); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.logo { font-family: var(--display); letter-spacing: .08em; text-decoration: none; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29,138,87,.5); } 70% { box-shadow: 0 0 0 9px rgba(29,138,87,0); } 100% { box-shadow: 0 0 0 0 rgba(29,138,87,0); } }
.nav { display: flex; gap: 18px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--dim); }
.nav a:hover { color: var(--ink); }
.chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--dim); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.chip.g { border-color: var(--green-deep); color: var(--green); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-2); background: transparent; padding: 11px 18px; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: .15s; border-radius: 2px; }
.btn:hover { border-color: var(--ink); }
.btn.pri { background: var(--green-deep); border-color: var(--green); color: #fff; }
.btn.pri:hover { background: var(--green); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.sm { padding: 7px 12px; font-size: 11px; }
input[type=text], input[type=number], select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); padding: 12px 14px; font-family: var(--mono); font-size: 14px; border-radius: 2px; outline: none; min-width: 0;
}
input:focus, select:focus { border-color: var(--green); }
.err { color: #d98080; font-family: var(--mono); font-size: 12px; min-height: 18px; margin-top: 8px; }
.ok { color: var(--green); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.dial-bg { position: absolute; right: -14%; top: 50%; width: min(760px, 120vw); aspect-ratio: 1; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.hero .wrap { position: relative; padding: 64px 0 56px; }
.wordmark { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 12.4vw, 12.5rem); line-height: .9; letter-spacing: -.01em; margin: 18px 0 22px; white-space: nowrap; }
.tagline { font-family: var(--head); font-size: clamp(1.05rem, 2.6vw, 1.7rem); font-weight: 300; margin: 0 0 28px; max-width: 22ch; line-height: 1.25; }
.clockbar { display: flex; flex-wrap: wrap; gap: 14px 28px; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .06em; align-items: center; }
.clockbar b { color: var(--ink); font-weight: 500; font-size: 15px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; animation: pulse 2.4s infinite; }

/* sections */
section.blk { padding: 72px 0; border-bottom: 1px solid var(--line); }
h2 { font-family: var(--head); font-weight: 400; font-size: clamp(1.4rem, 3.4vw, 2.2rem); margin: 8px 0 28px; line-height: 1.15; }
.grid2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; gap: 32px; } }

/* checklist */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { border-bottom: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 48px 1fr; gap: 6px 14px; transition: opacity .2s; }
.step .n { font-family: var(--mono); color: var(--faint); font-size: 13px; padding-top: 3px; }
.step h3 { margin: 0 0 4px; font-family: var(--head); font-weight: 400; font-size: 1.02rem; }
.step p { margin: 0 0 14px; color: var(--dim); font-size: 14px; }
.step .body { grid-column: 2; }
.step.locked { opacity: .4; pointer-events: none; }
.step.done .n { color: var(--green); }
.step.done h3::after { content: " \2713"; color: var(--green); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > input { flex: 1 1 220px; }
.note { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 10px; line-height: 1.5; }
.panel { border: 1px solid var(--line-2); background: var(--bg-2); padding: 26px; }
.panel h3 { font-family: var(--head); font-weight: 400; font-size: 1rem; margin: 0 0 14px; }

/* done state */
.pos { font-family: var(--display); font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1; color: var(--ink); margin: 6px 0; }
.bar { height: 3px; background: var(--line); margin: 14px 0 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--green); width: 0; transition: width .6s; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; }
.kv span:first-child { color: var(--dim); }
.kv span:last-child { word-break: break-all; text-align: right; }
.hidden { display: none !important; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--head); font-size: .95rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--green); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--dim); margin: 12px 0 0; max-width: 62ch; font-size: 15px; }

footer { padding: 36px 0 48px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }

/* dial */
.dial { width: 100%; height: 100%; }
.dial .spin { transform-origin: 200px 200px; animation: rot 140s linear infinite; }
.dial .spin2 { transform-origin: 200px 200px; animation: rot 90s linear infinite reverse; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dial .spin, .dial .spin2, .logo i, .dot { animation: none; } }

/* ========== preview ========== */
.banner { background: var(--green-deep); color: #e8f3ec; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 8px 12px; }
.dash { padding: 36px 0 64px; display: grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.card { border: 1px solid var(--line); background: var(--bg-2); padding: 22px; min-width: 0; }
.card h3 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 400; display: flex; justify-content: space-between; gap: 8px; }
.c12 { grid-column: span 12; } .c8 { grid-column: span 8; } .c7 { grid-column: span 7; } .c6 { grid-column: span 6; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; }
@media (max-width: 900px) { .c8, .c7, .c6, .c5, .c4 { grid-column: span 12; } }
.big { font-family: var(--head); font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 300; margin: 2px 0; }
.sub { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.bal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 640px) { .bal-grid { grid-template-columns: 1fr; } }
.up { color: var(--green); } .down { color: #d98080; }
.yield { font-family: var(--mono); font-size: clamp(1.3rem, 3.6vw, 2rem); color: var(--green); }

.flip { perspective: 1000px; width: 100%; max-width: 380px; aspect-ratio: 1.586; cursor: pointer; margin: 0 auto 16px; }
.flip-in { position: relative; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.flip.on .flip-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid var(--line-2); }
.front { background: radial-gradient(120% 140% at 0% 0%, #17261d 0%, #0c0f0d 60%); }
.back { background: #0c0f0d; transform: rotateY(180deg); padding: 20px 0; }
.stripe { height: 40px; background: #000; }
.face .w { font-family: var(--display); letter-spacing: .1em; font-size: 15px; }
.face .pan { font-family: var(--mono); font-size: clamp(14px, 4.4vw, 18px); letter-spacing: .12em; }
.face .meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.card-ring { position: absolute; right: -30px; top: -30px; width: 150px; opacity: .35; }
.frozen .face { filter: grayscale(1) brightness(.7); }

label.f { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 14px 0 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feed { list-style: none; padding: 0; margin: 0; max-height: 380px; overflow: auto; }
.feed li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); animation: slide .5s; }
.feed li small { font-family: var(--mono); color: var(--faint); font-size: 11px; grid-column: 1 / -1; }
.feed .amt { font-family: var(--mono); font-size: 13px; }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 44px; }
.bars i { background: var(--green); opacity: .85; border-radius: 1px; }
.bars i:last-child { animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hgrid { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; margin: 6px 0 14px; }
.hgrid i { aspect-ratio: 1; background: var(--green-deep); border-radius: 1px; }
.hgrid i.off { background: transparent; border: 1px solid var(--line); }
.hgrid i.now { outline: 1px solid var(--ink); outline-offset: 1px; }
.legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.steps3 { display: flex; gap: 8px; font-family: var(--mono); font-size: 11px; margin-top: 10px; color: var(--faint); flex-wrap: wrap; }
.steps3 span.on { color: var(--green); }

.hidden { display: none !important; }
.wsaddr { color: var(--green); }
.wsaddr:empty { display: none; }
@media (max-width: 640px) { .top .nav { gap: 10px; } .top .nav a, .top .nav .chip, .top .nav [data-clock] { display: none; } .top .nav .wsaddr { display: none; } }
