@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #f6f0e4;
  --ink: #1f1d18;
  --muted: #5d554a;
  --card: #fffaf1;
  --mint: #dff2bf;
  --butter: #f8dc90;
  --blush: #f6b8c9;
  --sky: #bddcf7;
  --lavender: #d1c7f3;
  --peach: #ffbf91;
  --line: #1f1d18;
  --shadow: 0 14px 0 rgba(31, 29, 24, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --page-width: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { overflow-wrap: anywhere; }

.page-shell {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
}

.side-rail {
  position: sticky;
  top: 22px;
  align-self: start;
  background: rgba(255, 250, 241, 0.78);
  border: 2px solid rgba(31, 29, 24, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  min-height: calc(100vh - 44px);
  backdrop-filter: blur(14px);
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blush), var(--butter));
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.brand-title {
  font-size: 2rem;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin: 0;
  text-transform: uppercase;
}

.brand-subtitle,
.rail-note,
.stat-label,
.kicker,
.muted,
.legal-meta,
.legal-copy p,
.feature-copy,
.process-copy,
.platform-copy,
.footer-links,
.token-note,
.signal-copy,
.highlight-copy,
.faq-item p {
  color: var(--muted);
}

.brand-subtitle {
  font-size: 0.96rem;
  line-height: 1.45;
  margin-top: 12px;
}

.rail-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.orbit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 2px solid rgba(31, 29, 24, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rail-nav {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.rail-nav a,
.rail-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid rgba(31, 29, 24, 0.12);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.rail-nav a:hover,
.rail-actions a:hover,
.primary-cta:hover,
.secondary-cta:hover,
.inline-cta:hover {
  transform: translateY(-2px);
}

.rail-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.rail-note {
  margin-top: 24px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.rail-credit,
.footer-studio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid rgba(31, 29, 24, 0.12);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-stage {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.hero-grid,
.collage-grid,
.story-grid,
.platform-grid,
.signal-grid,
.footer-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.signal-grid {
  grid-template-columns: 1.2fr 1fr;
}

.panel,
.tile,
.quote-card,
.stats-card,
.legal-card,
.faq-item {
  border-radius: var(--radius-xl);
  border: 2px solid rgba(31, 29, 24, 0.12);
  background: var(--card);
  overflow: hidden;
  position: relative;
}

.panel::before,
.tile::before,
.quote-card::before,
.stats-card::before,
.legal-card::before,
.faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.panel-body,
.tile-body,
.stats-body,
.legal-body,
.faq-body {
  padding: 28px;
  min-width: 0;
}

.hero-primary {
  background: linear-gradient(145deg, #fff9ef 0%, #ffd7a1 100%);
  min-height: 610px;
}

.hero-primary .kicker,
.hero-secondary .kicker,
.tile .kicker,
.legal-card .kicker {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.massive-title {
  font-size: clamp(4rem, 8vw, 7.3rem);
  line-height: 0.87;
  letter-spacing: -0.08em;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  max-width: 10ch;
}

.hero-copy,
.lead-copy {
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 55ch;
  margin-top: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-cta,
.secondary-cta,
.inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 800;
  border: 2px solid rgba(31, 29, 24, 0.12);
  transition: transform 160ms ease;
}

.primary-cta {
  background: var(--ink);
  color: #fff9ef;
}

.secondary-cta,
.inline-cta {
  background: rgba(255,255,255,0.55);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 2px solid rgba(31, 29, 24, 0.12);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-art {
  margin-top: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.3));
  border: 2px solid rgba(31, 29, 24, 0.08);
  padding: 20px;
  position: relative;
}

.feed-card {
  background: #181613;
  color: #fff7e7;
  border-radius: 26px;
  padding: 18px;
  min-height: 290px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.feed-header,
.feed-meta,
.token-meta,
.process-step,
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--butter));
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 900;
}

.feed-name {
  font-weight: 800;
  font-size: 1.08rem;
}

.feed-handle,
.feed-time,
.token-note,
.process-step small,
.quote-source,
.footer-links {
  font-size: 0.92rem;
}

.feed-text {
  font-size: 1.72rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.feed-image {
  flex: 1;
  min-height: 150px;
  border-radius: 22px;
  background: linear-gradient(145deg, #dff2bf, #bddcf7);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 3.2rem;
}

.hero-asset,
.product-asset,
.mural-asset {
  width: 100%;
  height: auto;
  display: block;
}

.hero-asset {
  max-width: 100%;
}

.hero-chip-rack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid rgba(31, 29, 24, 0.1);
  background: rgba(255, 250, 241, 0.9);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-stage {
  position: relative;
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.28));
  border: 2px solid rgba(31, 29, 24, 0.08);
  padding: 16px;
  overflow: hidden;
}

.product-asset {
  max-width: 430px;
  margin: 0 auto;
  animation: float-bob 7.5s ease-in-out infinite;
}

.product-sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid rgba(31, 29, 24, 0.12);
  background: rgba(255, 249, 239, 0.94);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-sticker-a {
  top: 20px;
  left: 18px;
}

.product-sticker-b {
  right: 18px;
  bottom: 18px;
}

.hero-secondary {
  background: linear-gradient(180deg, #c9e3ff 0%, #f7f0ff 100%);
  min-height: 610px;
}

.collage-panel {
  min-height: 430px;
}

.collage-panel-light {
  background: linear-gradient(145deg, #fff9ef 0%, #eff8d8 100%);
}

.collage-panel-dark {
  background: linear-gradient(145deg, #1d1a17 0%, #332920 100%);
  color: #fff8ef;
}

.collage-panel-dark .feature-copy,
.collage-panel-dark .kicker {
  color: rgba(255, 248, 239, 0.68);
}

.collage-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 22px;
  align-items: center;
  min-width: 0;
}

.collage-copy .section-title {
  max-width: 10ch;
}

.collage-shell-feature {
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: stretch;
}

.collage-panel-feature .section-title,
.collage-panel-chat .section-title {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.9;
}

.collage-panel-feature .feature-copy,
.collage-panel-chat .feature-copy {
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.5;
}

.collage-shell-chat {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
}

.feature-stage {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  min-width: 0;
}

.feature-mini-stack {
  order: 1;
  display: grid;
  gap: 12px;
  align-content: end;
}

.feature-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 2px solid rgba(31, 29, 24, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-mini-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--butter), var(--peach));
  box-shadow: 0 0 0 6px rgba(255, 216, 161, 0.38);
  flex: 0 0 auto;
}

.feature-mini-dot-blue {
  background: linear-gradient(135deg, #9bc5ff, #64a7ff);
  box-shadow: 0 0 0 6px rgba(157, 202, 255, 0.3);
}

.feature-mini-dot-pink {
  background: linear-gradient(135deg, #ffacd7, #ff7fbd);
  box-shadow: 0 0 0 6px rgba(255, 172, 215, 0.3);
}

.collage-panel-feature .collage-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.collage-panel-feature .collage-copy .section-title {
  max-width: 6.3ch;
}

.collage-panel-feature .feature-copy {
  max-width: 26ch;
}

.collage-visual-shell {
  position: relative;
  border-radius: 28px;
  border: 2px solid rgba(31, 29, 24, 0.08);
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
  padding: 10px;
  box-shadow: var(--shadow);
}

.feature-stage .collage-visual-shell {
  order: 2;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}

.collage-visual-shell-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 248, 239, 0.1);
}

.collage-asset {
  width: 100%;
  height: auto;
  display: block;
  animation: float-drift 10s ease-in-out infinite;
}

.collage-chips,
.command-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.command-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 248, 239, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.12);
  color: #fff8ef;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dm-demo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 16px;
}

.dm-orb-shell {
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  margin-bottom: 2px;
}

.dm-orb {
  width: min(180px, 28%);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
  animation: float-bob 8.8s ease-in-out infinite;
}

.dm-window {
  position: relative;
  z-index: 1;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(31, 27, 23, 0.96), rgba(18, 15, 13, 0.98));
  border: 2px solid rgba(255, 248, 239, 0.1);
  border-radius: 28px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  min-width: 0;
}

.collage-copy-chat {
  display: grid;
  gap: 16px;
  max-width: 44ch;
}

.collage-copy-chat .section-title {
  max-width: 8ch;
  font-size: clamp(2.5rem, 4.1vw, 4.4rem);
}

.collage-panel-chat .feature-copy {
  max-width: 42ch;
}

.dm-window::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 201, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(189, 220, 247, 0.12), transparent 32%);
  pointer-events: none;
}

