@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #090909;
  --bg-2: #030303;
  --card: #121212;
  --graphite: #161616;
  --fg: #f3f1ef;
  --bone: #ebe7e2;
  --muted: #a8a6a2;
  --silver: #c5c4c2;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --pulse: #ff6741;
  --danger: #e64343;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --header: 4.25rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(46, 46, 46, 0.55), transparent 70%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--bone);
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--fg);
  color: #060606;
  padding: 0.6rem 0.9rem;
  border-radius: 2px;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

.topbar {
  background: #0c0c0c;
  color: var(--silver);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
}

.topbar strong {
  color: var(--fg);
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(9, 9, 9, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.wrap,
.site-footer .wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--fg);
}

.brand:hover {
  color: var(--fg);
}

.mark {
  width: 2rem;
  height: 2rem;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  flex: none;
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.word {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.word svg {
  width: 0.95em;
  height: 0.95em;
  display: block;
}

.header-link {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
}

.header-link:hover {
  color: var(--fg);
}

@media (max-width: 560px) {
  .header-link {
    display: none;
  }
}

.hero {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: var(--silver);
  font-size: 1.05rem;
}

blockquote {
  margin: 1.4rem 0 0;
  padding: 0;
  max-width: 34rem;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

blockquote p {
  margin: 0;
}

blockquote p::before {
  content: "\201C";
}

blockquote p::after {
  content: "\201D";
}

.code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
}

.code-chip span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-chip strong {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 38rem;
}

.disclosure {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 40rem;
}

.hero-visual {
  justify-self: start;
}

.hero-visual.is-portrait {
  width: min(100%, 220px);
}

.hero-visual.is-mark {
  width: min(100%, 240px);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #050505;
  box-shadow: var(--shadow);
}

.hero-visual.is-portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-visual.is-mark img {
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  padding: 0.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.trust li {
  list-style: none;
}

.trust ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin: 0;
  padding: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%), var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card-media {
  background: #0c0c0c;
  border-radius: 2px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-type {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.price {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.blurb {
  margin: 0.65rem 0 1rem;
  color: var(--silver);
  font-size: 0.92rem;
  flex: 1;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.btn,
button.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: 2px;
  border: 0;
  background: var(--fg);
  color: #060606;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}

.btn:hover,
button.btn:hover {
  background: var(--bone);
  color: #060606;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  width: auto;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
}

.text-link {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.05rem;
}

.text-link:hover {
  color: var(--fg);
}

.fine {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 46rem;
}

.site-footer {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.6rem;
  background: #070707;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 26rem;
  font-size: 0.92rem;
}

.footer-col h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-col a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--fg);
}

.legal {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.legal p {
  margin: 0.35rem 0;
}

.pillars {
  display: grid;
  gap: 0.8rem;
  padding-bottom: 1rem;
}

.pillar {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.pillar h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.pillar p {
  margin: 0;
  color: var(--silver);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.home-actions .btn {
  width: auto;
}

.stats-page {
  padding: 2rem 0 3rem;
}

.stats-page h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 1.4rem 0 1.6rem;
}

.stat-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0.9rem;
  border-radius: 2px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin: 0.6rem 0 1.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #101010;
}

tr:last-child td {
  border-bottom: 0;
}

.login {
  max-width: 26rem;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
}

label {
  font-size: 0.82rem;
  color: var(--muted);
}

input[type="password"] {
  width: 100%;
  min-height: 2.7rem;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: #101010;
  color: var(--fg);
  padding: 0.4rem 0.7rem;
  font: inherit;
}

.error {
  color: #ffb4a8;
  margin: 0;
}

.empty {
  border: 1px solid var(--line);
  padding: 1rem;
  color: var(--silver);
  border-radius: 2px;
}

@media (min-width: 720px) {
  .header-inner,
  .wrap {
    width: min(1120px, calc(100% - 3rem));
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .pillars {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.2rem;
  }

  .hero-visual.is-portrait,
  .hero-visual.is-mark {
    width: min(100%, 320px);
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
    align-items: end;
    gap: 3.5rem;
    padding-top: 3.5rem;
  }

  .hero-visual {
    justify-self: end;
  }

  .hero-visual.is-portrait,
  .hero-visual.is-mark {
    width: min(100%, 380px);
  }

  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .actions .btn {
    width: auto;
    min-width: 8.5rem;
  }
}

@media (max-width: 640px) {
  .stat-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
