/* Press Hotkeys site */

:root {
  color-scheme: light dark;
  --bg: #fffdfa;
  --bg-soft: #f6f7fb;
  --bg-warm: #fff2c7;
  --bg-elevated: #ffffff;
  --fg: #1f2328;
  --fg-muted: #4f5b66;
  --fg-dim: #65717d;
  --accent: #2463eb;
  --accent-fg: #ffffff;
  --accent-hover: #1746b8;
  --accent-warm: #f5b700;
  --accent-green: #147d49;
  --accent-amber: #9a5c00;
  --border: #d7dee8;
  --border-strong: #7f8997;
  --focus-ring: #0b57d0;
  --footer-bg: #172033;
  --footer-fg: #f8fafc;
  --footer-link: #bfdbfe;
  --footer-muted: #cbd5e1;
  --shadow: 0 18px 50px rgba(20, 36, 68, 0.11);
  --shadow-soft: 0 8px 24px rgba(20, 36, 68, 0.08);
  --radius: 8px;
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display",
          "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101418;
    --bg-soft: #171d24;
    --bg-warm: #372e14;
    --bg-elevated: #1c232b;
    --fg: #edf2f7;
    --fg-muted: #b8c0c8;
    --fg-dim: #97a2ad;
    --accent: #6ea8ff;
    --accent-fg: #07111f;
    --accent-hover: #9cc4ff;
    --accent-warm: #ffcf4a;
    --accent-green: #63d68b;
    --accent-amber: #ffbd5a;
    --border: #33404d;
    --border-strong: #64748b;
    --focus-ring: #ffcf4a;
    --footer-bg: #090f1a;
    --footer-fg: #f8fafc;
    --footer-link: #bfdbfe;
    --footer-muted: #cbd5e1;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.table-scroll:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  color: var(--fg);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--accent-fg);
  background: var(--accent);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.topbar {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 800;
}

.brand:hover {
  color: var(--fg);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 650;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 32px;
  padding: 5px 10px;
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
}

.lang-link:hover {
  color: var(--fg);
  border-color: var(--accent);
  text-decoration: none;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(245, 183, 0, 0.26), transparent 28%),
    linear-gradient(180deg, #fff8de 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}

@media (prefers-color-scheme: dark) {
  .hero {
    background:
      radial-gradient(circle at 78% 16%, rgba(245, 183, 0, 0.18), transparent 28%),
      linear-gradient(180deg, #201d14 0%, var(--bg) 70%);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: 44px;
  min-height: 620px;
  padding: 42px 0 76px;
}

.hero-copy {
  max-width: 680px;
}

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

.hero h1,
.section h2,
.final-panel h2,
.help-article h1 {
  margin: 0;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.65rem);
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--fg-muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-actions,
.help-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-primary {
  color: var(--accent-fg);
  background: var(--accent);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  color: var(--accent-fg);
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  color: var(--fg);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.meta {
  margin: 18px 0 0;
  color: var(--fg-dim);
  font-size: 0.93rem;
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 10% 2% 4%;
  z-index: 0;
  background: var(--accent-warm);
  border: 2px solid var(--fg);
  border-radius: 34% 66% 52% 48% / 49% 41% 59% 51%;
  transform: rotate(-7deg);
}

.hero-figure img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 28px 36px rgba(30, 41, 59, 0.22));
}

.hero-figure figcaption {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  margin: -36px auto 0;
  padding: 12px 14px;
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}

.section {
  padding: 86px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

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

.section-lead {
  margin: 16px auto 0;
  color: var(--fg-muted);
  font-size: 1.08rem;
}

.story-block {
  position: relative;
}

.problem-block,
.feature-block,
.faq {
  background: var(--bg-soft);
}

.calm-block,
.shortcuts-block,
.help {
  background: var(--bg);
}

.final-duck {
  background: var(--bg-warm);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.story-grid-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
}

.story-copy {
  max-width: 660px;
}

.story-copy > p {
  margin: 18px 0 0;
  color: var(--fg-muted);
  font-size: 1.08rem;
}

.duck-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.duck-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 10px;
  background: rgba(31, 35, 40, 0.1);
  border-radius: 999px;
  filter: blur(10px);
}

.duck-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.angry-duck {
  transform: rotate(-1.5deg);
}

.app-screenshot-wrap {
  margin-top: 46px;
}

.app-screenshot-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.app-screenshot-copy {
  max-width: 430px;
}

.app-screenshot-copy h3 {
  margin: 0;
  color: var(--fg);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
}

.app-screenshot-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--fg-muted);
  font-size: 1.02rem;
}

.app-screenshot-frame {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.app-screenshot-frame img {
  width: 100%;
  background: #ffffff;
}

.app-screenshot-frame figcaption {
  padding: 13px 16px;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

.inline-more {
  text-align: left;
}

.plain-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.plain-list li {
  padding: 12px 14px;
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

.mini-metrics div {
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.mini-metrics strong,
.mini-metrics span {
  display: block;
}

.mini-metrics strong {
  color: var(--fg);
  font-size: 1.05rem;
}

.mini-metrics span {
  margin-top: 4px;
  color: var(--fg-muted);
  font-size: 0.92rem;
}

.rich-list {
  margin-top: 26px;
}

.shortcut-table-wrap {
  margin-top: 36px;
}

.catalog-note {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 18px 20px;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.catalog-note p {
  margin: 0;
}

.shortcuts-block .hotkey-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.compact-steps {
  max-width: none;
  margin: 26px 0 0;
}

.compact-steps li {
  padding: 16px 0;
}

.help .help-cta {
  justify-content: flex-start;
}

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

.info-card,
.post-card,
.hotkey-pill,
.faq-item,
.help-note,
.help-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 24px;
}

.info-card h3,
.post-card h3,
.faq-item h3,
.steps h3,
.help-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.info-card p,
.post-card p,
.faq-item p,
.steps p,
.footer p,
.help-card p,
.help-card li {
  color: var(--fg-muted);
}

.info-card p {
  margin: 10px 0 0;
}

.duck-feed {
  background: var(--bg-soft);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  overflow: hidden;
}

.post-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-warm);
}

.post-body {
  padding: 18px;
}

.post-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
}

.post-body p:last-child {
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 20px 0;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.feature-list li:first-child {
  padding-top: 0;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--fg);
  font-size: 1.05rem;
}

.hotkey-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.hotkey-pill {
  padding: 14px;
}

.hotkey-pill code {
  display: inline-block;
  margin-bottom: 8px;
}

.hotkey-pill span {
  display: block;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.combo-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
}

.combo-table caption {
  padding: 12px 16px;
  color: var(--fg-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  caption-side: top;
  font-size: 0.95rem;
  text-align: left;
}

.combo-table th,
.combo-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.combo-table thead {
  background: var(--bg-soft);
}

.combo-table th {
  color: var(--fg-muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.combo-table tbody tr:last-child td {
  border-bottom: none;
}

.combo-table tbody tr:hover {
  background: var(--bg-soft);
}

.catalog-table {
  min-width: 1080px;
}

.catalog-table td:nth-child(1) {
  width: 140px;
}

.catalog-table td:nth-child(2) {
  width: 420px;
}

.catalog-table code {
  display: inline-block;
  margin: 2px 3px 2px 0;
}

.catalog-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  color: var(--fg);
  background: var(--bg-warm);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.status-ok,
.status-note,
.status-warn {
  font-weight: 800;
}

.status-ok {
  color: var(--accent-green);
}

.status-note {
  color: var(--accent);
}

.status-warn {
  color: var(--accent-amber);
}

.hotkeys-page {
  overflow-x: hidden;
}

.hotkey-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.hotkey-summary-grid div {
  padding: 17px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hotkey-summary-grid strong,
.hotkey-summary-grid span {
  display: block;
}

.hotkey-summary-grid strong {
  color: var(--fg);
  font-size: 2rem;
  line-height: 1;
}

.hotkey-summary-grid span {
  margin-top: 8px;
  color: var(--fg-muted);
  font-size: 0.92rem;
}

.hotkey-status-guide {
  margin: 30px 0 24px;
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hotkey-status-guide h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.hotkey-status-guide ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hotkey-status-guide li {
  padding-top: 12px;
  border-top: 3px solid var(--border-strong);
}

.hotkey-status-guide strong,
.hotkey-status-guide span {
  display: block;
}

.hotkey-status-guide strong {
  color: var(--fg);
  font-size: 0.95rem;
  line-height: 1.25;
}

.hotkey-status-guide span {
  margin-top: 6px;
  color: var(--fg-muted);
  font-size: 0.88rem;
}

.catalog-page-note {
  max-width: 900px;
  margin: 18px 0 24px;
  color: var(--fg-muted);
}

.full-hotkey-scroll {
  box-shadow: var(--shadow);
}

.full-hotkey-table {
  min-width: 1280px;
}

.full-hotkey-table td:nth-child(1) {
  width: 70px;
}

.full-hotkey-table td:nth-child(2) {
  width: 150px;
}

.full-hotkey-table td:nth-child(3) {
  width: 180px;
}

.full-hotkey-table td:nth-child(6),
.full-hotkey-table td:nth-child(7),
.full-hotkey-table td:nth-child(8) {
  white-space: nowrap;
}

.rank-cell {
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-weight: 850;
  white-space: nowrap;
}

.keycombo {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: max-content;
}

.keycombo kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 7px;
  color: var(--accent);
  background: rgba(36, 99, 235, 0.09);
  border: 1px solid rgba(36, 99, 235, 0.5);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.status-default {
  color: var(--accent-green);
  background: rgba(20, 125, 73, 0.09);
}

.status-manual {
  color: var(--accent);
  background: rgba(36, 99, 235, 0.09);
}

.status-same-keys {
  color: #6554d9;
  background: rgba(101, 84, 217, 0.1);
}

.status-native {
  color: var(--fg-dim);
  background: var(--bg-soft);
}

.status-difficult,
.status-planned {
  color: var(--accent-amber);
  background: rgba(154, 92, 0, 0.1);
}

.status-unavailable,
.status-limited {
  color: #b42318;
  background: rgba(180, 35, 24, 0.09);
}

@media (prefers-color-scheme: dark) {
  .keycombo kbd {
    color: #9cc4ff;
    background: rgba(110, 168, 255, 0.14);
    border-color: rgba(110, 168, 255, 0.56);
  }

  .status-default {
    background: rgba(99, 214, 139, 0.13);
  }

  .status-manual {
    background: rgba(110, 168, 255, 0.14);
  }

  .status-same-keys {
    color: #b9b2ff;
    background: rgba(185, 178, 255, 0.13);
  }

  .status-difficult,
  .status-planned {
    background: rgba(255, 189, 90, 0.13);
  }

  .status-unavailable,
  .status-limited {
    color: #ff9b95;
    background: rgba(255, 155, 149, 0.13);
  }
}

.more-link {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.96rem;
}

.steps {
  max-width: 780px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.steps li:first-child {
  padding-top: 0;
}

.steps li:last-child {
  border-bottom: none;
}

.step-num {
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #1f2328;
  background: var(--accent-warm);
  border: 2px solid var(--fg);
  border-radius: 50%;
  font-weight: 900;
}

.steps p {
  margin: 7px 0 0;
}

.help-cta {
  justify-content: center;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item p {
  margin: 8px 0 0;
}

.final-cta {
  background: var(--bg-warm);
}

.final-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-panel h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.footer {
  padding: 56px 0 30px;
  background: var(--footer-bg);
  color: var(--footer-fg);
}

.footer a {
  color: var(--footer-link);
}

.footer a:hover {
  color: var(--footer-fg);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer h2 {
  margin: 0 0 12px;
  color: var(--footer-fg);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer p {
  margin: 0;
  color: var(--footer-muted);
}

.copyright {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(248, 250, 252, 0.16);
  font-size: 0.88rem;
}

/* Help page */

.subpage-hero {
  padding-bottom: 54px;
}

.help-article {
  padding: 70px 0;
}

.help-article h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.help-article .lead {
  margin-bottom: 34px;
}

.help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

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

.help-card {
  padding: 24px;
}

.help-card h2 {
  margin-bottom: 12px;
}

.help-card ol,
.help-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.help-note {
  position: sticky;
  top: 24px;
  padding: 22px;
  background: var(--bg-warm);
}

.help-note h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.help-note p {
  margin: 0;
  color: var(--fg-muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .help-grid,
  .app-screenshot-grid,
  .story-grid,
  .story-grid-reverse {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-figure {
    max-width: 480px;
    margin: 0 auto;
  }

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

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

  .hotkey-summary-grid,
  .hotkey-status-guide ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-copy {
    max-width: none;
  }

  .duck-panel {
    max-width: 520px;
  }

  .final-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container,
  .topbar {
    width: min(100% - 32px, var(--max-width));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
  }

  .hero-grid {
    gap: 28px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .hero-title {
    font-size: clamp(2.05rem, 10.5vw, 2.95rem);
  }

  .lead {
    font-size: 1.06rem;
  }

  .hero-actions,
  .help-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .section h2 {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
  }

  .promise-grid,
  .post-grid,
  .hotkey-strip,
  .shortcuts-block .hotkey-strip,
  .mini-metrics,
  .hotkey-summary-grid,
  .hotkey-status-guide ul {
    grid-template-columns: 1fr;
  }

  .app-screenshot-frame {
    border-radius: var(--radius);
  }

  .steps li {
    gap: 14px;
  }

  .step-num {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .faq-item p {
    margin-left: 0;
  }
}
