:root {
  --bg: whitesmoke;
  --surface: #ffffff;
  --ink: #0f1a2b;
  --muted: #53627a;
  --line: #dbe4f0;
  --accent: #2684ff;
  --accent-strong: #1f6fd8;
  --accent-soft: #e7f1ff;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(9, 27, 54, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.bg-orb {
  position: fixed;
  z-index: -1;
  filter: blur(24px);
  pointer-events: none;
}

.bg-orb-1 {
  display: none;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #d2e4f5;
  left: -140px;
  top: -140px;
}

.bg-orb-2 {
  display: none;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: #d7e4fb;
  right: -140px;
  top: 180px;
}

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

.section {
  padding: 96px 0;
}

#capabilities .container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 30px rgba(13, 30, 54, 0.05);
}

#use-cases .container,
#plans .container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 30px rgba(13, 30, 54, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 86%, white 14%);
  border-bottom: 1px solid rgba(170, 184, 207, 0.22);
}

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

.nav-actions {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 25px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-dropdown-toggle:hover {
  color: var(--ink);
}

/* Dropdown nav */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.95rem;
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
}

.dropdown-arrow {
  font-size: 0.65em;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 36px rgba(9, 27, 54, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.03em;
  color: #174969;
  background: #ddebfb;
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 12ch;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

p {
  margin: 0;
  color: var(--muted);
}

sup {
  font-size: 0.58em;
  line-height: 0;
  vertical-align: super;
}

.lead {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 1.05rem;
}

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

.btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #f4fffc;
  border-radius: 999px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 8px 24px rgba(38, 132, 255, 0.3);
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  height: 38px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #bfd0e7;
}

.btn-ghost:hover {
  background: #e8f0fc;
  box-shadow: none;
}

.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 20px;
  background: #fcfdff;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
}

.panel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid #d7e1ef;
  background: #f6f9ff;
  color: #36527a;
  font-size: 0.75rem;
  font-weight: 700;
}

.panel-state {
  color: #2f86ff;
  font-weight: 600;
  font-size: 0.85rem;
}

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

.metric-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.metric-card h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1.4rem;
}

.metric-card p {
  color: var(--muted);
  font-size: 0.85rem;
}

.bars {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  margin-top: auto;
}

.bars-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.bar-row span {
  font-size: 0.82rem;
  color: var(--muted);
}

.bar-row i {
  height: 8px;
  border-radius: 999px;
  display: block;
  background: #4f9bff;
  width: var(--w);
}

.impact-head h4 {
  margin: 0;
  font-size: 0.85rem;
  color: #496181;
}

.impact-head p {
  margin-top: 2px;
  margin-bottom: 10px;
  font-size: 0.76rem;
}

.impact-table {
  border-top: 1px solid #e4ebf6;
}

.impact-row {
  display: grid;
  grid-template-columns: 1.6fr 0.4fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9eef7;
  font-size: 0.77rem;
  color: #4c617f;
}

.impact-row:last-child {
  border-bottom: none;
}

.impact-row-head {
  font-weight: 700;
  color: #3a5273;
}

.impact-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.impact-meter i {
  height: 6px;
  border-radius: 999px;
  background: #d8e5f7;
  overflow: hidden;
  position: relative;
}

.impact-meter i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w);
  background: #2684ff;
}

.impact-meter b {
  font-weight: 700;
  color: #4b6385;
  font-size: 0.75rem;
}

.impact-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.impact-grid-3x2 {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.impact-video-center {
  margin-top: 24px;
  text-align: center;
  border: 1px solid #d5e2f6;
  border-radius: 12px;
  background: #f7fbff;
  padding: 24px;
}

.impact-video-center h3 {
  margin: 0;
  font-size: 1rem;
}

.impact-video-center p {
  margin-top: 8px;
  font-size: 0.92rem;
}

.impact-intro {
  margin-top: 12px;
  max-width: 72ch;
}

.impact-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}

.impact-item {
  border: 1px solid #d5e2f6;
  border-radius: 12px;
  padding: 14px;
  background: #f7fbff;
}

.impact-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.impact-item p {
  font-size: 0.95rem;
}

.impact-visual {
  border: 1px solid #d5e2f6;
  border-radius: 12px;
  background: #f7fbff;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.impact-graphic {
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
}

.impact-graphic p {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a6184;
}

