:root {
  color-scheme: dark;
  --ink: #11140f;
  --ink-2: #171b14;
  --paper: #f5f0df;
  --muted: #b8b39f;
  --line: rgba(245, 240, 223, 0.16);
  --lime: #c9ff4a;
  --blue: #4cc9f0;
  --red: #ff5b4a;
  --yellow: #f8c537;
  --slate: #a8b3a0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(201, 255, 74, 0.13), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(76, 201, 240, 0.11), transparent 26rem),
    linear-gradient(135deg, #11140f 0%, #171b14 48%, #0e120e 100%);
  color: var(--paper);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(245, 240, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 223, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 76%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.system-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 20, 15, 0.74);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-cta,
.main-nav a,
.button {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(201, 255, 74, 0.65);
  border-radius: 7px;
  background: rgba(201, 255, 74, 0.12);
  color: var(--lime);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a,
.nav-cta {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav a:hover,
.nav-cta:hover {
  background: rgba(245, 240, 223, 0.08);
  color: var(--paper);
}

.nav-cta {
  justify-self: end;
  border: 1px solid rgba(201, 255, 74, 0.45);
  background: transparent;
  color: var(--lime);
  cursor: pointer;
  font: inherit;
}

.hero {
  min-height: 100svh;
  padding: 146px 0 70px;
}

.hero-grid,
.section,
.contact-section,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - 220px);
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 32px;
  text-align: center;
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 24px;
  font-family: "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 4.25vw, 4.05rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.25vw, 2.35rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.1;
}

.hero-lead {
  max-width: 590px;
  margin-inline: auto;
  margin-bottom: 32px;
  color: #ddd7c2;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
}

.hero-lead span {
  display: inline;
}

.hero-rotator {
  position: relative;
  display: grid;
  min-height: 3.1em;
  max-width: 760px;
  align-items: center;
  margin: -8px auto 20px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 255, 74, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(201, 255, 74, 0.08), rgba(76, 201, 240, 0.045)),
    rgba(17, 20, 15, 0.36);
  color: #edf7d0;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  font-weight: 850;
  line-height: 1.32;
  overflow: hidden;
}

.hero-rotator::before {
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: var(--lime);
  content: "";
  opacity: 0.72;
}

.hero-rotator span {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero-rotator span.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 900;
}

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

.button-primary {
  border: 1px solid var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(245, 240, 223, 0.06);
  color: var(--paper);
}

.card-index,
.case-meta,
dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 132px;
}

.intro-band {
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 240, 223, 0.06);
}

.intro-band p {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 800;
  line-height: 1.32;
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading > p:not(.eyebrow) {
  margin: 0;
  color: #cfc8b2;
  font-size: 1.04rem;
}

.section-heading.compact {
  max-width: 660px;
}

.solutions-section {
  padding-top: 24px;
}

.solution-grid,
.build-grid,
.ai-grid {
  display: grid;
  gap: 14px;
}

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

.solution-card,
.build-grid article,
.ai-grid article,
.comparison-card,
.final-cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 240, 223, 0.055);
}

.solution-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 90% 16%, rgba(201, 255, 74, 0.12), transparent 9rem),
    linear-gradient(180deg, rgba(245, 240, 223, 0.08), rgba(245, 240, 223, 0.035));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.solution-card:hover {
  border-color: rgba(201, 255, 74, 0.38);
  background:
    radial-gradient(circle at 90% 16%, rgba(201, 255, 74, 0.16), transparent 10rem),
    linear-gradient(180deg, rgba(245, 240, 223, 0.1), rgba(245, 240, 223, 0.045));
  transform: translateY(-3px);
}

.solution-card h3 {
  margin-top: 66px;
  font-size: 1.22rem;
}

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

.service-card,
.case-card,
.audience-list article,
.problem-grid article,
.process-list li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 240, 223, 0.055);
}

.service-card {
  min-height: 276px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 78px;
  height: 78px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.2;
}

