:root {
  color-scheme: dark;
  --bg: #071725;
  --bg-elevated: rgba(11, 28, 43, 0.82);
  --surface: rgba(10, 24, 37, 0.72);
  --border: rgba(136, 172, 205, 0.18);
  --text: #f7fbff;
  --muted: #9bb0c6;
  --accent: #45d6ff;
  --accent-strong: #2f7bff;
  --shadow: 0 24px 80px rgba(0, 8, 16, 0.35);
  --radius: 24px;
  --radius-sm: 14px;
  --content: min(1180px, calc(100vw - 32px));
  --font-sans: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f9fd;
  --bg-elevated: rgba(255, 255, 255, 0.84);
  --surface: rgba(255, 255, 255, 0.8);
  --border: rgba(7, 23, 37, 0.12);
  --text: #071725;
  --muted: #42576e;
  --shadow: 0 24px 80px rgba(7, 23, 37, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top left, rgba(69, 214, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 123, 255, 0.14), transparent 22%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 88%, black));
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 999px;
}
.skip-link:focus { left: 12px; z-index: 1000; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-shell, .section, .site-footer {
  width: var(--content);
  margin: 0 auto;
}
.header-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-mark { height: 44px; display: block; }
.brand-mark-light, .footer-logo-light { display: none; }
[data-theme="light"] .brand-mark-dark,
[data-theme="light"] .footer-logo-dark { display: none; }
[data-theme="light"] .brand-mark-light,
[data-theme="light"] .footer-logo-light { display: block; }

.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.98rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.nav-cta, .button, .floating-cta {
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.nav-cta, .button-primary, .floating-cta {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
  border: 1px solid transparent;
}
.nav-toggle { display: none; background: none; border: 0; gap: 5px; flex-direction: column; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 999px; }

.section { padding: 72px 0; }
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 32px;
  min-height: calc(100vh - 80px);
}
.eyebrow, .section-kicker, .availability {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  color: var(--muted);
}
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: .95;
  letter-spacing: -0.06em;
  max-width: 11ch;
  margin-top: 14px;
}
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; max-width: 14ch; }
h3 { font-size: 1.3rem; }
.lede { color: var(--muted); font-size: 1.08rem; line-height: 1.8; max-width: 60ch; margin-top: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.button-secondary:hover, .site-nav a:hover, .floating-cta:hover, .button:hover, .chooser-chip:hover { transform: translateY(-1px); }
.availability { margin-top: 18px; }
.trust-inline { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-inline li, .pill-row span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.hero-visual { display: grid; place-items: center; }
.visual-stage {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: radial-gradient(circle at center, rgba(69,214,255,.09), transparent 45%), var(--surface);
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.visual-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(157, 214, 255, 0.35);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
}
.node {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  box-shadow: var(--shadow);
}
.node-cloud { left: 50%; top: 10%; transform: translateX(-50%); }
.node-network { left: 13%; top: 32%; }
.node-platform { right: 13%; top: 32%; }
.node-delivery { left: 50%; bottom: 28%; transform: translateX(-50%); }
.node-runtime { left: 16%; bottom: 11%; }
.node-observe { right: 16%; bottom: 11%; }
.pulse {
  position: absolute;
  inset: auto;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(69,214,255,.14);
  animation: pulse 2.4s infinite ease-in-out;
}
.pulse-1 { left: 50%; top: 23%; }
.pulse-2 { left: 25%; top: 49%; animation-delay: .8s; }
.pulse-3 { right: 25%; top: 49%; animation-delay: 1.2s; }

.trust-bar, .split, .architecture, .chooser, .process, .insights, .contact { padding-top: 56px; }
.pill-row, .problem-grid, .service-grid, .case-grid, .process-grid, .insight-list { display: grid; gap: 16px; }
.pill-row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-top: 18px; }
.glass-card, .service-card, .case-card, .process-step, .insight-card, .chooser-panel, .contact-form, .architecture-notes {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.problem-grid, .service-grid, .case-grid, .insight-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.architecture-grid, .contact-layout, .chooser-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 20px; }
.architecture-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent), var(--surface);
}
.diagram-node, .diagram-arrow {
  width: min(100%, 380px);
  text-align: center;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.diagram-node.active { background: linear-gradient(135deg, rgba(47,123,255,.25), rgba(69,214,255,.12)); }
.outcome-band {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(47,123,255,.1), rgba(69,214,255,.08));
}
.service-card ul, .case-card p, .chooser-panel ul, .contact-links, .metric-row { color: var(--muted); line-height: 1.7; }
.service-card ul, .chooser-panel ul, .contact-links { padding-left: 18px; }
.chatbot-card { display: grid; gap: 14px; }
.chatbot-float {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  top: auto !important;
  left: auto !important;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 12px;
}
.chatbot-launcher,
.chatbot-close {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.95), rgba(69, 214, 255, 0.92));
  color: white;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font: inherit;
}
.chatbot-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  position: relative;
}
.chatbot-launcher-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
}
.chatbot-badge {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff4d6d;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
.chatbot-close {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}
.chatbot-panel {
  width: min(408px, calc(100vw - 36px));
  position: absolute;
  right: 0;
  bottom: 68px;
  transform-origin: bottom right;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}
.chatbot-panel[hidden] {
  display: block;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  visibility: hidden;
  pointer-events: none;
}
.chatbot-panel:not([hidden]) {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}
.chatbot-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.chatbot-brand { display: flex; align-items: center; gap: 12px; }
.chatbot-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(47,123,255,.16), rgba(69,214,255,.1));
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  position: relative;
}
.chatbot-mark span {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-radius: 999px;
}
.chatbot-mark span:nth-child(1) { width: 18px; height: 2px; }
.chatbot-mark span:nth-child(2) { width: 2px; height: 18px; }
.chatbot-mark span:nth-child(3) { width: 7px; height: 7px; border-radius: 50%; background: var(--text); bottom: 7px; right: 7px; box-shadow: 0 0 0 2px rgba(69,214,255,.16); }
.chatbot-title { font-weight: 700; letter-spacing: -0.02em; }
.chatbot-subtitle { color: var(--muted); font-size: 0.84rem; margin-top: 2px; max-width: 24ch; }
.chatbot-header-actions { display: flex; align-items: center; gap: 8px; }
.chatbot-reset {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 12px;
  font: inherit;
}
.chatbot-window {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}
.chat-message {
  max-width: 82%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.65;
  border: 1px solid var(--border);
}
.chat-message.bot { background: rgba(47, 123, 255, 0.12); }
.chat-message.user { margin-left: auto; background: rgba(69, 214, 255, 0.08); }
.chat-message.system {
  max-width: 100%;
  background: rgba(255,255,255,.02);
  color: var(--muted);
  font-size: .92rem;
}
.chat-message.typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.typing-dots {
  display: inline-flex;
  gap: 4px;
}
.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }
.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.chatbot-form .button-primary {
  min-width: 78px;
  padding-inline: 18px;
  background:
    linear-gradient(135deg, rgba(18, 39, 65, 0.1), rgba(18, 39, 65, 0.02)),
    linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 20px rgba(47, 123, 255, 0.22),
    0 0 0 1px rgba(69, 214, 255, 0.12) inset;
}
.chatbot-form .button-primary:hover,
.chatbot-form .button-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 14px 24px rgba(47, 123, 255, 0.26),
    0 0 0 1px rgba(69, 214, 255, 0.18) inset;
}
.chatbot-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chatbot-mode {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
}
.chatbot-mode.active {
  color: var(--text);
  border-color: rgba(69,214,255,.48);
  background: linear-gradient(135deg, rgba(47,123,255,.18), rgba(69,214,255,.08));
}
.chatbot-form input {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.chatbot-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chatbot-hint {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
}
.chatbot-note { color: var(--muted); font-size: 0.92rem; }
.chatbot-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.16), rgba(69, 214, 255, 0.08));
  color: var(--text);
  text-decoration: none;
}
.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;
}
.chooser-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chooser-chip {
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-align: left;
}
.chooser-chip.active { border-color: rgba(69,214,255,.5); box-shadow: 0 0 0 1px rgba(69,214,255,.12) inset; }
.chooser-label { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; }

