:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-elevated: #0e0e13;
  --ink: #f4f1ea;
  --muted: #a8a3b5;
  --faint: #6f6a7a;
  --line: rgba(255, 255, 255, 0.08);
  --violet: #b9a7ff;
  --violet-deep: #7c68e8;
  --focus: #d7ccff;
  --radius: 18px;
  --max: 1080px;
  --text: 38rem;
  --sans: "Söhne", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 104, 232, 0.16), transparent 55%),
    radial-gradient(800px 500px at 0% 20%, rgba(124, 104, 232, 0.08), transparent 45%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.011em;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  opacity: 0.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

.shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(7, 7, 10, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.mark {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--violet);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.wordmark-text strong {
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.wordmark-text span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover,
.text-link:hover {
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.section {
  padding: 5.5rem 0 0;
}

.hero {
  padding-top: 7.5rem;
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--violet);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  font-family: var(--display);
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-style: italic;
  font-weight: 400;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

h3 {
  font-size: 1.25rem;
}

.lede,
.prose p,
.product p,
.meta {
  color: var(--muted);
}

.lede {
  margin: 1.6rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
}

.section {
  max-width: var(--text);
}

.products.section {
  max-width: none;
}

.product {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-top: 1.75rem;
  padding: 1.6rem 1.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-copy h3 {
  margin-top: 0.2rem;
}

.product-copy p {
  margin: 0.55rem 0 0;
  max-width: 34rem;
}

.text-link {
  color: var(--violet);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.product-status {
  margin: 0;
  color: var(--violet);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact a {
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.legal-page {
  padding: 5.5rem 0 2rem;
  max-width: var(--text);
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: none;
}

.prose {
  margin-top: 2rem;
}

.prose h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.2rem;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
}

.prose ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.meta {
  font-size: 0.9rem;
}

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

@media (max-width: 720px) {
  .shell {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .hero {
    padding-top: 4.5rem;
  }

  .product {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner,
  .footer-inner {
    min-height: 3.6rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 0;
  }
}

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

  .reveal {
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.8s ease both;
  }

  .reveal-2 {
    animation-delay: 0.08s;
  }

  .reveal-3 {
    animation-delay: 0.16s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
