:root {
  --bg: #09090b;
  --bg-elev: #111113;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --line: #27272a;
  --accent: #e8e4d9;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.mark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav-links a:hover { color: var(--text); }

.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

h1, h2, h3 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
  max-width: 14ch;
}

.dek {
  max-width: 36rem;
  color: var(--muted);
  font-size: 18px;
  margin: 28px 0 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 18px;
}

.btn:hover { filter: brightness(1.05); }

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 36px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tile {
  background: var(--bg);
  padding: 28px 26px 32px;
}

.tile h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.note {
  color: var(--text);
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 16px;
}

.fine {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.contact-mail {
  display: inline-block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.contact-mail:hover { border-bottom-color: var(--text); }

.foot {
  padding: 28px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.foot p { margin: 0; }

@media (max-width: 720px) {
  .wrap { width: min(1080px, calc(100% - 32px)); }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .grid, .split { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
}

/* Legal / product subpages */
.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(36px, 6vw, 56px);
}
.crumb {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 18px;
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--text); }
.prose {
  padding: 48px 0 72px;
  max-width: 42rem;
}
.prose h2 {
  font-size: 28px;
  margin: 36px 0 12px;
}
.prose h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 14px; color: var(--muted); }
.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  color: var(--muted);
}
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose .after-contact {
  margin-top: 24px;
}
.meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}
