:root {
  --surface: #faf9f9;
  --surface-low: #f5f3f3;
  --surface-lowest: #ffffff;
  --surface-tint: rgba(255, 255, 255, 0.76);
  --surface-glass: rgba(255, 255, 255, 0.8);
  --text-main: #1b1c1c;
  --text-soft: #414754;
  --text-muted: #69707e;
  --outline-soft: rgba(65, 71, 84, 0.14);
  --outline-focus: rgba(65, 71, 84, 0.18);
  --primary: #0059bb;
  --primary-strong: #0070ea;
  --primary-wash: rgba(0, 89, 187, 0.08);
  --shadow-soft: 0 20px 40px rgba(27, 28, 28, 0.06);
  --shadow-lift: 0 28px 60px rgba(27, 28, 28, 0.08);
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --sans: "Manrope", "Avenir Next", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(0, 112, 234, 0.08), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(0, 89, 187, 0.09), transparent 22%),
    linear-gradient(180deg, #fcfbfb 0%, #faf9f9 38%, #f5f3f3 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.noise,
.ambient,
.grid-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.noise {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(65, 71, 84, 0.16) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 70% 40%, rgba(65, 71, 84, 0.12) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 40% 80%, rgba(65, 71, 84, 0.12) 0 0.7px, transparent 0.8px);
  background-size: 15px 15px, 21px 21px, 19px 19px;
}

.ambient-left {
  background: radial-gradient(circle at 10% 12%, rgba(0, 112, 234, 0.11), transparent 30%);
}

.ambient-right {
  background: radial-gradient(circle at 88% 10%, rgba(0, 89, 187, 0.08), transparent 24%);
}

.grid-field {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 22%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.24), transparent 42%);
}

.site-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
p,
span,
a,
strong {
  overflow-wrap: anywhere;
}

.topbar-v2 {
  position: relative;
  z-index: 120;
  overflow: visible;
  margin-top: 24px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 999px;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.brand-v2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}

.brand-v2 img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-v2 span {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-v2,
.footer-links,
.header-actions {
  display: flex;
  align-items: center;
}

.nav-v2 {
  gap: 24px;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.nav-dropdown > a {
  position: relative;
  padding-right: 16px;
}

.nav-dropdown > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after {
  transform: translateY(-35%) rotate(225deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  width: min(420px, 78vw);
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(65, 71, 84, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 28px 60px rgba(27, 28, 28, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-mega-menu {
  grid-template-columns: minmax(0, 1fr);
}

.nav-mega-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-mega-link::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 89, 187, 0.08), rgba(0, 112, 234, 0.18));
  background-image: var(--nav-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(0, 89, 187, 0.08);
}

.nav-mega-link strong {
  grid-column: 2;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.nav-mega-link span {
  grid-column: 2;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.nav-mega-link:hover,
.nav-mega-link:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(65, 71, 84, 0.12),
    0 14px 28px rgba(27, 28, 28, 0.08);
}

.nav-mega-link-featured {
  background: linear-gradient(135deg, rgba(0, 89, 187, 0.08), rgba(0, 112, 234, 0.12));
}

.nav-mega-link[href="./support-agent.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18.5V7.5A2.5 2.5 0 0 1 8.5 5h7A2.5 2.5 0 0 1 18 7.5v6A2.5 2.5 0 0 1 15.5 16H10l-4 2.5Z'/%3E%3Cpath d='M9 9.5h6'/%3E%3Cpath d='M9 12.5h4'/%3E%3C/svg%3E");
}

.nav-mega-link[href="./sales-agent.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17.5 10 12.5l3 3L19 9.5'/%3E%3Cpath d='M14.5 9.5H19V14'/%3E%3Cpath d='M5 19.5h14'/%3E%3C/svg%3E");
}

.nav-mega-link[href="./analytics-agent.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 17.5v-4'/%3E%3Cpath d='M12 17.5v-8'/%3E%3Cpath d='M18 17.5v-6'/%3E%3Cpath d='M4.5 19.5h15'/%3E%3C/svg%3E");
}

.nav-mega-link[href="./accommodation.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17.5V11a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6.5'/%3E%3Cpath d='M5 17.5h14'/%3E%3Cpath d='M7.5 9V6.5h9V9'/%3E%3C/svg%3E");
}

.nav-mega-link[href="./furniture.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5h12v4H6z'/%3E%3Cpath d='M7.5 12.5V10A2.5 2.5 0 0 1 10 7.5h4A2.5 2.5 0 0 1 16.5 10v2.5'/%3E%3Cpath d='M7.5 16.5v2'/%3E%3Cpath d='M16.5 16.5v2'/%3E%3C/svg%3E");
}