.metric-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.metric-row div { padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.03); }
.metric-row span, .site-footer small { display: block; margin-top: 6px; color: var(--muted); }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-size: .95rem; color: var(--text); }
input, textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 78%, white 2%);
  color: var(--text);
  font: inherit;
}
input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status { min-height: 1.5em; margin-top: 12px; color: var(--muted); }

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.site-footer {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr .8fr auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
}
.site-footer nav, .theme-switcher { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.site-footer a, .theme-switcher button {
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
}
.contact-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.contact-links li { margin: 0; }
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 132px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.16), rgba(69, 214, 255, 0.08));
  color: var(--text);
  text-decoration: none;
  box-shadow: none;
}
.contact-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent);
}
.contact-button svg {
  width: 18px;
  height: 18px;
  display: block;
}
.contact-button-secondary {
  background: var(--surface);
  color: var(--muted);
}
.theme-switcher button.active { color: var(--text); border-color: rgba(69,214,255,.5); }
.footer-logo { height: 42px; }

[data-theme="light"] .floating-cta { color: #fff; }

@keyframes pulse {
  0%, 100% { transform: scale(.92); opacity: .8; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .5; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 980px) {
  .hero, .architecture-grid, .contact-layout, .chooser-layout, .site-footer { grid-template-columns: 1fr; }
  .service-grid, .process-grid, .problem-grid, .case-grid, .insight-list, .metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .header-shell, .section, .site-footer { width: calc(100vw - 24px); }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    background: var(--bg-elevated);
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    min-width: min(240px, calc(100vw - 24px));
  }
  .site-nav.open { display: flex; }
  .hero { min-height: auto; padding-top: 28px; }
  .service-grid, .process-grid, .problem-grid, .case-grid, .insight-list, .metric-row, .field-grid, .chooser-grid, .chatbot-form { grid-template-columns: 1fr; }
  h1 { max-width: 100%; }
  .chatbot-float { right: 12px; left: 12px; bottom: 12px; justify-items: stretch; }
  .chatbot-panel, .chatbot-launcher { width: 100%; }
  .chatbot-panel { bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.section-dark {
  width: 100%;
  padding: 88px 0;
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(47,123,255,.16), transparent 22%),
    linear-gradient(180deg, #061624, #081b2c);
}

.section-light {
  width: 100%;
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(245,249,253,.95));
}

.section-dark .section-heading,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li {
  color: #f7fbff;
}

.section-light .section-heading,
.section-light h2,
.section-light h3,
.section-light p,
.section-light li {
  color: #071725;
}

.section-dark .section-kicker,
.section-dark .availability {
  color: rgba(247,251,255,.68);
}

.section-dark .glass-card,
.section-dark .service-card,
.section-dark .case-card,
.section-dark .process-step,
.section-dark .insight-card,
.section-dark .chooser-panel,
.section-dark .architecture-notes,
.section-dark .contact-form,
.section-dark .contact-aside .glass-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(153, 189, 225, .18);
  box-shadow: 0 20px 48px rgba(0, 7, 16, .34);
}

.section-dark .glass-card h3,
.section-dark .service-card h3,
.section-dark .case-card h3,
.section-dark .process-step h3,
.section-dark .insight-card h3,
.section-dark .chooser-panel h3,
.section-dark .architecture-notes h3,
.section-dark .contact-form h3,
.section-dark .contact-aside h3 {
  color: #f7fbff;
}

.section-dark .glass-card p,
.section-dark .service-card p,
.section-dark .case-card p,
.section-dark .process-step p,
.section-dark .insight-card p,
.section-dark .chooser-panel p,
.section-dark .architecture-notes p,
.section-dark .contact-form p,
.section-dark .contact-aside p,
.section-dark .metric-row,
.section-dark .service-card li,
.section-dark .case-card li,
.section-dark .chooser-panel li {
  color: rgba(247,251,255,.76);
}

.section-dark .tag-row span,
.section-dark .chatbot-hint,
.section-dark .chatbot-reset,
.section-dark .contact-button-secondary {
  background: rgba(8, 24, 39, .7);
  color: #f7fbff;
  border-color: rgba(153, 189, 225, .18);
}

.section-dark .chatbot-form input,
.section-dark input,
.section-dark textarea {
  background: rgba(4, 16, 26, .72);
  color: #f7fbff;
  border-color: rgba(153, 189, 225, .22);
}

.section-dark .chatbot-form input::placeholder,
.section-dark input::placeholder,
.section-dark textarea::placeholder {
  color: rgba(247,251,255,.48);
}

.section-dark .chatbot-note,
.section-dark .form-status {
  color: rgba(247,251,255,.62);
}

.section-dark label {
  color: rgba(247,251,255,.82);
}

.section-dark .contact-form .button-primary {
  color: #ffffff;
  border-color: rgba(255,255,255,.14);
}

.section-dark .contact-form .button-primary:hover,
.section-dark .contact-form .button-primary:focus-visible {
  color: #ffffff;
}

.section-dark .contact-form input,
.section-dark .contact-form textarea,
.section-dark .contact-form ::placeholder {
  color: #f7fbff;
}

.section-dark .contact-form input,
.section-dark .contact-form textarea {
  background: rgba(4, 16, 26, .84);
  border-color: rgba(153, 189, 225, .24);
}

.section-dark .contact-form input::placeholder,
.section-dark .contact-form textarea::placeholder {
  color: rgba(247,251,255,.48);
}

.section-light .section-kicker,
.section-light .availability {
  color: #4f647b;
}

.hero {
  min-height: calc(100vh - 80px);
  padding: 108px 0 92px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69,214,255,.4), transparent);
  pointer-events: none;
}

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

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 40%, rgba(69,214,255,.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  filter: blur(0);
  pointer-events: none;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.section-heading h2 {
  max-width: 16ch;
}

.trust-bar {
  padding: 34px 0 90px;
}

.trust-bar .pill-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.problem-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.problem-feature {
  grid-row: span 2;
  min-height: 320px;
  background:
    radial-gradient(circle at top left, rgba(69,214,255,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.problem-mini {
  min-height: 152px;
  background: rgba(255,255,255,.06);
}

.card-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  margin-bottom: 10px;
}

.outcome-band {
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: 0;
}

.outcome-band strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.outcome-band span {
  display: block;
  padding: 16px 18px;
  margin-top: 10px;
  border-radius: 18px;
  border: 1px solid rgba(69,214,255,.28);
  background:
    linear-gradient(135deg, rgba(47,123,255,.22), rgba(69,214,255,.12)),
    rgba(255,255,255,.03);
  color: #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.section-dark .outcome-band span {
  color: #f7fbff;
}

.section-dark .outcome-band strong {
  color: #f7fbff;
}

.service-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.service-feature {
  grid-row: span 2;
  min-height: 330px;
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.16), transparent 26%),
    linear-gradient(180deg, rgba(7,23,37,.94), rgba(7,23,37,.84));
  color: #f7fbff;
}

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

.service-card::after {
  content: "↗";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--accent);
  transition: transform .2s ease;
}

