:root {
  --ink: #17171a;
  --paper: #fff5e7;
  --accent: #ff641f;
  --text: #17171a;
  --muted: #5d5a55;
  --bg: #fffaf2;
  --card: #ffffff;
  --line: #eadfce;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #fff5e7;
    --muted: #b9b1a6;
    --bg: #111113;
    --card: #1c1c20;
    --line: #2c2c31;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.topbar-link { color: var(--muted); text-decoration: none; }
.topbar-link:hover { color: var(--text); }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.hero { text-align: center; padding: 24px 0 56px; }

.hero-image { width: min(360px, 80vw); height: auto; }

h1 {
  margin: 8px 0 4px;
  font-size: clamp(44px, 8vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tagline {
  margin: 0 0 12px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: var(--accent);
}

.lede { max-width: 560px; margin: 0 auto 28px; color: var(--muted); font-size: 19px; }

.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 650;
  font-size: 18px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 6px 20px rgba(23, 23, 26, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(23, 23, 26, 0.24); }

@media (prefers-color-scheme: dark) {
  .button { background: var(--paper); color: var(--ink); }
}

.cta-note { color: var(--muted); font-size: 14px; }

.notice {
  max-width: 560px;
  margin: 22px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font-size: 15px;
}

.why {
  padding: 14px 18px;
  margin-bottom: 18px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  border-radius: 0 12px 12px 0;
}

.why h3 { margin: 0 0 6px; font-size: 17px; }
.why p { margin: 0; color: var(--muted); font-size: 15.5px; }

.features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 64px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 40px;
}

.feature:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature:nth-child(even) .feature-text { order: 2; }

.features h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.01em;
  position: relative;
  padding-top: 20px;
}

.features h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.features p { margin: 0; color: var(--muted); font-size: 16.5px; }

.feature-shot { margin: 0; display: flex; justify-content: center; }
.feature-shot img { display: block; height: auto; max-width: 100%; border-radius: 12px; }
.feature-shot--wide img { width: 100%; }
.feature-shot--tall img { max-height: 380px; width: auto; }

@media (max-width: 760px) {
  .feature,
  .feature:nth-child(even) { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .feature-shot--tall img { max-height: 320px; }
}

.install {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 56px;
}

.install h2 { font-size: 26px; margin: 0 0 12px; }
.install ol { padding-left: 22px; margin: 0 0 12px; }
.install li { margin-bottom: 8px; }
.install-alt { color: var(--muted); font-size: 15px; }

code {
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

.install { max-width: 820px; }
.install-head {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 8px 28px;
  align-items: center;
}
.install-head .fish { grid-column: 2; grid-row: 1; width: 220px; height: auto; }
@media (max-width: 640px) {
  .install-head { grid-template-columns: 1fr; }
  .install-head .fish { grid-column: 1; justify-self: center; width: 150px; }
}
