:root {
  --bg: #f1f7ff;
  --surface: rgba(236, 244, 255, 0.92);
  --surface-strong: #f8fbff;
  --ink: #0f2747;
  --muted: #5b7598;
  --line: rgba(24, 74, 149, 0.18);
  --accent: #1d63e6;
  --accent-strong: #154fb8;
  --accent-soft: #dbe9ff;
  --signal: #2f7dff;
  --shadow: 0 18px 40px rgba(16, 46, 92, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --body-font: "Avenir Next", "Segoe UI", sans-serif;
  --display-font: "Big Caslon", "Iowan Old Style", "Palatino Linotype", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 125, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(29, 99, 230, 0.16), transparent 28%),
    linear-gradient(180deg, #eef5ff 0%, #dfeeff 100%);
  color: var(--ink);
  font-family: var(--body-font);
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.corner-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 249, 255, 0.95);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  z-index: 20;
}

.corner-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 99, 230, 0.12);
}

.corner-badge-top {
  top: 6px;
  right: 0;
}

.corner-badge-bottom {
  right: 24px;
  bottom: 24px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 249, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-mark {
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-home {
  text-decoration: none;
}

.brand-meta,
.section-nav a,
.eyebrow,
.stat-label,
.comparison-kicker,
.tier-label,
.timeline-day,
.metric-kicker,
.window-label,
.output-label,
.screen-header,
.screen-badge,
.closing-question span,
.registry-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.brand-meta,
.section-nav a,
.eyebrow,
.stat-label,
.comparison-kicker,
.metric-kicker,
.window-label,
.output-label,
.screen-badge,
.registry-label,
.closing-question span {
  color: var(--muted);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.section-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.section-nav a.is-current {
  background: rgba(29, 99, 230, 0.12);
  color: var(--accent-strong);
}

.cta-link {
  color: var(--accent-strong);
  text-decoration: none;
}

.cta-link:hover {
  text-decoration: underline;
}

.page-link {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.page-link:hover {
  text-decoration: underline;
}

.ghost-button,
.primary-button,
.secondary-button,
.demo-tab {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.ghost-button,
.secondary-button {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(232, 241, 255, 0.9);
  border: 1px solid var(--line);
  text-decoration: none;
}

.primary-button {
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

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

.page-lock {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 25, 52, 0.58);
  backdrop-filter: blur(10px);
}

.page-lock-panel {
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(248, 251, 255, 0.98);
  box-shadow: var(--shadow);
}

.page-lock-panel h1 {
  margin: 0 0 12px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.98;
}

.page-lock-copy,
.page-lock-label,
.page-lock-error {
  font-size: 1rem;
  line-height: 1.6;
}

.page-lock-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.page-lock-label {
  color: var(--muted);
}

.page-lock-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.page-lock-input:focus {
  outline: 2px solid rgba(29, 99, 230, 0.24);
  outline-offset: 1px;
}

.page-lock-button {
  justify-self: start;
}

.page-lock-error {
  min-height: 1.2em;
  margin: 0;
  color: #b64238;
}

.panel,
.closing-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: rise-in 500ms ease both;
}

.panel::before,
.closing-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% 55%;
  height: 240px;
  background: radial-gradient(circle, rgba(47, 125, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  padding: 42px;
}

.hero h1,
.section-heading h2,
.closing-band h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.95;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lede,
.section-heading p,
.insight-card p,
.architecture-card li,
.roi-card p,
.comparison-panel p,
.timeline-step p,
.governance-card p,
.objection-card p,
.closing-band p,
.registry-card p,
.prompt-window p,
.builder-output strong,
.governance-quote {
  font-size: 1.05rem;
  line-height: 1.65;
}

.cold-open {
  max-width: 54ch;
  padding-left: 18px;
  border-left: 3px solid var(--signal);
  color: #27486f;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(243, 248, 255, 0.96);
  border: 1px solid rgba(22, 56, 109, 0.08);
}

.stat-accent {
  background: linear-gradient(180deg, rgba(29, 99, 230, 0.95), rgba(21, 79, 184, 0.92));
  color: #ffffff;
}

.stat-accent .stat-label {
  color: rgba(255, 255, 255, 0.82);
}

.stat-value {
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1;
}

.insight-grid,
.flow-grid,
.roi-grid,
.comparison-panel,
.timeline,
.governance-grid,
.objection-grid {
  display: grid;
  gap: 18px;
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.insight-card,
.prompt-panel,
.flow-panel,
.architecture-panel,
.demo-panel,
.roi-panel,
.roadmap-panel,
.governance-panel,
.objection-panel {
  padding: 32px;
}

.insight-card h2,
.prompt-summary h3,
.flow-step h3,
.architecture-card h4,
.roi-card h3,
.comparison-panel h3,
.timeline-step h3,
.governance-card h3,
.objection-card h3,
.registry-card h3 {
  margin: 0 0 10px;
  font-family: var(--display-font);
  font-size: 1.8rem;
  line-height: 1.05;
}

.mini-list,
.detail-list,
.governance-checks {
  margin: 0;
  padding-left: 18px;
}

.mini-list li,
.detail-list li,
.governance-checks li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill-row span,
.callout-strip,
.timeline-output,
.governance-summary {
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.pill-row span {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.callout-strip {
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.inline-link-row {
  margin: 18px 0 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 68ch;
  margin-bottom: 26px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.architecture-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(242, 248, 255, 0.96);
  border: 1px solid var(--line);
}

.motion-card {
  position: relative;
  overflow: hidden;
}

.motion-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 45%;
  height: 180px;
  background: radial-gradient(circle, rgba(29, 99, 230, 0.12), transparent 68%);
  pointer-events: none;
}

.architecture-card h3 {
  margin: 0 0 6px;
  color: var(--signal);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.accent-card {
  background: linear-gradient(180deg, rgba(29, 99, 230, 0.14), rgba(29, 99, 230, 0.24));
}

.architecture-arrow {
  padding: 12px 14px;
  border-radius: 999px;
  background: #dfeeff;
  border: 1px solid var(--line);
  color: var(--signal);
  font-weight: 600;
}

.motion-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.motion-chip,
.motion-state {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.motion-chip {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.motion-chip-risk {
  color: #a84d3f;
  background: rgba(255, 231, 226, 0.96);
}

.motion-chip-safe {
  color: #0f5d55;
  background: rgba(229, 248, 243, 0.96);
}

.motion-state {
  color: var(--muted);
  text-align: right;
}

.motion-stage {
  position: relative;
  min-height: 220px;
  margin: 18px 0 22px;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid var(--line);
  background: rgba(247, 251, 255, 0.92);
  overflow: hidden;
}

.risk-stage {
  background:
    linear-gradient(180deg, rgba(255, 245, 244, 0.98), rgba(255, 232, 227, 0.98));
}

.risk-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 122px;
  height: 122px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9e92, #ec675a);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 28px rgba(168, 77, 63, 0.28);
  transform: translate(-50%, -50%);
}

.risk-badge {
  position: absolute;
  z-index: 4;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(168, 77, 63, 0.18);
  color: #8d3e30;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 12px 20px rgba(168, 77, 63, 0.12);
  animation: drift-risk 5.5s ease-in-out infinite;
}

.risk-badge-one {
  top: 26px;
  left: 24px;
}

.risk-badge-two {
  top: 34px;
  right: 20px;
  animation-delay: 800ms;
}

.risk-badge-three {
  right: 36px;
  bottom: 28px;
  animation-delay: 1500ms;
}

.risk-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 122px;
  height: 122px;
  border-radius: 999px;
  border: 2px solid rgba(168, 77, 63, 0.2);
  transform: translate(-50%, -50%);
  animation: pulse-risk 2.8s ease-out infinite;
}

.risk-ring-delayed {
  animation-delay: 1.4s;
}

.safe-stage {
  background:
    linear-gradient(180deg, rgba(239, 249, 247, 0.98), rgba(223, 244, 238, 0.98));
}

.safe-lane {
  position: absolute;
  left: 48px;
  right: 120px;
  top: 50%;
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(18, 136, 116, 0.18), rgba(18, 136, 116, 0.56), rgba(18, 136, 116, 0.18));
  transform: translateY(-50%);
  overflow: hidden;
}

.safe-lane::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(-120%);
  animation: lane-flow 2.4s linear infinite;
}

.safe-node,
.safe-shield {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 93, 85, 0.14);
}

.safe-node {
  background: #fff;
  border: 1px solid rgba(15, 93, 85, 0.14);
  color: #0f5d55;
  animation: settle-safe 4.6s ease-in-out infinite;
}

.safe-node-one {
  left: 28px;
  top: 36px;
}

.safe-node-two {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-name: settle-safe-centered;
  animation-delay: 700ms;
}

.safe-node-three {
  left: 110px;
  bottom: 28px;
  animation-delay: 1400ms;
}

.safe-shield {
  top: 50%;
  right: 28px;
  min-width: 90px;
  min-height: 90px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a8a78, #11665a);
  color: #fff;
  transform: translateY(-50%);
  animation: shield-glow 3.2s ease-in-out infinite;
}

.motion-divider {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 128px;
  padding: 16px 14px;
  text-align: center;
}

.motion-divider span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.motion-divider strong {
  color: var(--accent-strong);
  font-size: 1rem;
}

.compliance-marquee {
  position: relative;
  margin-top: 22px;
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compliance-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  animation: compliance-scroll 24s linear infinite;
}

.compliance-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.98);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.compliance-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #138874;
  box-shadow: 0 0 0 4px rgba(19, 136, 116, 0.12);
}

.prompt-panel-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
}

.prompt-summary,
.prompt-copy-card,
.flow-step {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(242, 248, 255, 0.96);
  border: 1px solid var(--line);
}

.copy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.copy-header span {
  font-family: var(--display-font);
  font-size: 1.4rem;
}

.prompt-copy-card pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #244a7f;
}

.code-scroll pre {
  max-height: 440px;
  overflow: auto;
}

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

.demo-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

.demo-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
}

.demo-tab {
  padding: 18px;
  text-align: left;
  border-radius: var(--radius-lg);
  background: rgba(236, 244, 255, 0.96);
  border: 1px solid var(--line);
}

.demo-tab.is-active {
  background: var(--accent);
  color: #ffffff;
  transform: translateX(8px);
}

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

.demo-screen {
  height: 100%;
  border-radius: var(--radius-lg);
  background: #f7fbff;
  border: 1px solid var(--line);
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.screen-body {
  padding: 26px 22px 24px;
}

.screen-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: #dfeeff;
}

.registry-card,
.prompt-window,
.builder-output,
.governance-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #eef5ff;
}

