:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f7;
  --ink: #101522;
  --muted: #5b6575;
  --line: #d8dee8;
  --teal: #0f766e;
  --blue: #1d4ed8;
  --gold: #b7791f;
  --coral: #c2412d;
  --green: #157f3f;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(16, 21, 34, 0.1);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 21, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 21, 34, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-line {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.nav-links button {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 0;
  background: transparent;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--ink);
  background: var(--surface-alt);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

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

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: #1b2435;
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0), #e7eef4);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.section-label,
.toolbar-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.4rem, 6.4vw, 6.8rem);
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.signal-demo {
  width: min(100%, 720px);
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 21, 34, 0.08);
  overflow: hidden;
}

.signal-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.signal-track span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.signal-line {
  position: relative;
  height: 3px;
  margin-top: 14px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.signal-line::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
  animation: signalSweep 4s linear infinite;
}

.ai-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.ai-widget > * {
  pointer-events: auto;
}

.ai-teaser {
  width: min(320px, calc(100vw - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow);
  animation: teaserFloat 4.5s ease-in-out infinite;
}

.ai-teaser p {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
  flex: 0 0 auto;
}

.typing-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: dotBlink 1.2s ease-in-out infinite;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dots i:nth-child(3) {
  animation-delay: 0.32s;
}

.ai-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 16px 8px 9px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 700;
  overflow: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.ai-launcher::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid rgba(15, 118, 110, 0.2);
  animation: launcherBreath 2.8s ease-in-out infinite;
}

.launcher-avatar {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.launcher-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.ai-launcher span:last-child {
  position: relative;
  z-index: 1;
}

.ai-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(430px, calc(100vw - 48px));
  height: min(640px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(16, 21, 34, 0.22);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  visibility: hidden;
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  overflow: hidden;
}

.ai-widget.is-open .ai-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.ai-widget.is-open .ai-teaser {
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
}

.ai-widget.is-open .ai-launcher {
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
}

.ai-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.assistant-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.assistant-identity img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
}

.assistant-identity strong,
.assistant-identity span {
  display: block;
}

.assistant-identity span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ai-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ai-close {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.ai-close:hover {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-alt);
}

.chat-log {
  overflow: auto;
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.message {
  width: min(86%, 340px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.message p {
  margin: 6px 0 0;
  color: var(--muted);
}

.message-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.message.user {
  justify-self: end;
  border-color: rgba(29, 78, 216, 0.2);
  background: rgba(29, 78, 216, 0.06);
}

.message.user .message-label {
  color: var(--ink);
}

.message.assistant {
  background: #fff;
}

.message-handoff {
  border-color: rgba(15, 118, 110, 0.28);
  background: linear-gradient(135deg, #fff, rgba(238, 243, 247, 0.72));
}

.handoff-button {
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
}

.prompt-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 18px 14px;
}

.prompt-row button {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 9px 10px;
  font-weight: 700;
}

.prompt-row button:hover {
  border-color: #b9c3d1;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  padding: 14px 18px 10px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.chat-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

.chat-form textarea {
  min-height: 48px;
  max-height: 120px;
  resize: vertical;
  padding: 12px 13px;
}

.chat-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.chat-send {
  width: 46px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  font-weight: 700;
}

.chat-send span {
  font-size: 0.82rem;
}

.chat-note {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
}

.chat-status {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(21, 127, 63, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.section {
  position: relative;
  padding: 82px 0;
}

.section-light {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-section h2,
.contact-layout h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.section-heading p,
.contact-layout p {
  color: var(--muted);
  margin: 16px 0 0;
  font-size: 1.04rem;
}

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

.service-card,
.process-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
}

.service-card:nth-child(1) {
  border-top: 4px solid var(--teal);
}

.service-card:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.service-card:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.card-index,
.process-grid span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-card h3,
.process-grid h3 {
  margin: 24px 0 10px;
  font-size: 1.2rem;
}

.service-card p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  width: max-content;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--teal);
}

.service-page-hero {
  padding: 90px 0 56px;
}

.service-page-hero .hero-copy {
  max-width: 760px;
}

.service-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.service-kicker span {
  padding: 8px 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.live-build-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(94, 234, 212, 0.18), transparent 30%),
    radial-gradient(circle at 86% 26%, rgba(29, 78, 216, 0.18), transparent 28%),
    linear-gradient(135deg, #101522 0%, #172033 54%, #0d3f3c 100%);
  color: #fff;
}

.live-build-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.build-demo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 38px;
  align-items: center;
}

.build-demo-copy h2 {
  max-width: 560px;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.build-demo-copy p:not(.section-label) {
  max-width: 560px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 1.04rem;
}

.build-demo-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.build-demo-points span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ecfeff;
  font-weight: 700;
}

.build-demo-points span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 22px rgba(94, 234, 212, 0.85);
}

.build-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(8, 13, 24, 0.86);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}

.build-screen::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 12%, rgba(94, 234, 212, 0.22), transparent 48%);
  animation: screenSweep 5.8s linear infinite;
}