.service-card h3 {
  margin-top: 78px;
  font-size: 1.2rem;
}

.service-card p,
.solution-card p,
.build-grid p,
.ai-grid p,
.comparison-card li,
.case-card p,
.audience-list p,
.problem-grid p,
.problem-cta p,
.process-list p,
.capability-copy p,
.faq-list p,
.final-cta-panel p,
.contact-panel p {
  margin-bottom: 0;
  color: #cfc8b2;
}

.accent-lime { color: var(--lime); }
.accent-blue { color: var(--blue); }
.accent-red { color: var(--red); }
.accent-yellow { color: var(--yellow); }
.accent-slate { color: var(--slate); }
.accent-ink { color: var(--paper); }

.problem-section {
  border-top: 1px solid var(--line);
}

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

.problem-grid article {
  min-height: 150px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(245, 240, 223, 0.07), rgba(245, 240, 223, 0.035));
}

.problem-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.problem-grid p {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.34;
}

.problem-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(201, 255, 74, 0.22);
  border-radius: var(--radius);
  background: rgba(201, 255, 74, 0.06);
}

.problem-cta p {
  max-width: 760px;
  font-weight: 800;
}

.work-grid .service-card {
  min-height: 430px;
}

.work-grid .service-card h3 {
  margin-top: 72px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 800;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.build-section {
  border-top: 1px solid var(--line);
}

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

.build-grid article,
.ai-grid article {
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(245, 240, 223, 0.07), rgba(245, 240, 223, 0.032)),
    rgba(17, 20, 15, 0.38);
}

.build-grid article::before,
.ai-grid article::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), rgba(76, 201, 240, 0.66));
  content: "";
}

.before-after-section {
  border-top: 1px solid var(--line);
}

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

.comparison-card {
  padding: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 91, 74, 0.11), transparent 15rem),
    rgba(245, 240, 223, 0.048);
}

.comparison-card.is-after {
  border-color: rgba(201, 255, 74, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 255, 74, 0.16), transparent 15rem),
    rgba(201, 255, 74, 0.048);
}

.comparison-card h3 {
  margin-bottom: 20px;
  font-size: 1.32rem;
}

.comparison-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  min-height: 48px;
  padding: 12px 12px 12px 34px;
  border: 1px solid rgba(245, 240, 223, 0.12);
  border-radius: 7px;
  background: rgba(17, 20, 15, 0.48);
  font-weight: 800;
  position: relative;
}

.comparison-card li::before {
  position: absolute;
  left: 12px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 91, 74, 0.8);
  content: "";
}

.comparison-card.is-after li::before {
  background: var(--lime);
}

.ai-section {
  border-top: 1px solid var(--line);
}

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

.ai-grid article {
  min-height: 250px;
}

.audience-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

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

.audience-list article {
  padding: 22px;
}

.audience-list h3 {
  margin-bottom: 8px;
}

.cases-section {
  border-top: 1px solid var(--line);
}

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

.case-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(245, 240, 223, 0.08), rgba(245, 240, 223, 0.035));
}

.case-card h3 {
  margin-top: 36px;
  font-size: 1.28rem;
}

.case-card dl {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 28px;
}

.case-card dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.case-card dd {
  margin: 4px 0 0;
  color: var(--paper);
  font-weight: 800;
}

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

.process-list li {
  min-height: 240px;
  padding: 22px;
}

.process-list span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--lime);
  font-weight: 900;
}

.capabilities-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line);
}

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

.capability-matrix span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(17, 20, 15, 0.5);
  color: var(--paper);
  font-weight: 900;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  padding-top: 14px;
}

.final-cta-section {
  padding-top: 46px;
}

.final-cta-panel {
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 255, 74, 0.18), transparent 17rem),
    radial-gradient(circle at 100% 80%, rgba(76, 201, 240, 0.13), transparent 20rem),
    linear-gradient(135deg, rgba(245, 240, 223, 0.1), rgba(245, 240, 223, 0.035));
  box-shadow: var(--shadow);
  text-align: center;
}

