:root {
  --bg: #0c1210;
  --bg-elevated: #141c19;
  --ink: #e8efe9;
  --muted: #9aaba0;
  --line: rgba(232, 239, 233, 0.12);
  --accent: #c6f54c;
  --accent-ink: #0c1210;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(198, 245, 76, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(80, 140, 120, 0.18), transparent 50%),
    var(--bg);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top,
main,
footer {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.mark {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

nav {
  display: flex;
  gap: 1.25rem;
}

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

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

main {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6.5rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.hero h1 {
  margin: 0.15em 0 0.35em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.2rem, 16vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  filter: brightness(1.05);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: rgba(232, 239, 233, 0.05);
}

.products,
.company {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.product {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

@media (min-width: 720px) {
  .product {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.product h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.product p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

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

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

dl {
  margin: 0;
  display: grid;
  gap: 1rem;
}

dl > div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  dl > div {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

dt {
  color: var(--muted);
  font-size: 0.85rem;
}

dd {
  margin: 0;
  font-size: 1.05rem;
}

dd a {
  color: var(--ink);
  text-decoration: none;
}

dd a:hover,
dd a:focus-visible {
  color: var(--accent);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

footer a:hover,
footer a:focus-visible {
  color: var(--ink);
}

.legal {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 4rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.legal h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 3.5rem);
}

.legal p {
  color: var(--muted);
  max-width: 40rem;
}
