:root {
  color-scheme: dark;
  --bg: #081114;
  --panel: #101b20;
  --panel-strong: #14252b;
  --text: #f3f8f7;
  --muted: #a6b6b5;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #0ac18e;
  --accent-strong: #18d8a3;
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #05090b;
}

a {
  color: inherit;
}

.page-shell {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(10, 193, 142, 0.24), transparent 22rem),
    linear-gradient(145deg, rgba(16, 27, 32, 0.94), rgba(10, 20, 24, 0.88));
  box-shadow: 0 2rem 5rem var(--shadow);
}

.hero::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: 36%;
  background: linear-gradient(135deg, transparent 0%, rgba(10, 193, 142, 0.12) 100%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.brand-mark {
  display: block;
  width: 6rem;
  height: 6rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 1.4rem 1.7rem rgba(0, 0, 0, 0.22));
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 10vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.tagline {
  max-width: 44rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
}

.intro,
.panel p,
.grid p,
footer {
  color: var(--muted);
  line-height: 1.7;
}

.intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(10, 193, 142, 0.64);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.button.primary {
  border-color: transparent;
  color: #06110f;
  background: var(--accent);
}

.panel,
.grid article {
  border: 1px solid var(--line);
  background: rgba(16, 27, 32, 0.72);
}

.panel {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-top: 1rem;
  padding: 2rem;
  border-radius: 1.4rem;
}

.panel p:last-child,
.grid p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.grid article {
  min-height: 12rem;
  padding: 1.5rem;
  border-radius: 1.3rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 0;
  font-size: 0.95rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: var(--text);
  text-decoration-color: rgba(10, 193, 142, 0.55);
  text-underline-offset: 0.25rem;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 1rem, 68rem);
    padding-top: 0.5rem;
  }

  .hero,
  .panel,
  .grid article {
    border-radius: 1.2rem;
  }

  .hero {
    padding: 2rem 1.2rem;
  }

  .brand-mark {
    width: 4.75rem;
    height: 4.75rem;
    margin-bottom: 1.4rem;
  }

  .panel,
  .grid {
    grid-template-columns: 1fr;
  }

  .panel {
    gap: 0.5rem;
    padding: 1.3rem;
  }

  .button {
    width: 100%;
  }
}
