/* Gunay Labs — plain CSS, no framework */

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --muted: #555555; /* 7.46:1 on white (AAA) */
  --body: #3a3a3a;
  --line: #d4d4d4;
  --on-ink-muted: #a3a3a3; /* 7.85:1 on --ink (AAA) */
  --max: 1360px;
  --gutter: clamp(20px, 3vw, 40px);
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--ink);
}

.logo img {
  width: 36px;
  height: 36px;
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(80px, 12vw, 140px) clamp(80px, 10vw, 120px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 184px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero p.lead {
  margin: 56px 0 0;
  max-width: 620px;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--body);
}

/* ---------- Support (dark block + footer) ---------- */

.support {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(80px, 10vw, 120px) 56px;
}

.support .eyebrow {
  color: var(--on-ink-muted);
}

.support h2 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.email {
  display: inline-block;
  margin-top: 48px;
  padding-bottom: 6px;
  border-bottom: 3px solid currentColor;
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.support a:hover {
  color: var(--on-ink-muted);
}

/* Keyboard focus ring must stay visible on the black background */
.support :focus-visible {
  outline-color: var(--paper);
}

.facts {
  margin: 80px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-ink-muted);
}

.facts dt {
  color: var(--paper);
  font-weight: 600;
}

.facts dd {
  margin: 0;
}

.site-footer {
  margin-top: clamp(80px, 10vw, 120px);
  padding-top: 24px;
  border-top: 1px solid #333;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--on-ink-muted);
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

/* ---------- Document pages (privacy, 404) ---------- */

.doc {
  padding-block: clamp(64px, 9vw, 120px);
}

.doc h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.doc .updated {
  margin: 24px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.prose {
  max-width: 760px;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 2px solid var(--ink);
}

.prose h2 {
  margin: 56px 0 16px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.prose p,
.prose li {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-block;
  margin-top: 40px;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
  font-weight: 600;
}

.button:hover {
  color: var(--paper);
  background: #333;
}

.support.slim {
  padding-block: 40px;
}

.support.slim .site-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Heavy, tight headline type: give "f" a touch of room so it doesn't hit the next letter */
.kern-f {
  letter-spacing: 0.01em;
}
