@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #0f1216;
  --bg-deep: #0a0d10;
  --surface: rgba(21, 26, 32, 0.88);
  --surface-strong: rgba(30, 35, 43, 0.96);
  --surface-soft: rgba(245, 243, 238, 0.03);
  --text: #f5f3ee;
  --muted: #8a8f98;
  --border: rgba(138, 143, 152, 0.18);
  --accent: #f59e0b;
  --accent-strong: #e6892e;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --accent-faint: rgba(245, 158, 11, 0.08);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 16px;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(196, 122, 58, 0.14), transparent 24%),
    linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0f1216 0%, #12171d 100%);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.08), transparent 52%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

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

button,
input,
textarea {
  font: inherit;
}

code,
pre {
  font-family: "IBM Plex Mono", "SFMono-Regular", "Consolas", monospace;
}

.ambient {
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 28px;
  opacity: 0.42;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.ambient-one {
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0.03));
  height: 16rem;
  left: 3rem;
  top: 4rem;
  transform: rotate(8deg);
  width: 16rem;
  animation: drift-one 16s ease-in-out infinite alternate;
}

.ambient-two {
  background:
    linear-gradient(180deg, rgba(196, 122, 58, 0.16), rgba(245, 158, 11, 0.04));
  bottom: 4rem;
  height: 12rem;
  right: 5rem;
  transform: rotate(-12deg);
  width: 12rem;
  animation: drift-two 18s ease-in-out infinite alternate;
}

.page-shell {
  margin: 0 auto;
  max-width: 1240px;
  padding: 1.4rem 1.25rem 4rem;
  position: relative;
  z-index: 1;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.9rem;
}

.brand-mark {
  display: block;
  flex-shrink: 0;
  height: 3rem;
  width: 3rem;
}