.dm-window-header,
.dm-composer,
.dm-quick-actions {
  position: relative;
  z-index: 1;
}

.dm-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(255, 248, 239, 0.08);
}

.dm-window-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dm-window-identity strong {
  display: block;
  color: #fff8ef;
  font-size: 0.98rem;
}

.dm-window-identity small {
  display: block;
  color: rgba(255, 248, 239, 0.58);
  font-size: 0.8rem;
}

.dm-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--butter), var(--blush));
  color: var(--ink);
  font-weight: 900;
  font-size: 0.84rem;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.dm-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 242, 191, 0.14);
  border: 1px solid rgba(223, 242, 191, 0.28);
  color: #f4ffe2;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.dm-thread {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  min-height: 320px;
}

.dm-message {
  display: flex;
}

.dm-message-user {
  justify-content: flex-end;
}

.dm-message-bot {
  justify-content: flex-start;
}

.dm-bubble {
  max-width: 88%;
  padding: 13px 15px;
  border-radius: 18px;
  line-height: 1.45;
  font-size: 0.94rem;
  color: #fff8ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 248, 239, 0.1);
  overflow-wrap: anywhere;
}

.dm-message-user .dm-bubble {
  background: linear-gradient(145deg, rgba(255, 184, 201, 0.22), rgba(189, 220, 247, 0.16));
}

