:root {
  color-scheme: dark;
  --ink: #f7f3ea;
  --muted: rgba(247, 243, 234, 0.72);
  --quiet: rgba(247, 243, 234, 0.52);
  --line: rgba(247, 243, 234, 0.16);
  --panel: rgba(19, 21, 19, 0.76);
  --panel-strong: rgba(12, 14, 13, 0.9);
  --paper: #f2eadc;
  --charcoal: #0d0f0e;
  --gold: #d4b36a;
  --teal: #72c6b6;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  background: rgba(212, 179, 106, 0.34);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: rgba(9, 10, 10, 0.52);
  border-bottom: 1px solid rgba(247, 243, 234, 0.1);
  backdrop-filter: blur(24px);
}

.brand-mark,
.nav-links,
.language-switch,
.hero-actions,
.proof-strip,
.privacy-list {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
}

.brand-mark img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.nav-action {
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-action:hover {
  color: var(--ink);
}

.nav-action {
  min-width: max-content;
  padding: 9px 16px;
  border: 1px solid rgba(247, 243, 234, 0.22);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
}

.nav-action:hover {
  border-color: rgba(247, 243, 234, 0.48);
  transform: translateY(-1px);
}

.language-switch {
  gap: 2px;
  min-width: max-content;
  padding: 3px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 999px;
  background: rgba(247, 243, 234, 0.055);
}

.language-button {
  min-height: 30px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 243, 234, 0.62);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.language-button:hover {
  color: var(--ink);
}

.language-button.is-active,
.language-button[aria-pressed="true"] {
  background: var(--ink);
  color: #111313;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(700px, 1.24fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: 120px clamp(22px, 6vw, 86px) 80px;
}

.hero-media,
.hero-media img,
.closing-media,
.closing-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img,
.closing-media img {
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.88), rgba(8, 9, 9, 0.58) 46%, rgba(8, 9, 9, 0.24)),
    linear-gradient(180deg, rgba(8, 9, 9, 0.2), rgba(8, 9, 9, 0.76));
}

.hero-content,
.product-showcase {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 870px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.4vw, 98px);
  line-height: 0.94;
  font-weight: 760;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-status {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 34px;
  padding: 9px 14px;
  border: 1px solid rgba(247, 243, 234, 0.2);
  border-radius: 999px;
  background: rgba(9, 10, 10, 0.42);
  color: rgba(247, 243, 234, 0.76);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: #111313;
}

.button.primary:hover {
  background: var(--paper);
}

.button.secondary {
  border: 1px solid rgba(247, 243, 234, 0.26);
  color: var(--ink);
  background: rgba(247, 243, 234, 0.06);
}

.button.secondary:hover {
  border-color: rgba(247, 243, 234, 0.48);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(246, 178, 78, 0.92);
  outline-offset: 4px;
}

[data-demo-action],
.library-card,
.settings-card,
.phone-message,
.mock-character-card,
.mock-list-card,
.mock-panel,
.mock-message,
.mock-composer,
.mock-world-list article,
.mock-form-grid label,
.mock-slider-block,
.mock-slider-row > div,
.mock-settings-column article,
.mock-stat-grid div,
.data-vault div,
.sync-tabs span,
.desktop-frame,
.floating-window,
.mini-phone,
.audience-settings span,
.release-status div,
.proof-strip p,
.capability,
.feature-story,
.feature-lines li,
.asset-grid article,
.asset-toolbar strong,
.chat-thread,
.branch-row span,
.world-entry,
.prompt-stack > div,
.prompt-stack > p {
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    filter 160ms ease;
}

[data-demo-action].is-activated,
.library-card.is-activated,
.settings-card.is-activated,
.phone-message.is-activated,
.mock-character-card.is-activated,
.mock-list-card.is-activated,
.mock-panel.is-activated,
.mock-message.is-activated,
.mock-composer.is-activated,
.mock-world-list article.is-activated,
.mock-form-grid label.is-activated,
.mock-slider-block.is-activated,
.mock-slider-row > div.is-activated,
.mock-settings-column article.is-activated,
.mock-stat-grid div.is-activated,
.data-vault div.is-activated,
.sync-tabs span.is-activated,
.desktop-frame.is-activated,
.floating-window.is-activated,
.mini-phone.is-activated,
.audience-settings span.is-activated,
.release-status div.is-activated,
.proof-strip p.is-activated,
.capability.is-activated,
.feature-story.is-activated,
.feature-lines li.is-activated,
.asset-grid article.is-activated,
.asset-toolbar strong.is-activated,
.chat-thread.is-activated,
.branch-row span.is-activated,
.world-entry.is-activated,
.prompt-stack > div.is-activated,
.prompt-stack > p.is-activated {
  transform: translateY(-1px) scale(0.98);
  filter: brightness(1.12);
}