.nav-mega-link[href="./healthcare.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5v11'/%3E%3Cpath d='M6.5 12h11'/%3E%3Cpath d='M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z'/%3E%3C/svg%3E");
}

.nav-mega-link[href="./retail.html"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9h10l-1 8H8L7 9Z'/%3E%3Cpath d='M9 9a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
}

.footer-links {
  gap: 18px;
}

.nav-v2 a,
.footer-links a {
  color: var(--text-soft);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.nav-v2 a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--primary);
}

.header-actions {
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.76rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--text-main);
  color: var(--surface-lowest);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: var(--surface-lowest);
  box-shadow: 0 18px 36px rgba(0, 89, 187, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #004ca2 0%, #007bff 100%);
  box-shadow: 0 20px 38px rgba(0, 89, 187, 0.24);
}

.btn-secondary {
  background: var(--surface-lowest);
  color: var(--text-main);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.12);
}

.btn-secondary:hover {
  background: #fdfdfd;
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.18), var(--shadow-soft);
}

.page-stack {
  display: grid;
  gap: 24px;
  padding: 36px 0 48px;
}

.hero-v2 {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy-v2,
.section-panel,
.signal-band article,
.proof-card,
.cta-panel,
.demo-copy-panel,
.demo-form-panel,
.builder-hero,
.builder-step-card,
.builder-bento-primary,
.builder-bento-accent,
.builder-bento-card {
  background: var(--surface-tint);
  box-shadow: var(--shadow-soft);
}

.hero-copy-v2,
.section-panel,
.signal-band article,
.proof-card,
.cta-panel,
.demo-copy-panel,
.demo-form-panel {
  border-radius: var(--radius-xl);
}

.hero-copy-v2 {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.hero-copy-v2::after,
.builder-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 112, 234, 0.12), transparent 65%);
}