.screen-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5eead4;
}

.screen-topbar span:nth-child(2) {
  background: #60a5fa;
}

.screen-topbar span:nth-child(3) {
  background: #fbbf24;
}

.screen-topbar strong {
  margin-left: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.96fr);
  gap: 16px;
  padding: 16px;
}

.code-pane,
.preview-pane {
  min-height: 350px;
  border-radius: 16px;
}

.code-pane {
  overflow: hidden;
  padding: 18px;
  background: #070b14;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.code-label {
  margin-bottom: 16px;
  color: #5eead4;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-pane pre {
  margin: 0;
  overflow: hidden;
  white-space: pre-wrap;
}

.code-pane code {
  color: #dbeafe;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  line-height: 1.75;
}

.code-line {
  display: block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: codeReveal 0.7s steps(34, end) forwards;
  animation-delay: var(--delay);
}

.code-line:nth-child(2n) {
  color: #bfdbfe;
}

.code-line:nth-child(3n) {
  color: #ccfbf1;
}

.code-cursor {
  display: inline-block;
  width: 9px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -0.16em;
  background: #5eead4;
  animation: cursorBlink 0.9s steps(2, start) infinite;
}

.preview-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 243, 247, 0.86)),
    radial-gradient(circle at 80% 20%, rgba(94, 234, 212, 0.25), transparent 34%);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(16, 21, 34, 0.08);
}

.preview-browser {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.preview-browser span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.mini-site-card,
.mini-chat-card,
.workflow-map {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(16, 21, 34, 0.1);
  box-shadow: 0 16px 34px rgba(16, 21, 34, 0.12);
  animation: previewLift 4.4s ease-in-out infinite;
}

.mini-site-card p,
.mini-assistant {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-site-card h3 {
  max-width: 230px;
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 2.05rem;
  line-height: 0.98;
}

.mini-lines {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.mini-lines span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #dbe2ea;
}

.mini-lines span:nth-child(1) {
  width: 86%;
}

.mini-lines span:nth-child(2) {
  width: 68%;
}

.mini-lines span:nth-child(3) {
  width: 52%;
}

.mini-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.mini-form span,
.mini-form strong {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  background: #eef3f7;
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-form strong {
  width: max-content;
  color: #fff;
  background: var(--ink);
}

.ai-preview-pane {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(230, 242, 255, 0.86)),
    radial-gradient(circle at 70% 15%, rgba(29, 78, 216, 0.22), transparent 38%);
}

.mini-chat-card {
  align-content: end;
  gap: 10px;
}

.mini-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.35;
}

.assistant-bubble {
  background: #eef3f7;
  color: var(--ink);
}

.user-bubble {
  justify-self: end;
  color: #fff;
  background: var(--blue);
}

.automation-preview-pane {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 246, 224, 0.88)),
    radial-gradient(circle at 78% 18%, rgba(183, 121, 31, 0.24), transparent 40%);
}

.workflow-map {
  justify-items: center;
  gap: 10px;
}

.workflow-node {
  width: min(100%, 210px);
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8dee8;
  box-shadow: 0 8px 18px rgba(16, 21, 34, 0.08);
  font-weight: 700;
  text-align: center;
}

.workflow-node:nth-of-type(1) {
  border-color: rgba(15, 118, 110, 0.4);
}

.workflow-node:nth-of-type(3) {
  border-color: rgba(183, 121, 31, 0.4);
}

.workflow-line {
  width: 3px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  animation: nodePulse 1.8s ease-in-out infinite;
}

.screen-status-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.screen-status-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  color: #dffdf9;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

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

.detail-card,
.fit-card,
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-card,
.fit-card {
  padding: 22px;
}

.detail-card h3,
.fit-card h3 {
  margin: 0 0 10px;
}

.detail-card p,
.fit-card p {
  margin: 0;
  color: var(--muted);
}

.build-flow {
  display: grid;
  gap: 12px;
  counter-reset: build-step;
}

