:root {
  color-scheme: light dark;
  --bg: #f7f8fc;
  --paper: #fff;
  --paper-strong: #fff;
  --ink: #151b2b;
  --muted: #596376;
  --line: #dde2ec;
  --accent: #0765cc;
  --soft: #edf2fa;
  --button: #0765cc;
  --button-hover: #004c9f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.skip-link { position: absolute; top: 10px; left: 10px; padding: 8px 16px; background: var(--paper-strong); transform: translateY(-160%); z-index: 1; }
.skip-link:focus { transform: translateY(0); }
.page { width: min(1140px, calc(100% - 64px)); margin: 0 auto; padding: 24px 0; }
h1, h2, h3, p, ol { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 7vw, 5.1rem); font-weight: 750; letter-spacing: -0.045em; margin-bottom: 22px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 24px; }
h3 { font-size: 1.05rem; letter-spacing: -0.015em; margin-bottom: 10px; }
p { color: var(--muted); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 64px; padding: 56px 0 64px; }
.hero-copy { min-width: 0; }
.hero-icon { display: block; width: 100%; height: auto; }
.eyebrow { color: var(--accent); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.hero .eyebrow { display: inline-block; padding: 7px 12px; background: var(--soft); border-radius: 7px; letter-spacing: 0.06em; margin-bottom: 26px; }
.lede { font-size: clamp(1.35rem, 3vw, 1.65rem); font-weight: 550; letter-spacing: -0.025em; color: var(--ink); line-height: 1.35; margin-bottom: 20px; }
.summary { max-width: 640px; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin: 30px 0 22px; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; background: var(--button); color: #fff; border-radius: 10px; text-decoration: none; font-size: 0.94rem; font-weight: 600; }
.button-link:hover { background: var(--button-hover); color: #fff; text-decoration: none; }
.text-link { font-weight: 600; }
.requirements { font-size: 0.8rem; margin: 0; }
.showcase { padding-top: 32px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 10px; }
.screenshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.shot { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shot figcaption { padding: 14px 6px 6px; }
.shot strong, .shot span { display: block; }
.shot strong { font-size: 0.95rem; }
.shot span { color: var(--muted); font-size: 0.85rem; margin-top: 4px; line-height: 1.5; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.feature-band { margin-top: 64px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-list article { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.feature-list p { margin: 0; font-size: 0.94rem; }
.getting-started { margin-top: 48px; background: var(--soft); border: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; color: var(--accent); font-size: 0.8rem; font-weight: 650; margin-bottom: 12px; }
.steps p { font-size: 0.94rem; margin-bottom: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.split h2 { font-size: 1.5rem; margin-bottom: 18px; }
.split p { font-size: 0.94rem; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px 0 12px; color: var(--muted); font-size: 0.8rem; }
.footer-note a { color: inherit; }

.developer-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 32px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.developer-portrait { display: block; width: 112px; height: 132px; object-fit: cover; border-radius: 12px; }
.developer-copy .eyebrow { margin-bottom: 8px; font-size: 0.7rem; }
.developer-copy h2 { font-size: 1.4rem; letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 10px; }
.developer-copy > p:last-child { max-width: 580px; font-size: 0.9rem; }
.developer-link { padding: 12px 0 12px 12px; }
.developer-domain { display: block; margin-top: 6px; color: var(--muted); font-size: 0.75rem; font-weight: 400; }

@media (max-width: 780px) {
  .page { width: calc(100% - 36px); padding: 24px 0; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 16px 0 40px; }
  .hero-icon { width: 128px; justify-self: center; }
  .screenshots, .feature-list, .steps, .split { grid-template-columns: 1fr; }
  .screenshots { gap: 16px; }
  .shot img { max-height: 420px; object-fit: contain; }
  .hero-actions { gap: 16px; }
  .hero .eyebrow { font-size: 0.68rem; letter-spacing: 0.04em; }
  .panel { padding: 24px; }
  .feature-band { margin-top: 48px; }
  .getting-started { margin-top: 32px; }
}
@media (max-width: 680px) {
  .developer-card { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 22px; }
  .developer-portrait { width: 72px; height: 86px; align-self: start; }
  .developer-copy h2 { font-size: 1.2rem; }
  .developer-link { grid-column: 1 / -1; padding: 0; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #10141c; --paper: #191f2b; --paper-strong: #191f2b; --ink: #f1f4fc; --muted: #b0b9cb; --line: #303a4d; --accent: #80b9ff; --soft: #1d2b42; --button-hover: #125fb3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