.impact-mini-bars {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.impact-mini-bars i {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 999px;
  background: #7aaef5;
}

.impact-video {
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px;
}

.impact-video h3 {
  margin: 0;
  font-size: 1rem;
}

.impact-video p {
  margin-top: 8px;
  font-size: 0.92rem;
}

.impact-video-link {
  margin-top: 12px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(13, 30, 54, 0.05);
}

.card p + ul,
.card h2 + p,
.card h3 + p,
.card p + p {
  margin-top: 12px;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head p {
  margin-top: 12px;
  max-width: 65ch;
}

.section-cta .section-head p,
#capabilities .section-head p {
  max-width: none;
}

.card-grid {
  display: grid;
  gap: 14px;
}

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

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

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

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

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

#plans .section-head > p:not(.eyebrow) {
  text-align: left;
  max-width: none;
}

.plan-card {
  position: relative;
  border: 1px solid #d9e3ef;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
  background: #ffffff;
  overflow: hidden;
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(140, 161, 189, 0.28);
}

.plan-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.plan-tier {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 12px;
  background: #edf4ff;
  border: 1px solid #c8d9f3;
  color: #1f5fb8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.plan-tier-featured {
  background: #1f6fd8;
  border-color: #1f6fd8;
  color: #ffffff;
}

.plan-highlight {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff4d6;
  border: 1px solid #f1d78a;
  color: #8b5a00;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.plan-card h3 {
  text-align: left;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}

.plan-subtext,
.plan-tag,
.plan-note {
  text-align: left;
}

.plan-subtext {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34ch;
}

.plan-tag {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.plan-features li {
  position: relative;
  padding-left: 32px;
  color: #41546f;
  font-size: 0.95rem;
  line-height: 1.55;
}

.plan-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(38, 132, 255, 0.12);
}

.plan-card .plan-note {
  margin-top: 10px;
  font-size: 0.88rem;
}

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

.step-index {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.82rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.architecture-visual {
  margin: 16px 0 18px;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  background: #f8fbff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

/* Architecture: heading above, description + SVG two-column card */
.arch-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1fr);
  gap: 40px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 30px rgba(13, 30, 54, 0.05);
}

.arch-desc p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38ch;
}

.arch-diagram-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-diagram {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
}

.arch-core {
  width: fit-content;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid #c8d8ee;
  background: #edf4ff;
  color: #35527a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
}

.arch-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: #486487;
}

.arch-links i {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: #c7d8ef;
}

.arch-pulse {
  display: grid;
  gap: 6px;
}

.arch-pulse i {
  display: block;
  height: 6px;
  width: var(--w);
  border-radius: 999px;
  background: #7aaef5;
}

.arch-highlight {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
  font-weight: 700;
}

.tag-highlight {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

.arch-footnote {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: #7a8ba0;
  text-align: center;
}

.tags span {
  border-radius: 999px;
  border: 1px solid #cbdbef;
  background: #edf3fd;
  color: #39557c;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.deploy-card {
  border: 1px solid #d5e2f6;
  border-radius: 14px;
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}

.deploy-icon {
  width: 80px;
  height: 56px;
  margin: 0 auto 12px;
}

.deploy-icon img,
.deploy-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deploy-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.deploy-card p {
  font-size: 0.9rem;
}

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

.cta-card {
  background: #edf4ff;
  border: 1px solid #c6d9f7;
  border-radius: calc(var(--radius) + 2px);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cta-card h2 {
  margin-top: 4px;
}

.cta-card p {
  margin-top: 10px;
  max-width: 58ch;
}

/* Contact Section */
.contact-grid {
  display: block;
  margin-top: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  align-self: flex-start;
  cursor: pointer;
}

.contact-info {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-height: 100%;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-item strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.contact-detail-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-detail-item a {
  color: var(--accent);
  transition: color 0.15s ease;
}

.contact-detail-item a:hover {
  color: var(--accent-strong);
}

.contact-map {
  padding: 8px;
  overflow: hidden;
  min-height: 100%;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.site-footer {
  border-top: 1px solid #d5deeb;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
  color: var(--ink);
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}

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

/* FAQ Accordion */
#faq .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(540px, 1fr);
  gap: 56px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 30px rgba(13, 30, 54, 0.05);
}

#faq .section-head {
  margin-bottom: 0;
}

#faq .section-head p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  background: transparent;
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 8px 28px 0;
  cursor: pointer;
  list-style: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.55rem);
  line-height: 1.1;
  color: var(--ink);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  content: "";
}