.library-card:hover,
.settings-card:hover,
.phone-message:hover,
.mock-character-card:hover,
.mock-list-card:hover,
.mock-panel:hover,
.mock-message:hover,
.mock-composer:hover,
.mock-world-list article:hover,
.mock-form-grid label:hover,
.mock-slider-block:hover,
.mock-slider-row > div:hover,
.mock-settings-column article:hover,
.mock-stat-grid div:hover,
.data-vault div:hover,
.sync-tabs span:hover,
.desktop-frame:hover,
.floating-window:hover,
.mini-phone:hover,
.audience-settings span:hover,
.release-status div:hover,
.proof-strip p:hover,
.capability:hover,
.feature-story:hover,
.feature-lines li:hover,
.asset-grid article:hover,
.asset-toolbar strong:hover,
.chat-thread:hover,
.branch-row span:hover,
.world-entry:hover,
.prompt-stack > div:hover,
.prompt-stack > p:hover,
.library-card:focus-visible,
.settings-card:focus-visible,
.phone-message:focus-visible,
.mock-character-card:focus-visible,
.mock-list-card:focus-visible,
.mock-panel:focus-visible,
.mock-message:focus-visible,
.mock-composer:focus-visible,
.mock-world-list article:focus-visible,
.mock-form-grid label:focus-visible,
.mock-slider-block:focus-visible,
.mock-slider-row > div:focus-visible,
.mock-settings-column article:focus-visible,
.mock-stat-grid div:focus-visible,
.data-vault div:focus-visible,
.sync-tabs span:focus-visible,
.desktop-frame:focus-visible,
.floating-window:focus-visible,
.mini-phone:focus-visible,
.audience-settings span:focus-visible,
.release-status div:focus-visible,
.proof-strip p:focus-visible,
.capability:focus-visible,
.feature-story:focus-visible,
.feature-lines li:focus-visible,
.asset-grid article:focus-visible,
.asset-toolbar strong:focus-visible,
.chat-thread:focus-visible,
.branch-row span:focus-visible,
.world-entry:focus-visible,
.prompt-stack > div:focus-visible,
.prompt-stack > p:focus-visible,
.library-card.is-selected,
.settings-card.is-selected,
.phone-message.is-selected,
.mock-character-card.is-selected,
.mock-list-card.is-selected,
.mock-panel.is-selected,
.mock-message.is-selected,
.mock-composer.is-selected,
.mock-world-list article.is-selected,
.mock-form-grid label.is-selected,
.mock-slider-block.is-selected,
.mock-slider-row > div.is-selected,
.mock-settings-column article.is-selected,
.mock-stat-grid div.is-selected,
.data-vault div.is-selected,
.sync-tabs span.is-selected,
.desktop-frame.is-selected,
.floating-window.is-selected,
.mini-phone.is-selected,
.audience-settings span.is-selected,
.release-status div.is-selected,
.proof-strip p.is-selected,
.capability.is-selected,
.feature-story.is-selected,
.feature-lines li.is-selected,
.asset-grid article.is-selected,
.asset-toolbar strong.is-selected,
.chat-thread.is-selected,
.branch-row span.is-selected,
.world-entry.is-selected,
.prompt-stack > div.is-selected,
.prompt-stack > p.is-selected {
  border-color: rgba(246, 178, 78, 0.72);
  background-color: rgba(247, 243, 234, 0.1);
}

.site-toast {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 80;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.92);
  color: var(--ink);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.product-showcase {
  align-self: end;
  width: min(820px, 100%);
  display: grid;
  grid-template-rows: auto 640px;
}

.device-switch {
  position: relative;
  z-index: 4;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid rgba(247, 243, 234, 0.2);
  border-radius: 999px;
  background: rgba(9, 10, 10, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.device-switch-button {
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 243, 234, 0.68);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.device-switch-button:hover {
  color: var(--ink);
}

.device-switch-button.is-active,
.device-switch-button[aria-selected="true"],
.product-showcase.is-windows [data-view="windows"],
.product-showcase.is-android [data-view="android"] {
  background: var(--ink);
  color: #111313;
}

.device-stage {
  position: relative;
  display: grid;
  height: 640px;
  overflow: hidden;
}

.device-panel {
  grid-area: 1 / 1;
  align-self: end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.device-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.device-panel[hidden] {
  display: block;
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.product-window {
  align-self: end;
  width: 100%;
  border: 1px solid rgba(114, 86, 142, 0.68);
  border-radius: 0;
  background: #100d16;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.app-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 14px;
  color: rgba(247, 243, 234, 0.78);
  background: #111018;
  border-top: 2px solid #d77a2b;
}

.app-titlebar strong {
  font-size: 12px;
  letter-spacing: 0.01em;
}

.window-controls {
  display: flex;
  gap: 24px;
  margin-left: auto;
  margin-right: 14px;
  color: rgba(247, 243, 234, 0.72);
  font-size: 13px;
}

.app-titlebar em {
  position: absolute;
  right: -22px;
  top: 0;
  width: 82px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #971d22;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  transform: rotate(42deg);
  transform-origin: center;
}

.app-body {
  position: relative;
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr) 220px;
  min-height: 430px;
  background:
    linear-gradient(rgba(15, 13, 17, 0.35), rgba(15, 13, 17, 0.55)),
    url("./assets/Silly_flutter_20251231_night_mode.jpg") center / cover;
}

.app-library {
  padding: 12px;
  background: rgba(25, 21, 34, 0.58);
  border-right: 8px solid rgba(22, 23, 31, 0.72);
}

.library-search {
  display: flex;
  align-items: center;
  height: 38px;
  margin-bottom: 12px;
  padding: 0 14px;
  color: rgba(247, 243, 234, 0.45);
  border: 1px solid rgba(247, 243, 234, 0.08);
  border-radius: 12px;
  background: rgba(88, 80, 116, 0.42);
  font-size: 14px;
  font-weight: 700;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.library-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.library-card {
  position: relative;
  display: flex;
  align-items: end;
  width: 100%;
  border: 1.5px solid rgba(247, 243, 234, 0.26);
  border-radius: 22px;
  background: rgba(58, 52, 82, 0.7);
  color: rgba(247, 243, 234, 0.9);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  break-inside: avoid;
}

.library-card.span-tall {
  height: 164px;
}

.library-card.span-medium {
  height: 106px;
}

.library-card.span-short {
  height: 72px;
}

.library-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(14, 11, 20, 0.84) 100%),
    rgba(36, 28, 54, 0.1);
}

.library-card strong {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 8px;
  color: rgba(247, 243, 234, 0.92);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}

.app-chat {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.chat-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px;
  background: rgba(15, 12, 21, 0.95);
}

.back-arrow {
  color: rgba(247, 243, 234, 0.86);
  font-size: 32px;
  line-height: 1;
}

.chat-nav strong {
  display: block;
  color: rgba(247, 243, 234, 0.92);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-nav p {
  margin: 0;
  color: #d8a417;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.session-tab {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(99, 73, 150, 0.86);
  color: rgba(247, 243, 234, 0.94);
  font-size: 13px;
  font-weight: 800;
}

.plus-tab {
  color: rgba(247, 243, 234, 0.76);
  font-size: 26px;
}

.chat-canvas {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 34px 20px;
}

.message-card {
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(247, 243, 234, 0.08);
  border-radius: 18px;
  background: rgba(25, 25, 24, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.message-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(133, 111, 164, 0.92);
  color: #fff;
  font-weight: 900;
}

.message-card strong {
  color: rgba(247, 243, 234, 0.92);
  font-size: 16px;
}

.message-card p {
  margin: 16px 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-size: 14px;
}

.input-dock {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  padding: 0 20px 20px;
}

.attach,
.send-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(25, 24, 35, 0.84);
  color: rgba(247, 243, 234, 0.9);
  font-size: 22px;
}

.send-button {
  width: 52px;
  height: 52px;
  background: rgba(11, 10, 18, 0.94);
}

.input-placeholder {
  color: rgba(247, 243, 234, 0.68);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.app-settings {
  padding: 16px 10px;
}

.settings-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(133, 111, 164, 0.34);
  border-radius: 16px;
  background: rgba(34, 34, 34, 0.86);
}

.author-card {
  grid-template-columns: 36px minmax(0, 1fr) 42px;
  min-height: 96px;
}

.settings-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(91, 84, 112, 0.56);
  color: rgba(247, 243, 234, 0.72);
}

.settings-card strong {
  color: rgba(247, 243, 234, 0.92);
  font-size: 15px;
}

.settings-card p {
  margin: 2px 0 0;
  color: rgba(247, 243, 234, 0.56);
  font-size: 12px;
}

.depth-pill {
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  border-radius: 10px;
  background: rgba(19, 16, 25, 0.86);
  color: rgba(247, 243, 234, 0.78);
}

.phone-device {
  display: grid;
  justify-items: center;
  width: 100%;
}

.phone-shell {
  position: relative;
  width: min(360px, 86vw);
  min-height: 640px;
  padding: 14px;
  border: 1px solid rgba(247, 243, 234, 0.3);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.12), rgba(247, 243, 234, 0.02)),
    #101116;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.44);
  overflow: hidden;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #090a0d;
  transform: translateX(-50%);
}