.registry-card,
.prompt-window {
  padding: 22px;
}

.registry-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.registry-metrics div,
.output-item {
  padding: 18px;
  border-radius: var(--radius-md);
  background: #ddeaff;
}

.registry-metrics strong,
.output-item strong,
.governance-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.builder-layout {
  display: grid;
  gap: 16px;
}

.builder-output {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.governance-checks li.is-complete::marker {
  content: "OK  ";
}

.governance-summary {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding: 16px 18px;
}

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

.roi-card,
.comparison-panel article,
.timeline-step,
.governance-card,
.objection-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(242, 248, 255, 0.96);
  border: 1px solid var(--line);
}

.comparison-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.demo-table {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(242, 248, 255, 0.96);
}

.demo-table-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-table-row + .demo-table-row {
  border-top: 1px solid var(--line);
}

.demo-table-header {
  background: rgba(219, 233, 255, 0.88);
}

.demo-table-cell {
  padding: 18px 20px;
  line-height: 1.6;
}

.demo-table-cell:first-child {
  border-right: 1px solid var(--line);
}

.comparison-kicker,
.tier-label,
.timeline-day {
  color: var(--signal);
}

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

.timeline-output {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

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

.governance-quote {
  margin: 24px 0 0;
  padding: 24px;
  border-left: 4px solid var(--signal);
  color: #244a7f;
}

.closing-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(29, 99, 230, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(241, 247, 255, 0.98), rgba(222, 236, 255, 0.98));
}

