:root {
  --bg: #f4f7fc;
  --bg-soft: #eef3fb;
  --surface: #ffffff;
  --surface-muted: #f8fafe;
  --text: #0f172a;
  --muted: #475569;
  --line: #d7dfec;
  --line-strong: #c6d2e6;
  --brand: #1146a6;
  --brand-strong: #0b2e72;
  --brand-soft: #e4ecfb;
  --accent: #0f766e;
  --accent-soft: #d8f4ef;
  --danger: #b42318;
  --max: 1160px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(780px 380px at 100% -8%, rgba(17, 70, 166, 0.08), transparent 60%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 55%, var(--bg-soft) 100%);
  line-height: 1.58;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.small {
  font-size: 13px;
  color: #5e6c82;
}

.text-muted {
  color: var(--muted);
}

.section {
  padding: 56px 0;
}

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

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 70ch;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(215, 223, 236, 0.9);
  background: rgba(249, 251, 255, 0.9);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand .name {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand .tag {
  margin-top: 2px;
  font-size: 12px;
  color: #5f6f88;
  line-height: 1.2;
}

.links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.links a {
  font-size: 14px;
  font-weight: 700;
  color: #304765;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 160ms ease;
}

.links a:hover {
  background: #eef3fb;
  border-color: #dbe4f3;
  color: #1b2d49;
}

.links a.active {
  background: var(--brand-soft);
  border-color: #bfd0ee;
  color: var(--brand-strong);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: 12px;
  border: 1px solid #103f97;
  background: linear-gradient(140deg, #1b56be, #1146a6);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(17, 70, 166, 0.26);
  transition: transform 160ms ease;
}

.cta:hover {
  transform: translateY(-1px);
}

.menuBtn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
  color: #243752;
  font-weight: 700;
}

.mobile {
  display: none;
  border-top: 1px solid rgba(215, 223, 236, 0.9);
  padding: 10px 0 14px;
}

.mobile a {
  display: block;
  padding: 10px 4px;
  font-weight: 700;
  color: #334a68;
}

.hero {
  padding: 80px 0 54px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 800;
  color: #173d7e;
  background: #e8f0ff;
  border: 1px solid #c9d9f5;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(17, 70, 166, 0.15);
}

.hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: #1c2f4a;
  font-size: 14px;
  font-weight: 800;
  transition: all 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #b7c7df;
}

.btn.primary {
  border-color: #103f97;
  color: #ffffff;
  background: linear-gradient(140deg, #1b56be, #1146a6);
}

.btn.secondary {
  background: #f6f9ff;
}

.btn.block {
  width: 100%;
}

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

.kpi {
  border: 1px solid #d9e3f1;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px;
}

.kpi strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.kpi span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #5c6b81;
  font-weight: 700;
}

.card,
.panel,
.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.card,
.panel {
  padding: 22px;
}

.surface {
  padding: 16px;
}

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

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

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

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

.feature {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
  transition: all 160ms ease;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: #c0cfe6;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  color: #42546e;
  font-size: 15px;
}

.media-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.media-frame.tight img {
  aspect-ratio: auto;
  object-fit: contain;
}

.media-caption {
  margin-top: 8px;
  font-size: 12px;
  color: #5e708a;
  font-weight: 700;
}

.media-description {
  margin-top: 6px;
  font-size: 13px;
  color: #4b5f7d;
}

.hero-shot {
  margin-top: 16px;
}

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

.screenshot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.screenshot-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.2;
}

.component-shot {
  margin-top: 16px;
}

.component-shot img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 560px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #c8d7f0;
  background: #eff5ff;
  color: #1f3f75;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.tag.success {
  border-color: #b9e5dd;
  background: #e8f8f4;
  color: #16655f;
}

.tag.warning {
  border-color: #f0d8b1;
  background: #fff5e3;
  color: #7a5313;
}

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

.list li {
  position: relative;
  padding-left: 18px;
  color: #33455f;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b56be, #0f766e);
}

.icon-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #31445f;
}

.icon-list li::before {
  content: "";
  margin-top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #1b56be;
  box-shadow: 0 0 0 4px rgba(27, 86, 190, 0.12);
  flex: none;
}

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

.metric {
  border: 1px solid #d7dfec;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
}