.eyebrow,
.micro-label,
.micro-value,
.hero-ledger span,
.system-card span,
.workflow-line span,
.demo-checklist span,
.builder-step-number,
.status-chip {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow {
  font-size: 0.72rem;
  color: var(--text-soft);
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-copy-v2 h1,
.demo-copy-panel h1,
.builder-copy h1 {
  font-size: clamp(2.75rem, 6.2vw, 5.2rem);
  line-height: 0.94;
  max-width: 11ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

.hero-copy-v2 h1 span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.hero-accent {
  color: var(--primary);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}

.hero-sub,
.proof-copy,
.cta-panel p,
.demo-subcopy,
.builder-copy .hero-sub,
.builder-bento-primary p {
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-ledger {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-ledger article,
.mini-proof > div,
.builder-mini-card,
.builder-source-card,
.builder-bento-card,
.builder-chat-input,
.ui-input {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-lowest);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
}

.hero-ledger span,
.mini-proof .micro-label,
.micro-label,
.micro-value,
.builder-step-number {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.hero-ledger strong,
.mini-proof strong {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-stage {
  min-height: 680px;
}

.stage-frame {
  position: relative;
  height: 100%;
  min-height: 680px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(0, 112, 234, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(245, 243, 243, 0.9));
  box-shadow: var(--shadow-lift);
}

.stage-frame::before,
.stage-frame::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
}

.stage-frame::after {
  inset: 22%;
}

.stage-label-row {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.orbital-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 112, 234, 0.16), rgba(255, 255, 255, 0.56) 52%, transparent 70%);
  display: grid;
  place-items: center;
  animation: float-core 7s ease-in-out infinite;
}

.orbital-core img {
  width: 78%;
  max-width: 240px;
  object-fit: contain;
}

.signal-card {
  position: absolute;
  width: min(280px, calc(100% - 40px));
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.signal-card span {
  display: block;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--primary);
}

.signal-card p,
.signal-band p,
.system-card p,
.workflow-line p,
.demo-checklist p,
.builder-step-copy p,
.builder-mini-card p,
.builder-source-card p,
.builder-chat-card p,
.builder-bento-card p,
.builder-bento-accent span {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.signal-card-top {
  top: 96px;
  left: 24px;
}

.signal-card-right {
  top: 160px;
  right: 24px;
}

.signal-card-bottom {
  right: 72px;
  bottom: 28px;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.signal-band article,
.proof-card,
.section-panel,
.cta-panel {
  padding: 28px;
}

.section-panel {
  display: grid;
  gap: 22px;
  background: linear-gradient(180deg, rgba(245, 243, 243, 0.88), rgba(255, 255, 255, 0.86));
}

.section-heading {
  display: grid;
  gap: 8px;
}

.section-intro {
  max-width: 64ch;
  color: var(--text-soft);
  font-size: 1rem;
}

.section-heading h2,
.proof-card-large h2,
.cta-panel h2,
.demo-success-v2 h2,
.builder-bento-primary h2,
.builder-cta-panel h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 0.98;
  max-width: 15ch;
}

.system-grid,
.workflow-line,
.proof-grid {
  display: grid;
  gap: 16px;
}

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

.feature-grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-card::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background-color: rgba(0, 89, 187, 0.08);
  background-image: var(--card-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  box-shadow: inset 0 0 0 1px rgba(0, 89, 187, 0.08);
}

.feature-card-top {
  display: grid;
  gap: 12px;
}

.feature-card-with-icon::before {
  display: none;
}

.feature-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 89, 187, 0.08), rgba(0, 112, 234, 0.18));
  box-shadow: inset 0 0 0 1px rgba(0, 89, 187, 0.08);
}

.feature-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.feature-card-index {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.feature-card h3 {
  font-size: 1.42rem;
  line-height: 1.05;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.detail-page-stack {
  gap: 20px;
}

.detail-hero {
  padding: 34px;
  display: grid;
  gap: 22px;
  background:
    radial-gradient(circle at top right, rgba(0, 112, 234, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 243, 243, 0.84));
}

.detail-hero-meta,
.detail-kicker,
.detail-example span,
.detail-stat span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.detail-hero-copy h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 0.95;
  max-width: 11ch;
}

.detail-hero-copy p,
.detail-hero-side p,
.detail-card p,
.detail-example strong,
.detail-stat strong {
  color: var(--text-soft);
}

.detail-hero-side {
  display: grid;
  gap: 16px;
}

.detail-hero-note {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
}

.detail-section-heading {
  display: grid;
  gap: 8px;
}

.detail-section-heading h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 0.98;
  max-width: 14ch;
}

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

.detail-card,
.detail-example,
.detail-stat {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
}

.detail-card {
  position: relative;
  display: grid;
  gap: 14px;
}

.detail-card h3,
.detail-example h3 {
  font-size: 1.42rem;
  line-height: 1.05;
}

.detail-example {
  display: grid;
  gap: 12px;
}

.detail-example strong {
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
}

.detail-benefits {
  display: grid;
  gap: 16px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-stat strong {
  display: block;
  margin-top: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.icon-support {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18.5V7.5A2.5 2.5 0 0 1 8.5 5h7A2.5 2.5 0 0 1 18 7.5v6A2.5 2.5 0 0 1 15.5 16H10l-4 2.5Z'/%3E%3Cpath d='M9 9.5h6'/%3E%3Cpath d='M9 12.5h4'/%3E%3C/svg%3E");
}

.icon-sales {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17.5 10 12.5l3 3L19 9.5'/%3E%3Cpath d='M14.5 9.5H19V14'/%3E%3Cpath d='M5 19.5h14'/%3E%3C/svg%3E");
}

.icon-analytics {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 17.5v-4'/%3E%3Cpath d='M12 17.5v-8'/%3E%3Cpath d='M18 17.5v-6'/%3E%3Cpath d='M4.5 19.5h15'/%3E%3C/svg%3E");
}

.icon-accommodation {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17.5V11a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6.5'/%3E%3Cpath d='M5 17.5h14'/%3E%3Cpath d='M7.5 9V6.5h9V9'/%3E%3C/svg%3E");
}

.icon-furniture {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5h12v4H6z'/%3E%3Cpath d='M7.5 12.5V10A2.5 2.5 0 0 1 10 7.5h4A2.5 2.5 0 0 1 16.5 10v2.5'/%3E%3Cpath d='M7.5 16.5v2'/%3E%3Cpath d='M16.5 16.5v2'/%3E%3C/svg%3E");
}

.icon-healthcare {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5v11'/%3E%3Cpath d='M6.5 12h11'/%3E%3Cpath d='M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z'/%3E%3C/svg%3E");
}

.icon-retail {
  --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230059bb' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9h10l-1 8H8L7 9Z'/%3E%3Cpath d='M9 9a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
}

.detail-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
}

.detail-link:hover {
  color: var(--primary-strong);
}

.system-card,
.workflow-line article,
.demo-checklist article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.07);
}