.closing-question {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(246, 250, 255, 0.96);
  border: 1px solid var(--line);
}

.shopify-hero-visual {
  position: relative;
  min-height: 520px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(35, 192, 127, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(29, 99, 230, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(225, 238, 255, 0.98));
  overflow: hidden;
}

.shopify-hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -12% -24% auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(35, 192, 127, 0.14), transparent 68%);
  pointer-events: none;
}

.shopify-pill-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.shopify-pill {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 90, 77, 0.12);
  background: rgba(248, 252, 255, 0.96);
  color: #0f5d55;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shopify-app-window {
  position: relative;
  z-index: 2;
  max-width: 420px;
  padding: 18px;
  border: 1px solid rgba(14, 64, 125, 0.12);
  border-radius: 26px;
  background: rgba(251, 253, 255, 0.96);
  box-shadow: 0 20px 44px rgba(16, 46, 92, 0.12);
}

.shopify-app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.shopify-app-top span:first-child {
  font-family: var(--display-font);
  font-size: 1.45rem;
}

.shopify-app-body {
  display: grid;
  gap: 16px;
  padding-top: 16px;
}

.app-chat-row {
  display: grid;
  gap: 8px;
}

.app-chat-bubble,
.app-result-card {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #eef5ff;
  line-height: 1.6;
}

