/* Vael, the marketing site (SITE-01). One page, one stylesheet, the app's own fonts and tokens.
   Dark only. No third-party anything. Colours are the app's inks (docs/brand/vael-brand.md). */
@font-face {
  font-family: "Martian Mono";
  src: url("/_site/fonts/martian-mono-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/_site/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("/_site/fonts/chakra-petch-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --surface: #0a0b0d;
  --surface-elevated: #101215;
  --surface-hover: #161a1d;
  --ink: #e9ebed;
  --ink-dim: #98a0a7;
  --ink-3: #7b838b;
  --line: rgba(233, 235, 237, 0.08);
  --gold: #f0be3c;
  --cash: #3fd1a0;
  --locked: #9b82f6;
  --invest: #57a6ff;
  --ember: #ff6b5a;
  --text: "Archivo", system-ui, sans-serif;
  --display: "Chakra Petch", var(--text);
  --num: "Martian Mono", ui-monospace, monospace;
  --gutter: 16px;
  --max: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--surface);
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.01em;
}
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.num {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: #1a1300;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 60;
  font-weight: 700;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 11, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.wm {
  font-family: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 15px;
}
.beta {
  font: 700 10px / 1 var(--text);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(240, 190, 60, 0.5);
  border-radius: 999px;
  padding: 4px 7px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav .signin {
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
nav .signin:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #1a1300;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: 0 0 0 0 rgba(240, 190, 60, 0);
  transition: box-shadow .25s, transform .15s;
}
.btn:hover {
  box-shadow: 0 0 36px rgba(240, 190, 60, 0.35);
  transform: translateY(-1px);
}
.btn.lg {
  font-size: 17px;
  padding: 15px 24px;
  border-radius: 12px;
  min-height: 48px;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(233, 235, 237, 0.18);
}
.btn.ghost:hover {
  box-shadow: none;
  border-color: rgba(233, 235, 237, 0.4);
}
@media (max-width: 640px) {
  nav .signin {
    display: none;
  }
}

/* hero */
.hero {
  position: relative;
  padding: 72px 0 40px;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  background: radial-gradient(
    closest-side,
    rgba(240, 190, 60, 0.16),
    rgba(240, 190, 60, 0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }
}
.eyebrow {
  font: 600 12px / 1 var(--text);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.hero h1 {
  /* The first line, "Everything you own,", is 9.4 times the font size wide: sized so it fits
     its column at every width instead of leaving "own," on a line of its own. */
  font-size: clamp(33px, 4.2vw, 60px);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.lede {
  color: var(--ink-dim);
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 52ch;
  margin: 22px 0 30px;
}
.ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.fine {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 14px;
}

/* the phone: a frame around a real screenshot */
.phone {
  width: min(330px, 82vw);
  margin: 0 auto;
  background: var(--surface-elevated);
  border: 1px solid rgba(233, 235, 237, 0.12);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.phone img {
  width: 100%;
  border-radius: 27px;
  background: var(--surface);
}

/* sections */
section {
  padding: 92px 0;
  position: relative;
}
section.alt {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(16, 18, 21, 0.7) 20%,
    rgba(16, 18, 21, 0.7) 80%,
    transparent
  );
}
.two {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .two {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .two.flip > .copy {
    order: 2;
  }
}
.copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 16px;
}
.copy p {
  color: var(--ink-dim);
  font-size: 18px;
  max-width: 48ch;
}
.copy p + p {
  margin-top: 12px;
}
.kicker {
  color: var(--gold);
  font: 600 12px / 1 var(--text);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
}
.step .k {
  font: 700 13px var(--num);
  color: var(--gold);
  margin-bottom: 12px;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-dim);
  font-size: 16px;
}

/* a real screenshot in a card */
.shot {
  background: var(--surface-elevated);
  border: 1px solid rgba(233, 235, 237, 0.12);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  width: min(460px, 100%);
  margin: 0 auto;
}
.shot img {
  width: 100%;
  border-radius: 15px;
  background: var(--surface);
}

/* trust */
.trust {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .trust {
    grid-template-columns: 1fr 1fr;
  }
}
.tr {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.tr .m {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  color: var(--gold);
  font: 700 13px var(--num);
}
.tr b {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}
.tr span.t {
  color: var(--ink-dim);
  font-size: 15px;
}

/* final */
.final {
  text-align: center;
  padding: 120px 0 100px;
  overflow: hidden;
}
.final .glow {
  top: 50%;
}
.final h2 {
  font-size: clamp(34px, 5vw, 60px);
}
.final p {
  color: var(--ink-dim);
  font-size: 18px;
  margin: 16px auto 30px;
  max-width: 44ch;
}
.final .wrap {
  position: relative;
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--ink-3);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
}
footer a {
  color: var(--ink-dim);
  text-decoration: none;
  display: inline-block;
  padding: 6px 2px;
}
footer a:hover {
  color: var(--ink);
}

/* motion: only when script has run (html.js), so a page without script shows everything */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(0.2, 0.7, 0.2, 1), transform .7s
    cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
[data-depth] {
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  [data-depth] {
    transform: none !important;
    will-change: auto;
  }
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
