:root {
  --bg: #fffdf9;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-muted: #fff5eb;
  --text: #111111;
  --text-muted: #5a524d;
  --border: rgba(255, 122, 0, 0.14);
  --border-strong: rgba(255, 122, 0, 0.22);
  --accent: #ff7a00;
  --accent-soft: #ffb059;
  --shadow: 0 24px 60px rgba(255, 122, 0, 0.08);
  --shadow-strong: 0 26px 80px rgba(255, 122, 0, 0.14);
}

html[data-theme="dark"] {
  --bg: #0b0b0b;
  --surface: rgba(17, 17, 17, 0.82);
  --surface-strong: #111111;
  --surface-muted: rgba(255, 122, 0, 0.08);
  --text: #f5f5f5;
  --text-muted: #b9b2ab;
  --border: rgba(255, 122, 0, 0.18);
  --border-strong: rgba(255, 122, 0, 0.28);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-strong: 0 36px 96px rgba(255, 122, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.12), transparent 24rem),
    radial-gradient(circle at left 20%, rgba(255, 176, 89, 0.08), transparent 18rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.7;
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 34%),
    radial-gradient(circle at 20% 10%, rgba(255, 122, 0, 0.06), transparent 22rem);
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 1px, transparent 1px);
  background-size: 12px 12px;
  mix-blend-mode: multiply;
  z-index: -1;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0.8;
  filter: blur(18px);
  z-index: 1;
}

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

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

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-tight {
  padding-top: 70px;
}

.narrow {
  max-width: 650px;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 122, 0, 0.08);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}

.nav-shell,
.footer-shell,
.hero-grid,
.crm-grid,
.experience-grid,
.modal-grid,
.cta-shell,
.section-head,
.lead-actions,
.nav-actions {
  display: flex;
  gap: 24px;
}

.nav-shell,
.footer-shell {
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-copy span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav-links {
  display: inline-flex;
  gap: 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.theme-toggle,
.button,
.modal-close {
  border: 0;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.theme-toggle:hover,
.button:hover,
.tile-card:hover,
.service-card:hover,
.growth-card:hover,
.summary-card:hover,
.example-card:hover,
.pipeline-card:hover,
.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 18px 44px rgba(255, 122, 0, 0.22);
}

.button-secondary {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

.button-compact {
  min-width: 108px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-small {
  font-size: 0.72rem;
}

.hero-grid,
.crm-grid,
.experience-grid,
.modal-grid {
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 40px;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  margin-top: 18px;
  max-width: 620px;
  font-size: clamp(3.2rem, 5vw, 4.1rem);
}

.section h2 {
  font-size: clamp(2.3rem, 4vw, 3rem);
}

.hero-support,
.hero-trust,
.section p,
.about-lines,
.panel-copy,
.faq-card p {
  max-width: 650px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-support {
  margin: 24px 0 0;
}

.hero-trust {
  margin: 16px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-dashboard {
  position: relative;
}

.ambient-glow {
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.18), transparent 62%);
  filter: blur(40px);
}

.dashboard-panel,
.panel-card,
.pipeline-card,
.summary-card,
.growth-card,
.service-card,
.tile-card,
.example-card,
.faq-card,
.status-card,
.cta-shell,
.split-card,
.modal-dialog {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-panel {
  position: relative;
  padding: 28px;
  border-radius: 32px;
}

.dashboard-topline,
.chart-header,
.pipeline-head,
.panel-head,
.modal-actions,
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-topline,
.chart-header,
.pipeline-head {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.metric-card,
.summary-card,
.service-card,
.growth-card,
.faq-card,
.tile-card {
  padding: 24px;
  border-radius: 24px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.metric-card {
  background: var(--surface-strong);
}

.metric-card span,
.summary-card span,
.service-card p,
.growth-card p,
.faq-card p,
.tile-card p,
.modal-badge,
.panel-badge,
.micro-cta a,
.service-icon,
.tile-icon {
  color: var(--text-muted);
}

.metric-card strong,
.summary-card strong,
.pipeline-lane strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.metric-card small,
.summary-card small {
  font-size: 0.92rem;
  color: var(--accent);
}

.dashboard-chart {
  margin-top: 24px;
  padding: 22px;
  border-radius: 28px;
  background: var(--surface-strong);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  height: 160px;
  margin-top: 24px;
}

.chart-bars span {
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(255, 176, 89, 0.54), var(--accent));
  animation: chart-rise 4s ease-in-out infinite alternate;
}

@keyframes chart-rise {
  from {
    opacity: 0.72;
  }

  to {
    opacity: 1;
  }
}

.about-lines {
  margin-top: 32px;
}

.about-lines p {
  margin: 0 0 18px;
  opacity: 0;
  transform: translateY(12px);
}

.about-lines.is-visible p {
  animation: line-fade 0.6s ease forwards;
}

.about-lines.is-visible p:nth-child(1) { animation-delay: 0.1s; }
.about-lines.is-visible p:nth-child(2) { animation-delay: 0.2s; }
.about-lines.is-visible p:nth-child(3) { animation-delay: 0.3s; }
.about-lines.is-visible p:nth-child(4) { animation-delay: 0.4s; }
.about-lines.is-visible p:nth-child(5) { animation-delay: 0.5s; }

@keyframes line-fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head {
  align-items: end;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 440px;
  margin: 0;
}

.tile-grid-five,
.service-grid,
.growth-grid,
.faq-grid,
.dashboard-summary {
  display: grid;
  gap: 24px;
}

.tile-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

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

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

.tile-icon,
.service-icon,
.panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
}

.tile-card h3,
.service-card h3,
.growth-card h3,
.example-card h3,
.faq-card h3,
.panel-head h3,
.split-panel h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.crm-grid,
.experience-grid,
.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.bullet-list {
  padding-left: 1.2rem;
  color: var(--text);
}

.bullet-list li {
  margin-bottom: 10px;
}

.crm-highlight {
  color: var(--accent);
  font-weight: 600;
}

.pipeline-card {
  padding: 28px;
  border-radius: 30px;
}

.pipeline-lane {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--surface-strong);
}

.pipeline-lane span {
  font-weight: 700;
  color: var(--accent);
}

.example-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.example-card {
  scroll-snap-align: start;
  padding: 24px;
  border-radius: 28px;
}

.example-ui {
  height: 160px;
  margin-bottom: 20px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.16), rgba(255, 176, 89, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent);
  border: 1px solid var(--border);
}

.example-card ul {
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.panel-card {
  padding: 28px;
  border-radius: 32px;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
  max-height: 420px;
  margin-top: 24px;
  padding: 20px;
  overflow-y: auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.message,
.structured-message,
.typing-indicator {
  max-width: 92%;
  padding: 16px 18px;
  border-radius: 24px;
}

.message-user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
}

.message-ai,
.structured-message,
.typing-indicator {
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.message-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.structured-message ul {
  padding-left: 1rem;
  margin: 12px 0 0;
}

.structured-message h4 {
  margin: 16px 0 8px;
}

.typing-dots {
  display: inline-flex;
  gap: 6px;
  margin-left: 10px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 0.9s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.12s; }
.typing-dots span:nth-child(3) { animation-delay: 0.24s; }

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.chat-form,
.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.chat-form {
  grid-template-columns: 1fr auto;
}

input,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.08);
}

.voice-wave {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  margin: 28px 0;
  padding: 24px 18px;
  border-radius: 28px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.voice-wave span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 176, 89, 0.56), var(--accent));
}

.voice-wave.is-active span {
  animation: wave 0.96s ease-in-out infinite;
}

.voice-wave.is-active span:nth-child(2) { animation-delay: 0.05s; }
.voice-wave.is-active span:nth-child(3) { animation-delay: 0.1s; }
.voice-wave.is-active span:nth-child(4) { animation-delay: 0.15s; }
.voice-wave.is-active span:nth-child(5) { animation-delay: 0.2s; }
.voice-wave.is-active span:nth-child(6) { animation-delay: 0.25s; }
.voice-wave.is-active span:nth-child(7) { animation-delay: 0.3s; }
.voice-wave.is-active span:nth-child(8) { animation-delay: 0.35s; }
.voice-wave.is-active span:nth-child(9) { animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { height: 12px; opacity: 0.7; }
  50% { height: 52px; opacity: 1; }
}

.voice-button {
  width: 100%;
}

.status-card,
.form-status {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text);
}