.phone-status,
.phone-toolbar,
.phone-chat,
.phone-bottom-bar {
  position: relative;
  z-index: 1;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px 12px;
  color: rgba(247, 243, 234, 0.68);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.phone-toolbar {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 10px;
  border-radius: 24px 24px 16px 16px;
  background: rgba(25, 21, 34, 0.96);
}

.phone-toolbar strong {
  display: block;
  color: rgba(247, 243, 234, 0.94);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-toolbar p {
  margin: 2px 0 0;
  color: #d8a417;
  font-size: 12px;
}

.phone-menu,
.phone-bottom-bar button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.08);
  color: rgba(247, 243, 234, 0.86);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.phone-toolbar-spacer {
  width: 38px;
  height: 38px;
}

.phone-chat {
  position: relative;
  min-height: 458px;
  padding: 22px 10px 92px;
  background:
    linear-gradient(rgba(15, 13, 17, 0.2), rgba(15, 13, 17, 0.48)),
    url("./assets/Silly_flutter_20251231_night_mode.jpg") center / cover;
}

.phone-message {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(247, 243, 234, 0.08);
  border-radius: 18px;
  background: rgba(25, 25, 24, 0.94);
  color: rgba(247, 243, 234, 0.88);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.phone-message.incoming {
  grid-template-columns: 42px minmax(0, 1fr);
}

.phone-message.outgoing {
  width: 84%;
  margin-left: auto;
  background: rgba(99, 73, 150, 0.9);
}

.phone-message.compact {
  width: 78%;
  margin-top: 28px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 12px;
  background: rgba(25, 25, 24, 0.86);
}

.phone-message strong {
  color: rgba(247, 243, 234, 0.94);
  font-size: 14px;
}

.phone-message p {
  margin: 0;
}

.phone-message.incoming p {
  margin-top: 8px;
  font-size: 13px;
}

.phone-message.outgoing p {
  font-size: 13px;
}

.phone-bottom-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 9px;
  border: 1px solid rgba(247, 243, 234, 0.14);
  border-radius: 999px;
  background: rgba(13, 13, 17, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.phone-input-field {
  min-width: 0;
  color: rgba(247, 243, 234, 0.56);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-bottom-bar button:last-child {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #111313;
}

.proof-strip {
  position: relative;
  z-index: 3;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 118px;
  padding: 22px;
  background: var(--paper);
  color: #171712;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.proof-strip p {
  margin: 0;
  padding: 14px 24px;
  color: rgba(23, 23, 18, 0.72);
  font-weight: 700;
}

.release-panel {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(78px, 10vw, 130px) 0 clamp(60px, 8vw, 98px);
}

.release-copy h2,
.gallery-heading h2 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.release-copy p:last-child,
.gallery-heading p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.release-status {
  display: grid;
  border-top: 1px solid var(--line);
}

.release-status div {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.release-status span {
  color: var(--quiet);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.release-status strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.interface-gallery {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0 clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
}

.gallery-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.gallery-tab {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 999px;
  background: rgba(247, 243, 234, 0.05);
  color: rgba(247, 243, 234, 0.7);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.gallery-tab:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.gallery-tab.is-active,
.gallery-tab[aria-selected="true"] {
  background: var(--ink);
  color: #111313;
}

.gallery-stage {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(247, 243, 234, 0.14);
  border-radius: var(--radius);
  background: rgba(8, 9, 9, 0.5);
  box-shadow: 0 34px 94px rgba(0, 0, 0, 0.38);
}

.gallery-panel {
  display: grid;
  grid-template-rows: auto auto;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.gallery-panel[hidden] {
  display: none;
  visibility: hidden;
}

.gallery-image-frame {
  position: relative;
  display: block;
  width: calc(100% - clamp(20px, 4vw, 48px));
  max-width: calc(100% - clamp(20px, 4vw, 48px));
  margin: clamp(18px, 3vw, 34px) auto;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 10px;
  background: #0f0d16;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.gallery-mockup {
  min-height: clamp(430px, 48vw, 640px);
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.8vw, 32px);
  background:
    radial-gradient(circle at 28% 18%, rgba(181, 149, 105, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(45, 39, 54, 0.92), rgba(8, 8, 10, 0.98));
  color: var(--ink);
}

.gallery-mockup-overview {
  grid-template-columns: minmax(180px, 0.8fr) minmax(340px, 1.8fr) minmax(190px, 0.9fr);
}

.gallery-mockup-world,
.gallery-mockup-preset {
  grid-template-columns: minmax(210px, 0.85fr) minmax(420px, 2fr);
}

.gallery-mockup-data {
  grid-template-columns: minmax(300px, 1fr) minmax(360px, 1fr);
}

.mock-sidebar,
.mock-chat-pane,
.mock-inspector,
.mock-editor-pane,
.mock-preset-pane,
.mock-settings-column,
.mock-data-pane {
  min-width: 0;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(247, 243, 234, 0.12);
  padding-right: 18px;
}

.mock-sidebar-title,
.mock-editor-head strong,
.mock-preset-pane h3,
.mock-data-pane h3 {
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 0.95;
  font-weight: 820;
}

.mock-search {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(247, 243, 234, 0.22);
  color: rgba(247, 243, 234, 0.72);
  font-size: 13px;
}

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

.mock-character-card,
.mock-list-card,
.mock-panel,
.mock-message,
.mock-world-list article,
.mock-form-grid label,
.mock-settings-column article {
  border: 1px solid rgba(247, 243, 234, 0.13);
  background: rgba(26, 25, 29, 0.78);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.mock-character-card {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(99, 78, 122, 0.78), rgba(34, 28, 42, 0.94));
}

.mock-character-card.is-active,
.mock-list-card.is-active,
.mock-panel.is-accent {
  border-color: rgba(190, 163, 91, 0.72);
}

.mock-character-card span {
  color: rgba(247, 243, 234, 0.44);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 820;
}

.mock-character-card strong,
.mock-list-card strong,
.mock-panel strong,
.mock-message strong,
.mock-world-list strong,
.mock-settings-column strong {
  font-size: 14px;
}

.mock-chat-pane,
.mock-preset-pane,
.mock-editor-pane,
.mock-data-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-window-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 38px;
}

.mock-window-nav span,
.mock-panel span,
.mock-list-card span,
.mock-settings-column span,
.mock-form-grid span,
.mock-stat-grid span,
.mock-world-list p {
  color: rgba(247, 243, 234, 0.62);
  font-size: 12px;
}

.mock-message {
  border-radius: 14px;
  padding: 16px 18px;
}

.hero-message {
  width: min(100%, 560px);
  margin-top: auto;
}

.mock-message.compact,
.mock-message.reply {
  width: min(100%, 620px);
}

.mock-message.reply {
  margin-left: 34px;
}

.mock-composer {
  width: min(100%, 620px);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(22, 21, 24, 0.92);
  color: rgba(247, 243, 234, 0.62);
}

.mock-composer b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #111313;
  font-size: 24px;
}

.mock-inspector {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.mock-panel,
.mock-list-card,
.mock-settings-column article {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
}

.mock-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.mock-editor-head div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-editor-head button,
.mock-action-grid button {
  min-height: 42px;
  border: 1px solid rgba(247, 243, 234, 0.16);
  border-radius: 12px;
  background: rgba(178, 151, 212, 0.88);
  color: #151218;
  font: inherit;
  font-weight: 800;
}

.mock-world-list {
  display: grid;
  gap: 12px;
}

.mock-world-list article {
  position: relative;
  padding: 16px 16px 16px 22px;
  border-radius: 14px;
}

.mock-world-list article::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: #c9a7ff;
}

.mock-world-list span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(178, 151, 212, 0.22);
  color: #e6d7ff;
  font-size: 11px;
}

.mock-form-grid,
.mock-slider-row,
.mock-stat-grid,
.mock-action-grid {
  display: grid;
  gap: 12px;
}

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

.mock-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
}

.mock-form-grid label:first-child {
  grid-column: 1 / -1;
}

.mock-slider-block,
.mock-slider-row > div {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(12, 11, 14, 0.72);
  border: 1px solid rgba(247, 243, 234, 0.09);
}

.mock-slider-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mock-slider-block i,
.mock-slider-row i {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e6ad50 var(--value), rgba(247, 243, 234, 0.12) var(--value));
}

.mock-settings-column {
  display: grid;
  align-content: center;
  gap: 18px;
}

.mock-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-stat-grid div {
  padding: 16px;
  border-radius: 14px;
  background: rgba(247, 243, 234, 0.06);
}

.mock-stat-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.mock-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
}

.mock-action-grid .danger {
  grid-column: 1 / -1;
  background: rgba(168, 104, 96, 0.94);
  color: var(--ink);
}

.gallery-panel figcaption {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 34px);
  background: rgba(8, 9, 9, 0.92);
  border-top: 1px solid rgba(247, 243, 234, 0.14);
}

.gallery-panel strong {
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.1;
}

.gallery-panel span {
  color: var(--muted);
  font-size: 16px;
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.intro {
  padding: clamp(82px, 12vw, 150px) 0 42px;
}

.section-title {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 0.98;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.capability-grid {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability {
  min-height: 560px;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.capability:nth-child(2n),
.capability:last-child {
  border-right: 0;
}

.capability:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.capability:hover {
  background: rgba(247, 243, 234, 0.055);
  transform: translateY(-4px);
}

.capability span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.capability h3 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
}

.capability p {
  margin: 0;
  color: var(--muted);
}

.feature-shot {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.feature-shot img {
  width: 100%;
  aspect-ratio: 23 / 16;
  object-fit: cover;
  object-position: top center;
  margin-top: auto;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: var(--radius);
  background: rgba(247, 243, 234, 0.055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.feature-stories {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.feature-story {
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 28px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.052), rgba(247, 243, 234, 0.018)),
    rgba(12, 14, 13, 0.74);
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.feature-story-large {
  grid-column: 1 / -1;
  min-height: 600px;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  grid-template-rows: 1fr;
  align-items: center;
}

.feature-story:hover {
  border-color: rgba(247, 243, 234, 0.28);
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.072), rgba(247, 243, 234, 0.026)),
    rgba(12, 14, 13, 0.8);
  transform: translateY(-3px);
}

.feature-copy span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.feature-copy {
  min-width: 0;
}

.feature-copy h3 {
  max-width: 600px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.feature-story:not(.feature-story-large) .feature-copy h3 {
  font-size: clamp(26px, 3vw, 36px);
}

.feature-copy p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.feature-copy p + p {
  margin-top: 14px;
}

.feature-lines {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-lines li {
  position: relative;
  padding-left: 18px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.feature-lines li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.feature-visual {
  position: relative;
  min-width: 0;
  min-height: 360px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border: 1px solid rgba(247, 243, 234, 0.1);
  border-radius: 50%;
  opacity: 0.7;
}

.feature-phone,
.context-stack,
.world-panel,
.model-sheet,
.sync-screen,
.asset-board,
.chat-map,
.prompt-stack,
.script-stage,
.responsive-set,
.feature-settings-panel,
.data-vault,
.audience-settings,
.workflow-window {
  border: 1px solid rgba(247, 243, 234, 0.18);
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.1), rgba(242, 234, 220, 0.03)),
    rgba(15, 16, 18, 0.9);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.32);
}

.asset-board {
  width: min(100%, 720px);
  padding: 18px;
  border-radius: 24px;
}

.asset-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.asset-toolbar span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(247, 243, 234, 0.14);
  border-radius: 999px;
  color: rgba(247, 243, 234, 0.54);
}

.asset-toolbar strong {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #111313;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.asset-grid article {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 18px;
  background: rgba(247, 243, 234, 0.06);
}

.asset-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.asset-grid strong,
.chat-thread strong,
.prompt-stack strong,
.script-widget strong,
.data-vault strong,
.audience-settings strong {
  display: block;
  color: rgba(247, 243, 234, 0.94);
}

.asset-grid p {
  margin: 4px 0 0;
  color: rgba(247, 243, 234, 0.58);
  font-size: 12px;
}

.chat-map,
.prompt-stack,
.script-stage,
.responsive-set,
.data-vault,
.audience-settings {
  width: min(100%, 520px);
  border-radius: 24px;
}

.chat-map {
  padding: 22px;
}

.chat-thread {
  padding: 22px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 20px;
  background: rgba(247, 243, 234, 0.08);
}

.chat-thread p {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.chat-thread strong {
  font-size: 24px;
  line-height: 1.16;
}

.branch-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.branch-row span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 999px;
  color: rgba(247, 243, 234, 0.76);
  background: rgba(247, 243, 234, 0.06);
  font-weight: 800;
}

.message-branch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-height: 160px;
}

.message-branch i {
  display: block;
  border: 1px solid rgba(133, 111, 164, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(133, 111, 164, 0.22), rgba(247, 243, 234, 0.04));
}

.message-branch i:nth-child(2) {
  transform: translateY(22px);
}

.message-branch i:nth-child(3) {
  transform: translateY(44px);
}

.feature-phone {
  position: relative;
  width: 100%;
  max-width: 390px;
  min-height: 540px;
  padding: 14px;
  border-radius: 34px;
  overflow: hidden;
}

.feature-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 88px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #090a0d;
  transform: translateX(-50%);
}

.feature-phone-header {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 20px 12px 10px;
  border-radius: 24px 24px 14px 14px;
  background: rgba(247, 243, 234, 0.08);
}

.feature-phone-header strong {
  display: block;
  color: rgba(247, 243, 234, 0.94);
  font-size: 18px;
}

.feature-phone-header p {
  margin: 2px 0 0;
  color: #62c96b;
  font-size: 13px;
}

.ui-back,
.ui-tune {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: rgba(247, 243, 234, 0.82);
  background: rgba(247, 243, 234, 0.08);
  font-size: 24px;
}

.feature-phone-body {
  min-height: 360px;
  padding: 26px 8px 94px;
  background:
    linear-gradient(rgba(15, 13, 17, 0.24), rgba(15, 13, 17, 0.54)),
    url("./assets/Silly_flutter_20251231_night_mode.jpg") center / cover;
}

.ui-bubble {
  width: 86%;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(247, 243, 234, 0.1);
  border-radius: 18px;
  background: rgba(24, 24, 24, 0.92);
  color: rgba(247, 243, 234, 0.86);
  font-size: 15px;
}

.ui-bubble-right {
  margin-left: auto;
  background: rgba(104, 80, 150, 0.92);
}

.floating-input {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid rgba(247, 243, 234, 0.14);
  border-radius: 999px;
  background: rgba(13, 13, 17, 0.88);
  backdrop-filter: blur(20px);
}

.floating-input span,
.floating-input strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.1);
}