.build-flow li {
  list-style: none;
  position: relative;
  padding: 18px 18px 18px 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.build-flow li::before {
  counter-increment: build-step;
  content: "0" counter(build-step);
  position: absolute;
  left: 18px;
  top: 20px;
  color: var(--teal);
  font-weight: 700;
}

.build-flow strong {
  display: block;
  margin-bottom: 4px;
}

.build-flow span {
  color: var(--muted);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}

.problem-list li {
  list-style: none;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #d9e1eb;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
}

.cta-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-ink {
  background: var(--ink);
  color: #fff;
}

.section-ink .section-label {
  color: #5eead4;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: start;
}

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

.outcome-list p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #d9e1eb;
  font-size: 1.05rem;
}

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

.process-grid article {
  background: #fbfcfe;
  min-height: 230px;
}

.section-contact {
  background: var(--surface-alt);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.35em;
  margin: 0;
  color: var(--muted);
}

.form-status.ok {
  color: var(--green);
}

.form-status.error {
  color: var(--coral);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a,
.footer-links button,
.footer-inner button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.privacy-widget {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 42;
  width: min(410px, calc(100vw - 48px));
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.privacy-widget.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.privacy-card,
.privacy-policy-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.privacy-card {
  padding: 16px;
}

.privacy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.privacy-head img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.privacy-head div {
  min-width: 0;
}

.privacy-head strong,
.privacy-head span {
  display: block;
}

.privacy-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.privacy-card p {
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.privacy-actions button,
.privacy-back {
  min-height: 38px;
  border-radius: var(--radius);
  font-weight: 700;
}

.privacy-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.privacy-secondary,
.privacy-back {
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.privacy-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: underline;
}

.privacy-settings-card {
  max-height: min(620px, calc(100vh - 48px));
  overflow: auto;
}

.consent-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.consent-row strong,
.consent-row small {
  display: block;
}

.consent-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.consent-row input {
  appearance: none;
  width: 46px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #dbe2ea;
  position: relative;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.consent-row input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 21, 34, 0.18);
  transition: transform 0.16s ease;
}

.consent-row input:checked {
  border-color: var(--teal);
  background: var(--teal);
}

.consent-row input:checked::before {
  transform: translateX(20px);
}

.consent-row input:disabled {
  opacity: 0.75;
}

.privacy-policy-panel {
  padding: 13px 14px;
}

.policy-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.policy-title-row button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--ink);
  font-weight: 700;
}

.privacy-policy-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@keyframes signalSweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(270%);
  }
}

@keyframes teaserFloat {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes dotBlink {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes launcherBreath {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.06);
  }
}

@keyframes screenSweep {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes codeReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes cursorBlink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@keyframes previewLift {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.82);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

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

  .service-grid,
  .detail-grid,
  .fit-grid,
  .process-grid,
  .split-section,
  .build-demo-grid,
  .contact-layout,
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .screen-body {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 680px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-shell {
    min-height: 70px;
    gap: 12px;
  }

  .brand-line {
    display: none;
  }

  .nav-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero-section {
    min-height: auto;
    padding: 42px 0 34px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

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

  .hero-actions,
  .contact-links {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .nav-button {
    width: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .problem-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .signal-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .screen-body {
    padding: 12px;
  }

  .code-pane,
  .preview-pane {
    min-height: 280px;
  }

  .screen-status-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-widget {
    right: 14px;
    bottom: 14px;
  }

  .ai-teaser {
    width: min(320px, calc(100vw - 28px));
  }

  .ai-panel {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
    height: calc(100vh - 28px);
  }

  .privacy-widget {
    left: 14px;
    right: 14px;
    bottom: 106px;
    width: auto;
  }

  .privacy-card {
    padding: 14px;
  }

  .message {
    width: min(100%, 320px);
  }

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

  .chat-send {
    width: 100%;
  }

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

  .section {
    padding: 62px 0;
  }
}

@media (max-width: 430px) {
  .ai-teaser {
    display: none;
  }

  .ai-launcher {
    min-height: 52px;
    padding-right: 14px;
  }
}

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

  .signal-line::before,
  .ai-teaser,
  .typing-dots i,
  .ai-launcher::before,
  .build-screen::before,
  .code-line,
  .code-cursor,
  .mini-site-card,
  .mini-chat-card,
  .workflow-map,
  .workflow-line {
    animation: none;
  }

  .code-line {
    opacity: 1;
    clip-path: none;
  }

  .ai-panel,
  .privacy-widget,
  .button {
    transition: none;
  }
}
