:root {
  color-scheme: light;
  --paper: #f4f3ed;
  --ink: #1d2827;
  --muted: #596966;
  --accent: #136b60;
  --line: #cdd4ce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover, .text-link:hover { color: var(--accent); text-decoration: underline; }
.menu-toggle { display: none; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 5vw, 65px); font-weight: 650; }
h2 { font-size: clamp(30px, 3.5vw, 43px); font-weight: 650; }
h3 { font-size: 19px; font-weight: 650; }
.kicker { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 64px; padding-block: 110px 120px; }
.hero h1 { margin-top: 20px; }
.intro { max-width: 490px; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; padding: 0 18px; background: var(--ink); color: white; font-size: 14px; font-weight: 650; text-decoration: none; }
.button:hover { background: var(--accent); }
.text-link { font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.hero-meta { margin-top: 27px; color: var(--muted); font-size: 13px; }
.hero-image img { border: 1px solid #293936; }
.hero-image figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }

.section { padding-block: 90px; }
.features { border-top: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.section-title h2 { margin-top: 14px; max-width: 540px; }
.section-title > p:last-child:not(.kicker) { margin-top: 16px; color: var(--muted); }
.feature-list article { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list article:first-child { padding-top: 0; border-top: 0; }
.feature-list p, .steps { color: var(--muted); font-size: 15px; }

.screenshots { background: #e5e9e3; border-block: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.gallery img, .landscape-shot img { width: 100%; border: 1px solid #aeb9b0; background: #101715; }
figcaption { font-size: 13px; }
.gallery figcaption, .landscape-shot figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
figcaption strong { font-size: 14px; }
figcaption span { color: var(--muted); }
.landscape-shot { max-width: 760px; margin-top: 60px; }

.getting-started { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 80px; }
.steps { margin: 0; padding-left: 22px; }
.steps li { padding: 0 0 22px 8px; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.steps strong { color: var(--ink); }
.getting-started .button { grid-column: 2; justify-self: start; margin-top: 8px; }
.footer { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.footer > span { font-weight: 700; }
.footer > div { display: flex; gap: 24px; }
:focus-visible { outline: 3px solid #168a78; outline-offset: 4px; }

@media (max-width: 800px) {
  .hero { gap: 35px; padding-block: 80px; }
  .features, .getting-started { gap: 40px; }
  .feature-list article { grid-template-columns: 1fr; gap: 8px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 68px; }
  .menu-toggle { display: block; padding: 6px 11px; border: 1px solid #8e9d96; background: transparent; color: var(--ink); }
  nav { display: none; position: absolute; z-index: 2; top: 61px; left: 18px; right: 18px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px; background: var(--paper); border: 1px solid var(--line); }
  nav.is-open { display: flex; }
  nav a { padding: 9px 0; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 65px 70px; }
  .section { padding-block: 65px; }
  .features, .getting-started { grid-template-columns: 1fr; gap: 32px; }
  .getting-started .button { grid-column: 1; margin-top: 0; }
  .gallery { gap: 26px 12px; }
  .landscape-shot { margin-top: 40px; }
  .footer { padding-block: 24px; align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