.final-cta-panel h2,
.final-cta-panel p {
  max-width: 780px;
  margin-inline: auto;
}

.final-cta-panel p {
  margin-top: 18px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.contact-section {
  padding: 80px 0 40px;
}

.contact-panel {
  min-height: 420px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(201, 255, 74, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 20%, rgba(201, 255, 74, 0.2), transparent 20rem),
    linear-gradient(135deg, rgba(245, 240, 223, 0.12), rgba(245, 240, 223, 0.04));
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 760px;
}

.contact-panel p {
  max-width: 700px;
  margin-top: 22px;
  margin-bottom: 30px;
  font-size: 1.18rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(201, 255, 74, 0.62);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(201, 255, 74, 0.2), rgba(76, 201, 240, 0.12)),
    rgba(17, 20, 15, 0.9);
  color: var(--lime);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chat-launcher:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
}

.chat-launcher svg {
  width: 27px;
  height: 27px;
}

.chat-launcher-status {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(76, 201, 240, 0.9);
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 29;
  width: min(600px, calc(100vw - 24px));
  max-height: min(720px, calc(100svh - 118px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-shell {
  display: grid;
  height: min(720px, calc(100svh - 118px));
  min-height: 520px;
  grid-template-rows: auto 1fr auto auto auto;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 223, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 255, 74, 0.18), transparent 15rem),
    radial-gradient(circle at 100% 80%, rgba(76, 201, 240, 0.18), transparent 16rem),
    rgba(17, 20, 15, 0.94);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(22px);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 13px;
  border-bottom: 1px solid var(--line);
}

.chat-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--lime);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-header h2 {
  font-size: 0.98rem;
  line-height: 1.15;
}

.chat-icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 240, 223, 0.06);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
}

.chat-messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 15px 16px;
  scrollbar-color: rgba(201, 255, 74, 0.45) transparent;
}

.chat-message {
  width: fit-content;
  max-width: 92%;
  padding: 10px 11px;
  border: 1px solid rgba(245, 240, 223, 0.12);
  border-radius: 8px;
  color: #eee8d4;
  font-size: 0.84rem;
  line-height: 1.42;
  white-space: pre-wrap;
}

.chat-message.assistant {
  align-self: flex-start;
  background: rgba(245, 240, 223, 0.07);
}

.chat-message.user {
  align-self: flex-end;
  border-color: rgba(201, 255, 74, 0.34);
  background: rgba(201, 255, 74, 0.14);
  color: var(--paper);
}

.chat-message.is-streaming::after {
  display: inline-block;
  width: 0.48em;
  height: 1em;
  margin-left: 2px;
  border-right: 2px solid var(--lime);
  content: "";
  vertical-align: -0.12em;
  animation: chat-caret 900ms steps(1) infinite;
}

.chat-suggestions[hidden] {
  display: none;
}

.chat-verify-step {
  display: grid;
  gap: 9px;
}

.chat-verify-step[hidden] {
  display: none;
}

.chat-phone-grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
}

.chat-phone-grid select,
.chat-phone-grid input,
.chat-otp input,
.chat-composer textarea {
  border: 1px solid rgba(245, 240, 223, 0.17);
  border-radius: 7px;
  background: rgba(17, 20, 15, 0.76);
  color: var(--paper);
  font: inherit;
}

.chat-phone-grid select,
.chat-phone-grid input {
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.86rem;
}

.chat-verify-step > button,
.chat-code-head button,
.chat-composer button,
.chat-suggestions button {
  border: 1px solid rgba(201, 255, 74, 0.48);
  border-radius: 7px;
  background: rgba(201, 255, 74, 0.12);
  color: var(--lime);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.chat-verify-step > button {
  min-height: 40px;
  width: 100%;
}

.chat-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 850;
}

