:root {
  --bg: #f8fbff;
  --bg2: #eef6ff;
  --bg3: #ffffff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --text: #18324a;
  --muted: #60758a;
  --line: #d8e7f4;
  --brand: #4e8df7;
  --brand2: #76d8be;
  --accent: #f4b8d3;
  --shadow: 0 24px 60px rgba(88, 126, 167, 0.14);
  --max: 1180px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 0% -10%, rgba(78, 141, 247, 0.16), transparent 60%),
    radial-gradient(800px 450px at 100% 0%, rgba(118, 216, 190, 0.12), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg2) 55%, #fdfefe 100%);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 255, 0.88);
  border-bottom: 1px solid rgba(24, 50, 74, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 16px 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand[aria-current="page"] {
  color: var(--brand);
}

.logo {
  width: 42px;
  height: 42px;
  display: inline-block;
  flex: 0 0 42px;
  border-radius: 14px;
  background: #ffffff url("/assets/eos-logo.png") center/contain no-repeat;
  border: 1px solid rgba(24, 50, 74, 0.08);
  box-shadow: 0 12px 28px rgba(78, 141, 247, 0.14);
}

.navlinks {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-right: auto;
}

.navlinks a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.navlinks a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navlinks a:hover,
.footer a:hover,
.breadcrumbs a:hover {
  color: var(--brand);
}

.navlinks a:hover:after,
.navlinks a[aria-current="page"]:after {
  transform: scaleX(1);
}

.navlinks a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s transform, 0.2s background, 0.2s border-color, 0.2s color, 0.2s box-shadow;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(88, 126, 167, 0.24);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #69b2ff);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(78, 141, 247, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 22px 46px rgba(78, 141, 247, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(78, 141, 247, 0.18);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(88, 126, 167, 0.12);
}

.btn-secondary:hover,
.btn-ghost:hover {
  box-shadow: 0 18px 36px rgba(88, 126, 167, 0.2);
}

.btn-ghost {
  color: var(--muted);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow,
.tag,
.badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #3f6e92;
  border: 1px solid rgba(78, 141, 247, 0.16);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-copy-carousel {
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
}

.hero-copy-carousel .slide {
  padding: 0;
  min-width: 100%;
  width: 100%;
}

.hero-copy-slide {
  min-height: 245px;
  width: 100%;
  overflow-wrap: anywhere;
}

.hero-copy-slide h1 {
  margin-bottom: 16px;
}

.booking-shell {
  display: grid;
  gap: 24px;
}

.booking-frame-card {
  background: var(--panel);
  border: 1px solid rgba(78, 141, 247, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.booking-frame-card {
  padding: 16px;
}

.booking-frame {
  width: 100%;
  min-height: 980px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

.booking-placeholder {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 18px;
  border: 1px dashed rgba(78, 141, 247, 0.3);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(238,246,255,0.92));
}

.booking-placeholder code {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(24, 50, 74, 0.06);
}

@media (max-width: 960px) {
  .booking-frame {
    min-height: 760px;
  }
}

.hero-copy-carousel .carousel-controls {
  margin-top: 18px;
  justify-content: flex-start;
}

.hero-panel,
.card,
.cta,
.orbit,
.faq-item,
.stat,
.metric,
.band,
.list-check div,
.notice {
  background: var(--panel);
  border: 1px solid rgba(24, 50, 74, 0.08);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 28px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-panel:before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 216, 190, 0.22), transparent 62%);
}

.panel-label,
.kicker {
  color: #5d94c7;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.metric {
  padding: 16px;
  border-radius: 18px;
}

.metric strong,
.stat strong {
  display: block;
  font-size: 28px;
}

.metric span,
.card p,
.sub,
.small,
.faq-a,
.breadcrumbs,
.footer,
.footer a {
  color: var(--muted);
}

.section {
  padding: 38px 0;
}

.section-lg {
  padding: 64px 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}

.sub {
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 6px 0 10px;
  font-size: 24px;
}

.card.compact h3 {
  font-size: 20px;
}

.card ul {
  margin: 14px 0 0 18px;
  padding: 0;
  color: #37526b;
}

.card li {
  margin: 8px 0;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(78, 141, 247, 0.14), rgba(118, 216, 190, 0.14));
  border: 1px solid rgba(78, 141, 247, 0.16);
  color: #4f79a1;
  font-weight: 800;
}

