:root {
  color-scheme: dark;
  --bg: #09100d;
  --surface: #111a16;
  --surface-muted: #16221d;
  --surface-raised: #f6f8f4;
  --ink: #f5f8f2;
  --ink-dark: #132019;
  --muted: #bfcbc3;
  --muted-dark: #536258;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: #dce4de;
  --green: #78d98b;
  --green-dark: #246d3b;
  --orange: #f6a84b;
  --blue: #72a8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 16, 13, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover,
.prose a:hover,
.link-list a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: min(650px, 74svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(9, 16, 13, 0.96) 0%, rgba(9, 16, 13, 0.84) 44%, rgba(9, 16, 13, 0.28) 100%),
    url("assets/home.png");
  background-position: center, right 18% top 18%;
  background-size: cover, min(46vw, 420px) auto;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  padding: 72px 0 64px;
}

.hero-content,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.eyebrow,
.section-kicker,
.meta-line {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: 54px;
}

h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead,
.body-large {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 21px;
}

.body-large {
  color: var(--muted-dark);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #07100b;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(120, 217, 139, 0.18);
}

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

.button:hover {
  transform: translateY(-1px);
}

.section {
  padding: 72px 0;
  background: var(--surface-raised);
  color: var(--ink-dark);
}

.section-tight {
  padding-top: 64px;
}

.section-muted {
  background: #eaf1ec;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 172px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(19, 32, 25, 0.07);
}

.card p,
.card li,
.prose p,
.prose li {
  color: var(--muted-dark);
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.screenshot {
  margin: 0;
  padding: 8px;
  background: #0c1210;
  border: 1px solid rgba(19, 32, 25, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screenshot img {
  width: 100%;
  border-radius: 6px;
}

.screenshot figcaption {
  padding: 10px 4px 2px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 40px;
  align-items: start;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  color: var(--ink-dark);
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.page-hero {
  padding: 72px 0 46px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.prose {
  font-size: 17px;
}

.prose h2 {
  margin-top: 34px;
  font-size: 24px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--green-dark);
  font-weight: 800;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

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

.support-list li {
  display: grid;
  gap: 2px;
}

.support-list span {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.support-list a {
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #07100b;
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.footer-inner a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero {
    background-position: center, right -80px center;
    background-size: cover, 420px auto;
  }

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

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

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .hero {
    min-height: auto;
    background-position: center, right -130px top 34px;
    background-size: cover, 360px auto;
  }

  .hero-content {
    padding: 58px 0 54px;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 48px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 13px;
  }

  .screenshots {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 56px 0;
  }
}

/* Form styles */
.form-card {
  grid-column: span 3;
}

@media (max-width: 980px) {
  .form-card {
    grid-column: span 1;
  }
}

.support-form {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-dark);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: #fbfdfc;
  color: var(--ink-dark);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(120, 217, 139, 0.16);
}

.form-group textarea {
  resize: vertical;
}

.success-banner {
  padding: 16px;
  background: #e6f7eb;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green-dark);
  font-weight: 750;
  margin-bottom: 20px;
}
