:root {
  --bg: #161b22;
  --ink: #f3eee5;
  --muted: rgba(243, 238, 229, 0.74);
  --faint: rgba(243, 238, 229, 0.14);
  --orange: #ff7c1f;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(243, 238, 229, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 229, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 88%);
}

.page {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  padding: 38px 0 0;
}

.logo {
  display: block;
  width: 54px;
  height: 54px;
}

.hero {
  display: block;
  min-height: clamp(340px, 56vh, 660px);
  padding: 74px 0 98px;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(3.5rem, 7.3vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.hero h1 .line {
  display: block;
}

.hero h1 .line-platform {
  white-space: normal;
}

.hero h1 .accent {
  color: var(--orange);
}

.summary {
  max-width: 1000px;
  padding: 0 0 56px;
}

.summary-line {
  width: 100%;
  height: 1px;
  background: var(--faint);
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 620px);
  gap: 52px;
  align-items: start;
  padding-top: 30px;
}

.summary-subtitle {
  margin: 0;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.6;
}

.summary-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.88;
  max-width: none;
}

.features {
  max-width: 1000px;
  padding: 0 0 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 620px);
  gap: 52px;
  align-items: start;
  padding-top: 30px;
}

.features-subtitle {
  margin: 0;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.6;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.feature-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
}

.workflow {
  max-width: 1000px;
  padding: 0 0 124px;
}

.site-footer {
  max-width: 1000px;
  padding: 0 0 40px;
}

.site-footer-copy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.82;
  text-align: right;
}

@media (max-width: 980px) {
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(calc(100% - 24px), var(--content));
  }

  .topbar {
    padding-top: 20px;
  }

  .logo {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 0;
    padding: 38px 0 52px;
  }

  .hero h1 {
    max-width: 10.8ch;
    font-size: clamp(3rem, 14vw, 4.85rem);
    line-height: 0.9;
  }

  .hero h1 .line-main,
  .hero h1 .line-platform {
    white-space: normal;
  }

  .summary {
    padding-bottom: 42px;
  }

  .summary-subtitle {
    font-size: 0.72rem;
  }

  .summary-copy {
    font-size: 1rem;
    line-height: 1.72;
  }

  .features {
    padding-bottom: 42px;
  }

  .features-subtitle {
    font-size: 0.72rem;
  }

  .feature-list {
    gap: 12px;
  }

  .feature-list li {
    font-size: 0.98rem;
  }

  .workflow {
    padding-bottom: 72px;
  }

  .site-footer {
    padding-bottom: 28px;
  }
}
