@import url("/tokens/colors.css");
@import url("/tokens/typography.css");
@import url("/tokens/spacing.css");
@import url("/tokens/motion.css");

/* Verlet public site. Shared brand, header, footer and landing components.
 * Product surfaces use the application's dark theme values. trust.css builds on these tokens. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-mono.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  /* brand */
  --black: #0e0f10; --paper: #0e0f10; --white: #1c1c1f; --light: #242426;
  --ink: #f6f3ec; --ink-2: #c9c6bf; --muted: #9a9c9e; --rule: #2a2d30; --rule-2: #3a3d40;
  --vermilion: #e54b2a; --rust: #e54b2a; --green: #82dba4; --lime: #82dba4;
  /* the application, dark theme */
  --app-bg: #101012; --app-raised: #1c1c1f; --app-sunken: #242426;
  --app-ink: #f5f5f7; --app-ink-2: #d0d0d5; --app-ink-3: #a1a1a9;
  --app-rule: #343438; --app-rule-2: #53535a; --app-link: #68b4ff;
  --app-verified: #82dba4; --app-verified-bg: #203329; --app-warning: #f1c45c; --app-warning-bg: #322b1c;
  --sans: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  font-family: var(--sans); color: var(--ink); background: var(--black);
  font-synthesis: none; -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; min-width: 0; font-size: 17px; line-height: 1.55; }
p, h1, h2, h3, figure, dl, dd, ul, ol { margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 4px; border-radius: 2px; }
[hidden] { display: none !important; }
svg { display: block; max-width: 100%; }
code { font-family: var(--mono); }
.wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; transform: translateY(-160%); background: var(--ink); color: var(--black); padding: 12px 20px; border-radius: 3px; }
.skip-link:focus { transform: translateY(0); }
.num { font-variant-numeric: tabular-nums slashed-zero; }

/* ---- type ---- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
h3 { font-size: 18px; letter-spacing: -0.015em; }
.eyebrow { font: 500 12px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.text-link { font-size: 15px; }

/* ---- buttons ---- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; font-size: 16px; font-weight: 500; text-decoration: none; border-radius: 3px; border: 1px solid var(--ink); background: var(--ink); color: var(--black); transition: background 160ms var(--ease), transform 160ms var(--ease); }
.button:hover { background: #fff; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.button-quiet:hover { background: var(--rule); }

/* ---- header and footer, shared by every page ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--black) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 20px; letter-spacing: -0.03em; min-height: 44px; }
.mark { width: 26px; height: 26px; flex: none; overflow: visible; }
.mark path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: square; }
.mark rect { fill: var(--vermilion); }
.site-nav { display: flex; align-items: center; gap: 4px 22px; font-size: 15px; }
.site-nav a { text-decoration: none; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--ink); text-decoration: underline; }
.site-nav .button-small { color: var(--black); text-decoration: none; }
.site-nav .button-small:hover { text-decoration: none; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 40px 56px; margin-top: 64px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: flex-start; }
.footer-brand { display: grid; gap: 8px; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 44ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; color: var(--muted); }
.footer-links a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current='page'] { color: var(--ink); text-decoration: underline; }
.footer-note { width: 100%; font-size: 13px; color: var(--muted); max-width: 72ch; }


@media (max-width: 760px) {
  .wrap { width: min(100% - 48px, 1200px); }
  .site-nav { gap: 4px 14px; font-size: 14px; }
  .site-nav .nav-security { display: none; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { gap: 10px; font-size: 13px; }
  .brand { font-size: 18px; gap: 6px; }
  .site-nav .button-small { padding-inline: 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

.brand-lockup { display:block; width:auto; height:16px; }
