:root {
  color-scheme: light;
  --ink: #171312;
  --muted: #6f6761;
  --paper: #fff8ed;
  --paper-soft: #fffdf8;
  --line: rgba(48, 38, 30, 0.13);
  --green: #1c7c54;
  --green-dark: #0f5135;
  --blue: #2677c9;
  --lilac: #7967d9;
  --peach: #f09b72;
  --sun: #f5c95c;
  --shadow: 0 26px 70px rgba(64, 47, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 216, 146, 0.46), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(153, 220, 206, 0.52), transparent 30rem),
    radial-gradient(circle at 74% 80%, rgba(202, 190, 255, 0.36), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(980px, calc(100% - 36px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.76);
  box-shadow: 0 18px 50px rgba(58, 45, 35, 0.11);
  padding: 0.56rem 0.62rem;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.press-hint {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 900;
  padding-right: 0.35rem;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.brand small {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 0.1rem 0.42rem;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.24rem;
  font-size: 0.9rem;
  font-weight: 850;
}

.nav-links a {
  border-radius: 999px;
  color: #332a24;
  padding: 0.46rem 0.68rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(28, 124, 84, 0.1);
  outline: none;
}

.nav-links .release-link {
  background: var(--ink);
  color: #ffffff;
}

.nav-links .web-link {
  background: var(--green);
  color: #ffffff;
}

.nav-links .release-link:hover,
.nav-links .release-link:focus-visible,
.nav-links .web-link:hover,
.nav-links .web-link:focus-visible {
  background: var(--green-dark);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7.8rem 1.25rem 3rem;
}

.ambient-stage {
  position: relative;
  z-index: 1;
  order: 2;
  width: min(1080px, 100%);
  height: clamp(360px, 38vw, 450px);
  margin-top: 2.8rem;
  overflow: visible;
  pointer-events: none;
}

.ambient-stage::before {
  position: absolute;
  inset: auto 3% 2% 3%;
  height: 58%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  filter: blur(38px);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 5;
  order: 1;
  display: grid;
  justify-items: center;
  width: min(980px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.7rem, 7.4vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 1.15rem 0 0;
  color: #504843;
  font-size: clamp(1.07rem, 1.8vw, 1.24rem);
  font-weight: 650;
}

.hero-actions,
.bottom-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.store-button {
  display: inline-grid;
  min-width: min(280px, 100%);
  margin-top: 2rem;
  border: 1px solid #100d0c;
  border-radius: 16px;
  background: #11100f;
  box-shadow: 0 16px 36px rgba(17, 16, 15, 0.18);
  color: #ffffff;
  padding: 0.68rem 1.1rem 0.78rem;
  text-align: left;
}

.hero-actions .store-button,
.bottom-actions .store-button {
  margin-top: 0;
}

.store-button-secondary {
  background: rgba(255, 253, 247, 0.82);
  color: var(--ink);
}

.store-button span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.77rem;
  font-weight: 800;
}

.store-button strong {
  display: block;
  font-size: 1.23rem;
  line-height: 1.1;
}

.store-button-secondary span {
  color: var(--muted);
}

.store-button:hover,
.store-button:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.store-button-secondary:hover,
.store-button-secondary:focus-visible {
  background: #ffffff;
}

.launcher-window {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 2%;
  width: min(520px, 48%);
  border: 1px solid rgba(48, 38, 30, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
  padding: 0.82rem;
  transform: rotate(1.2deg);
  backdrop-filter: blur(14px);
}

.window-top {
  display: flex;
  gap: 0.4rem;
  padding: 0.2rem 0.18rem 0.74rem;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--peach);
}

.window-top span:nth-child(2) {
  background: var(--sun);
}

.window-top span:nth-child(3) {
  background: var(--green);
}

.launcher-search,
.launcher-result,
.menu-card,
.prompt-chip {
  border: 1px solid rgba(48, 38, 30, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.launcher-search {
  display: grid;
  gap: 0.2rem;
  padding: 0.78rem 0.85rem;
}

.launcher-search span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
}

.launcher-search b {
  font-size: 1.1rem;
}

.launcher-result {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.58rem;
  padding: 0.78rem 0.85rem;
}

.launcher-result.selected {
  background: rgba(222, 245, 222, 0.88);
  outline: 2px solid rgba(28, 124, 84, 0.2);
}

.launcher-result strong {
  font-size: 0.98rem;
}

.launcher-result small,
.prompt-chip b {
  color: var(--green-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.menu-card {
  position: absolute;
  z-index: 2;
  left: 2%;
  bottom: 8%;
  width: min(410px, 38%);
  box-shadow: 0 20px 54px rgba(64, 47, 35, 0.14);
  padding: 0.62rem;
  transform: rotate(-1.4deg);
  backdrop-filter: blur(14px);
}

.menu-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 44px;
  border-radius: 10px;
  padding: 0 0.48rem;
}

.menu-row + .menu-row {
  border-top: 1px solid rgba(48, 38, 30, 0.08);
}

.menu-row span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
}

.menu-row:nth-child(2) span {
  background: var(--lilac);
}

.menu-row:nth-child(3) span {
  background: var(--peach);
}

.menu-row b {
  font-size: 0.9rem;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border: 1px solid rgba(48, 38, 30, 0.16);
  border-bottom-width: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 0.04rem 0.38rem;
}

.prompt-chip {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  min-width: 150px;
  box-shadow: 0 16px 42px rgba(64, 47, 35, 0.1);
  padding: 0.82rem 0.95rem;
}

.prompt-chip span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.chip-one {
  top: 5%;
  left: 9%;
  transform: rotate(-7deg);
}

.chip-two {
  top: 2%;
  right: 12%;
  background: rgba(233, 228, 255, 0.78);
  transform: rotate(6deg);
}

.chip-three {
  left: 37%;
  bottom: 22%;
  background: rgba(255, 232, 206, 0.82);
  transform: rotate(4deg);
}

.press-hint {
  justify-content: center;
  gap: 0.38rem;
  margin-top: -0.8rem;
  padding: 0 1rem 3.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 850;
}

.demo-section {
  --pd-primary: #2563eb;
  --pd-primary-hover: #1d4ed8;
  --pd-primary-light: #eff6ff;
  --pd-background: #f8fafc;
  --pd-panel: #ffffff;
  --pd-border: #e5e7eb;
  --pd-text: #0f172a;
  --pd-muted: #64748b;
  --pd-placeholder: #94a3b8;
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0.8rem 0 5.8rem;
  color: var(--pd-text);
}

.demo-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: end;
  margin-bottom: 1.35rem;
}

.demo-copy h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5.4vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.demo-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: #504843;
  font-size: 1.04rem;
  font-weight: 650;
}

.demo-stage {
  position: relative;
  min-height: 560px;
  overflow: visible;
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(239, 246, 255, 0.8)),
    var(--pd-background);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
  font-family: var(--font-sans, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.demo-target-app {
  position: absolute;
  inset: 78px 52px 42px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  background: var(--pd-panel);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.demo-target-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--pd-border);
  padding: 0 1rem;
}

.demo-target-bar .window-top {
  padding: 0;
}

.demo-target-bar strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.demo-target-bar > span {
  border: 1px solid var(--pd-border);
  border-radius: 999px;
  background: var(--pd-background);
  color: var(--pd-muted);
  font-size: 0.74rem;
  font-weight: 750;
  padding: 0.2rem 0.54rem;
}

.demo-target-body {
  display: grid;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
}

.demo-target-tabs {
  display: inline-flex;
  width: fit-content;
  gap: 0.22rem;
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  background: var(--pd-background);
  padding: 0.2rem;
}

.demo-target-tabs button {
  min-height: 32px;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--pd-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 0.7rem;
}

.demo-target-tabs .is-active {
  background: var(--pd-panel);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
  color: var(--pd-text);
}

.demo-target-pane {
  display: none;
  gap: 0.72rem;
}

.demo-target-pane.is-active {
  display: grid;
}

.demo-any-input {
  display: grid;
  gap: 0.42rem;
}

.demo-any-input span {
  color: var(--pd-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.demo-any-input.is-active span {
  color: var(--pd-primary);
}

.demo-any-input input,
.demo-any-input textarea {
  width: 100%;
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--pd-text);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 550;
  line-height: 1.55;
  padding: 0.9rem;
}

.demo-any-input input {
  min-height: 44px;
}

.demo-any-input textarea {
  min-height: 246px;
  resize: none;
}

.demo-any-input input::placeholder,
.demo-any-input textarea::placeholder {
  color: var(--pd-placeholder);
}

.demo-any-input input:focus,
.demo-any-input textarea:focus {
  border-color: var(--pd-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.demo-any-input input.is-pasted,
.demo-any-input textarea.is-pasted {
  animation: promptInserted 520ms ease;
}

.demo-launcher {
  position: absolute;
  z-index: 4;
  top: 72px;
  left: 50%;
  display: flex;
  width: min(680px, calc(100% - 72px));
  height: 420px;
  max-height: calc(100% - 128px);
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-50%) translateY(0);
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  background: var(--pd-panel);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  opacity: 1;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.demo-stage[data-launcher-open="false"] .demo-launcher {
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
}

.demo-launcher-search {
  border-bottom: 1px solid var(--pd-border);
  padding: 0.75rem 1rem;
}

.demo-launcher-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: var(--pd-background);
  color: var(--pd-text);
  font: inherit;
  font-size: 0.9rem;
  padding: 0 0.78rem;
}

.demo-launcher-search input::placeholder {
  color: var(--pd-placeholder);
}

.demo-launcher-search input:focus {
  border-color: var(--pd-primary);
  box-shadow: 0 0 0 1px var(--pd-primary);
  outline: none;
}

.demo-launcher-results {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem 0;
}

.demo-result {
  display: grid;
  gap: 0.18rem;
  width: 100%;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.72rem 1rem;
  text-align: left;
  touch-action: manipulation;
  transition: background 140ms ease;
}

.demo-result:hover,
.demo-result:focus-visible,
.demo-result.is-highlighted {
  background: var(--pd-primary-light);
  outline: none;
}

.demo-result:active {
  background: #dbeafe;
}

.demo-result span {
  overflow: hidden;
  color: var(--pd-text);
  font-size: 0.9rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-result small {
  overflow: hidden;
  color: var(--pd-muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-result b {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.1rem;
}

.demo-result i {
  border-radius: 999px;
  background: var(--pd-primary-light);
  color: var(--pd-muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
  padding: 0.12rem 0.42rem;
}

.demo-empty-result {
  color: var(--pd-muted);
  font-size: 0.9rem;
  padding: 2rem 1rem;
  text-align: center;
}

.demo-launcher-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.84rem;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid var(--pd-border);
  color: var(--pd-muted);
  font-size: 0.72rem;
  padding: 0.44rem 1rem;
}

.demo-launcher-footer span {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
}

.demo-launcher-footer kbd {
  min-width: auto;
  min-height: 20px;
  border-color: var(--pd-border);
  border-bottom-width: 1px;
  border-radius: 4px;
  background: var(--pd-background);
  color: var(--pd-muted);
  font-family: var(--font-mono, "SFMono-Regular", Consolas, "Liberation Mono", monospace);
  font-size: 0.62rem;
  padding: 0.02rem 0.28rem;
}

.demo-launch-button {
  position: sticky;
  top: 5.75rem;
  right: auto;
  bottom: auto;
  z-index: 5;
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  min-height: 42px;
  cursor: pointer;
  border: 1px solid var(--pd-primary-hover);
  border-radius: 8px;
  background: var(--pd-primary);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
  color: #ffffff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  width: fit-content;
  margin: 1rem 1rem 0 auto;
  padding: 0 0.86rem;
}

.demo-launch-button:hover,
.demo-launch-button:focus-visible {
  background: var(--pd-primary-hover);
  outline: none;
}

.demo-stage[data-launcher-open="true"] .demo-launch-button {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.demo-launch-button kbd {
  min-width: auto;
  min-height: 22px;
  border-color: rgba(255, 255, 255, 0.36);
  border-bottom-width: 1px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.68rem;
  padding: 0.02rem 0.34rem;
}

.demo-toast {
  position: sticky;
  top: 8.7rem;
  right: auto;
  bottom: auto;
  z-index: 6;
  width: fit-content;
  margin: 0.55rem 1rem 0 auto;
  visibility: hidden;
  transform: translateY(8px);
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  background: var(--pd-panel);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  color: var(--pd-text);
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0;
  padding: 0.54rem 0.7rem;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.demo-toast.is-visible {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

@keyframes promptInserted {
  0% {
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
    transform: translateY(2px);
  }

  100% {
    border-color: var(--pd-border);
    box-shadow: none;
    transform: translateY(0);
  }
}

.feature-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  box-shadow: 0 22px 60px rgba(64, 47, 35, 0.08);
}

.feature-cloud article {
  min-height: 178px;
  background: rgba(255, 253, 247, 0.75);
  padding: 1.22rem;
}

.feature-cloud article:nth-child(2n) {
  background: rgba(244, 251, 242, 0.76);
}

.feature-cloud article:nth-child(3n) {
  background: rgba(252, 242, 230, 0.76);
}

.feature-cloud span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 950;
}

.feature-cloud h2 {
  margin: 2.2rem 0 0;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 3rem;
  align-items: start;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 6.4rem 0 4rem;
}

.faq-section h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.faq-list {
  display: grid;
  gap: 0.72rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 12px 34px rgba(64, 47, 35, 0.06);
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 950;
}

details p {
  margin: 0.72rem 0 0;
  color: var(--muted);
}

details a {
  color: var(--green-dark);
  font-weight: 900;
}

.bottom-cta {
  display: grid;
  justify-items: center;
  gap: 1.3rem;
  padding: 2rem 1.25rem 5rem;
  text-align: center;
}

.bottom-actions {
  margin-top: 0;
}

.bottom-cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }

  .nav-links {
    justify-content: center;
  }

  .nav-links .release-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 10rem;
  }

  .ambient-stage {
    height: 390px;
    margin-top: 2.4rem;
  }

  .launcher-window {
    right: -4%;
    width: min(430px, 56%);
    opacity: 0.86;
  }

  .menu-card {
    left: -4%;
    width: min(360px, 48%);
    opacity: 0.82;
  }

  .prompt-chip {
    opacity: 0.72;
  }

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

  .demo-copy {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .demo-copy p:not(.eyebrow) {
    max-width: 680px;
  }

  .demo-stage {
    min-height: 600px;
  }

  .demo-target-app {
    inset: 78px 32px 42px;
  }

  .demo-launcher {
    top: 64px;
    width: min(680px, calc(100% - 48px));
  }

  .demo-launch-button {
    top: 9rem;
  }

  .demo-toast {
    top: 12rem;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
  }

  .brand {
    justify-content: center;
  }

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

  .nav-links a {
    text-align: center;
    padding-left: 0.28rem;
    padding-right: 0.28rem;
  }

  .hero {
    padding: 11.2rem 1rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.25rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .store-button {
    min-width: min(100%, 270px);
  }

  .hero-actions,
  .bottom-actions {
    width: min(100%, 270px);
  }

  .ambient-stage {
    height: 330px;
    margin-top: 2rem;
  }

  .launcher-window {
    right: auto;
    bottom: 0;
    left: 50%;
    width: min(360px, 94vw);
    opacity: 0.96;
    transform: translateX(-50%) rotate(1deg);
  }

  .menu-card,
  .prompt-chip {
    display: none;
  }

  .press-hint {
    margin-top: -0.6rem;
    padding-bottom: 2.3rem;
  }

  .demo-section {
    width: min(100% - 24px, 1100px);
    padding-bottom: 4.2rem;
  }

  .demo-stage {
    min-height: 680px;
    border-radius: 12px;
  }

  .demo-target-app {
    inset: 78px 14px 76px;
  }

  .demo-target-bar {
    grid-template-columns: auto 1fr;
    gap: 0.78rem;
  }

  .demo-target-bar > span {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .demo-target-tabs {
    max-width: 100%;
  }

  .demo-target-tabs button {
    padding: 0 0.54rem;
  }

  .demo-any-input textarea {
    min-height: 270px;
  }

  .demo-launcher {
    top: 36px;
    width: calc(100% - 24px);
    height: 420px;
    max-height: calc(100% - 126px);
  }

  .demo-result {
    padding: 0.68rem 0.82rem;
  }

  .demo-launcher-footer {
    gap: 0.5rem;
    padding-left: 0.82rem;
    padding-right: 0.82rem;
  }

  .demo-launch-button {
    top: 13rem;
    right: auto;
    bottom: auto;
    margin-right: 0.85rem;
  }

  .demo-toast {
    top: 16rem;
    right: auto;
    bottom: auto;
    margin-right: 0.85rem;
  }

  .feature-cloud {
    width: min(100% - 24px, 1060px);
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .feature-cloud article {
    min-height: 142px;
  }

  .feature-cloud h2 {
    margin-top: 1.55rem;
  }

  .faq-section {
    width: min(100% - 24px, 980px);
    padding-top: 4.5rem;
  }
}