.service-card:hover::after {
  transform: translate(2px, -2px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(69,214,255,.16);
  background: rgba(255,255,255,.04);
  font-size: .84rem;
}

.architecture-grid {
  grid-template-columns: 1.15fr .85fr;
}

.architecture-diagram {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.10), transparent 26%),
    radial-gradient(circle at bottom left, rgba(47,123,255,.08), transparent 24%),
    rgba(4, 16, 26, .64);
  border: 1px solid rgba(153, 189, 225, .18);
  box-shadow: 0 24px 60px rgba(0, 7, 16, .35);
}

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

.diagram-label {
  color: rgba(247,251,255,.58);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .7rem;
}

.diagram-node,
.diagram-arrow {
  width: 100%;
  max-width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(153, 189, 225, .18);
  background: linear-gradient(135deg, rgba(10, 27, 43, .9), rgba(5, 19, 31, .92));
  color: #f7fbff;
  position: relative;
  overflow: hidden;
}

.diagram-node.active {
  background: linear-gradient(135deg, rgba(47,123,255,.24), rgba(69,214,255,.12));
  border-color: rgba(69,214,255,.42);
}

.diagram-node:hover {
  transform: translateY(-2px);
  border-color: rgba(69,214,255,.48);
  background: rgba(47,123,255,.18);
}