.floating-input strong {
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: #111313;
}

.floating-input p {
  margin: 0;
  color: rgba(247, 243, 234, 0.58);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.context-stack,
.world-panel,
.model-sheet {
  width: min(100%, 480px);
  padding: 18px;
  border-radius: 22px;
}

.context-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(133, 111, 164, 0.24);
  border-radius: 16px;
  background: rgba(247, 243, 234, 0.055);
}

.context-row:last-child {
  margin-bottom: 0;
}

.context-row span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(133, 111, 164, 0.28);
  color: rgba(247, 243, 234, 0.82);
}

.context-row strong,
.world-title strong,
.world-entry strong,
.sheet-title,
.sync-card strong,
.sync-dialog strong {
  display: block;
  color: rgba(247, 243, 234, 0.94);
}

.context-row p,
.world-entry p,
.sync-card p,
.sync-card span {
  margin: 4px 0 0;
  color: rgba(247, 243, 234, 0.58);
  font-size: 13px;
}

.context-row em {
  color: rgba(247, 243, 234, 0.62);
  font-size: 12px;
  font-style: normal;
}

.context-row.highlighted {
  border-color: rgba(212, 179, 106, 0.42);
}

.world-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.world-title strong {
  font-size: 28px;
}

.world-title span {
  color: rgba(247, 243, 234, 0.56);
  font-weight: 700;
}

