.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding-top: 112px;
  padding-bottom: 84px;
}

.hero-copy h1 {
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.92;
  margin-bottom: 22px;
  max-width: 8.2ch;
}

.lead {
  max-width: 60ch;
  font-size: 19px;
  color: var(--muted-strong);
}

.store-row {
  margin-top: 32px;
}

.hero-console {
  margin-top: 34px;
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(125, 255, 182, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(121, 255, 172, 0.1), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(121, 215, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(7, 18, 12, 0.94), rgba(3, 11, 8, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.hero-console::before,
.hero-console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-console::before {
  background: repeating-linear-gradient(180deg, rgba(171, 255, 201, 0.055) 0 1px, transparent 1px 4px);
  opacity: 0.12;
}

.hero-console::after {
  background: linear-gradient(180deg, rgba(184, 255, 209, 0.035), transparent 18%, transparent 82%, rgba(184, 255, 209, 0.05));
  opacity: 0.88;
}

.overview-panel,
.feature-card,
.chapter-card,
.screen-card,
.faq-item,
.cta-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.hero-console-top,
.hero-console-frame {
  position: relative;
  z-index: 1;
}

.hero-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-console-tag,
.hero-console-live,
.hero-console-window,
.hero-console-session,
.hero-console-output,
.hero-console-prompt-mark,
.hero-console-input,
.hero-console-send,
.hero-console-shortcut,
.hero-console-prefix {
  font-family: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
}

.hero-console-tag {
  color: #94FFC0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-console-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 255, 192, 0.14);
  background: rgba(11, 31, 19, 0.86);
  color: rgba(220, 255, 232, 0.84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-console-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5CFF96, #B7FF66);
  box-shadow: 0 0 0 0 rgba(92, 255, 150, 0.3);
  animation: console-pulse 2.6s ease-in-out infinite;
}

.hero-console-frame {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(148, 255, 192, 0.14);
  background:
    radial-gradient(circle at top left, rgba(132, 255, 183, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(6, 16, 11, 0.96), rgba(2, 7, 5, 0.98));
  box-shadow: inset 0 1px 0 rgba(208, 255, 226, 0.04), 0 14px 32px rgba(0, 0, 0, 0.18);
}

.hero-console-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(190, 255, 214, 0.04), transparent 16%, transparent 84%, rgba(190, 255, 214, 0.04)),
    radial-gradient(circle at 50% 0%, rgba(190, 255, 214, 0.05), transparent 32%);
  pointer-events: none;
}

.hero-console-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 0 2px;
}

.hero-console-lights {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-console-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-console-light-warm {
  background: #F7C36F;
}

.hero-console-light-mint {
  background: #7DF3B7;
}

.hero-console-light-blue {
  background: #74D8FF;
}

.hero-console-window,
.hero-console-session {
  min-width: 0;
  color: rgba(206, 255, 221, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-console-window {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-console-session {
  justify-self: end;
}

.hero-console-output {
  position: relative;
  min-height: 252px;
  max-height: 252px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(148, 255, 192, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(1, 5, 3, 0.84), rgba(0, 2, 1, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(164, 255, 198, 0.06), transparent 30%);
  box-shadow: inset 0 0 0 1px rgba(211, 255, 227, 0.02), inset 0 18px 36px rgba(0, 0, 0, 0.18);
  scrollbar-color: rgba(126, 255, 180, 0.34) rgba(3, 11, 8, 0.28);
  scrollbar-width: thin;
}

.hero-console-output::-webkit-scrollbar {
  width: 10px;
}

.hero-console-output::-webkit-scrollbar-track {
  background: rgba(3, 11, 8, 0.28);
}

.hero-console-output::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(126, 255, 180, 0.34);
  border: 2px solid rgba(3, 11, 8, 0.28);
}

.hero-console-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.72;
  color: rgba(201, 255, 219, 0.82);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-console-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-console-line.is-command {
  color: #E4FFEE;
}

.hero-console-line.is-logo {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  color: #B4FFC2;
}

.hero-console-line.is-logo + .hero-console-line.is-logo {
  margin-top: -8px;
}

.hero-console-line.is-logo .hero-console-prefix {
  display: none;
}

.hero-console-line.is-logo .hero-console-text {
  white-space: pre;
  word-break: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(110, 255, 160, 0.22);
}

.hero-console-line.is-success {
  color: #BAFF97;
}

.hero-console-line.is-hint {
  color: #87F5C4;
}

.hero-console-prefix {
  color: #73F6A8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-console-line.is-command .hero-console-prefix {
  color: #B6FFD0;
  letter-spacing: 0.08em;
  text-transform: none;
}

.hero-console-text {
  min-width: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.hero-console-prompt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.hero-console-input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(148, 255, 192, 0.14);
  border-radius: 16px;
  background: rgba(6, 17, 12, 0.84);
  box-shadow: inset 0 1px 0 rgba(225, 255, 235, 0.03);
}

.hero-console-input-shell:focus-within {
  border-color: rgba(148, 255, 192, 0.28);
  box-shadow: inset 0 1px 0 rgba(225, 255, 235, 0.03), 0 0 0 3px rgba(92, 255, 150, 0.08);
}

.hero-console-prompt-mark {
  flex: 0 0 auto;
  color: #93FFC0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-console-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #E9FFF1;
  font-size: 14px;
  caret-color: #93FFC0;
}

.hero-console-input::placeholder {
  color: rgba(201, 255, 219, 0.34);
}

.hero-console-send {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(148, 255, 192, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(92, 255, 150, 0.16), rgba(92, 255, 150, 0.06));
  color: #E5FFEE;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-console-send:hover,
.hero-console-send:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(148, 255, 192, 0.28);
  background: linear-gradient(180deg, rgba(92, 255, 150, 0.2), rgba(92, 255, 150, 0.08));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  outline: none;
}

.hero-console-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-console-shortcut {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(148, 255, 192, 0.14);
  border-radius: 999px;
  background: rgba(7, 20, 13, 0.72);
  color: rgba(201, 255, 219, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.hero-console-shortcut:hover,
.hero-console-shortcut:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(148, 255, 192, 0.24);
  background: rgba(12, 30, 19, 0.86);
  color: #E7FFF0;
  outline: none;
}

.hero-stage {
  position: relative;
  min-width: 0;
}

.hero-stage-shell {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(142, 197, 252, 0.12), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(158, 230, 216, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(24, 31, 44, 0.9), rgba(10, 14, 22, 0.92));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.hero-stage-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.stage-poster-wall {
  position: absolute;
  inset: -20% -18%;
  display: grid;
  grid-template-columns: repeat(var(--poster-cols, 6), minmax(0, 1fr));
  gap: var(--poster-gap, 8px);
  transform: translate3d(0, 0, 0) rotate(-26deg) scale(1.12);
  transform-origin: center;
  opacity: 0.25;
  filter: saturate(0.92) brightness(0.9);
  pointer-events: none;
}

.poster-wall-column {
  overflow: hidden;
  contain: paint;
}

.poster-wall-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
  animation: poster-wall-marquee var(--poster-duration, 264s) linear infinite;
}

.poster-wall-column[data-direction="reverse"] .poster-wall-track {
  animation-direction: reverse;
}

.poster-wall-set {
  display: grid;
  gap: var(--poster-gap, 8px);
}

.poster-wall-tile {
  width: 100%;
  aspect-ratio: 116 / 156;
  object-fit: cover;
  border-radius: var(--poster-radius, 14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 var(--poster-shadow-y, 10px) var(--poster-shadow-blur, 24px) rgba(0, 0, 0, 0.18);
}

.hero-stage-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1.14fr);
  gap: 30px;
}

.stage-nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.stage-nav-item {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 11, 18, 0.26);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.stage-nav-item strong {
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stage-nav-kicker {
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-nav-item.is-active,
.stage-nav-item:hover,
.stage-nav-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(142, 197, 252, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  outline: none;
}

.stage-showcase {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 840px;
  display: grid;
  align-items: center;
  padding: 40px 36px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(17, 23, 35, 0.84), rgba(8, 12, 18, 0.94));
}

.stage-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.16), rgba(7, 10, 16, 0.58)),
    radial-gradient(circle at 50% 78%, rgba(142, 197, 252, 0.12), transparent 28%),
    radial-gradient(circle at 28% 30%, rgba(255, 156, 85, 0.06), transparent 18%);
  pointer-events: none;
}

.stage-device {
  position: relative;
  z-index: 2;
  width: min(428px, 100%);
  max-width: 100%;
  aspect-ratio: 1344 / 2992;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #0E141D, #161D2B);
  box-shadow: 0 42px 96px rgba(0, 0, 0, 0.34);
}

.stage-device::before {
  display: none;
}

.stage-device::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 42px;
  opacity: 0;
  transform: scale(0.985) translateY(12px);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-image.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.overview-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.overview-intro {
  color: var(--muted-strong);
  font-size: 22px;
  line-height: 1.6;
}

.overview-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}

.overview-points li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-strong);
}

.overview-points li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 0 0 5px rgba(142, 197, 252, 0.12);
}

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

.feature-card {
  padding: 26px;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.feature-card h3,
.screen-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.06;
}

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

.chapter-card {
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.chapter-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.chapter-copy h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  margin-bottom: 14px;
}

.chapter-copy,
.screen-card {
  min-width: 0;
}

.chapter-copy h3 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.04;
}

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

