:root {
  color-scheme: light;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --surface-soft: #edf5f1;
  --ink: #172532;
  --muted: #586a76;
  --line: #d8e3eb;
  --green: #54bd77;
  --green-dark: #2f855a;
  --blue: #2367a4;
  --blue-dark: #253746;
  --walnut: #9b6335;
  --amber: #f3bd4b;
  --shadow: 0 24px 60px rgb(23 37 50 / 16%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px max(96px, calc((100% - 1180px) / 2)) 12px max(22px, calc((100% - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

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

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

.brand strong {
  font-size: 1.08rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 6px;
}

.site-nav a {
  border-radius: 6px;
  color: #314657;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 9px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--green-dark);
  outline: none;
}

.github-corner {
  color: #ffffff;
  display: block;
  height: 80px;
  position: fixed;
  right: 0;
  top: 0;
  width: 80px;
  z-index: 30;
}

.github-corner svg {
  display: block;
  fill: currentColor;
  height: 80px;
  width: 80px;
}

.github-corner-bg {
  fill: var(--blue-dark);
}

.github-corner-arm {
  fill: #ffffff;
  transform-origin: 130px 106px;
}

.github-corner-body {
  fill: #ffffff;
}

.github-corner:hover .github-corner-bg,
.github-corner:focus-visible .github-corner-bg {
  fill: var(--green-dark);
}

.hero {
  background: #f5f8fb;
  border-bottom: 1px solid var(--line);
  min-height: auto;
  padding: 64px 22px 54px;
}

.hero-inner,
.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.hero-inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(430px, calc(100svh - 230px));
}

.eyebrow {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 4.8rem;
  line-height: 0.96;
  margin-bottom: 22px;
  max-width: 720px;
}

h2 {
  font-size: 2.45rem;
  line-height: 1.06;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-copy {
  color: #314657;
  font-size: 1.28rem;
  max-width: 650px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #102417;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #6dd18b;
  outline: none;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--blue-dark);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--green);
  color: var(--green-dark);
  outline: none;
}

.status-line {
  color: #6a4a22;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 18px 0 0;
}

.section {
  padding: 82px 22px;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 760px;
}

.section-heading p,
.split p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.demo-band {
  background: var(--surface);
  padding-bottom: 88px;
  padding-top: 88px;
}

.demo-frame {
  margin: 0 auto;
  max-width: 960px;
}

.demo-frame img {
  background: #e9eef2;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: auto;
  width: 100%;
}

.feature-band {
  background: linear-gradient(180deg, #f5f8fb 0%, #eef7f2 100%);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature-card:nth-child(2) {
  border-top: 5px solid var(--blue);
}

.feature-card:nth-child(3) {
  border-top: 5px solid var(--walnut);
}

.feature-card:nth-child(4) {
  border-top: 5px solid var(--amber);
}

.feature-card:first-child {
  border-top: 5px solid var(--green);
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.plain-section {
  background: var(--surface);
}

.split {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
}

.check-list {
  border-left: 4px solid var(--green);
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 8px 0 8px 24px;
}

.check-list li {
  color: #314657;
  font-weight: 750;
}

.check-list li::before {
  color: var(--green-dark);
  content: "+";
  font-weight: 900;
  margin-right: 9px;
}

.install-section {
  background: #172532;
  color: #f8fbfd;
}

.install-section .eyebrow {
  color: #8be3a7;
}

.install-section p {
  color: #c9d8e2;
}

.install-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.dark-secondary {
  background: transparent;
  border-color: #456072;
  color: #f8fbfd;
}

.button.dark-secondary:hover,
.button.dark-secondary:focus-visible {
  border-color: var(--green);
  color: #8be3a7;
  outline: none;
}

.site-footer {
  background: #0f1a23;
  color: #c9d8e2;
  padding: 24px 22px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.footer-inner a {
  color: #8be3a7;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 0;
  }

  h1 {
    font-size: 3.55rem;
    max-width: 620px;
  }

  h2 {
    font-size: 2.05rem;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 10px 76px 10px 18px;
    position: static;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav a {
    padding: 7px 4px;
  }

  .github-corner {
    height: 58px;
    width: 58px;
  }

  .github-corner svg {
    height: 58px;
    width: 58px;
  }

  .hero {
    padding: 42px 18px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-copy,
  .section-heading p,
  .split p {
    font-size: 1rem;
  }

  .section {
    padding: 58px 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