.world-entry {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 18px;
  background: rgba(247, 243, 234, 0.07);
}

.world-entry i {
  width: 5px;
  border-radius: 999px;
  background: rgba(133, 111, 164, 0.95);
}

.world-entry mark {
  display: inline-flex;
  margin: 12px 8px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(133, 111, 164, 0.25);
  color: rgba(247, 243, 234, 0.84);
  font-weight: 800;
}

.prompt-stack {
  padding: 22px;
}

.prompt-stack div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  margin-bottom: 10px;
  padding: 0 16px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 16px;
  background: rgba(247, 243, 234, 0.06);
}

.prompt-stack div:nth-child(3) {
  border-color: rgba(212, 179, 106, 0.42);
}

.prompt-stack span {
  color: rgba(247, 243, 234, 0.72);
}

.prompt-stack p {
  margin: 18px 0 0;
  color: rgba(247, 243, 234, 0.56);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.feature-settings-panel {
  width: min(100%, 420px);
  padding: 16px 10px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(15, 13, 17, 0.28), rgba(15, 13, 17, 0.64)),
    url("./assets/Silly_flutter_20251231_night_mode.jpg") center / cover;
}

.sync-screen {
  position: relative;
  width: min(100%, 600px);
  min-height: 380px;
  padding: 22px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(36, 31, 49, 0.86), rgba(18, 16, 25, 0.9)),
    rgba(25, 21, 34, 0.92);
}