.diagram-node::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(69,214,255,.12), transparent 36%);
  opacity: 0;
  transition: opacity .18s ease;
}

.diagram-node:hover::before {
  opacity: 1;
}

.diagram-arrow {
  text-align: center;
  padding: 8px 0;
  color: rgba(247,251,255,.72);
  background: transparent;
  border: 0;
  font-size: 1.1rem;
}

.architecture-notes {
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.08), transparent 28%),
    rgba(255,255,255,.04);
}

.architecture-notes .card-kicker {
  margin-bottom: 8px;
}

.architecture-meta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.architecture-meta div {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(153, 189, 225, .16);
  background: rgba(4, 16, 26, .44);
}

.architecture-meta span {
  display: block;
  color: rgba(247,251,255,.58);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  margin-bottom: 6px;
}

.architecture-meta strong {
  color: #f7fbff;
  font-weight: 600;
  line-height: 1.5;
}

.architecture-notes ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.chooser-layout {
  grid-template-columns: 1fr .92fr;
}

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

.chooser-panel {
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.1), transparent 30%),
    var(--surface);
}

.case-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.case-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.1), transparent 22%),
    rgba(255,255,255,.04);
}

.case-card:nth-child(even) {
  grid-template-columns: .9fr 1.1fr;
}

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

.process-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 58px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(69,214,255,.4), transparent);
}