.chapter-list li {
  min-height: 52px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
}

.chapter-frame,
.screen-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0C111A;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.chapter-frame img,
.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-frame-hero,
.chapter-frame-portrait,
.screen-frame {
  aspect-ratio: 1344 / 2992;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.chapter-frame-hero {
  max-width: 350px;
}

.chapter-frame-portrait {
  max-width: 300px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  padding: 18px;
}

.screen-frame {
  margin-bottom: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.faq-item {
  align-self: start;
  overflow: hidden;
  padding: 0 22px;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 34px 22px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 320ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 0;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), color 320ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--muted-strong);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-item p {
  padding: 0 0 22px;
  transform: translateY(-4px);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.faq-item[open] p {
  transform: translateY(0);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
}

.cta-copy h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  margin-bottom: 14px;
}

.site-footer {
  padding: 0 0 48px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-copy {
  max-width: 500px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-content: flex-end;
}

.footer-links a,
.footer-meta {
  font-size: 14px;
}

.footer-meta {
  padding-top: 4px;
}

@keyframes poster-wall-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes console-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(142, 197, 252, 0.18);
    opacity: 0.88;
  }
  50% {
    box-shadow: 0 0 0 10px rgba(142, 197, 252, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-console-live-dot,
  .poster-wall-track {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-stage-shell {
    padding: 28px;
  }
}

@media (max-width: 980px) {
  .overview-layout,
  .feature-grid,
  .chapter-grid,
  .chapter-card-wide,
  .screen-grid,
  .faq-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .overview-panel,
  .feature-card,
  .chapter-card,
  .screen-card,
  .faq-item,
  .cta-panel {
    border-radius: var(--radius-md);
  }

  .hero-stage-grid {
    grid-template-columns: 1fr;
  }

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

  .stage-showcase {
    min-height: 720px;
  }

  .chapter-frame-hero,
  .chapter-frame-portrait,
  .screen-frame {
    width: min(100%, 320px);
  }

  .hero-console-output {
    min-height: 228px;
    max-height: 228px;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-console {
    padding: 16px;
  }

  .hero-console-top {
    flex-wrap: wrap;
  }

  .hero-console-frame {
    padding: 12px;
  }

  .hero-console-toolbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .hero-console-session {
    display: none;
  }

  .hero-console-output {
    min-height: 220px;
    max-height: 220px;
    padding: 14px;
  }

  .hero-console-line {
    gap: 10px;
    font-size: 12px;
  }

  .hero-console-line.is-logo .hero-console-text {
    font-size: 9px;
    line-height: 0.98;
    letter-spacing: 0.015em;
  }

  .hero-console-prefix,
  .hero-console-prompt-mark {
    font-size: 10px;
  }

  .hero-console-prompt {
    grid-template-columns: 1fr;
  }

  .hero-console-input-shell {
    min-height: 50px;
    padding: 0 12px;
  }

  .hero-console-send {
    width: 100%;
    min-height: 48px;
  }

  .stage-poster-wall {
    inset: -26% -34%;
    opacity: 0.18;
  }

  .stage-nav {
    grid-template-columns: 1fr;
  }

  .stage-showcase {
    min-height: 0;
    padding: 18px;
    display: grid;
    gap: 14px;
  }

  .stage-device {
    width: min(286px, 100%);
    margin: 0 auto;
  }

  .chapter-card,
  .screen-card {
    overflow: hidden;
  }

  .chapter-frame-hero,
  .chapter-frame-portrait,
  .screen-frame {
    width: min(100%, 286px);
  }

  .overview-panel,
  .feature-card,
  .chapter-card,
  .screen-card,
  .faq-item,
  .cta-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-row {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