.dm-message-bot .dm-bubble strong {
  color: #fffdf3;
}

.dm-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px 14px;
}

.dm-quick {
  appearance: none;
  border: 1px solid rgba(255, 248, 239, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ef;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.dm-quick:hover,
.dm-send:hover {
  transform: translateY(-2px);
}

.dm-composer {
  display: flex;
  gap: 10px;
  padding: 0 18px 18px;
}

.dm-input {
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 248, 239, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ef;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.dm-input::placeholder {
  color: rgba(255, 248, 239, 0.42);
}

.dm-input:focus {
  border-color: rgba(255, 248, 239, 0.28);
  box-shadow: 0 0 0 4px rgba(189, 220, 247, 0.12);
}

.dm-send {
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, var(--butter), var(--blush));
  color: var(--ink);
  border-radius: 18px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stats-card {
  background: linear-gradient(145deg, #fff8ef 0%, #f4e6ff 100%);
}

.stats-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.stats-visual {
  background: rgba(255, 255, 255, 0.56);
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 2px solid rgba(31, 29, 24, 0.09);
}

.stat-row:first-child { border-top: 0; }
.stat-value {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.story-panel {
  min-height: 440px;
}

.story-panel.mint { background: linear-gradient(160deg, var(--mint), #f8ffef); }
.story-panel.blush { background: linear-gradient(160deg, var(--blush), #fff6fb); }
.story-panel.sky { background: linear-gradient(160deg, var(--sky), #f4fbff); }
.story-panel.butter { background: linear-gradient(160deg, var(--butter), #fffaf1); }

.section-title,
.legal-title {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-icon-row {
  display: flex;
  gap: 10px;
  margin: 16px 0 6px;
}

.mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.72);
  border: 2px solid rgba(31,29,24,0.1);
  box-shadow: var(--shadow);
  font-weight: 900;
  font-size: 1rem;
}

.feature-list,
.legal-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li,
.legal-list li {
  padding-left: 18px;
  position: relative;
  font-size: 1rem;
  line-height: 1.45;
}

.feature-list li::before,
.legal-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.story-visual,
.stats-visual {
  position: relative;
  margin-top: 18px;
  margin-bottom: 18px;
  border-radius: 26px;
  border: 2px solid rgba(31, 29, 24, 0.08);
  background: rgba(255, 255, 255, 0.58);
  padding: 18px;
  overflow: hidden;
}

.story-visual-studio {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 242, 247, 0.82));
}

.story-asset,
.stats-asset {
  width: 100%;
  height: auto;
  display: block;
}

.story-stickers,
.stats-chip-row,
.formula-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.story-sticker,
.stats-chip,
.formula-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid rgba(31, 29, 24, 0.12);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.platform-tile {
  min-height: 380px;
}

.platform-tile .tile-body {
  position: relative;
}

.platform-pill {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid rgba(31,29,24,0.12);
  background: rgba(255,255,255,0.62);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.platform-object-wrap {
  margin-top: 16px;
  margin-bottom: 16px;
  border-radius: 24px;
  border: 2px solid rgba(31,29,24,0.08);
  background: rgba(255,255,255,0.5);
  overflow: hidden;
}

.platform-object {
  width: 100%;
  height: auto;
  display: block;
  animation: float-bob 9s ease-in-out infinite;
}

.platform-glyph {
  position: absolute;
  right: 28px;
  top: 24px;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.74);
  border: 2px solid rgba(31,29,24,0.08);
  box-shadow: var(--shadow);
  font-size: 1.8rem;
  font-weight: 900;
}

.quote-card {
  background: #fff8ef;
}

.quote-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid rgba(31, 29, 24, 0.12);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-badge-x { background: var(--butter); }
.quote-badge-t { background: var(--blush); }
.quote-badge-b { background: var(--sky); }
.quote-badge-k { background: var(--lavender); }
.quote-badge-v { background: var(--mint); }

.quote-card blockquote {
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.expansion-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.expansion-orb {
  aspect-ratio: 1;
  border-radius: 26px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(31, 29, 24, 0.1);
  box-shadow: var(--shadow);
  font-size: 1.65rem;
  font-weight: 900;
  padding: 18px 14px;
  text-align: center;
}

.expansion-orb span {
  font-size: 1.65rem;
  line-height: 1;
}

.expansion-orb small {
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.signal-panel {
  min-height: 520px;
  background: linear-gradient(145deg, #fff9ef 0%, #ffd8c0 100%);
}

.mural-panel {
  background: linear-gradient(145deg, #fffaf1 0%, #ecf7ce 45%, #dbe8ff 100%);
}

.mural-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  align-items: center;
  gap: 24px;
}

.mural-copy .section-title {
  max-width: 10ch;
}

.mural-asset {
  border-radius: 28px;
  border: 2px solid rgba(31,29,24,0.08);
  background: rgba(255,255,255,0.42);
}

.command-card {
  background: #191714;
  color: #fff8ef;
  border-radius: 24px;
  padding: 18px;
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 0;
}

.command code {
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
}

.command span {
  color: rgba(255, 248, 239, 0.7);
  text-align: right;
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.process-step {
  background: rgba(255,255,255,0.56);
  border: 2px solid rgba(31,29,24,0.09);
  border-radius: 20px;
  padding: 16px 18px;
  align-items: flex-start;
}

.process-step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.faq-item p {
  margin: 12px 0 0;
  line-height: 1.55;
}

.faq-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(31, 29, 24, 0.1);
  box-shadow: var(--shadow);
  font-size: 1rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.footer-panel {
  background: #1a1815;
  color: #fff8ef;
}

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

.footer-object-shell {
  border-radius: 28px;
  border: 2px solid rgba(255,248,239,0.08);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-bottom: 20px;
}

.footer-object {
  width: 100%;
  height: auto;
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.footer-links a {
  color: #fff0c8;
  font-weight: 700;
}

.footer-note {
  color: rgba(255,248,239,0.68);
  margin-top: 18px;
  line-height: 1.5;
}

.footer-studio {
  color: var(--ink);
}

@keyframes float-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0.0001deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.0001deg);
  }
}

@keyframes float-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0.0001deg);
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(-1.2deg);
  }
}

.legal-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px;
}

.legal-hero {
  background: linear-gradient(145deg, #fff8ef, #dff2bf);
  min-height: 300px;
}

.legal-copy {
  display: grid;
  gap: 22px;
}

.legal-copy h2 {
  font-size: 1.55rem;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.legal-copy section {
  padding-top: 12px;
  border-top: 2px solid rgba(31,29,24,0.08);
}

.legal-copy section:first-child { border-top: 0; padding-top: 0; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.64);
  border: 2px solid rgba(31,29,24,0.12);
  font-weight: 800;
  margin-bottom: 18px;
}

@media (max-width: 1180px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .brand-title br {
    display: none;
  }

  .brand-title {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

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

  .hero-grid,
  .collage-grid,
  .story-grid,
  .signal-grid,
  .platform-grid,
  .mural-shell,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .collage-shell,
  .collage-shell-chat {
    grid-template-columns: 1fr;
  }

  .collage-shell-feature {
    grid-template-columns: 1fr;
  }

  .feature-stage {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .dm-demo {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .page-shell,
  .legal-shell {
    padding: 14px;
  }

  .main-stage {
    gap: 16px;
  }

  .side-rail {
    padding: 18px;
    border-radius: 26px;
    gap: 14px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 0;
  }

  .brand-title {
    font-size: 2.4rem;
    line-height: 0.9;
  }

  .massive-title {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
    max-width: 8.5ch;
  }

  .section-title,
  .legal-title {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 0.94;
  }

  .brand-subtitle,
  .rail-note {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 0;
  }

  .rail-nav,
  .rail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-template-columns: none;
  }

  .rail-nav a,
  .rail-actions a {
    width: auto;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.88rem;
    line-height: 1;
    flex: 0 0 auto;
  }

  .rail-nav a span {
    display: none;
  }

  .orbit-pill {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .panel-body,
  .tile-body,
  .stats-body,
  .legal-body,
  .faq-body {
    padding: 20px;
  }

  .panel,
  .tile,
  .quote-card,
  .stats-card,
  .legal-card,
  .faq-item {
    border-radius: 24px;
  }

  .massive-title {
    font-size: clamp(3rem, 16vw, 4.7rem);
    max-width: none;
  }

  .section-title,
  .legal-title {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .hero-primary,
  .hero-secondary,
  .story-panel,
  .platform-tile,
  .signal-panel {
    min-height: auto;
  }

  .hero-copy,
  .lead-copy,
  .platform-copy,
  .signal-copy,
  .feature-copy,
  .faq-item p,
  .footer-note,
  .legal-copy p {
    font-size: 1rem;
  }

  .feed-card {
    min-height: auto;
    padding: 16px;
  }

  .feed-header,
  .command {
    flex-direction: column;
    align-items: flex-start;
  }

  .feed-time,
  .command span {
    text-align: left;
  }

  .feed-image {
    min-height: 110px;
    border-radius: 18px;
    font-size: 2.4rem;
  }

  .badge-row,
  .cta-row,
  .footer-links {
    gap: 8px;
  }

  .rail-credit,
  .footer-studio {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  .product-stage {
    padding: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .product-sticker {
    position: static;
    margin-top: 10px;
    margin-right: 8px;
  }

  .platform-glyph {
    position: static;
    margin-top: 14px;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .platform-object-wrap {
    border-radius: 20px;
  }

  .collage-shell,
  .mural-shell {
    grid-template-columns: 1fr;
  }

  .collage-panel-feature .section-title,
  .collage-panel-chat .section-title {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
    max-width: none;
  }

  .collage-panel-feature .feature-copy,
  .collage-panel-chat .feature-copy {
    max-width: none;
  }

  .feature-stage {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .feature-stage .collage-visual-shell,
  .feature-mini-stack {
    order: initial;
  }

  .collage-copy .section-title,
  .mural-copy .section-title {
    max-width: none;
  }

  .collage-visual-shell {
    border-radius: 22px;
  }

  .feature-mini-card {
    font-size: 0.76rem;
    padding: 12px 14px;
    min-height: 0;
  }

  .dm-orb-shell {
    justify-content: center;
  }

  .dm-orb {
    width: min(180px, 54%);
  }

  .dm-window {
    margin-top: -18px;
    border-radius: 22px;
  }

  .dm-window-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dm-thread {
    min-height: auto;
    padding: 14px 16px;
  }

  .dm-bubble {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .dm-quick-actions {
    padding: 0 16px 12px;
  }

  .dm-composer {
    flex-direction: column;
    padding: 0 16px 16px;
  }

  .dm-send {
    width: 100%;
    min-height: 46px;
  }

  .mini-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .mural-copy .section-title {
    max-width: none;
  }

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

  .expansion-orb {
    border-radius: 20px;
    padding: 14px 10px;
  }

  .expansion-orb span {
    font-size: 1.25rem;
  }

  .expansion-orb small {
    font-size: 0.72rem;
  }

  .badge {
    font-size: 0.84rem;
    padding: 9px 12px;
  }

  .process-step {
    padding: 14px 16px;
  }

  .process-step span {
    width: 32px;
    height: 32px;
  }

  .feed-text,
  .quote-card blockquote {
    font-size: 1.55rem;
  }

  .story-visual,
  .stats-visual {
    padding: 14px;
    border-radius: 22px;
  }

  .footer-object-shell {
    border-radius: 22px;
  }

  .hero-chip,
  .story-sticker,
  .stats-chip,
  .formula-pill,
  .quote-badge,
  .command-pill {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    padding: 9px 12px;
  }

  .faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    font-size: 0.92rem;
  }

  .primary-cta,
  .secondary-cta,
  .inline-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
  }
}
