:root {
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2ec;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --navy: #10233f;
  --blue: #2447c7;
  --cyan: #13a6b8;
  --green: #16a34a;
  --amber: #d97706;
  --shadow: 0 24px 80px rgba(16, 24, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 12px clamp(20px, 4vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

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

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}

.header-action,
.primary-button {
  color: #fff;
  background: var(--blue);
}

.secondary-button {
  color: var(--navy);
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 88px) 78px;
  background:
    linear-gradient(135deg, rgba(36, 71, 199, 0.08), rgba(19, 166, 184, 0.1)),
    var(--soft);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 790px;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text,
.section-heading p,
.split-section p,
.deployment p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

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

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-metrics dt {
  font-size: 21px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-visual {
  min-width: 0;
}

.browser-frame {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(16, 24, 40, 0.14);
  background: #0d1729;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}

.browser-bar span:nth-child(2) {
  background: #f59e0b;
}

.browser-bar span:nth-child(3) {
  background: #22c55e;
}

.browser-bar strong {
  margin-left: 10px;
  font-size: 13px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 470px;
  background: #f8fafc;
}

.dashboard-shell aside {
  padding: 22px 16px;
  background: #10233f;
  color: white;
}

.dashboard-shell aside b,
.dashboard-shell aside small {
  display: block;
}

.dashboard-shell aside small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
}

.dashboard-shell aside nav {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.dashboard-shell aside span {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 13px;
}

.dashboard-shell aside .active {
  color: white;
  background: rgba(19, 166, 184, 0.28);
}

.dash-main {
  padding: 24px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.dash-header small {
  color: var(--muted);
}

.dash-header h2 {
  margin: 4px 0 0;
  font-size: 26px;
}

.dash-header button {
  padding: 12px 16px;
  color: white;
  background: var(--green);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

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

.stat-row article,
.ops-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.stat-row strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
}

.stat-row span,
.ops-grid p {
  color: var(--muted);
  font-size: 13px;
}

.ops-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 14px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 145px;
  padding-top: 18px;
}

.bars span {
  flex: 1;
  min-width: 18px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.section,
.workflow,
.split-section,
.deployment {
  padding: clamp(56px, 7vw, 92px) clamp(20px, 5vw, 88px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

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

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

.platform-grid article,
.module-grid article,
.flow article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.platform-grid p,
.module-grid p,
.flow p,
.check-list {
  color: var(--muted);
  line-height: 1.65;
}

.workflow {
  background: var(--navy);
  color: white;
}

.workflow .eyebrow {
  color: #73e2ef;
}

.workflow .section-heading p {
  color: rgba(255, 255, 255, 0.75);
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.flow article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.flow article span {
  display: inline-flex;
  margin-bottom: 24px;
  color: #73e2ef;
  font-weight: 900;
}

.flow p {
  color: rgba(255, 255, 255, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(330px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 88px;
  height: 8px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #293447;
}

.phone-screen {
  min-height: 560px;
  padding: 24px;
  border-radius: 24px;
  background: #f8fafc;
}

.phone-screen h3 {
  margin-top: 10px;
  font-size: 24px;
}

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

.site-card {
  display: grid;
  gap: 6px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.site-card span {
  color: var(--green);
  font-size: 13px;
}

.punch-button {
  width: 100%;
  height: 54px;
  color: white;
  background: var(--blue);
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  font-size: 16px;
}

.mobile-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mobile-list span {
  padding: 16px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 800;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

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

.deployment {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.74fr);
  gap: 44px;
  align-items: center;
  background: #edf7fb;
}

.stack-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 50px rgba(16, 24, 40, 0.08);
}

.stack-card span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 88px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .hero,
  .split-section,
  .deployment {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .brand {
    min-width: 0;
  }

  .hero-metrics,
  .platform-grid,
  .module-grid,
  .stat-row,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-shell aside {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