.sync-card {
  width: min(100%, 360px);
  padding: 18px;
  border: 1px solid rgba(133, 111, 164, 0.34);
  border-radius: 16px;
  background: rgba(34, 34, 34, 0.86);
}

.sync-card strong {
  font-size: 22px;
}

.sync-card span {
  display: block;
}

.sync-dialog {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(133, 111, 164, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(36, 31, 49, 0.96), rgba(18, 16, 25, 0.98)),
    #16121f;
  color: rgba(247, 243, 234, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.sync-dialog strong {
  color: rgba(247, 243, 234, 0.94);
  font-size: 22px;
}

.sync-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0;
  border: 1px solid rgba(133, 111, 164, 0.3);
  border-radius: 14px;
  overflow: hidden;
}

.sync-tabs span {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 8px;
  color: rgba(247, 243, 234, 0.66);
  font-weight: 800;
  border-right: 1px solid rgba(133, 111, 164, 0.24);
  background: rgba(19, 16, 25, 0.55);
}

.sync-tabs span:last-child {
  border-right: 0;
}

.sync-tabs .selected {
  background: rgba(99, 73, 150, 0.86);
  color: rgba(247, 243, 234, 0.94);
}

.sync-dialog label {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 8px;
  padding: 0 14px;
  border: 1px solid rgba(133, 111, 164, 0.28);
  border-radius: 12px;
  color: rgba(247, 243, 234, 0.5);
  background: rgba(19, 16, 25, 0.72);
}

.sync-dialog button {
  display: block;
  min-height: 42px;
  margin: 14px auto 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #111313;
  font: inherit;
  font-weight: 850;
}

.script-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 22px;
}

.script-code {
  min-height: 130px;
  padding: 18px;
  border-radius: 18px;
  background: #0b0d10;
  color: rgba(114, 198, 182, 0.92);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.8;
}

.script-widget {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 18px;
  background: rgba(247, 243, 234, 0.07);
}

.script-widget span {
  color: rgba(247, 243, 234, 0.66);
}

.script-widget button,
.data-vault button {
  grid-column: 1 / -1;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #111313;
  font: inherit;
  font-weight: 850;
}

.responsive-set {
  position: relative;
  min-height: 360px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(15, 13, 17, 0.35), rgba(15, 13, 17, 0.7)),
    url("./assets/Silly_flutter_20251231_night_mode.jpg") center / cover;
}

.desktop-frame {
  width: calc(100% - 126px);
  height: 214px;
  display: grid;
  grid-template-columns: 0.78fr 1.4fr 0.86fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(133, 111, 164, 0.34);
  border-radius: 16px;
  background: rgba(15, 12, 21, 0.92);
}

.desktop-frame span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 243, 234, 0.08);
  border-radius: 12px;
  background: rgba(34, 34, 34, 0.78);
  color: rgba(247, 243, 234, 0.72);
  font-weight: 800;
}

.floating-window,
.mini-phone {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(133, 111, 164, 0.36);
  background:
    linear-gradient(180deg, rgba(36, 31, 49, 0.96), rgba(18, 16, 25, 0.98)),
    #16121f;
  color: rgba(247, 243, 234, 0.88);
  font-weight: 850;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.floating-window {
  left: 36px;
  right: 150px;
  bottom: 36px;
  min-height: 78px;
  border-radius: 18px;
}

.mini-phone {
  right: 28px;
  top: 52px;
  bottom: auto;
  width: 92px;
  min-height: 220px;
  padding: 16px 10px;
  border-radius: 26px;
  font-size: 12px;
  text-align: center;
}

.data-vault {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.data-vault strong {
  margin-bottom: 6px;
  font-size: 28px;
}

.data-vault div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 16px;
  background: rgba(247, 243, 234, 0.06);
}

.data-vault span {
  color: rgba(247, 243, 234, 0.66);
}

.data-vault em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.audience-settings {
  display: grid;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(36, 31, 49, 0.9), rgba(18, 16, 25, 0.92)),
    rgba(25, 21, 34, 0.92);
}

.audience-settings strong {
  color: rgba(247, 243, 234, 0.94);
  font-size: 28px;
}

.audience-settings span {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(133, 111, 164, 0.34);
  border-radius: 14px;
  background: rgba(34, 34, 34, 0.86);
  color: rgba(247, 243, 234, 0.76);
  font-weight: 850;
}

.workflow {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  padding: clamp(86px, 12vw, 154px) 0;
}

.workflow-media {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 520px;
  border: 1px solid rgba(247, 243, 234, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(247, 243, 234, 0.11), rgba(114, 198, 182, 0.08)),
    var(--panel);
  overflow: hidden;
}

.workflow-media::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 50%;
}

.workflow-screenshot {
  padding: 0;
  background: rgba(8, 9, 9, 0.42);
}

.workflow-screenshot::before {
  display: none;
}

.workflow-screenshot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.workflow-product {
  min-height: 480px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.06), rgba(247, 243, 234, 0.018)),
    rgba(8, 9, 9, 0.42);
}

.workflow-product::before {
  display: none;
}