.metric .value {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.metric .label {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #5f6f84;
  font-weight: 700;
}

.component-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.component-list {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.component-item {
  border: 1px solid #d6e0ef;
  background: #f8fbff;
  color: #223451;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 180ms ease;
}

.component-item:hover {
  border-color: #bdcee8;
}

.component-item:focus-visible {
  outline: 2px solid #1b56be;
  outline-offset: 2px;
}

.component-item.active {
  border-color: #8ba8d8;
  background: linear-gradient(180deg, #edf3ff 0%, #e4ecff 100%);
  color: #132d56;
  box-shadow: inset 0 0 0 1px rgba(20, 77, 167, 0.15);
}

.component-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  transition: opacity 220ms ease, transform 220ms ease;
}

.component-detail.is-swapping {
  opacity: 0.9;
  transform: translateY(2px);
}

.component-detail h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.component-detail p {
  margin: 0;
  font-size: 16px;
  color: #3b4d67;
}

.component-label {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5e6f88;
  font-weight: 800;
}

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

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Keep card CTAs pinned to the bottom for consistent visual alignment. */
.card-cta {
  margin-top: auto;
}

.card > .btn:last-child,
.panel > .btn:last-child,
.price-card > .btn:last-child,
.feature > .btn:last-child,
.screenshot-card > .btn:last-child {
  margin-top: auto;
  align-self: flex-start;
}

.price-card.featured {
  border-color: #95b2e2;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.price {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.price small {
  font-size: 14px;
  color: #5f7086;
  font-family: "Manrope", sans-serif;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3eaf5;
  text-align: left;
}

th {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5f6e84;
}

td {
  font-size: 14px;
  color: #243754;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.form {
  display: grid;
  gap: 12px;
}

.outcome-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: var(--shadow);
  padding: 20px;
}

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

.outcome-item {
  border: 1px solid #d6e1f2;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  color: #2c4261;
  font-weight: 700;
  font-size: 14px;
}

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

.step-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.step-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e9f1ff;
  color: #1a4a9d;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.deliverable {
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
}

.deliverable h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.deliverable p {
  margin: 0;
  color: #4c617f;
  font-size: 14px;
}

.boundary-block {
  border: 1px solid #cad8ee;
  border-radius: var(--radius);
  background: #f7faff;
  box-shadow: var(--shadow);
  padding: 18px;
}

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

.module-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #e3eaf5;
}

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

.module-cell h3 {
  margin: 0;
  font-size: 17px;
}

.module-cell h4 {
  margin: 0 0 5px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #597090;
}

.module-cell p {
  margin: 0;
  color: #3f5473;
  font-size: 14px;
}

.compare-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

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

.result-item {
  border: 1px solid #c9d8ef;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
}

.result-item strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  margin-bottom: 6px;
}

.flow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 14px;
}

.flow-track {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-step {
  border: 1px solid #d8e2f2;
  border-radius: 12px;
  background: #f7faff;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #2a4160;
}

.pill-note {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c9d8ef;
  background: #edf4ff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #254472;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #2e4361;
  font-weight: 800;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid #ccd8ea;
  border-radius: 12px;
  padding: 11px 12px;
  background: #ffffff;
  color: #1f304a;
  font: inherit;
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.footer {
  margin-top: 34px;
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.95);
}

.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
}

.footer h4 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.footer a {
  display: block;
  padding: 5px 0;
  color: #425671;
  font-weight: 700;
  font-size: 14px;
}

.footer a:hover {
  color: #1f3350;
}

.copyright {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dce4f1;
  font-size: 12px;
  color: #66768c;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 800;
  color: #1f3250;
  padding: 16px 18px;
}

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

.faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #c9d7ee;
  background: #f3f7ff;
  color: #21427a;
  font-size: 17px;
  line-height: 1;
  flex: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid #dfe7f4;
  background: #f8fbff;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-body {
  padding: 14px 18px 18px;
  color: #3a4d68;
}

.faq-body p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.center {
  text-align: center;
}

@media (max-width: 1024px) {
  .hero-grid,
  .component-shell,
  .grid-2,
  .grid-3,
  .grid-4,
  .outcome-grid,
  .step-grid,
  .deliverable-list,
  .boundary-grid,
  .compare-grid,
  .results-grid,
  .flow-track,
  .module-row,
  .pricing-grid,
  .footer-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

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

  .links {
    display: none;
  }

  .menuBtn {
    display: inline-flex;
  }

  .mobile.show {
    display: block;
  }

  .brand {
    min-width: unset;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 64px;
  }

  .section {
    padding: 44px 0;
  }

  .card,
  .panel,
  .component-detail,
  .price-card {
    padding: 18px;
  }
}
