:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #fbfcfa;
  --ink: #28322e;
  --muted: #63726a;
  --line: #d6ded5;
  --green: #2e765f;
  --green-dark: #205d4a;
  --green-soft: #eef7f4;
  --brand-grey: #27313d;
  --brand-green: #43a83f;
  --blue: #255c92;
  --blue-soft: #e7f1ff;
  --amber: #a35619;
  --amber-soft: #fff3e7;
  --red: #bb333a;
  --red-soft: #fae8eb;
  --shadow: 0 18px 50px rgba(39, 52, 45, 0.08);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(214, 222, 213, 0.8);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.brand-link img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.brand-word-effort {
  color: var(--brand-grey);
  font-weight: 900;
}

.brand-word-plan {
  color: var(--brand-green);
  font-weight: 900;
}

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

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 8px 12px;
}

.button,
button.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-dark);
}

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

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

.button.ghost {
  color: var(--green-dark);
  border-color: var(--line);
  background: transparent;
}

.hero {
  padding: 74px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(520px, 1.17fr);
  gap: 46px;
  align-items: center;
}

.hero-grid > *,
.feature-split > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 21px;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip li,
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.status-pill.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-pill.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-pill.red {
  background: var(--red-soft);
  color: var(--red);
}

.hero-visual {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
}

.section {
  padding: 58px 0;
}

.section.tight {
  padding: 36px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.section-header h2,
.page-title h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.04;
}

.section-header p,
.page-title p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card,
.download-card,
.release-card,
.faq-item,
.support-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card {
  padding: 24px;
}

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

.card p {
  color: var(--muted);
}

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

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface-soft);
}

.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.workflow {
  counter-reset: step;
}

.workflow .card {
  position: relative;
  min-height: 180px;
}

.workflow .card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 900;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 28px;
  align-items: center;
}

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

.feature-list li {
  border-left: 4px solid var(--green);
  padding: 2px 0 2px 14px;
  color: var(--muted);
}

.feature-list strong {
  display: block;
  color: var(--ink);
}

.screenshot-frame {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  display: block;
  width: 100%;
}

.integration-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.integration-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.integration-card h3 {
  margin: 0 0 4px;
}

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

.download-card {
  padding: 26px;
}

.download-card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.download-meta span {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.code-line {
  display: block;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 10px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.notice {
  border: 1px solid #e8c47a;
  border-radius: 8px;
  background: #fff8eb;
  padding: 18px;
  color: #72400f;
}

.release-card {
  padding: 24px;
}

.release-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.release-card h2,
.release-card h3 {
  margin-bottom: 6px;
}

.release-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 8px 14px;
  font: inherit;
  font-weight: 800;
}

.filter-row button.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

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

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 18px 20px;
  text-align: left;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  color: var(--green);
  font-size: 24px;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-panel {
  padding: 0 20px 18px;
  color: var(--muted);
}

.page-hero {
  padding: 62px 0 24px;
}

.page-title {
  max-width: none;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--green-dark);
  text-decoration: none;
}

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

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
}

.support-block {
  padding: 24px;
}

.support-block ol,
.support-block ul {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
}

.built-by {
  font-weight: 800;
  color: var(--green-dark);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-split,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

  .brand-link {
    gap: 10px;
    font-size: 22px;
  }

  .brand-link img {
    width: 48px;
    height: 48px;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .metric-row {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: min(100%, 340px);
    font-size: 36px;
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .section-header p,
  .page-title p {
    font-size: 18px;
  }

  .section-header,
  .release-card header,
  .footer-grid {
    display: block;
  }

  .integration-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .integration-card .status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .download-meta {
    grid-template-columns: 1fr;
  }
}
