:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --paper-alt: #f7f4ed;
  --ink: #171717;
  --muted: #5d5a54;
  --rule: #ddd6c9;
  --accent: #f8a622;
  --accent-strong: #d97800;
  --leaf: #348a44;
  --sky: #2f78a3;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--sky);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent-strong);
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(251, 250, 246, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 16px 24px;
}

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

.brand img {
  height: 42px;
  width: 42px;
}

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

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--sky);
}

.hero {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  margin: 0 auto;
  max-width: var(--max);
  padding: 64px 24px 56px;
}

.eyebrow {
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.45rem, 8vw, 5.8rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.lede {
  color: #332f29;
  font-size: clamp(1.12rem, 2.4vw, 1.42rem);
  margin: 20px 0 0;
  max-width: 650px;
}

.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover {
  background: var(--accent);
  border-color: var(--ink);
  color: var(--ink);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  border: 1px solid var(--rule);
  display: block;
  height: auto;
  max-width: 100%;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 58px 24px;
}

.section > p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 780px;
}

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

.feature {
  border-left: 5px solid var(--accent);
  padding: 4px 18px 6px;
}

.feature:nth-child(2) {
  border-color: var(--leaf);
}

.feature:nth-child(3) {
  border-color: var(--sky);
}

.feature p {
  color: var(--muted);
  margin: 10px 0 0;
}

.notice {
  background: #fff3d7;
  border: 1px solid #eccb78;
  border-radius: 8px;
  margin-top: 28px;
  padding: 16px 18px;
}

.pricing-band {
  background: #ffffff;
  border-top: 1px solid var(--rule);
}

.pricing-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 58px 24px;
}

.pricing-inner > p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 780px;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.price-option {
  border-left: 5px solid var(--sky);
  padding: 4px 18px 6px;
}

.price-option:nth-child(2) {
  border-color: var(--leaf);
}

.price {
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 850;
  line-height: 1;
  margin: 18px 0 8px;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
  margin-left: 3px;
}

.price-option p:not(.price),
.subscription-note {
  color: var(--muted);
}

.screenshot-band {
  background: #ffffff;
  border-top: 1px solid var(--rule);
}

.screenshot-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 58px 24px;
}

.screenshot-inner > p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 780px;
}

.screenshot-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(190px, 0.7fr) minmax(300px, 1fr);
  margin-top: 28px;
  max-width: 640px;
}

.screenshot-subhead {
  font-size: 1.2rem;
  margin: 44px 0 0;
}

.screenshot-gallery {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 24px;
  max-width: 840px;
}

.app-screenshot {
  margin: 0;
}

.app-screenshot img {
  background: #101010;
  border: 1px solid var(--rule);
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 390px;
  max-width: 100%;
  object-fit: contain;
  object-position: top center;
  width: auto;
}

.app-screenshot figcaption,
.license-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.app-screenshot figcaption {
  margin-top: 10px;
}

.license-note {
  margin-top: 22px;
}

.content-page {
  margin: 0 auto;
  max-width: 860px;
  padding: 58px 24px 72px;
}

.content-page h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  max-width: 16ch;
}

.content-page h2 {
  font-size: 1.55rem;
  margin-top: 36px;
}

.content-page p,
.content-page li {
  color: #35312b;
  font-size: 1.04rem;
}

.content-page ul {
  padding-left: 1.25rem;
}

.meta {
  color: var(--muted);
  font-size: 0.96rem;
  margin-top: 12px;
}

.support-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.support-item {
  border-left: 5px solid var(--leaf);
  padding-left: 18px;
}

.support-item:nth-child(even) {
  border-color: var(--sky);
}

.site-footer {
  background: var(--ink);
  color: #ffffff;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 26px 24px;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

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

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

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

@media (max-width: 420px) {
  .nav,
  .hero-inner,
  .section,
  .pricing-inner,
  .screenshot-inner,
  .content-page,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1,
  .content-page h1 {
    font-size: 2.35rem;
    max-width: none;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background 160ms ease, color 160ms ease;
  }
}