.faq-icon {
  min-width: 24px;
  text-align: right;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.faq-icon::before {
  content: "+";
}

.faq-item[open] .faq-icon::before {
  content: "-";
}

.faq-answer {
  padding: 0 56px 28px 0;
}

.faq-answer p {
  font-size: 1.03rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 66ch;
}

/* Dark Theme (single source of truth via data-theme) */
:root[data-theme="dark"] {
  --bg: #090f1a;
  --surface: #0f1728;
  --ink: #e6eeff;
  --muted: #9caecd;
  --line: #2a3a54;
  --accent: #2684ff;
  --accent-strong: #1f6fd8;
}

:root[data-theme="dark"] .site-header {
  background: rgba(9, 15, 26, 0.9);
  border-bottom: 1px solid var(--line);
}

:root[data-theme="dark"] .nav-links,
:root[data-theme="dark"] .footer-brand p,
:root[data-theme="dark"] .footer-links a,
:root[data-theme="dark"] .footer-bottom p,
:root[data-theme="dark"] p,
:root[data-theme="dark"] .card ul,
:root[data-theme="dark"] .tags span,
:root[data-theme="dark"] .section-head p,
:root[data-theme="dark"] .metric-card p,
:root[data-theme="dark"] .bars-title,
:root[data-theme="dark"] .bar-row span,
:root[data-theme="dark"] .panel-pill,
:root[data-theme="dark"] .panel-state {
  color: var(--muted);
}

:root[data-theme="dark"] .footer-links h4 {
  color: var(--ink);
}

:root[data-theme="dark"] .footer-bottom {
  border-top-color: var(--line);
}

:root[data-theme="dark"] .nav-dropdown-menu {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .nav-dropdown-menu a:hover {
  background: #1a2a44;
}

:root[data-theme="dark"] .nav-dropdown-toggle {
  color: var(--muted);
}

:root[data-theme="dark"] .nav-dropdown-toggle:hover {
  color: var(--ink);
}

:root[data-theme="dark"] .logo,
:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] .btn-ghost,
:root[data-theme="dark"] .impact-item h3 {
  color: var(--ink);
}

:root[data-theme="dark"] .eyebrow {
  border-color: #334865;
  background: #121d31;
  color: #9fbfff;
}

:root[data-theme="dark"] .btn {
  color: #f5f9ff;
}

:root[data-theme="dark"] .btn-ghost {
  background: transparent;
  border-color: #3b5374;
}

:root[data-theme="dark"] .btn-ghost:hover {
  background: #142137;
}

:root[data-theme="dark"] .hero-panel,
:root[data-theme="dark"] .metric-card,
:root[data-theme="dark"] .bars,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .tags span,
:root[data-theme="dark"] .impact-item,
:root[data-theme="dark"] .cta-card {
  background: #0f1728;
  border-color: var(--line);
}

:root[data-theme="dark"] .hero-panel {
  background: #132036;
}

:root[data-theme="dark"] .panel-pill {
  border-color: #3b5374;
  background: #15263f;
}

:root[data-theme="dark"] .panel-state {
  color: #9fc3ff;
}

:root[data-theme="dark"] .bar-row i {
  background: #5f9ff0;
}

:root[data-theme="dark"] .tags span {
  background: #111f35;
  color: #a9bfdc;
}

:root[data-theme="dark"] .architecture-visual {
  border-color: #2a3d59;
  background: #101b2f;
}

:root[data-theme="dark"] .arch-core {
  border-color: #35507a;
  background: #132440;
  color: #aac5ea;
}

:root[data-theme="dark"] .arch-links {
  color: #9ab3d7;
}

:root[data-theme="dark"] .arch-links i {
  background: #2f496c;
}

:root[data-theme="dark"] .arch-pulse i {
  background: #5f9ff0;
}

:root[data-theme="dark"] .step-index {
  border-color: #3b5374;
  background: #15263f;
  color: #98bcff;
}

:root[data-theme="dark"] .impact-item {
  background: #101b2f;
}

:root[data-theme="dark"] .deploy-card {
  border-color: #263a57;
  background: #101b2f;
}

:root[data-theme="dark"] .deploy-icon img {
  filter: brightness(0) invert(1);
}

:root[data-theme="dark"] .impact-visual,
:root[data-theme="dark"] .impact-video-center,
:root[data-theme="dark"] .impact-graphic,
:root[data-theme="dark"] .impact-video {
  border-color: #263a57;
  background: #101b2f;
}

:root[data-theme="dark"] .impact-graphic p {
  color: #a9bfdc;
}

:root[data-theme="dark"] .impact-mini-bars i {
  background: #5f9ff0;
}

:root[data-theme="dark"] .impact-head h4,
:root[data-theme="dark"] .impact-row-head {
  color: #cdddf8;
}

:root[data-theme="dark"] .impact-table,
:root[data-theme="dark"] .impact-row {
  border-color: #263a57;
}

:root[data-theme="dark"] .impact-row {
  color: #9eb2d2;
}

:root[data-theme="dark"] .impact-meter i {
  background: #2b3f5e;
}

:root[data-theme="dark"] .impact-meter b {
  color: #c0d1ec;
}

:root[data-theme="dark"] .cta-card {
  background: #10233f;
  border-color: #35507a;
}

:root[data-theme="dark"] .form-group input,
:root[data-theme="dark"] .form-group textarea {
  background: #0a1525;
  border-color: var(--line);
  color: var(--ink);
}

:root[data-theme="dark"] .form-group input::placeholder,
:root[data-theme="dark"] .form-group textarea::placeholder {
  color: #5a7196;
}

:root[data-theme="dark"] .form-group input:focus,
:root[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.2);
}

