/* Shared stylesheet for standalone static pages (footer destinations,
   legal pages) that live outside the app — same design tokens as
   src/styles/globals.css, kept in plain CSS so these pages load instantly
   with zero JS and no bundler step. Deliberately monospace throughout — an
   engineering-report register, distinct from the app's own UI type. Uses
   locally installed fonts only: no web-font request, no third party. */

:root {
  --bg: hsl(0 0% 100%);
  --surface-raised: hsl(0 0% 95%);
  --ink: hsl(240 12% 9%);
  --ink-muted: hsl(240 6% 38%);
  --accent: hsl(356 92% 62%);
  --accent-ink: hsl(0 0% 100%);
  --shadow-sm: 3px 3px 0 0 hsl(240 12% 9% / 0.55);
  --mono: "Ubuntu Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}

/* Same shell as the app's own content wrapper (`mx-auto max-w-6xl px-8
   py-7`) so these pages read as part of the same product, not a
   different site. */
.page {
  max-width: 1152px;
  margin: 0 auto;
  padding: 28px 32px 96px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 4px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: var(--accent);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand .logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent-ink);
}

.brand-name {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.back-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.back-link:hover {
  border-bottom-color: var(--ink);
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* Text needs a readable measure even though the page shell is wide —
   the stat grid below is allowed to use the full width, prose is not. */
.prose {
  max-width: 640px;
}

.lede {
  font-size: 16px;
  color: var(--ink-muted);
  margin: 0 0 44px;
  line-height: 1.6;
}

section {
  margin-bottom: 36px;
  padding-top: 28px;
  border-top: 1px solid hsl(240 12% 9% / 0.12);
}

section:first-of-type {
  border-top: none;
  padding-top: 0;
}

section h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 14px;
}

section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 12px;
}

section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section ul li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}

section ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: hsl(356 92% 62% / 0.35);
  text-underline-offset: 2px;
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

section code {
  background: var(--surface-raised);
  border: 1px solid hsl(240 12% 9% / 0.2);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.92em;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 48px;
  border-top: 1px solid hsl(240 12% 9% / 0.15);
  border-bottom: 1px solid hsl(240 12% 9% / 0.15);
}

.stat-card {
  flex: 1 1 180px;
  padding: 20px 22px 20px 0;
  border-right: 1px solid hsl(240 12% 9% / 0.15);
  margin-right: 22px;
}

.stat-card:last-child {
  border-right: none;
  margin-right: 0;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.bench-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 0 0 20px;
  font-size: 13.5px;
}

.bench-table th,
.bench-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid hsl(240 12% 9% / 0.12);
}

.bench-table thead th {
  background: var(--surface-raised);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 700;
}

.bench-table tbody tr:last-child td {
  border-bottom: none;
}

.bench-table td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.bench-table td.muted {
  color: var(--ink-muted);
  font-weight: 400;
}

.table-caption {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 0 0 40px;
}

.draft-note {
  font-size: 13px;
  color: var(--ink-muted);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 32px;
  max-width: 640px;
}

/* Contact buttons on the credits pages — same bordered, hard-shadow
   language as the app's buttons. Mail is a Lucide outline (ISC); LinkedIn
   and Instagram are the official brand marks in their own colors. */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 40px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 100ms, box-shadow 100ms, background-color 100ms;
}

.contact-link:hover {
  background: var(--surface-raised);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 hsl(240 12% 9% / 0.55);
}

.contact-link:active {
  transform: none;
  box-shadow: none;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link svg.brand-icon {
  stroke: none;
}

/* Question-and-answer list on the Features page. */
.faq h3 {
  margin: 24px 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.faq h3:first-child {
  margin-top: 0;
}

/* The one-line note at the bottom of each info page. */
.site-footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  font-size: 13px;
  color: var(--ink-muted);
}

.site-footer p {
  margin: 0;
}

/* The Features page's link to the app: the app's primary-button look. */
.cta {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 4px 4px 0 0 hsl(240 12% 9% / 0.55);
  transition: transform 100ms, box-shadow 100ms;
}

.cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 hsl(240 12% 9% / 0.55);
}