.app-result-card {
  background: linear-gradient(180deg, rgba(230, 248, 241, 0.96), rgba(221, 244, 236, 0.96));
}

.app-result-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.shopify-signal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shopify-signal-bar span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 244, 238, 0.96);
  color: #0f5d55;
  font-size: 0.82rem;
  font-weight: 600;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 90, 77, 0.12);
  color: #0f5d55;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 14px 24px rgba(16, 46, 92, 0.1);
  animation: float-note 5.8s ease-in-out infinite;
}

.floating-note-one {
  top: 86px;
  right: 26px;
}

.floating-note-two {
  top: 196px;
  right: 12px;
  animation-delay: 700ms;
}

.floating-note-three {
  right: 42px;
  bottom: 84px;
  animation-delay: 1400ms;
}

.floating-note-four {
  bottom: 24px;
  left: 42px;
  animation-delay: 2100ms;
}

.shopify-demo-grid,
.shopify-beta-grid {
  display: grid;
  gap: 18px;
}

.shopify-demo-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

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

.beta-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.beta-form-card .hero-actions {
  margin-top: 4px;
}

.beta-field {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #eef5ff;
}

.beta-field strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.beta-note {
  margin: 0;
  color: var(--muted);
}

.beta-demo-window {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(247, 251, 255, 0.98);
}

.beta-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.beta-chip-row span,
.compliance-need-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.beta-chip-row span {
  padding: 9px 12px;
  background: rgba(223, 244, 238, 0.96);
  color: #0f5d55;
  font-size: 0.82rem;
  font-weight: 700;
}

.beta-response-card {
  padding: 18px;
  border: 1px solid rgba(19, 136, 116, 0.18);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(230, 248, 241, 0.96), rgba(221, 244, 236, 0.96));
}

.beta-response-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.08rem;
}

.beta-response-card p {
  margin: 0;
  line-height: 1.6;
}

.shopify-compliance-grid,
.shopify-compliance-points {
  display: grid;
  gap: 18px;
}

.shopify-compliance-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.shopify-compliance-stage {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at center, rgba(29, 99, 230, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(246, 251, 255, 0.98), rgba(225, 238, 255, 0.98));
  overflow: hidden;
}

.compliance-core-node,
.compliance-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 14px 24px rgba(16, 46, 92, 0.1);
}

.compliance-core-node {
  top: 50%;
  left: 50%;
  min-width: 132px;
  min-height: 132px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1d63e6, #154fb8);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 1.6rem;
  transform: translate(-50%, -50%);
}

.compliance-node {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 79, 184, 0.12);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  animation: float-note 6.2s ease-in-out infinite;
}

