:root {
  --ink: #071629;
  --muted: #607089;
  --line: #dce3ef;
  --line-strong: #c4cedd;
  --paper: #ffffff;
  --wash: #f6f8fc;
  --brand: #2e6be8;
  --brand-dark: #1745a8;
  --green: #16b373;
  --amber: #eba02a;
  --violet: #7557e8;
  --shadow: 0 24px 70px rgba(8, 21, 47, 0.16);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

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

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

:focus-visible {
  outline: 3px solid rgba(46, 107, 232, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(220, 227, 239, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-elevated {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(8, 21, 47, 0.08);
}

.brand,
.header-actions,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: contain;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.menu-toggle:hover {
  border-color: var(--line-strong);
  background: #f9fbff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  gap: 24px;
  color: #516078;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.header-actions {
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.button.secondary,
.button.ghost {
  border-color: var(--line);
  background: #fff;
  color: #243047;
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: var(--line-strong);
  background: #f9fbff;
}

.button.large {
  min-height: 48px;
  padding-inline: 20px;
}

.button.light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button.light:hover {
  border-color: #eaf0f8;
  background: #eaf0f8;
}

.button.dark-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.button.dark-outline:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.section,
.section-band {
  padding: 88px max(20px, calc((100vw - 1180px) / 2));
}

.section-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100dvh - 68px);
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(46, 107, 232, 0.12), transparent 38%),
    linear-gradient(290deg, rgba(22, 179, 115, 0.13), transparent 42%),
    linear-gradient(0deg, #f6f8fc 0, transparent 24%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(22, 179, 115, 0.13);
}

.eyebrow.inverted {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.section-heading h2,
.platform-copy h2,
.wms-copy h2,
.wms-head h2,
.pricing-copy h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 22px;
  max-width: 760px;
  font-size: clamp(44px, 8vw, 78px);
  line-height: 0.98;
  font-weight: 780;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

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

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.fact-strip div {
  min-width: 0;
  border: 1px solid rgba(220, 227, 239, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.fact-strip dt {
  color: #6a7891;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-strip dd {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 29px;
  font-weight: 790;
}

.hero-console {
  min-height: 555px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 150, 255, 0.32), transparent 30%),
    radial-gradient(circle at 94% 12%, rgba(46, 197, 126, 0.18), transparent 28%),
    #08152f;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 20px;
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
}

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

.console-brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
  padding: 4px;
}

.console-brand strong,
.console-brand span {
  display: block;
}

.console-brand strong {
  font-size: 14px;
}

.console-brand span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.live-pill {
  flex-shrink: 0;
  border: 1px solid rgba(46, 197, 126, 0.34);
  border-radius: 999px;
  background: rgba(46, 197, 126, 0.12);
  color: #c9f9dd;
  font-size: 12px;
  font-weight: 750;
  padding: 8px 10px;
}

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

.console-tile {
  min-height: 142px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  padding: 17px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.console-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.tile-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.tile-icon.ssl { background: linear-gradient(135deg, #16b373, #22c9d3); }
.tile-icon.worker { background: linear-gradient(135deg, #2e6be8, #5896ff); }
.tile-icon.domain { background: linear-gradient(135deg, #eba02a, #f87878); }
.tile-icon.queue { background: linear-gradient(135deg, #d24fed, #e33d73); }
.tile-icon.d1 { background: linear-gradient(135deg, #7dcf35, #16b373); }
.tile-icon.storage { background: linear-gradient(135deg, #7557e8, #2e6be8); }

.console-tile strong,
.console-tile small {
  display: block;
}

.console-tile strong {
  margin-top: 24px;
  font-size: 15px;
}

.console-tile small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.platform-copy h2,
.wms-copy h2,
.pricing-copy h2 {
  margin-top: 14px;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 770;
}

.section-heading p,
.platform-copy p,
.wms-copy p,
.pricing-copy p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 50px rgba(8, 21, 47, 0.1);
}

.product-card img {
  width: 100%;
  height: 152px;
  border-bottom: 1px solid #ecf1f7;
  background: #f9fbff;
  object-fit: contain;
  padding: 18px;
}

.product-card.compact::before {
  display: block;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--green));
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-label {
  width: max-content;
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f9fbff;
  color: #52627a;
  font-size: 11px;
  font-weight: 820;
  padding: 7px 9px;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 17px 0 0;
  font-size: 23px;
}

.product-card p:not(.product-label) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  border-top: 1px solid #ecf1f7;
  padding-top: 18px;
}

.product-foot strong {
  font-size: 14px;
}

.product-foot a {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 790;
}

.platform {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 60px;
  align-items: start;
}

.platform-list {
  display: grid;
  gap: 14px;
}

.platform-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  padding: 20px;
}

.platform-item strong,
.platform-item span {
  display: block;
}

.platform-item strong {
  font-size: 17px;
}

.platform-item span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.wms {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 44px;
  align-items: center;
}

.wms-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.wms-head {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #ecf1f7;
  background: #f9fbff;
  padding: 24px;
}

.wms-head img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius);
  object-fit: contain;
}

.wms-head h2 {
  margin-top: 8px;
  font-size: 30px;
}

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

.wms-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.wms-grid span,
.wms-grid strong,
.wms-grid p {
  display: block;
}

.wms-grid span {
  color: #66758d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.wms-grid strong {
  margin-top: 10px;
  color: var(--brand-dark);
  font-size: 19px;
  line-height: 1.25;
}

.wms-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.wms-copy .button {
  margin-top: 24px;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  border-bottom: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(88, 150, 255, 0.22), transparent 35%),
    #08152f;
  color: #fff;
}

.pricing-copy p {
  color: rgba(255, 255, 255, 0.66);
}

.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
  color: #66758d;
  font-size: 14px;
}

.footer-brand,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
}

.site-footer nav {
  flex-wrap: wrap;
  font-weight: 700;
}

.seo-hero {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 56px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #66758d;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--brand-dark);
}

.seo-hero h1,
.seo-copy h2,
.faq-section h2,
.related-products h2 {
  margin: 0;
  letter-spacing: 0;
}

.seo-hero h1 {
  margin-top: 22px;
  max-width: 780px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  font-weight: 780;
}

.seo-media {
  display: grid;
  min-height: 390px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #ffffff, #f6f8fc),
    var(--paper);
  box-shadow: 0 18px 54px rgba(8, 21, 47, 0.09);
  padding: 34px;
}

.seo-media img {
  width: min(100%, 430px);
  max-height: 300px;
  object-fit: contain;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 44px;
  align-items: start;
}

.seo-copy h2,
.faq-section h2,
.related-products h2 {
  margin-top: 14px;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 770;
}

.seo-copy > p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.seo-feature-grid > div,
.seo-card,
.faq-list details,
.related-list a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.seo-feature-grid > div {
  padding: 22px;
}

.seo-feature-grid h3 {
  margin: 0;
  font-size: 19px;
}

.seo-feature-grid ul {
  display: grid;
  gap: 12px;
  margin: 17px 0 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.6;
}

.seo-card {
  position: sticky;
  top: 92px;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(8, 21, 47, 0.08);
}

.seo-card strong,
.seo-card span {
  display: block;
}

.seo-card strong {
  color: var(--ink);
  font-size: 24px;
}

.seo-card span {
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.seo-card p {
  margin: 18px 0;
  color: var(--muted);
  line-height: 1.65;
}

.seo-card .button {
  width: 100%;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.related-list a {
  min-height: 62px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-weight: 780;
  padding: 14px;
  text-align: center;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.related-list a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #f9fbff;
}

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

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

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .hero,
  .platform,
  .wms,
  .pricing,
  .seo-hero,
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 64px;
  }

  .seo-hero {
    min-height: 0;
    padding-top: 64px;
  }

  .seo-card {
    position: static;
  }

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

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

  .pricing-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: auto;
    align-items: center;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand span {
    display: inline;
  }

  .main-nav {
    order: 3;
    display: none;
    width: 100%;
    align-items: stretch;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 12px 14px;
  }

  .header-actions {
    order: 4;
    width: 100%;
    display: none;
    margin-left: 0;
    padding-top: 2px;
  }

  .header-actions.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: grid;
    gap: 4px;
  }

  .button.ghost {
    display: inline-flex;
  }

  .section,
  .section-band {
    padding-block: 64px;
  }

  .fact-strip,
  .console-grid,
  .product-grid,
  .wms-grid,
  .seo-feature-grid,
  .related-list {
    grid-template-columns: 1fr;
  }

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

  .console-tile {
    min-height: 124px;
  }

  .product-foot,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section,
  .section-band {
    padding-inline: 16px;
  }

  .site-header {
    gap: 10px;
    padding-inline: 16px;
  }

  .brand {
    max-width: calc(100% - 54px);
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .pricing-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