.system-card h3,
.workflow-line h3,
.builder-bento-card h3 {
  margin-top: 14px;
  font-size: 1.42rem;
  line-height: 1.05;
}

.workflow-line {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.proof-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.75);
}

.proof-card strong,
.builder-bento-accent strong {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--primary);
}

.proof-card span {
  color: var(--text-soft);
}

.proof-card-link h3 {
  font-size: 1.28rem;
  line-height: 1.05;
}

.text-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(0, 89, 187, 0.92), rgba(0, 112, 234, 0.88));
  color: var(--surface-lowest);
}

.cta-panel .eyebrow,
.cta-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-panel .btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--surface-lowest);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.footer-v2 {
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-soft);
}

.demo-layout-v2 {
  padding: 28px 0 40px;
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(560px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.demo-copy-panel,
.demo-form-panel {
  min-height: auto;
}

.demo-copy-panel {
  padding: 28px;
  gap: 16px;
}

.demo-copy-panel h1 {
  font-size: clamp(1.95rem, 4vw, 3.35rem);
  line-height: 1;
  max-width: 12ch;
}

.demo-checklist {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.mini-proof {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.demo-copy-panel .curated-agent-grid {
  grid-template-columns: 1fr;
  margin-top: 4px;
}

.demo-form-panel {
  padding: 24px;
  gap: 16px;
}

.demo-form-head {
  display: grid;
  gap: 6px;
}

.demo-form-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.02;
  max-width: 18ch;
}

.demo-form-v2 {
  display: grid;
  gap: 12px;
}

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

.demo-form-v2 label {
  display: grid;
  gap: 5px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.88rem;
}

.demo-form-wide {
  grid-column: 1 / -1;
}

.phone-input-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.phone-country-code {
  font-variant-numeric: tabular-nums;
}

.demo-form-v2 input,
.demo-form-v2 select,
.demo-form-v2 textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--surface-lowest);
  color: var(--text-main);
  padding: 11px 13px;
  box-shadow: inset 0 0 0 1px var(--outline-soft);
  transition: box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.demo-form-v2 input,
.demo-form-v2 select {
  min-height: 48px;
}

.demo-form-v2 select {
  appearance: none;
}

.demo-form-v2 textarea {
  min-height: 128px;
  resize: vertical;
}

.demo-form-v2 input::placeholder,
.demo-form-v2 textarea::placeholder {
  color: #8f96a3;
}

.demo-form-v2 input:focus,
.demo-form-v2 select:focus,
.demo-form-v2 textarea:focus {
  outline: 0;
  box-shadow:
    inset 0 0 0 1px var(--outline-focus),
    0 0 0 4px rgba(0, 89, 187, 0.08);
  background: #ffffff;
  transform: translateY(-1px);
}

.form-submit {
  margin-top: 2px;
  min-height: 44px;
  padding: 0 18px;
  justify-self: start;
  align-self: start;
  font-size: 0.96rem;
}

.helper-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  max-width: 56ch;
  line-height: 1.45;
}

.form-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(173, 58, 58, 0.1);
  color: #8e2f2f;
  box-shadow: inset 0 0 0 1px rgba(173, 58, 58, 0.14);
}

.demo-checklist article,
.mini-proof-card {
  padding: 14px 16px;
  border-radius: 14px;
}

.demo-success-v2 {
  display: grid;
  gap: 16px;
}

.curated-panel {
  display: grid;
  gap: 18px;
  margin-top: 4px;
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(0, 112, 234, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.96));
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
}

.curated-panel-head {
  display: grid;
  gap: 12px;
}

.curated-panel h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.6rem);
  line-height: 1.04;
  margin-top: 4px;
}

.curated-copy {
  margin-top: 10px;
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.6;
}

.curated-agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agent-preview-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.08);
}

.agent-preview-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 89, 187, 0.12), rgba(0, 112, 234, 0.18));
  color: var(--primary);
}

.agent-preview-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-preview-copy {
  display: grid;
  gap: 8px;
}

.agent-preview-copy p {
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.92rem;
}

.success-copy {
  margin: 0;
  color: var(--text-soft);
  max-width: 58ch;
  line-height: 1.6;
}