.workflow-window {
  width: 100%;
  min-height: 410px;
  display: grid;
  grid-template-columns: 0.72fr 1.2fr 0.72fr;
  border-radius: 0;
  overflow: hidden;
}

.workflow-sidebar,
.workflow-main,
.workflow-inspector {
  padding: 18px;
}

.workflow-sidebar,
.workflow-inspector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(23, 20, 31, 0.82);
}

.workflow-sidebar span,
.workflow-inspector span {
  color: rgba(247, 243, 234, 0.6);
  font-size: 13px;
}

.workflow-sidebar strong {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(247, 243, 234, 0.08);
  color: rgba(247, 243, 234, 0.86);
}

.workflow-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background:
    linear-gradient(rgba(15, 13, 17, 0.24), rgba(15, 13, 17, 0.5)),
    url("./assets/Silly_flutter_20251231_night_mode.jpg") center / cover;
}

.workflow-message {
  width: 88%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(247, 243, 234, 0.9);
  color: #1b1b1e;
}

.workflow-message.answer {
  margin-left: auto;
  background: rgba(104, 80, 150, 0.92);
  color: #fff;
}

.workflow-dock {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(13, 13, 17, 0.88);
  color: rgba(247, 243, 234, 0.52);
}

.workflow-inspector span {
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(133, 111, 164, 0.24);
  border-radius: 14px;
  background: rgba(247, 243, 234, 0.07);
}

.steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--teal);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 84px);
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.privacy-panel {
  max-width: 780px;
}

.privacy-panel h2,
.closing-content h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.privacy-panel p:last-child,
.closing-content p {
  color: var(--muted);
  font-size: 18px;
}

