:root {
  --ink: #131926;
  --navy: #202b40;
  --muted: #667085;
  --line: #dfe3eb;
  --soft: #f2f4f8;
  --paper: #ffffff;
  --orange: #ff4800;
  --orange-2: #f78c10;
  --green: #34c759;
  --blue: #2f6fed;
  --shadow: 0 18px 48px rgba(19, 25, 38, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

p,
li {
  color: var(--muted);
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 227, 235, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  position: relative;
  box-shadow: 0 8px 22px rgba(255, 72, 0, 0.26);
}

.brand-mark::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: var(--paper);
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
  background: #fff3ec;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  min-height: 48px;
  padding: 0 18px;
}

.mini-button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 14px;
}

.button:hover,
.mini-button:hover {
  transform: translateY(-1px);
}

.button.primary,
.mini-button.primary {
  color: var(--paper);
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(255, 72, 0, 0.26);
}

.button.secondary,
.mini-button.secondary {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--line);
}

.button.dark {
  color: var(--paper);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(32, 43, 64, 0.18);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2.3;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(19, 25, 38, 0.92), rgba(19, 25, 38, 0.62), rgba(19, 25, 38, 0.28)),
    var(--hero-image, url("../assets/hero-dashboard.png"));
  background-size: cover;
  background-position: center;
}

.hero {
  min-height: min(760px, calc(88vh - 70px));
  display: grid;
  align-items: center;
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
}

.hero-inner,
.page-hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 76px 0 90px;
}

.page-hero-inner {
  padding: 94px 0 64px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  color: #ffe8dd;
  background: rgba(255, 72, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1 {
  max-width: 790px;
  margin: 18px 0 0;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 72px);
}

.hero p,
.page-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: #e8edf7;
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 34px;
}

.metric {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.metric strong {
  display: block;
  color: var(--paper);
  font-size: 26px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: #dfe7f7;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 78px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: var(--paper);
  background: var(--navy);
}

.section.dark p,
.section.dark li {
  color: #cfd8ea;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section.dark .section-heading h2 {
  color: var(--paper);
}

.section-heading p {
  max-width: 460px;
  margin: 0;
}

.category-grid,
.intent-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.feature,
.intent,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(19, 25, 38, 0.03);
}

.card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: var(--soft);
}

.card-body,
.feature,
.intent,
.faq-card {
  padding: 22px;
}

.card h3,
.feature h3,
.intent h3,
.faq-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.card p,
.feature p,
.intent p,
.faq-card p {
  margin: 11px 0 0;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.feature {
  min-height: 210px;
}

.feature-icon,
.intent-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--orange);
  background: #fff3ec;
}

.feature-icon.green,
.intent-icon.green {
  color: var(--green);
  background: #eaf9ef;
}

.feature-icon.blue,
.intent-icon.blue {
  color: var(--blue);
  background: #edf4ff;
}

.intent {
  min-height: 230px;
}

.intent ul,
.check-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.intent li,
.check-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 24px;
}

.intent li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

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

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: #475467;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.section.dark .chip {
  color: #eaf0fb;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.step::before {
  content: counter(step);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--paper);
  background: var(--orange);
  font-weight: 900;
}

.step h3 {
  margin: 0;
  color: var(--navy);
}

.step p {
  margin: 7px 0 0;
}

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

.note-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.note-panel h2,
.note-panel h3 {
  margin: 0;
  color: var(--navy);
}

.note-panel p {
  margin: 12px 0 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.data-table th,
.data-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--navy);
  background: #f8fafc;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

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

details.faq-card {
  padding: 0;
}

details.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
}

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

details.faq-card summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--orange);
  background: #fff3ec;
  font-size: 20px;
}

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

details.faq-card p {
  margin: 0;
  padding: 0 22px 22px;
}

.cta-band {
  padding: 46px;
  border-radius: 8px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(255, 72, 0, 0.96), rgba(32, 43, 64, 0.98)),
    url("../assets/hero-dashboard.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.cta-band p {
  max-width: 650px;
  margin: 16px 0 0;
  color: #ffe9df;
}

.cta-band .hero-actions {
  margin-top: 26px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #475467;
  font-size: 14px;
  font-weight: 800;
}

.disclaimer {
  max-width: 760px;
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    min-height: 44px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-metrics,
  .category-grid,
  .intent-grid,
  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .hero-inner,
  .page-hero-inner,
  .section-inner,
  .footer-inner {
    width: min(1180px, calc(100% - 24px));
  }

  .hero {
    min-height: 650px;
  }

  .hero-inner {
    padding: 58px 0 68px;
  }

  .page-hero {
    min-height: 390px;
  }

  .page-hero-inner {
    padding: 74px 0 48px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 330px;
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.03;
  }

  .hero p,
  .page-hero p,
  .section-heading p {
    max-width: 330px;
    overflow-wrap: break-word;
  }

  .section-heading h2,
  .cta-band h2 {
    max-width: 330px;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.08;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 330px;
  }

  .hero-metrics {
    max-width: 330px;
  }

  .button,
  .mini-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }

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

  .data-table {
    display: block;
    overflow-x: auto;
  }

  .cta-band {
    padding: 28px;
  }

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