.success-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.success-meta span,
.status-chip {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 14px;
  color: var(--text-soft);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.1);
  font-size: 0.76rem;
}

.demo-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-form-actions .btn {
  flex: 1 1 220px;
  justify-content: center;
}

.builder-page {
  padding: 34px 0 56px;
}

.builder-hero-exact {
  padding: 38px 0 72px;
}

.builder-hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.builder-hero-title {
  font-size: clamp(3rem, 5.8vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.builder-hero-title em {
  display: block;
  color: var(--primary);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  margin-top: 4px;
}

.builder-hero-sub {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.builder-hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.builder-flow-surface {
  background: linear-gradient(180deg, rgba(245, 243, 243, 0.78), rgba(245, 243, 243, 0.96));
  padding: 80px 0 96px;
}

.builder-steps {
  display: grid;
  gap: 84px;
}

.builder-step-exact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 420px);
  gap: 48px;
  align-items: center;
}

.builder-step-exact-reverse {
  grid-template-columns: minmax(320px, 420px) minmax(0, 0.9fr);
}

.builder-step-text {
  max-width: 460px;
}

.builder-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 89, 187, 0.08);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-step-text h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.builder-step-text p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1rem;
}

.builder-checks,
.builder-feature-points {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.builder-checks li,
.builder-feature-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
}

.builder-checks li::before,
.builder-feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.builder-feature-points strong,
.builder-feature-points span {
  display: block;
}

.builder-feature-points strong {
  color: var(--text-main);
  margin-bottom: 4px;
}

.builder-shot-card,
.builder-chat-shot {
  background: var(--surface-lowest);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.builder-shot-head,
.builder-chat-shot-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.builder-shot-head strong,
.builder-chat-shot-head strong {
  font-size: 0.9rem;
}

.builder-shot-head span,
.builder-chat-shot-head span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-shot-icon,
.builder-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 89, 187, 0.12), rgba(0, 112, 234, 0.24));
}

.builder-field {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.builder-field span {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-field-box,
.builder-chat-shot-input {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--surface-low);
  color: #8d95a3;
}

.builder-full-button {
  margin-top: 18px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: var(--surface-lowest);
  font-weight: 700;
}

.builder-shot-card-code {
  padding: 0;
  overflow: hidden;
}

.builder-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(245, 243, 243, 0.9);
}

.builder-window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(65, 71, 84, 0.22);
}

.builder-window-bar p {
  margin-left: auto;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.builder-code-block {
  padding: 20px 18px 0;
}

.builder-code-block span {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-code-block p {
  margin-top: 10px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-low);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
}

.builder-setup-grid {
  padding: 16px 18px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.builder-setup-box {
  padding: 16px 14px;
  border-radius: 14px;
  background: var(--surface-low);
}

.builder-setup-box-active {
  background: rgba(0, 89, 187, 0.08);
}

.builder-setup-box strong,
.builder-setup-box span {
  display: block;
}

.builder-setup-box strong {
  font-size: 0.86rem;
}

.builder-setup-box span {
  margin-top: 4px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.builder-dark-button {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--text-main);
  color: var(--surface-lowest);
  font-size: 0.88rem;
  font-weight: 700;
}

.builder-chat-shot {
  padding: 0;
  overflow: hidden;
}

.builder-chat-shot-head {
  padding: 18px;
  border-bottom: 1px solid rgba(65, 71, 84, 0.06);
}

.builder-chat-shot-stream {
  padding: 18px;
  display: grid;
  gap: 12px;
  background: #fbfbfb;
}

.builder-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 6px;
  background: var(--surface-lowest);
  box-shadow: inset 0 0 0 1px rgba(65, 71, 84, 0.06);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.builder-bubble-user {
  margin-left: auto;
  border-radius: 16px 16px 6px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: var(--surface-lowest);
  box-shadow: none;
}

.builder-chat-shot-input {
  margin: 0 18px 18px;
}

.builder-bento-exact {
  padding: 88px 0;
}

.builder-bento-heading {
  text-align: center;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.06;
  margin-bottom: 36px;
}

.builder-bento-grid {
  display: grid;
  grid-template-columns: 2fr 0.95fr;
  gap: 14px;
}

.builder-mini-feature-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.builder-security-card,
.builder-speed-card,
.builder-mini-feature {
  background: var(--surface-lowest);
  box-shadow: var(--shadow-soft);
}

.builder-security-card {
  min-height: 300px;
  padding: 28px;
  border-radius: 18px;
  display: grid;
  align-content: space-between;
}

.builder-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.builder-tag-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--surface-low);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.builder-security-card h3,
.builder-speed-card h3,
.builder-mini-feature h3 {
  font-size: 1.65rem;
  line-height: 1.08;
}

.builder-security-card p,
.builder-speed-card p,
.builder-mini-feature p {
  margin-top: 12px;
  color: var(--text-soft);
}

.builder-speed-card {
  min-height: 300px;
  padding: 28px;
  border-radius: 18px;
  color: var(--surface-lowest);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
}

.builder-speed-card p {
  color: rgba(255, 255, 255, 0.84);
}

.builder-speed-icon {
  width: 28px;
  height: 44px;
  margin-bottom: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72));
  clip-path: polygon(47% 0, 100% 0, 62% 50%, 84% 50%, 26% 100%, 40% 58%, 18% 58%);
}