.chat-code-head button {
  min-height: 30px;
  padding: 0 9px;
  border-color: rgba(245, 240, 223, 0.16);
  background: rgba(245, 240, 223, 0.05);
  color: #ddd7c2;
  font-size: 0.72rem;
}

.chat-otp {
  display: grid;
  grid-template-columns: var(--otp-template, repeat(6, 1fr));
  align-items: center;
  gap: 7px;
}

.chat-otp span {
  color: rgba(245, 240, 223, 0.38);
  font-weight: 900;
}

.chat-otp input {
  width: 100%;
  height: 42px;
  padding: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
}

.chat-composer textarea {
  width: 100%;
  border: 1px solid rgba(245, 240, 223, 0.17);
  border-radius: 7px;
  background: rgba(17, 20, 15, 0.72);
  color: var(--paper);
  font: inherit;
}

.chat-composer button,
.chat-suggestions button {
  border: 1px solid rgba(201, 255, 74, 0.48);
  border-radius: 7px;
  background: rgba(201, 255, 74, 0.12);
  color: var(--lime);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.chat-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.chat-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chat-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 11px;
}

.chat-suggestions button {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 9px;
  border-color: rgba(245, 240, 223, 0.16);
  background: rgba(245, 240, 223, 0.05);
  color: #ddd7c2;
  white-space: nowrap;
}

.chat-composer {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 0 16px 16px;
}

.chat-composer textarea {
  min-height: 42px;
  max-height: 116px;
  resize: none;
  padding: 10px 11px;
  font-size: 0.86rem;
  line-height: 1.35;
}

.chat-composer textarea:disabled,
.chat-composer button:disabled,
.chat-verify-step > button:disabled,
.chat-otp input:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.chat-composer button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.1rem;
}

.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.chat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

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

.chat-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(440px, 100%);
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(201, 255, 74, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 255, 74, 0.16), transparent 16rem),
    radial-gradient(circle at 100% 100%, rgba(76, 201, 240, 0.16), transparent 15rem),
    rgba(17, 20, 15, 0.96);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.62);
}

.chat-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 240, 223, 0.06);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
}

.chat-modal-copy {
  padding-right: 42px;
}

.chat-modal-copy h2 {
  margin-bottom: 8px;
  font-size: 1.14rem;
  line-height: 1.15;
}

.chat-modal-copy p {
  margin: 0;
  color: #ddd7c2;
  font-size: 0.86rem;
  line-height: 1.45;
}

.chat-modal-cancel {
  min-height: 38px;
  border: 1px solid rgba(245, 240, 223, 0.16);
  border-radius: 7px;
  background: rgba(245, 240, 223, 0.05);
  color: #ddd7c2;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.schedule-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.schedule-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(12px);
}

.schedule-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(980px, calc(100vw - 32px));
  height: min(820px, calc(100dvh - 36px));
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(201, 255, 74, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 255, 74, 0.18), transparent 18rem),
    radial-gradient(circle at 94% 100%, rgba(76, 201, 240, 0.14), transparent 20rem),
    rgba(13, 18, 13, 0.96);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(24px);
}

.schedule-modal-copy {
  padding: 24px 72px 20px 24px;
  border-bottom: 1px solid var(--line);
}

.schedule-modal-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.schedule-modal-copy p {
  max-width: 680px;
  margin: 0;
  color: #ddd7c2;
  font-size: 0.96rem;
}

.schedule-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 240, 223, 0.06);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.schedule-modal-close:hover {
  border-color: rgba(201, 255, 74, 0.5);
  background: rgba(201, 255, 74, 0.12);
  color: var(--lime);
}

.schedule-frame-wrap {
  position: relative;
  min-height: 0;
  margin: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 223, 0.14);
  border-radius: 7px;
  background: rgba(17, 20, 15, 0.72);
}

.schedule-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  background: #0d120d;
}