.band {
  margin: 16px 0 0;
  padding: 16px 18px;
  border-radius: 20px;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.band-item,
.list-check div {
  color: #35516a;
  font-weight: 600;
}

.band-item {
  display: flex;
  align-items: center;
  min-height: 52px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.list-check {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.list-check div {
  padding: 12px 14px;
  border-radius: 16px;
}

.carousel {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.track {
  display: flex;
  transition: transform 0.45s ease;
  width: 100%;
}

.slide {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  padding: 2px;
}

.slide .card {
  min-height: 290px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.dot,
.arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(78, 141, 247, 0.18);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 11px;
  height: 11px;
}

.dot.active {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-color: transparent;
}

.quote {
  font-size: 24px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

.small {
  font-size: 15px;
}

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

.price-card {
  position: relative;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #2b8b73;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
}

.faq-q {
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-a {
  padding: 0 20px 20px;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

.cta {
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(118, 216, 190, 0.18), transparent 58%),
    linear-gradient(135deg, rgba(78, 141, 247, 0.08), rgba(244, 184, 211, 0.1)),
    rgba(255, 255, 255, 0.96);
}

.footer {
  padding: 34px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 0.9fr;
  gap: 24px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.orbit {
  position: absolute;
  border-radius: 22px;
  padding: 18px;
}

.orbit.one {
  left: 0;
  top: 20px;
  width: 72%;
  transform: rotate(-2deg);
}

.orbit.two {
  right: 0;
  top: 130px;
  width: 64%;
  transform: rotate(2deg);
}

.orbit.three {
  left: 12%;
  bottom: 20px;
  width: 76%;
}

.flow-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(24, 50, 74, 0.12);
}

.flow-row:last-child {
  border-bottom: 0;
}

.page-hero {
  padding: 58px 0 24px;
}

.breadcrumbs {
  font-size: 14px;
}

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

.tag {
  color: #4b789e;
}

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

.stat {
  padding: 20px;
  border-radius: 20px;
}

.notice {
  padding: 14px 16px;
  border-radius: 18px;
  color: #2b6f60;
}

.logo-wall,
.skill-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.logo-wall {
  grid-template-columns: repeat(3, 1fr);
}

.integration-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}

.integration-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(78, 141, 247, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(88, 126, 167, 0.12);
  object-fit: contain;
  padding: 10px;
}

.integration-logo-text {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  color: #31597d;
  background: linear-gradient(135deg, rgba(78, 141, 247, 0.16), rgba(118, 216, 190, 0.18));
  border: 1px solid rgba(78, 141, 247, 0.16);
  box-shadow: 0 12px 24px rgba(88, 126, 167, 0.12);
}

.integration-card p:last-child,
.skill-grid .card p:last-child {
  margin-bottom: 0;
}

.example-chat {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.chat-line {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(78, 141, 247, 0.14);
  box-shadow: 0 12px 24px rgba(88, 126, 167, 0.1);
}

.chat-line.user {
  background: linear-gradient(135deg, rgba(78, 141, 247, 0.1), rgba(118, 216, 190, 0.08));
}

.chat-line.assistant {
  background: rgba(255, 255, 255, 0.9);
}

.chat-label {
  display: block;
  margin-bottom: 6px;
  color: #5d94c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-hero-grid,
.audit-shell,
.audit-result-head,
.audit-blueprint-grid {
  display: grid;
  gap: 24px;
}

.audit-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  margin-top: 18px;
}

.audit-shell {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.audit-card {
  display: grid;
  gap: 26px;
  padding: 30px;
}

.audit-progress {
  display: grid;
  gap: 14px;
}

.audit-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(78, 141, 247, 0.12);
  overflow: hidden;
}

.audit-progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  transition: width 0.2s ease;
}

.audit-form {
  display: grid;
  gap: 22px;
}

.audit-step {
  display: grid;
  gap: 22px;
}

.audit-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.audit-field-grid label,
.audit-other {
  display: grid;
  gap: 10px;
  color: #31516d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.audit-field-grid .audit-wide,
.audit-other {
  grid-column: 1 / -1;
}

.audit-field-grid input,
.audit-field-grid textarea,
.audit-field-grid select,
.audit-other textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(78, 141, 247, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 10px 22px rgba(88, 126, 167, 0.08);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.audit-field-grid input::placeholder,
.audit-field-grid textarea::placeholder,
.audit-other textarea::placeholder {
  color: #8aa0b4;
  font-weight: 500;
}

.audit-field-grid input:focus,
.audit-field-grid textarea:focus,
.audit-field-grid select:focus,
.audit-other textarea:focus {
  border-color: rgba(78, 141, 247, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(78, 141, 247, 0.12), 0 16px 34px rgba(88, 126, 167, 0.14);
}

.audit-field-grid textarea,
.audit-other textarea {
  resize: vertical;
  min-height: 128px;
}

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

.audit-options label,
.audit-skill {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(78, 141, 247, 0.18);
  box-shadow: 0 12px 26px rgba(88, 126, 167, 0.1);
  color: #35516a;
  font-weight: 700;
}

.audit-options label {
  cursor: pointer;
}

.audit-options input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--brand);
}

.audit-options label:has(input:checked) {
  border-color: rgba(78, 141, 247, 0.72);
  background: linear-gradient(135deg, rgba(78, 141, 247, 0.11), rgba(118, 216, 190, 0.1)), #ffffff;
  box-shadow: 0 0 0 4px rgba(78, 141, 247, 0.1), 0 16px 34px rgba(88, 126, 167, 0.14);
  color: var(--text);
}

.audit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.audit-side {
  display: grid;
  gap: 18px;
}

.audit-results-card {
  display: grid;
  gap: 24px;
}

.audit-result-head {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: start;
}

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

.audit-result-metrics .stat strong {
  font-size: 30px;
}

.audit-blueprint-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.audit-blueprint-text {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(24, 50, 74, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: #294760;
  line-height: 1.6;
  max-height: 620px;
  overflow: auto;
}

.audit-skill-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.audit-skill {
  display: grid;
}

.audit-skill span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.audit-unsupported {
  color: #72520c;
  background: rgba(255, 246, 214, 0.9);
}

.audit-result-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .grid-2,
  .pricing,
  .footer-grid,
  .stat-strip,
  .logo-wall,
  .audit-hero-grid,
  .audit-shell,
  .audit-result-head,
  .audit-blueprint-grid {
    grid-template-columns: 1fr;
  }

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

  .audit-result-metrics,
  .audit-field-grid,
  .audit-options {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .band-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .navlinks {
    display: none;
  }

  .nav {
    gap: 16px;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .btn {
    flex: 1 1 180px;
  }

  .grid-4,
  .band-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(var(--max), calc(100% - 26px));
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .orbit.one,
  .orbit.two,
  .orbit.three {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    transform: none;
    margin: 12px 0;
  }

  .hero-visual {
    min-height: auto;
  }
}