.builder-mini-feature {
  min-height: 170px;
  padding: 24px;
  border-radius: 18px;
}

.builder-cta-exact {
  padding-bottom: 64px;
}

.builder-cta-inner {
  padding: 72px 24px;
  border-radius: 28px;
  text-align: center;
  color: var(--surface-lowest);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 24px 48px rgba(0, 89, 187, 0.22);
}

.builder-cta-inner h2 {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
}

.builder-cta-inner p {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.builder-cta-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-secondary-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--surface-lowest);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.hidden {
  display: none;
}

@keyframes float-core {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-12px);
  }
}

@media (max-width: 1120px) {
  .hero-v2,
  .demo-layout-v2,
  .cta-panel,
  .builder-step-exact,
  .builder-step-exact-reverse,
  .builder-bento-grid,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .stage-frame {
    min-height: 560px;
  }

  .workflow-line,
  .proof-grid,
  .builder-bento-grid,
  .feature-grid-4,
  .curated-agent-grid,
  .detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-card-large,
  .builder-security-card {
    grid-column: span 2;
  }

  .builder-mini-feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .demo-form-panel {
    order: -1;
  }

  .topbar-v2 {
    border-radius: 24px;
    flex-wrap: wrap;
  }

  .nav-v2 {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-dropdown {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-dropdown-menu {
    display: none;
  }

  .hero-copy-v2,
  .signal-band article,
  .section-panel,
  .proof-card,
  .cta-panel,
  .demo-copy-panel,
  .demo-form-panel,
  .builder-security-card,
  .builder-speed-card,
  .builder-mini-feature,
  .builder-shot-card,
  .builder-chat-shot,
  .builder-cta-inner {
    padding: 22px;
  }

  .hero-ledger,
  .signal-band,
  .system-grid,
  .workflow-line,
  .proof-grid,
  .feature-grid,
  .detail-grid,
  .detail-stats,
  .demo-form-grid,
  .mini-proof,
  .curated-panel-head,
  .builder-setup-grid,
  .builder-bento-grid,
  .builder-mini-feature-row {
    grid-template-columns: 1fr;
  }

  .proof-card-large,
  .builder-security-card {
    grid-column: auto;
  }

  .curated-agent-grid {
    grid-template-columns: 1fr;
  }

  .phone-input-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1240px);
  }

  .brand-v2 span {
    font-size: 1.04rem;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-actions .btn {
    flex: 1 1 160px;
  }

  .hero-copy-v2 h1,
  .demo-copy-panel h1,
  .section-heading h2,
  .proof-card-large h2,
  .cta-panel h2,
  .demo-success-v2 h2,
  .builder-hero-title,
  .builder-step-text h2,
  .builder-bento-heading,
  .builder-cta-inner h2 {
    max-width: none;
  }

  .builder-hero-actions,
  .builder-cta-actions,
  .demo-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .builder-hero-actions .btn,
  .builder-cta-actions .btn,
  .demo-form-actions .btn {
    width: 100%;
  }

  .hero-stage,
  .stage-frame {
    min-height: 520px;
  }

  .orbital-core {
    width: 220px;
    height: 220px;
  }

  .signal-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .stage-frame {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 84px 16px 16px;
  }

  .stage-label-row {
    top: 18px;
    left: 16px;
    right: 16px;
  }

  .footer-v2 {
    flex-direction: column;
    align-items: flex-start;
  }
}