.compliance-node-one {
  top: 34px;
  left: 34px;
}

.compliance-node-two {
  top: 42px;
  right: 34px;
  animation-delay: 600ms;
}

.compliance-node-three {
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  animation-delay: 1200ms;
}

.compliance-node-four {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  animation-delay: 1800ms;
}

.compliance-node-five {
  bottom: 36px;
  left: 52px;
  animation-delay: 2400ms;
}

.compliance-node-six {
  right: 36px;
  bottom: 30px;
  animation-delay: 3000ms;
}

.compliance-grid-line {
  position: absolute;
  z-index: 1;
  background: rgba(29, 99, 230, 0.12);
}

.compliance-grid-line-one {
  top: 22%;
  right: 23%;
  left: 23%;
  height: 1px;
}

.compliance-grid-line-two {
  top: 50%;
  right: 16%;
  left: 16%;
  height: 1px;
}

.compliance-grid-line-three {
  top: 22%;
  bottom: 22%;
  left: 50%;
  width: 1px;
}

.shopify-compliance-points {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.compliance-need-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(242, 248, 255, 0.96);
  line-height: 1.6;
}

.compliance-need-card strong {
  font-size: 1rem;
}

[hidden] {
  display: none !important;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-risk {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }

  30% {
    opacity: 0.48;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.3);
  }
}

@keyframes drift-risk {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes lane-flow {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

@keyframes settle-safe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes settle-safe-centered {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 6px));
  }
}

@keyframes shield-glow {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(15, 93, 85, 0.18);
  }

  50% {
    box-shadow: 0 20px 34px rgba(15, 93, 85, 0.32);
  }
}

@keyframes compliance-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1100px) {
  .topbar,
  .hero,
  .prompt-panel-layout,
  .architecture-grid,
  .demo-layout,
  .closing-band,
  .shopify-demo-grid,
  .shopify-beta-grid,
  .shopify-compliance-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 28px;
  }

  .section-nav {
    justify-content: flex-start;
  }

  .architecture-arrow {
    justify-self: start;
  }

  .corner-badge-top,
  .corner-badge-bottom {
    position: static;
    margin-bottom: 14px;
  }
}

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

  .hero,
  .insight-card,
  .architecture-panel,
  .demo-panel,
  .roi-panel,
  .roadmap-panel,
  .governance-panel,
  .objection-panel,
  .closing-band {
    padding: 22px;
  }

  .hero-stats,
  .insight-grid,
  .flow-grid,
  .roi-grid,
  .comparison-panel,
  .timeline,
  .governance-grid,
  .objection-grid,
  .builder-output,
  .registry-metrics,
  .shopify-compliance-points {
    grid-template-columns: 1fr;
  }

  .demo-table-row {
    grid-template-columns: 1fr;
  }

  .shopify-hero-visual {
    min-height: auto;
  }

  .floating-note {
    position: static;
    display: inline-flex;
    margin: 10px 10px 0 0;
    animation: none;
  }

  .shopify-compliance-stage {
    min-height: auto;
    padding: 18px;
  }

  .compliance-core-node,
  .compliance-node,
  .compliance-grid-line {
    position: static;
    transform: none;
    margin: 0 10px 10px 0;
  }

  .compliance-core-node {
    display: inline-flex;
    min-width: 0;
    min-height: 0;
    padding: 16px 18px;
    font-size: 1.35rem;
  }

  .shopify-compliance-stage {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }

  .compliance-grid-line {
    display: none;
  }

  .demo-table-cell:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-shell {
    width: 100%;
    padding: 0;
  }

  .topbar,
  .hero-actions,
  .section-nav,
  .demo-sidebar {
    display: none;
  }

  .panel,
  .closing-band,
  .stat-card,
  .architecture-card,
  .roi-card,
  .comparison-panel article,
  .timeline-step,
  .governance-card,
  .objection-card,
  .demo-screen {
    box-shadow: none;
    background: #fff;
  }

  .panel::before,
  .closing-band::before {
    display: none;
  }
}