.brand-logo {
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav,
.header-actions,
.hero-actions,
.cta-actions,
.tagline-list,
.hero-points {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-nav a,
.text-link {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.button,
.primary-button,
.ghost-button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1.25rem;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
button:hover:not(:disabled) {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.button:disabled,
button:disabled {
  cursor: progress;
  opacity: 0.6;
}

.button-primary,
.primary-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.18);
  color: var(--bg);
}

.button-secondary,
.ghost-button {
  background: rgba(31, 36, 43, 0.88);
  border: 1px solid var(--border);
  color: var(--text);
}

.button-small {
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
}

.button-block {
  width: 100%;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.muted,
.hero-text,
.section-intro,
.compact-text,
.placeholder-card p,
.support-copy {
  color: var(--muted);
}

.hero-panel,
.section-block,
.auth-card,
.banner,
.flash {
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-panel,
.section-block,
.auth-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.hero-panel::after,
.section-block::after,
.auth-card::after {
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(245, 158, 11, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 68%);
  pointer-events: none;
  position: absolute;
}

.hero-panel {
  padding: 1.6rem;
}

.hero-grid {
  display: grid;
  gap: 1.15rem;
}

.hero-copy {
  display: grid;
  gap: 0.95rem;
  max-width: none;
  width: 100%;
}

.hero-heading {
  max-width: none;
}

.hero-heading h1 {
  font-size: clamp(2.95rem, 4.65vw, 4.95rem);
  line-height: 0.97;
  max-width: 100%;
}

.hero-top {
  align-items: center;
  display: grid;
  gap: 1.2rem 1.8rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  min-height: 20rem;
}

.hero-wrap-figure {
  aspect-ratio: 2752 / 1536;
  justify-self: center;
  margin: 0;
  width: min(100%, 32rem);
}

.hero-wrap-visual {
  display: block;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.22));
  height: auto;
  object-fit: contain;
  width: 100%;
}

.hero-lead {
  color: rgba(245, 243, 238, 0.92);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: none;
}

.hero-text {
  font-size: 1rem;
  max-width: none;
}

.hero-actions {
  margin-top: 0.25rem;
}

.hero-points {
  margin-top: 0.95rem;
}

.hero-points span,
.tagline-pill,
.mini-pill,
.hero-badge,
.pill {
  align-items: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.14);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 2.3rem;
  padding: 0.45rem 0.9rem;
}

.frame-card,
.visual-card,
.consult-card,
.placeholder-card,
.statement-card,
.capability-card,
.step-card,
.highlight-card,
.limit-card,
.panel {
  background: var(--surface-strong);
  border: 1px solid rgba(138, 143, 152, 0.12);
  border-radius: 20px;
  position: relative;
}

.frame-card,
.visual-card,
.consult-card,
.statement-card,
.placeholder-card,
.highlight-card,
.limit-card {
  padding: 1.25rem;
}

.visual-label,
.placeholder-label {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.blueprint-board {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
}

.blueprint-copy {
  align-content: start;
  display: grid;
  gap: 0.55rem;
}

.blueprint-copy h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.blueprint-copy p {
  color: var(--muted);
  max-width: 34rem;
}

.blueprint-surface {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.section-visual {
  background:
    linear-gradient(180deg, rgba(245, 243, 238, 0.03), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(138, 143, 152, 0.14);
  border-radius: 22px;
  display: block;
  height: auto;
  width: 100%;
}

.comparison-visual {
  background: transparent;
  border: 0;
  border-radius: 20px;
}

.comparison-caption {
  margin-top: 0.2rem;
  text-align: center;
}

.platform-points {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platform-tags span {
  align-items: center;
  background: rgba(245, 243, 238, 0.03);
  border: 1px solid rgba(138, 143, 152, 0.12);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 2.5rem;
  padding: 0.5rem 0.95rem;
}

.platform-point {
  background: rgba(245, 243, 238, 0.03);
  border: 1px solid rgba(138, 143, 152, 0.12);
  border-radius: 18px;
  padding: 0.95rem 1rem;
}

.platform-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.platform-point span {
  color: var(--muted);
  display: block;
  font-size: 0.94rem;
}

.blueprint-nodes,
.capability-grid,
.process-grid,
.limits-grid,
.why-grid,
.value-grid,
.cta-grid,
.auth-grid,
.status-grid {
  display: grid;
  gap: 1rem;
}

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

.node {
  background: linear-gradient(180deg, rgba(245, 243, 238, 0.03), rgba(245, 158, 11, 0.06));
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: 18px;
  min-height: 5.5rem;
  padding: 1rem;
}

.node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.node span {
  color: var(--muted);
  display: block;
  font-size: 0.94rem;
}

.node-primary {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.06));
  grid-column: span 2;
}

.metrics-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.2rem;
}

.metric {
  background: rgba(245, 243, 238, 0.02);
  border: 1px solid rgba(138, 143, 152, 0.12);
  border-radius: 18px;
  padding: 1rem;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
}

.section-block {
  margin-top: 1.25rem;
  padding: 1.45rem;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}

.section-intro {
  font-size: 1.02rem;
}

.value-grid,
.why-grid,
.cta-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  margin-top: 1.4rem;
}

.statement-card {
  display: grid;
  gap: 1rem;
}

.comparison-list,
.feature-list,
.outcome-list {
  display: grid;
  gap: 0.75rem;
}

.comparison-item,
.feature-item,
.outcome-item {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
}

.comparison-item strong,
.feature-item strong,
.outcome-item strong,
.step-number {
  align-items: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.16);
  border-radius: 12px;
  color: var(--accent);
  display: inline-flex;
  flex: none;
  font-family: var(--font-display);
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.comparison-item p,
.feature-item p,
.outcome-item p {
  color: var(--muted);
}

#why-bitcraft .highlight-card {
  display: grid;
  gap: 1.35rem;
}

#why-bitcraft .highlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.1;
  margin: 0;
  max-width: 18ch;
}

#why-bitcraft .feature-list {
  gap: 1rem;
}

