/* verno.io. Every value is a token from tokens.css (built from the app's
   @theme). Light only. Black is every action, blue only points (links, focus). */

@font-face{font-family:"Blauer Nue";src:url("/fonts/BlauerNue-ExtraBold.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"General Sans";src:url("/fonts/GeneralSans-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"General Sans";src:url("/fonts/GeneralSans-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"General Sans";src:url("/fonts/GeneralSans-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--color-accent); text-underline-offset: 0.18em; }
a:hover { color: var(--color-accent-press); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-pill); }
code { font-family: var(--font-mono); font-size: 0.92em; color: var(--color-ink-2); overflow-wrap: anywhere; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
@media (min-width: 720px) { .wrap { padding-left: 32px; padding-right: 32px; } }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* --- top --- */
.top { padding-top: max(16px, env(safe-area-inset-top)); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--h-topbar); }
.lockup { display: inline-flex; align-items: center; gap: 6px; color: var(--color-ink); text-decoration: none; }
.lockup:hover { color: var(--color-ink); }
/* Mark height = the wordmark's cap height; gap = a quarter of the mark's width. */
.lockup-word { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; font-size: 26px; line-height: 1; }
.lockup-mark { width: 24px; height: 24px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-btn);
  color: var(--color-on-btn);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-tap) var(--ease-brand), opacity var(--dur-tap) var(--ease-brand);
}
.btn:hover { color: var(--color-on-btn); opacity: 0.86; }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }

/* --- home --- */
.hero { padding-top: clamp(56px, 12vw, 140px); padding-bottom: clamp(48px, 9vw, 104px); }
.hero-title { margin: 0; font-size: clamp(44px, 9vw, 108px); max-width: 11ch; }
.lede { margin: 28px 0 0; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--color-ink-2); max-width: 34em; }
.hero-actions { margin: 36px 0 0; }

.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: var(--color-sunk); border-radius: var(--radius-card); padding: 28px; }
.step-title { margin: 0 0 8px; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--color-ink-2); }

.feature { padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(48px, 8vw, 96px); display: grid; gap: 20px; }
@media (min-width: 900px) { .feature { grid-template-columns: 5fr 7fr; gap: 48px; } }
.section-title { margin: 0; font-size: clamp(32px, 4.6vw, 52px); max-width: 12ch; }
.feature-body p { margin: 0 0 16px; max-width: 38em; }
.feature-body p:last-child { margin-bottom: 0; }

/* --- legal pages --- */
.doc { max-width: 760px; padding-top: clamp(40px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 96px); }
.doc-title { margin: 0; font-size: clamp(40px, 7vw, 68px); }
.doc-date { margin: 14px 0 40px; color: var(--color-ink-3); font-size: 15px; }
.doc h2 {
  margin: 44px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 26px;
  line-height: 1.15;
  scroll-margin-top: 24px;
}
.doc p, .doc li { max-width: 40em; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 0 0 10px; }
.doc li::marker { color: var(--color-ink-3); }
.doc a { overflow-wrap: anywhere; }

/* --- foot: links, then the name, oversized and cropped by the bottom edge --- */
.foot { margin-top: clamp(32px, 6vw, 72px); border-top: 1px solid var(--color-line); overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--color-ink); text-decoration: none; font-weight: 500; font-size: 15px; min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--color-ink-2); }
.foot-note { margin: 0; color: var(--color-ink-3); font-size: 15px; }
.foot-name {
  margin: 0;
  padding: 0 max(16px, env(safe-area-inset-left));
  font-size: clamp(120px, 31vw, 440px);
  line-height: 0.8;
  margin-bottom: -0.16em;
  text-align: center;
  user-select: none;
}

/* --- motion: one load-in above the fold; nothing waits on a script --- */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise var(--dur-reveal) var(--ease-settle) both; }
  .hero > :nth-child(2) { animation-delay: 80ms; }
  .hero > :nth-child(3) { animation-delay: 160ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
