:root {
  color-scheme: dark;
  --bg: #1c1c1f;
  --surface: #24252b;
  --surface-2: #2c2e36;
  --text: #f3f3f5;
  --soft: #c3c6cf;
  --muted: #898e9b;
  --line: rgba(255, 255, 255, 0.1);
  --green: #12d493;
  --blue: #43a7ff;
  --red: #ef4444;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 620px);
}

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

.topbar,
main,
footer {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.bolt {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green);
}

.bolt::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  width: 8px;
  height: 17px;
  background: #10201c;
  clip-path: polygon(48% 0, 100% 0, 64% 42%, 100% 42%, 28% 100%, 43% 55%, 0 55%);
}

nav {
  display: flex;
  gap: 24px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 58px;
  align-items: center;
  padding: 24px 0 58px;
}

.intro {
  max-width: 620px;
}

.label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.lead {
  max-width: 590px;
  margin-bottom: 26px;
  color: var(--soft);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.button.download {
  background: var(--green);
  color: #071511;
}

.button.pro {
  border: 1px solid var(--line);
  background: #242630;
  color: var(--text);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 0;
}

.facts div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.facts dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.screenshot {
  justify-self: end;
  width: 318px;
  margin: 0;
}

.screenshot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 34px;
}

.strip span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #22242b;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

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

.two-column,
.pricing,
.notes,
.final {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.copy p,
.pricing-copy p,
.tools p,
.note-list p,
.final h2 {
  color: var(--soft);
}

.tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.tools article {
  min-height: 190px;
  padding: 20px;
  background: var(--surface);
}

.tools h3::before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--green);
}

.pricing-copy {
  max-width: 440px;
}

.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

td:nth-child(2),
td:nth-child(3),
th:nth-child(2),
th:nth-child(3) {
  width: 96px;
  text-align: center;
}

tr:last-child td {
  border-bottom: 0;
}

td:nth-child(3) {
  color: var(--green);
  font-weight: 800;
}

.note-list {
  display: grid;
  gap: 8px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 5px;
  overflow-wrap: anywhere;
  border-radius: 5px;
  background: #15161a;
  color: var(--text);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.final {
  align-items: center;
  margin: 24px 0 78px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.final h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.final .button {
  justify-self: end;
  white-space: nowrap;
}

footer {
  display: flex;
  gap: 18px;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--soft);
  font-weight: 700;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero,
  .two-column,
  .pricing,
  .notes,
  .final {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 36px;
  }

  .screenshot {
    justify-self: center;
    width: min(340px, 100%);
  }

  .tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .topbar,
  main,
  footer {
    width: min(100% - 24px, 1040px);
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .actions,
  .button {
    width: 100%;
  }

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

  .tools article {
    min-height: 0;
  }

  .section {
    padding: 48px 0;
  }

  th,
  td {
    padding: 11px 10px;
    font-size: 13px;
  }

  td:nth-child(2),
  td:nth-child(3),
  th:nth-child(2),
  th:nth-child(3) {
    width: 68px;
  }

  footer {
    flex-wrap: wrap;
  }
}