.process-step {
  position: relative;
}

.process-step span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
  margin-bottom: 16px;
}

.about-card {
  margin-top: 24px;
  background:
    linear-gradient(135deg, rgba(47,123,255,.1), rgba(69,214,255,.05)),
    var(--surface);
}

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

.contact-layout {
  grid-template-columns: .98fr 1.02fr;
}

.contact-form,
.contact-aside .glass-card {
  background: rgba(255,255,255,.04);
}

.site-footer {
  padding-top: 44px;
}

.chatbot-launcher {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg, #2f7bff, #45d6ff);
  border: 1px solid rgba(255,255,255,.16);
}

.chatbot-panel {
  width: min(420px, calc(100vw - 36px));
}

.chatbot-window {
  max-height: 340px;
}

.chatbot-form .button-primary {
  min-width: 86px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, #2f7bff, #45d6ff);
}

.chatbot-mode,
.chatbot-hint,
.chatbot-reset {
  backdrop-filter: blur(14px);
}

@media (max-width: 980px) {
  .problem-bento,
  .service-bento,
  .architecture-grid,
  .chooser-layout,
  .contact-layout,
  .case-card,
  .insight-list {
    grid-template-columns: 1fr;
  }
  .process-grid::before { display: none; }
  .trust-bar .pill-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .section-dark,
  .section-light {
    padding: 72px 0;
  }
  .hero {
    padding: 88px 0 72px;
  }
  .trust-bar .pill-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-feature, .service-feature { grid-row: auto; min-height: auto; }
  .chatbot-float { right: 12px !important; left: 12px !important; bottom: 12px !important; justify-items: stretch; }
  .chatbot-panel,
  .chatbot-launcher { width: 100%; }
  .chatbot-panel { bottom: 64px; }
}

/* Second-stage overhaul overrides */
.section-dark {
  width: 100%;
  padding: 88px 0;
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(47,123,255,.16), transparent 22%),
    linear-gradient(180deg, #061624, #081b2c);
  position: relative;
  overflow: clip;
}

.section-light {
  width: 100%;
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(245,249,253,.96));
}

.section-dark .section-kicker,
.section-dark .availability { color: rgba(247,251,255,.68); }
.section-light .section-kicker,
.section-light .availability { color: #4f647b; }
.section-dark .section-heading,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li { color: #f7fbff; }
.section-light .section-heading,
.section-light h2,
.section-light h3,
.section-light p,
.section-light li { color: #071725; }

.section-heading { display: grid; gap: 12px; margin-bottom: 18px; }
.section-heading h2 { max-width: 16ch; }

.hero { min-height: calc(100vh - 80px); padding: 108px 0 92px; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: 24px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69,214,255,.4), transparent);
}
.hero .hero-copy::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.hero-actions .button-primary { box-shadow: 0 18px 34px rgba(47,123,255,.26); }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 40%, rgba(69,214,255,.12), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  pointer-events: none;
}
.hero-visual .visual-stage {
  background:
    radial-gradient(circle at center, rgba(69,214,255,.12), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}
.hero-visual .visual-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
  opacity: .3;
  pointer-events: none;
}

.hero-metrics {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(92%, 620px);
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(153, 189, 225, .18);
  background: rgba(4, 16, 26, .84);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 44px rgba(0, 7, 16, .28);
  z-index: 2;
}

.metric-card {
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(153, 189, 225, .12);
}

.metric-card span {
  display: block;
  color: rgba(247,251,255,.6);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .67rem;
  margin-bottom: 6px;
}