#why-bitcraft .feature-item {
  color: var(--muted);
  display: block;
  font-size: 1.03rem;
  line-height: 1.65;
  margin: 0;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.capability-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.capability-card:hover {
  border-color: rgba(245, 158, 11, 0.24);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.capability-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.highlight-card {
  display: grid;
  gap: 1rem;
}

.visual-card {
  display: grid;
  gap: 1rem;
}

.consult-card {
  display: grid;
  gap: 1rem;
}

.feature-list {
  margin-top: 0.2rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.step-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
}

.step-card p {
  color: var(--muted);
}

.limits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.limit-card {
  min-height: 100%;
}

.limit-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.limit-card p {
  color: var(--muted);
}

.placeholder-card {
  border-style: dashed;
}

.visual-card strong,
.consult-card strong,
.placeholder-card strong,
.statement-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.consult-window {
  background: rgba(245, 243, 238, 0.02);
  border: 1px solid rgba(138, 143, 152, 0.12);
  border-radius: 20px;
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
}

.consult-field {
  display: grid;
  gap: 0.6rem;
}

.consult-label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-option {
  align-items: center;
  background: rgba(245, 243, 238, 0.04);
  border: 1px solid rgba(138, 143, 152, 0.14);
  border-radius: 14px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 2.55rem;
  padding: 0.55rem 0.85rem;
}

.chip-option-strong {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.24);
}

.cta-grid {
  align-items: stretch;
}

.cta-note {
  margin-top: 1rem;
}

.marketing-footer {
  color: var(--muted);
  margin-top: 1.25rem;
  text-align: center;
}

