:root {
  --bg: #10201c;
  --bg-soft: #152824;
  --panel: #1b302b;
  --panel-soft: #223934;
  --line: #3f5a51;
  --text: #eff8f1;
  --muted: #c0d2c8;
  --accent: #a9ca8c;
  --accent-strong: #c7eb9f;
  --danger: #f17373;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 17px;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 10%, rgba(199, 235, 159, 0.2), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(120, 160, 138, 0.24), transparent 32%),
    linear-gradient(180deg, #1a2d29 0%, #10201c 70%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/oxx-logo.png");
  background-repeat: no-repeat;
  background-position: center 46%;
  background-size: min(58vw, 760px);
  opacity: 0.06;
  pointer-events: none;
}

.container {
  width: min(1520px, calc(100% - 1.6rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(164, 191, 168, 0.15);
  background: rgba(13, 24, 22, 0.84);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.012em;
  font-size: 1.18rem;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.02rem;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.72rem 1.02rem;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  color: #09110d;
  background: var(--accent-strong);
}

.btn-primary:hover {
  background: #b9e495;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: #42635a;
  background: rgba(168, 190, 146, 0.06);
}

.nav-toggle {
  display: none;
  padding: 0.54rem 0.7rem;
  background: #102023;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
}

.hero {
  padding: 3rem 0 1.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 2rem;
  align-items: start;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: none;
  text-align: center;
  white-space: nowrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.88rem;
  color: var(--accent);
  margin: 0 0 0.7rem;
  font-weight: 700;
}

.lead {
  margin: 1.1rem 0 0;
  color: #d9e9df;
  max-width: 820px;
  font-size: 1.26rem;
  text-align: center;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-line {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.chat-widget {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 49, 44, 0.95), rgba(22, 38, 34, 0.96));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.left-chat {
  position: sticky;
  top: 96px;
}

.chat-widget__head {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.chat-widget__head h2 {
  margin: 0;
  font-size: 1.12rem;
}

.chat-widget__head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.chat-widget__body {
  height: 360px;
  overflow-y: auto;
  padding: 0.9rem;
}

.chat-msg {
  margin-bottom: 0.6rem;
  padding: 0.72rem 0.78rem;
  border-radius: 10px;
  font-size: 1.08rem;
  line-height: 1.42;
}

.chat-msg.user {
  background: #39594f;
  margin-left: 1rem;
}

.chat-msg.assistant {
  background: #2f4742;
  margin-right: 1rem;
}

.chat-widget__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.74rem;
  border-top: 1px solid var(--line);
}

.chat-widget__form input {
  width: 100%;
  border: 1px solid #324743;
  background: #1b2e2a;
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  font-size: 1.06rem;
}

.chat-widget__form button {
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #122018;
  font-weight: 700;
  padding: 0.72rem 1rem;
  font-size: 1.02rem;
}

.section {
  padding: 2rem 0 0;
}

.section-title h1,
.section-title h2 {
  margin: 0;
}

.section-title h1 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.section-title h2 {
  font-size: clamp(1.62rem, 2.7vw, 2.2rem);
  max-width: 760px;
}

.card-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card p {
  margin: 0.62rem 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.timeline {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: var(--panel-soft);
}

.timeline-item span {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(169, 209, 134, 0.18);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline-item h3 {
  margin: 0.5rem 0 0;
  font-size: 1.14rem;
}

.timeline-item p {
  margin: 0.48rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 1rem;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: transparent;
  border-radius: 10px;
}

.team-card h3 {
  margin: 0.7rem 0 0;
}

.team-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.team-card .bio {
  margin-top: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

.cta-band {
  margin: 2.1rem auto 2.8rem;
  border: 1px solid #3d5b4f;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(110, 141, 92, 0.25), rgba(24, 39, 36, 0.7));
  padding: 1.3rem;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.site-footer {
  border-top: 1px solid rgba(170, 193, 157, 0.15);
  margin-top: 2rem;
  padding: 1.2rem 0 1rem;
  background: rgba(6, 10, 11, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 0.5rem;
}

.footer-grid p {
  margin: 0.3rem 0;
  color: var(--muted);
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  margin: 0.26rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
}

.footer-grid a:hover {
  color: var(--text);
}

.copyright {
  margin: 0.95rem 0 0;
  text-align: center;
  color: #84918c;
  font-size: 0.9rem;
}

.page-main {
  padding: 2rem 0 0.4rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.2rem;
}

.faq-chat {
  max-height: calc(100vh - 120px);
}

.faq-content {
  min-width: 0;
}

.faq-list {
  margin-top: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: var(--panel);
}

.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0.95rem;
  font-weight: 600;
  font-size: 1.03rem;
}

.faq-q::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.faq-q[aria-expanded="true"]::after {
  content: "-";
}

.faq-a {
  display: none;
  padding: 0 0.86rem 0.86rem;
}

.faq-a p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.contact-card {
  max-width: 680px;
  margin: 1rem 0 0;
}

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

.legal-copy {
  max-width: 880px;
}

.legal-copy p {
  font-size: 1rem;
}

.process-rows {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.process-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 0.9rem;
}

.process-row img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(12, 20, 19, 0.45);
}

.process-row h3 {
  margin: 0;
  font-size: 1.28rem;
}

.process-row p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.workflow-list {
  margin-top: 0.6rem;
  padding-left: 1.12rem;
}

.workflow-list li {
  margin-bottom: 0.34rem;
  color: var(--muted);
  font-size: 1rem;
}

.results-divider {
  position: relative;
  margin: 0.2rem 0 0.35rem;
  text-align: center;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.results-divider::before,
.results-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  border-top: 1px solid var(--line);
}

.results-divider::before {
  left: 0;
}

.results-divider::after {
  right: 0;
}

.video-wrap {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel-soft);
}

.video-wrap video {
  display: block;
  width: 100%;
  max-height: 620px;
  background: #0f1a18;
}

.hero-em {
  color: var(--accent-strong);
  text-shadow: 0 0 26px rgba(199, 235, 159, 0.22);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1020px) {
  .hero-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    white-space: normal;
  }

  .left-chat {
    position: static;
  }

  .card-grid.three,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1240px) {
  .has-docked-chat main {
    padding-right: 510px;
  }

  .has-docked-chat .hero-grid,
  .has-docked-chat .faq-layout {
    grid-template-columns: 1fr;
  }

  .chat-docked {
    position: fixed;
    right: 14px;
    top: 104px;
    width: 490px;
    height: calc(100vh - 128px);
    display: flex;
    flex-direction: column;
    z-index: 45;
    transition: transform 0.12s linear;
    will-change: transform;
  }

  .chat-docked .chat-widget__body {
    flex: 1;
    height: auto;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "cta cta";
    align-items: center;
  }

  .brand {
    grid-area: brand;
  }

  .nav-toggle {
    grid-area: toggle;
    justify-self: end;
    display: inline-flex;
  }

  .site-nav {
    display: none;
    grid-area: nav;
    flex-direction: column;
    padding-top: 0.2rem;
    gap: 0.7rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    grid-area: cta;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 0.8rem;
  }

  .card-grid.two,
  .card-grid.three,
  .timeline,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