.metric-card strong {
  color: #66f0d7;
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-card:nth-child(2) strong { color: #5fe3ff; }
.metric-card:nth-child(3) strong { color: #8ef0b1; }
.metric-card:nth-child(4) strong { color: #f5d96a; }

@media (max-width: 760px) {
  .hero-metrics {
    width: calc(100% - 24px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    bottom: 12px;
  }
}

.trust-bar { padding: 28px 0 64px; }
.trust-bar .pill-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }

.problem-bento,
.service-bento { display: grid; gap: 16px; margin-top: 22px; }
.problem-bento { grid-template-columns: 1.35fr 1fr 1fr; }
.service-bento { grid-template-columns: 1.35fr 1fr 1fr; }
.problem-feature,
.service-feature { min-height: 320px; }
.problem-feature {
  grid-row: span 2;
  background:
    radial-gradient(circle at top left, rgba(69,214,255,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.problem-mini { min-height: 152px; background: rgba(255,255,255,.06); }
.card-kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-bottom: 10px; }
.outcome-band { margin-top: 24px; padding: 0; background: transparent; border: 0; }
.outcome-band strong { display: block; margin-bottom: 14px; font-size: 1.05rem; }
.outcome-band span {
  display: block;
  padding: 16px 18px;
  margin-top: 10px;
  border-radius: 18px;
  border: 1px solid rgba(69,214,255,.18);
  background: linear-gradient(135deg, rgba(47,123,255,.12), rgba(69,214,255,.06));
}

.service-feature {
  grid-row: span 2;
  background:
    radial-gradient(circle at top right, rgba(69,214,255,.16), transparent 26%),
    linear-gradient(180deg, rgba(7,23,37,.94), rgba(7,23,37,.84));
}
.service-card { position: relative; overflow: hidden; }
.service-card::after {
  content: "?";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--accent);
  transition: transform .2s ease;
}
.service-card:hover::after { transform: translate(2px, -2px); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(69,214,255,.16);
  background: rgba(255,255,255,.04);
  font-size: .84rem;
}

.architecture-grid { grid-template-columns: 1.15fr .85fr; }
.architecture-diagram {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent),
    radial-gradient(circle at center, rgba(69,214,255,.08), transparent 48%);
}
.diagram-node { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.diagram-node:hover {
  transform: translateY(-2px);
  border-color: rgba(69,214,255,.48);
  background: rgba(47,123,255,.18);
}

.chooser-layout { grid-template-columns: 1fr .92fr; }
.chooser-grid { grid-template-columns: 1fr 1fr; }
.chooser-panel { background: radial-gradient(circle at top right, rgba(69,214,255,.1), transparent 30%), var(--surface); }

.case-grid { grid-template-columns: 1fr; gap: 20px; }
.case-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
  min-height: 280px;
  background: radial-gradient(circle at top right, rgba(69,214,255,.12), transparent 18%), rgba(255,255,255,.035);
}
.case-card:nth-child(even) { grid-template-columns: .9fr 1.1fr; }

.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; gap: 14px; }
.process-grid::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 58px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(69,214,255,.4), transparent);
}
.process-step span {
  display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: white; margin-bottom: 16px;
}
.about-card { margin-top: 24px; background: linear-gradient(135deg, rgba(47,123,255,.1), rgba(69,214,255,.05)), var(--surface); }

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

.contact-layout { grid-template-columns: .98fr 1.02fr; }
.contact-form,
.contact-aside .glass-card { background: rgba(255,255,255,.04); }

.chatbot-launcher {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg, #061624, #0b2340);
  border: 1px solid rgba(255,255,255,.16);
}
.chatbot-launcher-icon,
.chatbot-brandmark { width: 30px; height: 30px; }
.chatbot-launcher-label { font-weight: 700; letter-spacing: .02em; }
.chatbot-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(69,214,255,.12);
}
.chatbot-panel { width: min(420px, calc(100vw - 36px)); }
.chatbot-window { max-height: 360px; }
.chatbot-form .button-primary {
  min-width: 86px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(135deg, #2f7bff, #45d6ff);
}
.chatbot-mode,
.chatbot-hint,
.chatbot-reset { backdrop-filter: blur(14px); }

.site-footer { padding-top: 44px; }

@media (max-width: 980px) {
  .problem-bento,
  .service-bento,
  .architecture-grid,
  .chooser-layout,
  .contact-layout,
  .case-card,
  .insight-list {
    grid-template-columns: 1fr;
  }
  .process-grid::before { display: none; }
  .trust-bar .pill-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .section-dark,
  .section-light { padding: 72px 0; }
  .hero { padding: 88px 0 72px; }
  .trust-bar .pill-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-feature, .service-feature { grid-row: auto; min-height: auto; }
  .chatbot-float { right: 12px !important; left: 12px !important; bottom: 12px !important; justify-items: stretch; }
  .chatbot-panel,
  .chatbot-launcher { width: 100%; }
  .chatbot-panel { bottom: 64px; }
}