.micro-cta {
  margin-top: 24px;
}

.micro-cta a {
  color: var(--accent);
  font-weight: 600;
}

.split-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 32px;
}

.split-panel {
  padding: 36px;
}

.split-panel-muted {
  opacity: 0.58;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.split-panel-bright {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.14), transparent 42%),
    var(--surface-strong);
}

.split-panel-bright::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 122, 0, 0.05), transparent 42%);
  pointer-events: none;
}

.cta-shell {
  align-items: start;
  justify-content: space-between;
  padding: 36px;
  border-radius: 34px;
}

.cta-shell > * {
  flex: 1;
}

.lead-actions {
  flex-wrap: wrap;
  margin-top: 8px;
}

.site-footer {
  padding: 36px 0 60px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-links a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 30;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  backdrop-filter: blur(10px);
}

.modal-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  padding: 28px;
  border-radius: 34px;
  overflow: auto;
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 1.5rem;
}

.modal-preview,
.modal-breakdown {
  padding: 14px 6px 6px;
}

.modal-badge {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.preview-card,
.breakdown-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.preview-card h4,
.breakdown-item h4 {
  margin: 8px 0;
}

.breakdown-list {
  display: grid;
  gap: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-card {
  animation: floaty 6s ease-in-out infinite;
}

.delay-a { animation-delay: 0s; }
.delay-b { animation-delay: 0.8s; }
.delay-c { animation-delay: 1.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.7deg); }
}

@media (max-width: 1080px) {
  .tile-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .hero-grid,
  .crm-grid,
  .experience-grid,
  .cta-shell,
  .modal-grid,
  .split-card,
  .section-head,
  .footer-shell {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .service-grid,
  .growth-grid,
  .dashboard-summary,
  .faq-grid,
  .tile-grid-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1100px);
  }

  .section {
    padding: 76px 0;
  }

  .service-grid,
  .growth-grid,
  .dashboard-summary,
  .faq-grid,
  .tile-grid-five {
    grid-template-columns: 1fr;
  }

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

  .nav-shell {
    min-height: 76px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }
}