.schedule-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.schedule-frame-wrap.is-loaded .schedule-loading {
  display: none;
}

.schedule-frame-wrap.is-error {
  display: grid;
  min-height: 360px;
  place-items: center;
}

@keyframes chat-caret {
  50% {
    opacity: 0;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-grid,
  .audience-section,
  .capabilities-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .service-grid,
  .solution-grid,
  .build-grid,
  .ai-grid,
  .problem-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    top: 12px;
    left: 12px;
    right: auto;
    width: auto;
    transform: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 108px 0 44px;
  }

  .hero-grid,
  .section,
  .contact-section,
  .site-footer {
    width: min(calc(100% - 20px), var(--max));
  }

  h1 {
    max-width: calc(100vw - 20px);
    font-size: clamp(1.58rem, 7vw, 1.72rem);
    line-height: 1.05;
    overflow-wrap: normal;
  }

  .eyebrow {
    max-width: 270px;
    margin-inline: auto;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .hero-lead {
    width: 100%;
    max-width: min(100%, calc(100vw - 32px));
  }

  .hero-lead {
    max-width: 310px;
    overflow-wrap: break-word;
  }

  .hero-lead span {
    display: block;
  }

  .hero-rotator {
    min-height: 4.9em;
    max-width: calc(100vw - 20px);
    margin-top: -6px;
    padding: 13px 14px 13px 18px;
    font-size: 0.9rem;
    text-align: left;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .service-card,
  .case-card,
  .audience-list article,
  .process-list li,
  .faq-list details,
  .contact-panel {
    max-width: 100%;
  }

  .intro-band {
    padding: 24px;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .solution-grid,
  .build-grid,
  .ai-grid,
  .comparison-grid,
  .problem-grid,
  .case-grid,
  .process-list,
  .capability-matrix {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .build-grid article,
  .ai-grid article {
    min-height: auto;
  }

  .solution-card h3 {
    margin-top: 46px;
  }

  .build-grid article::before,
  .ai-grid article::before {
    margin-bottom: 28px;
  }

  .comparison-card ul {
    grid-template-columns: 1fr;
  }

  .service-card,
  .work-grid .service-card,
  .case-card,
  .process-list li {
    min-height: auto;
  }

  .service-card h3 {
    margin-top: 46px;
  }

  .case-card h3 {
    margin-top: 24px;
  }

  .problem-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }

  .chat-launcher {
    position: fixed;
    top: calc(100dvh - 70px);
    left: calc(100dvw - 70px);
    right: auto;
    bottom: auto;
    z-index: 30;
    width: 56px;
    height: 56px;
  }

  body.is-chat-open .chat-launcher {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
  }

  .chat-panel {
    inset: 8px;
    width: auto;
    max-height: none;
  }

  .chat-shell {
    height: calc(100dvh - 16px);
    min-height: 0;
  }

  .chat-messages {
    padding: 14px 14px;
  }

  .chat-message {
    max-width: 94%;
    font-size: 0.82rem;
  }

  .chat-composer {
    padding-inline: 14px;
  }

  .chat-phone-grid {
    grid-template-columns: 88px 1fr;
  }

  .chat-otp {
    gap: 6px;
  }

  .chat-modal {
    align-items: end;
    padding: 10px;
  }

  .chat-modal-card {
    width: 100%;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    padding: 18px;
  }

  .chat-modal-copy h2 {
    font-size: 1.04rem;
  }

  .schedule-modal {
    align-items: end;
    padding: 10px;
  }

  .schedule-modal-card {
    width: 100%;
    height: calc(100dvh - 20px);
  }

  .schedule-modal-copy {
    padding: 20px 62px 16px 18px;
  }

  .schedule-modal-copy p {
    font-size: 0.88rem;
  }

  .schedule-modal-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .schedule-frame-wrap {
    margin: 10px;
  }

  .schedule-frame-wrap iframe {
    min-height: 520px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
