:root {
  color-scheme: dark;
  --paper: #11111b;
  --paper-deep: #181825;
  --ink: #cdd6f4;
  --muted: #a6adc8;
  --grass: #a6e3a1;
  --blue: #89b4fa;
  --gold: #f9e2af;
  --line: rgba(205, 214, 244, 0.16);
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-100.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-400.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-700.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  display: block;
  height: 8px;
  background:
    linear-gradient(90deg, var(--grass) 0 34%, var(--blue) 34% 68%, var(--gold) 68% 100%);
}

a {
  color: var(--blue);
  text-decoration-color: rgba(137, 180, 250, 0.45);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--grass);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid rgba(166, 227, 161, 0.3);
  outline-offset: 4px;
  border-radius: 4px;
}

.page-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 96px 28px 64px;
}

.hero {
  max-width: 820px;
  padding: 0 0 76px;
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-kicker-logo {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: none;
  font-size: 4.75rem;
  line-height: 0.98;
  font-family:
    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 100;
  letter-spacing: 0;
  white-space: nowrap;
}

.tagline {
  max-width: 560px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.55rem;
  line-height: 1.35;
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: 28px;
}

.detail-block {
  min-width: 0;
}

.detail-block h2 {
  margin-bottom: 10px;
  color: var(--grass);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-block p,
.detail-block a {
  font-size: 1.12rem;
}

.detail-block p {
  max-width: 34rem;
  color: var(--ink);
}

footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

footer p {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 22px 28px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.legal-shell {
  width: min(100%, 840px);
  margin: 0 auto;
  padding: 72px 28px 64px;
}

.legal-nav {
  margin-bottom: 52px;
}

.legal-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-page h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: 3.25rem;
  line-height: 1.06;
  white-space: normal;
}

.legal-updated {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 1rem;
}

.legal-page section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 12px;
  color: var(--grass);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-page p,
.legal-page li {
  color: var(--ink);
  font-size: 1.05rem;
}

.legal-page p + p,
.legal-page ul + p {
  margin-top: 14px;
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 1.25rem;
}

.legal-page li + li {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .page-shell {
    padding: 64px 22px 48px;
  }

  .hero {
    padding-bottom: 56px;
  }

  .brand-kicker {
    margin-bottom: 30px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .tagline {
    margin-top: 22px;
    font-size: 1.3rem;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  footer p {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    max-width: 12ch;
    font-size: 2.72rem;
    white-space: normal;
  }

  .brand-kicker {
    align-items: flex-start;
    gap: 12px;
    font-size: 0.84rem;
  }

  .brand-kicker-logo {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .detail-block p,
  .detail-block a {
    font-size: 1rem;
  }

  .legal-shell {
    padding: 52px 22px 48px;
  }

  .legal-page h1 {
    font-size: 2.45rem;
  }
}