.auth-hero {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.auth-hero-copy {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.auth-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 12ch;
}

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

.auth-card {
  padding: 1.25rem;
}

.auth-card.wide {
  grid-column: span 2;
}

.status-grid {
  max-width: 48rem;
}

.banner,
.flash {
  border-radius: 18px;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
}

.flash {
  white-space: pre-line;
}

.flash.error {
  background: rgba(55, 37, 22, 0.94);
  border-color: rgba(230, 137, 46, 0.24);
}

.flash.success {
  background: rgba(26, 33, 40, 0.94);
  border-color: rgba(245, 158, 11, 0.18);
}

.hidden {
  display: none;
}

.card-head,
.inline-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.inline-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stack {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.42rem;
}

label span,
dt {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

input {
  background: rgba(15, 18, 22, 0.82);
  border: 1px solid rgba(138, 143, 152, 0.18);
  border-radius: 14px;
  color: var(--text);
  min-height: 3rem;
  outline: none;
  padding: 0.82rem 0.95rem;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

input:focus {
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

textarea {
  background: rgba(15, 18, 22, 0.82);
  border: 1px solid rgba(138, 143, 152, 0.18);
  border-radius: 18px;
  color: var(--text);
  min-height: 8.5rem;
  outline: none;
  padding: 0.95rem 1rem;
  resize: vertical;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
  width: 100%;
}

textarea:focus {
  border-color: rgba(245, 158, 11, 0.42);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

.summary-list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.summary-list div {
  align-items: baseline;
  border-bottom: 1px dashed rgba(138, 143, 152, 0.16);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-bottom: 0.65rem;
}

.summary-list.compact {
  margin-top: 1rem;
}

.summary-list.compact div {
  gap: 1.25rem;
}

dd {
  font-size: 0.94rem;
  margin: 0;
  text-align: right;
  word-break: break-word;
}

.panel {
  margin-top: 1rem;
  padding: 1rem;
}

.panel .stack {
  margin-top: 0.85rem;
}

.compact-text {
  font-size: 0.96rem;
  margin-top: 0.65rem;
}

pre {
  color: var(--text);
  margin: 0.75rem 0 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

code {
  color: var(--accent);
}

.support-copy {
  font-size: 0.95rem;
  margin-top: 0.95rem;
}

.top-gap {
  margin-top: 1rem;
}

.support-copy a {
  color: var(--accent);
}

.chatbot-section {
  scroll-margin-top: 1.25rem;
}

.chatbot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(19rem, 0.34fr) minmax(0, 0.66fr);
  margin-top: 1.4rem;
}

.chatbot-sidebar,
.chatbot-main {
  display: grid;
  gap: 1rem;
}

.chatbot-auth-panel,
.chatbot-conversations-panel,
.chatbot-thread-shell {
  display: grid;
  gap: 1rem;
}

.chatbot-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chatbot-conversation-list {
  display: grid;
  gap: 0.75rem;
}

.chatbot-conversation-button {
  background: rgba(245, 243, 238, 0.03);
  border: 1px solid rgba(138, 143, 152, 0.16);
  border-radius: 18px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}

.chatbot-conversation-button:hover:not(:disabled) {
  border-color: rgba(245, 158, 11, 0.26);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.chatbot-conversation-button.is-active {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
  border-color: rgba(245, 158, 11, 0.28);
}

.chatbot-conversation-title {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.25;
}

.chatbot-conversation-preview,
.chatbot-conversation-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.chatbot-thread-shell {
  min-height: 100%;
}

.chatbot-thread-head {
  align-items: flex-start;
}

.chatbot-thread-copy {
  display: grid;
  gap: 0.35rem;
}

.chatbot-thread {
  background:
    linear-gradient(180deg, rgba(245, 243, 238, 0.02), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(138, 143, 152, 0.12);
  border-radius: 20px;
  display: grid;
  gap: 0.9rem;
  max-height: 36rem;
  min-height: 26rem;
  overflow: auto;
  padding: 1rem;
}

.chatbot-empty {
  align-content: center;
  display: grid;
  gap: 0.9rem;
  min-height: 100%;
}

.chatbot-empty h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.1;
  max-width: 18ch;
}

.chatbot-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chatbot-suggestion {
  cursor: pointer;
}

.chatbot-message {
  display: grid;
  gap: 0.45rem;
  max-width: min(36rem, 88%);
}

.chatbot-message.is-user {
  justify-self: end;
}

.chatbot-message.is-assistant {
  justify-self: start;
}

.chatbot-bubble {
  border: 1px solid rgba(138, 143, 152, 0.15);
  border-radius: 20px;
  color: var(--text);
  padding: 0.9rem 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.chatbot-message.is-user .chatbot-bubble {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.94), rgba(230, 137, 46, 0.94));
  border-color: rgba(245, 158, 11, 0.26);
  color: var(--bg);
}

.chatbot-message.is-assistant .chatbot-bubble {
  background: rgba(245, 243, 238, 0.04);
}

.chatbot-message-meta {
  color: var(--muted);
  font-size: 0.84rem;
  padding: 0 0.2rem;
}

.chatbot-form {
  display: grid;
  gap: 0.9rem;
}

.chatbot-compose {
  display: grid;
  gap: 0.5rem;
}

.chatbot-compose-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.chatbot-compose-actions .support-copy {
  margin-top: 0;
}

.chatbot-inline-note {
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes drift-one {
  from {
    transform: rotate(8deg) translateY(0);
  }

  to {
    transform: rotate(4deg) translateY(16px);
  }
}

@keyframes drift-two {
  from {
    transform: rotate(-12deg) translateY(0);
  }

  to {
    transform: rotate(-6deg) translateY(-18px);
  }
}

@media (max-width: 1100px) {
  .value-grid,
  .why-grid,
  .cta-grid,
  .auth-grid,
  .chatbot-grid {
    grid-template-columns: 1fr;
  }

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

  .process-grid,
  .limits-grid,
  .metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blueprint-board {
    grid-template-columns: 1fr;
  }

  .hero-top {
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    min-height: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-wrap-figure {
    width: min(100%, 24rem);
  }

  .auth-card.wide {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 1.1rem 1rem 3rem;
  }

  .site-header,
  .auth-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .hero-panel,
  .section-block,
  .auth-card {
    padding: 1.1rem;
  }

  .hero-heading {
    max-width: 9.6ch;
  }

  .hero-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-wrap-figure {
    margin: 0.15rem auto 0.35rem;
    width: min(100%, 23rem);
  }

  .blueprint-nodes,
  .capability-grid,
  .process-grid,
  .limits-grid,
  .metrics-row,
  .platform-points {
    grid-template-columns: 1fr;
  }

  .node-primary {
    grid-column: auto;
  }

  .button,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .header-actions,
  .hero-actions,
  .cta-actions,
  .chatbot-auth-actions,
  .chatbot-compose-actions,
  .chatbot-suggestion-list {
    width: 100%;
  }

  .site-nav {
    width: 100%;
  }

  .chatbot-thread-head,
  .chatbot-compose-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .chatbot-message {
    max-width: 100%;
  }

  .summary-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