:root[data-theme="dark"] .contact-detail-item p,
:root[data-theme="dark"] .contact-detail-item a {
  color: var(--muted);
}

:root[data-theme="dark"] .contact-detail-item a:hover {
  color: var(--accent);
}

:root[data-theme="dark"] .plan-subtext,
:root[data-theme="dark"] .plan-tag,
:root[data-theme="dark"] .plan-note,
:root[data-theme="dark"] .plan-features li {
  color: var(--muted);
}

:root[data-theme="dark"] .plan-cta {
  border-color: #31455f;
  background: #15263f;
  color: #b8cced;
}

:root[data-theme="dark"] .site-footer {
  border-top: 1px solid var(--line);
}

:root[data-theme="dark"] .footer-links a:hover {
  color: var(--accent);
}

:root[data-theme="dark"] .faq-item {
  border-color: #253953;
}

:root[data-theme="dark"] .faq-icon,
:root[data-theme="dark"] .faq-question,
:root[data-theme="dark"] .faq-answer p {
  color: var(--ink);
}

:root[data-theme="dark"] .faq-answer p {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .arch-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px;
  }

  .arch-desc p {
    max-width: 100%;
  }

  #faq .container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }

  #faq .section-head p,
  .faq-answer p {
    max-width: 100%;
  }

  .faq-question {
    font-size: clamp(1.02rem, 2.6vw, 1.35rem);
    padding: 24px 0 22px;
  }

  .faq-answer {
    padding: 0 0 22px;
  }

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .nav-wrap {
    position: relative;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    margin-left: 0;
    width: min(340px, calc(100vw - 28px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 20px 40px rgba(9, 27, 54, 0.16);
    z-index: 40;
  }

  .site-header.is-mobile-menu-open .nav-links {
    display: flex;
  }

  .nav-links > a,
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 10px;
    padding: 10px 12px;
  }

  .nav-links > a:hover,
  .nav-dropdown-toggle:hover {
    color: var(--accent);
    background: var(--accent-soft);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    min-width: 0;
    border: 0;
    border-radius: 10px;
    margin-top: 4px;
    background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft) 12%);
    box-shadow: none;
    padding: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 360px;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown-menu a {
    padding: 8px 12px 8px 20px;
  }

  .hero-grid,
  .split,
  .two-up,
  .steps,
  .cta-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-copy h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .eyebrow {
    display: flex;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
  }

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

  .contact-info {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  #capabilities .container {
    padding: 24px;
  }

  #use-cases .container,
  #plans .container {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

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

  h1 {
    font-size: 2rem;
  }

  .five-up,
  .four-up,
  .three-up,
  .two-up,
  .plans-grid,
  .impact-grid-3x2,
  .deploy-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 52px;
  }

  .card,
  .hero-panel,
  .cta-card {
    padding: 18px;
  }

  .btn,
  .btn-sm {
    height: 42px;
  }

  .theme-toggle {
    height: 42px;
    padding: 0 14px;
  }

  .faq-question {
    font-size: clamp(1rem, 6vw, 1.2rem);
  }

  .faq-icon {
    font-size: 1.3rem;
  }

  #faq .container {
    padding: 18px;
  }

  #capabilities .container {
    padding: 18px;
  }

  #use-cases .container,
  #plans .container {
    padding: 18px;
  }
}
