:root {
  color-scheme: dark;
  --bg: #080808;
  --text: #f0efe9;
  --muted: #a4a39e;
  --line: rgba(240, 239, 233, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.035em;
}

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

.landing {
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  padding: clamp(18px, 3.2vh, 32px) clamp(20px, 4vw, 56px);
}

.brand {
  display: flex;
  justify-content: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.logo svg {
  width: 23px;
  height: 23px;
  color: var(--text);
}

.ai {
  color: var(--muted);
}

.hero {
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vh, 24px);
  text-align: center;
}

.plant {
  width: min(560px, 70vw);
  max-height: 38svh;
  color: rgba(240, 239, 233, 0.62);
}

.plant .ground {
  stroke-opacity: 0.42;
}

.plant .glass {
  fill: rgba(240, 239, 233, 0.025);
  stroke-opacity: 0.58;
}

.plant .thin {
  stroke-opacity: 0.25;
}

.plant g {
  stroke-width: 1.3;
}

h1 {
  margin: 0;
  font-size: clamp(1.7rem, 7.8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  font-weight: 500;
}

h1 span {
  display: block;
}

.primary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 0 0 7px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  transition: color 160ms ease, border-color 160ms ease;
}

.primary span {
  color: var(--text);
  transition: transform 160ms ease;
}

.primary:hover,
.primary:focus-visible {
  color: var(--text);
  border-color: rgba(240, 239, 233, 0.55);
}

.primary:hover span,
.primary:focus-visible span {
  transform: translate(2px, -2px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

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

.site-footer a {
  padding: 4px 0;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.site-footer a[aria-current="page"] {
  color: var(--text);
}

.landing--legal {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
}

.legal {
  width: min(640px, 100%);
  padding: clamp(56px, 12vh, 120px) 0;
}

.legal h1 {
  margin: 0 0 clamp(24px, 4vh, 36px);
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.legal h2 {
  margin: clamp(28px, 5vh, 44px) 0 12px;
  font-size: 1.25rem;
  font-weight: 500;
}

.legal strong {
  color: var(--text);
  font-weight: 500;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

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

.legal ul {
  margin: 0 0 16px;
  padding-left: 1.1rem;
}

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

.legal p a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: border-color 160ms ease;
}

.legal p a:hover,
.legal p a:focus-visible {
  border-color: rgba(240, 239, 233, 0.55);
}

.legal .primary {
  margin-top: clamp(20px, 4vh, 36px);
}

.legal .primary:hover span,
.legal .primary:focus-visible span {
  transform: translateX(-2px);
}

@media (max-height: 600px) {
  .plant {
    max-height: 29svh;
  }

  .hero {
    gap: 10px;
  }

  .primary {
    margin-top: 2px;
  }
}

@media (max-width: 380px) {
  .plant {
    width: 76vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
