:root {
  color-scheme: light;
  --bg: #F5F2EA;
  --paper: #FAF7F0;
  --paper-muted: #EDE7D6;
  --ink: #1B1813;
  --soft: #4A443B;
  --muted: #8A8074;
  --line: #D8D2C1;
  --line-strong: #C8BEA9;
  --accent: #B25530;
  --accent-dark: #7A3617;
  --success: #0E8345;
  --warning: #B5832A;
  --shadow: 0 30px 80px rgba(27, 24, 19, 0.16);
  --shadow-soft: 0 14px 34px rgba(27, 24, 19, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #FAF7F0 0%, var(--bg) 760px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(27, 24, 19, 0.08);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 680;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
}

.header-action,
.button.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(178, 85, 48, 0.22);
}

.header-action:hover,
.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(620px, 1.22fr);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 58px auto 0;
  padding-bottom: 78px;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(52px, 7.2vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.68;
}

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

.license-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.license-row li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  background: color-mix(in srgb, var(--paper) 88%, #ffffff);
  color: var(--soft);
  font-size: 12px;
  font-weight: 720;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.hero-shot {
  transform: translateZ(0);
}

.hero-shot img {
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: center top;
}

.settings-shot {
  box-shadow: 0 18px 42px rgba(27, 24, 19, 0.1);
}

.settings-shot img {
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: center top;
}

.screenshot-frame figcaption {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 92%, #ffffff);
  font-size: 12px;
  font-weight: 650;
}

.why,
.workflow,
.configuration,
.roadmap,
.download {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.why,
.workflow,
.roadmap {
  padding: 94px 0;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(300px, 0.62fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 36px;
}

.split-heading h2,
.config-copy h2,
.download h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.split-heading p,
.config-copy p,
.download p {
  margin: 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.72;
}

.principles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.principles article {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.principles article:last-child {
  border-right: 0;
}

.principles h3,
.timeline h3,
.roadmap h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.14;
}

.principles p,
.timeline p,
.roadmap p {
  margin: 0;
  color: var(--soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline li {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 72px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 840;
}

.configuration {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(380px, 0.82fr);
  gap: 62px;
  align-items: center;
  padding: 86px max(0px, calc((100vw - 1180px) / 2));
}

.config-copy p {
  margin-top: 18px;
}

.config-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.config-stack {
  display: grid;
  gap: 18px;
}

.config-table > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.config-table > div:last-child {
  border-bottom: 0;
}

.config-table strong {
  color: var(--ink);
  font-size: 15px;
}

.config-table span {
  color: var(--soft);
}

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

.roadmap article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
}

.download {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 42px;
  align-items: center;
  margin-bottom: 86px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 42px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.download p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--soft);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.download .button.secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper-muted) 58%, #ffffff);
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--soft);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 64px;
  }

  .screenshot-frame {
    max-width: 940px;
  }

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

  .principles article:nth-child(2n) {
    border-right: 0;
  }

  .principles article {
    border-bottom: 1px solid var(--line);
  }

  .principles article:nth-last-child(-n + 1) {
    border-bottom: 0;
  }

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

  .timeline li:nth-child(2n) {
    border-right: 0;
  }

  .timeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 10px;
    grid-template-columns: auto auto;
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    padding: 8px 0;
  }

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

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

  .header-action {
    display: none;
  }

  .hero,
  .why,
  .workflow,
  .configuration,
  .roadmap,
  .download,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 44px;
    margin-top: 54px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .license-row li {
    flex: 1 1 100%;
  }

  .why,
  .workflow,
  .roadmap {
    padding: 66px 0;
  }

  .split-heading,
  .configuration,
  .download {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .principles,
  .timeline,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .principles article,
  .timeline li {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles article:last-child,
  .timeline li:last-child {
    border-bottom: 0;
  }

  .timeline span {
    margin-bottom: 42px;
  }

  .configuration {
    padding: 66px 0;
  }

  .config-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .download {
    padding: 28px;
  }

  .download-actions {
    justify-content: flex-start;
  }

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