.privacy-list {
  align-self: end;
  flex-direction: column;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.privacy-list p,
.privacy-list a {
  display: block;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.privacy-list a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.privacy-list a:hover {
  color: var(--gold);
}

.privacy-policy {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 0 0 clamp(76px, 10vw, 128px);
}

.legal-main {
  min-height: 100svh;
  padding-top: 118px;
}

.legal-hero {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0 clamp(34px, 6vw, 70px);
}

.legal-hero h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.legal-lead {
  color: var(--gold);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.legal-summary {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.privacy-policy.standalone {
  padding-bottom: clamp(78px, 10vw, 128px);
}

.privacy-policy-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.privacy-policy-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.privacy-policy-heading p:last-child {
  margin: 0;
  color: var(--quiet);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  text-transform: uppercase;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.policy-card {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.025);
}

.policy-card span:first-child {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.policy-card h2,
.policy-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.12;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.policy-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.policy-card a:hover {
  color: var(--gold);
}

.legal-actions {
  margin-top: 32px;
}

.closing {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(80px, 10vw, 136px) clamp(22px, 6vw, 86px);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 9, 0.84), rgba(10, 10, 9, 0.42));
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(22px, 6vw, 86px);
  color: rgba(247, 243, 234, 0.58);
  background: #080908;
  border-top: 1px solid rgba(247, 243, 234, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms ease;
}

.hero .reveal {
  animation: rise-in 760ms ease both;
}

.product-showcase.reveal {
  animation-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: auto;
    gap: clamp(30px, 5vw, 58px);
    padding-top: 96px;
  }

  .hero-content {
    max-width: min(760px, 100%);
  }

  h1 {
    max-width: min(760px, 100%);
    font-size: clamp(48px, 8vw, 84px);
    line-height: 0.96;
  }

  .hero-copy {
    max-width: min(720px, 100%);
  }

  .product-showcase {
    width: min(920px, 100%);
    justify-self: end;
    grid-template-rows: auto minmax(520px, 58vw);
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(8, 9, 9, 0.52), rgba(8, 9, 9, 0.92)),
      rgba(8, 9, 9, 0.2);
  }

  .product-showcase {
    min-height: auto;
  }

  .app-body {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .app-settings {
    display: none;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-panel {
    grid-template-columns: 1fr;
  }

  .feature-stories {
    grid-template-columns: 1fr;
  }

  .feature-story,
  .feature-story-large {
    min-height: auto;
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .workflow-window {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .workflow-inspector {
    display: none;
  }

  .capability:nth-child(2) {
    border-right: 0;
  }

  .capability:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .workflow,
  .privacy {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .workflow-media {
    min-height: 380px;
  }

  .gallery-mockup-overview {
    grid-template-columns: minmax(160px, 0.75fr) minmax(310px, 1.7fr) minmax(170px, 0.8fr);
  }

  .mock-sidebar-title,
  .mock-editor-head strong,
  .mock-preset-pane h3,
  .mock-data-pane h3 {
    font-size: 32px;
  }
}

@media (max-width: 760px) {
  .gallery-mockup,
  .gallery-mockup-overview,
  .gallery-mockup-world,
  .gallery-mockup-preset,
  .gallery-mockup-data {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mock-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 243, 234, 0.12);
    padding-right: 0;
    padding-bottom: 18px;
  }

  .mock-inspector {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mock-form-grid,
  .mock-slider-row,
  .mock-stat-grid,
  .mock-action-grid {
    grid-template-columns: 1fr;
  }

  .mock-form-grid label:first-child,
  .mock-action-grid .danger {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .brand-mark span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header {
    padding-inline: 16px;
  }

  .nav-action {
    padding-inline: 13px;
  }

  .language-switch {
    gap: 1px;
  }

  .language-button {
    min-height: 28px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .hero,
  .closing {
    padding-inline: 18px;
  }

  .hero {
    gap: 24px;
    padding-bottom: 46px;
  }

  .product-showcase {
    display: block;
    width: 100%;
  }

  .device-switch {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .device-stage {
    height: 556px;
    overflow: hidden;
  }

  .product-window {
    width: 100%;
    transform: translateY(0);
  }

  .app-body {
    grid-template-columns: 142px minmax(0, 1fr);
    min-height: 430px;
  }

  .app-library {
    padding: 8px;
    border-right-width: 4px;
  }

  .library-card {
    border-radius: 14px;
  }

  .library-grid {
    gap: 6px;
  }

  .library-column {
    gap: 6px;
  }

  .library-search {
    height: 34px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .library-card.span-tall {
    height: 126px;
  }

  .library-card.span-medium {
    height: 86px;
  }

  .library-card.span-short {
    height: 64px;
  }

  .library-card strong {
    padding: 8px 5px;
    font-size: 10px;
  }

  .chat-nav {
    min-height: 50px;
    gap: 8px;
    padding-inline: 10px;
  }

  .chat-nav strong {
    max-width: 120px;
    font-size: 13px;
  }

  .chat-canvas {
    padding: 22px 12px;
  }

  .message-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .message-avatar {
    width: 34px;
    height: 34px;
  }

  .message-card strong {
    font-size: 13px;
  }

  .message-card p {
    margin-top: 10px;
    font-size: 12px;
  }

  .input-dock {
    grid-template-columns: 34px minmax(0, 1fr) 38px;
    gap: 8px;
    padding: 0 12px 14px;
  }

  .attach,
  .send-button {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .send-button {
    width: 38px;
    height: 38px;
  }

  .input-placeholder {
    font-size: 12px;
  }

  .session-tab,
  .plus-tab {
    display: none;
  }

  .phone-shell {
    width: min(330px, 100%);
    min-height: 556px;
    border-radius: 32px;
  }

  .phone-chat {
    min-height: 374px;
    padding: 18px 10px 86px;
  }

  .phone-message.compact {
    margin-top: 18px;
  }

  h1 {
    max-width: 340px;
    font-size: 32px;
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .hero-status {
    display: flex;
    width: 100%;
    border-radius: 18px;
    font-size: 11px;
    line-height: 1.45;
  }

  .button {
    width: 100%;
  }

  .proof-strip {
    justify-content: flex-start;
    padding-inline: 18px;
  }

  .proof-strip p {
    width: 100%;
    padding: 12px 0;
    font-size: 13px;
  }

  .release-panel,
  .interface-gallery,
  .legal-hero,
  .privacy-policy {
    width: calc(100% - 36px);
  }

  .release-copy h2,
  .gallery-heading h2 {
    font-size: 29px;
    line-height: 1.08;
    word-break: break-all;
  }

  .release-status div {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
    padding: 18px 0;
  }

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

  .gallery-tab {
    padding-inline: 10px;
  }

  .gallery-panel figcaption {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .gallery-panel span {
    font-size: 14px;
  }

  .gallery-image-frame {
    width: calc(100% - 24px);
  }

  .section-title {
    font-size: 29px;
    line-height: 1.08;
    word-break: break-all;
  }

  .feature-copy h3,
  .feature-story:not(.feature-story-large) .feature-copy h3 {
    font-size: 24px;
    line-height: 1.12;
    word-break: break-all;
  }

  .privacy-panel h2,
  .legal-hero h1,
  .privacy-policy-heading h2,
  .closing-content h2 {
    font-size: 31px;
    line-height: 1.08;
    word-break: break-all;
  }

  .section,
  .capability-grid,
  .feature-stories,
  .workflow,
  .privacy {
    width: calc(100% - 36px);
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability,
  .capability:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability:last-child {
    border-bottom: 0;
  }

  .capability span {
    margin-bottom: 34px;
  }

  .feature-story {
    padding: 22px;
  }

  .feature-copy span {
    margin-bottom: 28px;
  }

  .feature-copy p {
    font-size: 15px;
  }

  .feature-lines {
    gap: 8px;
    margin-top: 18px;
  }

  .feature-lines li {
    font-size: 14px;
  }

  .feature-visual {
    min-height: 300px;
  }

  .asset-board,
  .chat-map,
  .prompt-stack,
  .script-stage,
  .responsive-set,
  .feature-settings-panel,
  .data-vault,
  .audience-settings {
    border-radius: 18px;
  }

  .feature-settings-panel {
    padding: 14px 8px;
  }

  .asset-toolbar {
    grid-template-columns: 1fr;
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-grid article {
    padding: 8px;
  }

  .chat-thread strong {
    font-size: 20px;
  }

  .message-branch {
    min-height: 120px;
  }

  .feature-phone {
    max-width: 300px;
    min-height: 470px;
  }

  .feature-phone-body {
    min-height: 292px;
    padding: 20px 6px 84px;
  }

  .ui-bubble {
    width: 90%;
    padding: 14px;
    font-size: 13px;
  }

  .floating-input {
    left: 18px;
    right: 18px;
    bottom: 18px;
    grid-template-columns: 36px minmax(0, 1fr) 40px;
  }

  .floating-input span,
  .floating-input strong {
    width: 36px;
    height: 36px;
  }

  .floating-input strong {
    width: 40px;
    height: 40px;
  }

  .context-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .context-row em {
    grid-column: 2;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .sync-screen {
    min-height: 500px;
    padding: 18px;
  }

  .sync-dialog {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    padding: 18px;
  }

  .sync-tabs {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .sync-tabs span {
    border-right: 0;
    border-bottom: 1px solid rgba(133, 111, 164, 0.24);
  }

  .sync-tabs span:last-child {
    border-bottom: 0;
  }

  .script-stage {
    padding: 18px;
  }

  .script-widget {
    grid-template-columns: 1fr;
  }

  .responsive-set {
    min-height: 300px;
    padding: 16px;
  }

  .desktop-frame {
    width: calc(100% - 92px);
    height: 190px;
    grid-template-columns: 0.7fr 1fr;
  }

  .desktop-frame span:last-child {
    display: none;
  }

  .floating-window {
    left: 28px;
    right: 98px;
    bottom: 36px;
  }

  .mini-phone {
    right: 16px;
    top: 40px;
    bottom: auto;
    width: 72px;
    min-height: 170px;
  }

  .audience-settings strong,
  .data-vault strong {
    font-size: 24px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workflow-media {
    min-height: 300px;
  }

  .workflow-product {
    min-height: 420px;
    padding: 14px;
  }

  .workflow-window {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .workflow-sidebar {
    display: none;
  }

  .policy-card {
    min-height: auto;
  }

  .site-footer {
    display: grid;
    padding-inline: 18px;
  }

  .site-footer p:last-child {
    justify-content: flex-start;
  }
}
