:root {
  --bg: #f7faf9;
  --paper: #ffffff;
  --ink: #10201d;
  --muted: #5d6f6b;
  --line: #dce8e5;
  --teal: #00add8;
  --teal-dark: #007d9c;
  --green: #35b779;
  --yellow: #f2c94c;
  --shadow: 0 20px 60px rgba(16, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 173, 216, 0.16), transparent 28%),
    linear-gradient(180deg, #fafdfe 0%, var(--bg) 46%, #edf6f3 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 280px);
  padding: 72px 0 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: #203a35;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--teal);
}

.terminal {
  overflow: hidden;
  border: 1px solid rgba(16, 32, 29, 0.08);
  border-radius: 8px;
  background: #111b1f;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: #18262b;
}

.terminal-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b6b;
}

.terminal-bar span:nth-child(2) {
  background: var(--yellow);
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

pre {
  min-height: 330px;
  margin: 0;
  padding: 24px;
  color: #d9fff6;
  font: 500 15px/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 84px;
}

.stats div,
.topic-card,
.notify {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.stats div {
  padding: 22px;
}

.stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.stats span,
.topic-card p,
.feature-list,
.notify p,
.site-footer {
  color: var(--muted);
}

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

.section-heading {
  max-width: 650px;
  margin-bottom: 28px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.topic-card {
  padding: 26px;
}

.topic-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.feature-list li {
  position: relative;
  padding-left: 34px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.notify {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  margin: 64px 0 46px;
  padding: 34px;
}

.notify-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

input {
  min-width: 260px;
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 173, 216, 0.16);
}

.form-message {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .split,
  .notify {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .terminal {
    transform: none;
  }

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

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1120px);
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 42px;
  }

  .button,
  input {
    width: 100%;
  }

  .notify {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
