:root {
  --blue: #2f91d4;
  --blue-bright: #6fc4ff;
  --ink: #f5f8fb;
  --muted: #9cabb9;
  --night: #080d13;
  --night-soft: #0e1621;
  --line: rgba(174, 205, 229, 0.16);
  --panel: rgba(18, 29, 42, 0.72);
  --success: #67d7ab;
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 2%, rgba(47, 145, 212, 0.18), transparent 30rem),
    radial-gradient(circle at 4% 56%, rgba(47, 145, 212, 0.09), transparent 27rem),
    var(--night);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--night);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: 148px;
  height: 54px;
  align-items: center;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
}

.back-link span {
  color: var(--blue-bright);
  font-size: 18px;
}

.hero {
  position: relative;
  padding: 104px 0 96px;
}

.hero::after {
  position: absolute;
  top: 20px;
  right: 0;
  width: min(38vw, 440px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(111, 196, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 52px rgba(47, 145, 212, 0.018),
    inset 0 0 0 104px rgba(47, 145, 212, 0.018);
}

.eyebrow,
.section-index {
  margin: 0;
  color: var(--blue-bright);
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
}

.eyebrow span {
  width: 26px;
  height: 1px;
  background: var(--blue-bright);
  box-shadow: 0 0 12px rgba(111, 196, 255, 0.9);
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 24px 0 30px;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 720;
  letter-spacing: -0.066em;
  line-height: 0.94;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(105deg, var(--blue-bright), var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-meta span {
  padding: 8px 13px;
  color: #cbd6df;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.platform-section {
  padding: 34px 0 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: 190px 1fr minmax(240px, 0.65fr);
  gap: 28px;
  align-items: end;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.support-strip h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.platform-card {
  position: relative;
  display: flex;
  min-height: 590px;
  overflow: hidden;
  flex-direction: column;
  padding: 30px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.055), transparent 38%),
    var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  isolation: isolate;
  transition:
    border-color 240ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.platform-card::before {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -120px;
  width: 340px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(111, 196, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(47, 145, 212, 0.025),
    0 0 0 104px rgba(47, 145, 212, 0.018);
  transition: transform 500ms ease;
}

.platform-card:hover,
.platform-card:focus-visible {
  border-color: rgba(111, 196, 255, 0.46);
  outline: none;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(111, 196, 255, 0.08);
  transform: translateY(-7px);
}

.platform-card:hover::before,
.platform-card:focus-visible::before {
  transform: scale(1.08);
}

.card-glow {
  position: absolute;
  z-index: -1;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  opacity: 0.15;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(70px);
}

.platform-card-shopify .card-glow {
  top: auto;
  right: auto;
  bottom: -100px;
  left: -60px;
  opacity: 0.11;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-number {
  color: #6f7f8d;
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 13px;
}

.availability {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #b8c8d3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.availability > span {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(103, 215, 171, 0.8);
}

.platform-mark {
  display: grid;
  width: 100px;
  height: 100px;
  margin: 56px 0 42px;
  place-items: center;
  color: #dff2ff;
  border: 1px solid rgba(111, 196, 255, 0.3);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(47, 145, 212, 0.36), rgba(47, 145, 212, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 18px 45px rgba(0, 0, 0, 0.16);
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.platform-card-shopify .platform-mark {
  color: #c9f5e4;
  border-color: rgba(103, 215, 171, 0.3);
  background:
    linear-gradient(145deg, rgba(76, 180, 139, 0.28), rgba(76, 180, 139, 0.06));
}

.card-copy {
  display: flex;
  flex-direction: column;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--blue-bright);
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-card-shopify .card-kicker {
  color: #82e1bb;
}

.card-copy strong {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.card-description {
  max-width: 47ch;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.card-tags span {
  padding: 6px 10px;
  color: #aebdc8;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.card-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  color: #e9f6ff;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.card-action > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--night);
  background: var(--ink);
  border-radius: 50%;
  font-size: 18px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.platform-card:hover .card-action > span,
.platform-card:focus-visible .card-action > span {
  color: #fff;
  background: var(--blue);
  transform: rotate(45deg);
}

.platform-card-shopify:hover .card-action > span,
.platform-card-shopify:focus-visible .card-action > span {
  color: #07150f;
  background: var(--success);
}

.support-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 76px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-strip .section-index {
  margin-bottom: 12px;
}

.support-strip > p {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.support-strip > a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: #061019;
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.support-strip > a:hover,
.support-strip > a:focus-visible {
  background: var(--blue-bright);
  outline: none;
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 38px;
  color: #70808e;
  font-family: Consolas, "SFMono-Regular", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 32px, 700px);
  }

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

  .hero::after {
    top: 46px;
    right: -20%;
    width: 70vw;
  }

  .section-heading,
  .support-strip {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 13px;
  }

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

  .platform-card {
    min-height: 540px;
  }

  .support-strip {
    gap: 18px;
  }

  .support-strip > a {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 24px, 700px);
  }

  .site-header {
    min-height: 80px;
  }

  .brand {
    width: 116px;
    height: 44px;
  }

  .hero {
    padding: 62px 0 58px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(46px, 15vw, 66px);
  }

  .hero-meta {
    gap: 7px;
    margin-top: 28px;
  }

  .platform-section {
    padding-bottom: 78px;
  }

  .platform-card {
    min-height: 520px;
    padding: 22px;
    border-radius: 20px;
  }

  .platform-mark {
    width: 86px;
    height: 86px;
    margin: 42px 0 34px;
    border-radius: 24px;
    font-size: 18px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Documentation-focused layout */
body {
  background: #0b1118;
}

body::before,
.hero::after,
.platform-card::before,
.card-glow,
.card-topline,
.platform-mark,
.card-tags,
.hero-meta,
.eyebrow,
.section-index {
  display: none;
}

.product-name {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 680;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.hero-copy {
  max-width: 690px;
  color: #aab7c3;
  font-size: clamp(17px, 2vw, 20px);
}

.platform-section {
  padding: 72px 0 96px;
}

.section-heading {
  display: block;
  padding-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 650;
}

.section-heading > div > p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.platform-grid {
  gap: 18px;
  margin-top: 18px;
}

.platform-card {
  min-height: 390px;
  padding: 32px;
  border-color: rgba(174, 205, 229, 0.18);
  border-radius: 16px;
  background: #111a24;
  box-shadow: none;
  transform: none;
}

.platform-card:hover,
.platform-card:focus-visible {
  border-color: rgba(111, 196, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(111, 196, 255, 0.08);
  transform: none;
}

.card-kicker,
.platform-card-shopify .card-kicker {
  margin-bottom: 14px;
  color: var(--blue-bright);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.card-copy strong {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 650;
}

.card-description {
  margin-top: 16px;
  color: #a7b4bf;
}

.guide-details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: #c3ced7;
  font-size: 13px;
}

.guide-details > span {
  display: flex;
  gap: 10px;
  align-items: center;
}

.guide-details > span::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.card-action {
  padding-top: 20px;
  color: #f1f6f9;
}

.card-action > span {
  display: inline;
  width: auto;
  height: auto;
  color: var(--blue-bright);
  background: none;
  border-radius: 0;
  font-size: 18px;
}

.platform-card:hover .card-action > span,
.platform-card:focus-visible .card-action > span,
.platform-card-shopify:hover .card-action > span,
.platform-card-shopify:focus-visible .card-action > span {
  color: var(--blue-bright);
  background: none;
  transform: translateX(3px);
}

.support-strip {
  grid-template-columns: 1fr 1.3fr auto;
  gap: 34px;
  margin-bottom: 58px;
  padding: 32px 0;
}

.support-strip h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 650;
}

.support-strip > p {
  max-width: 44ch;
}

.support-strip > a {
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  border: 1px solid rgba(111, 196, 255, 0.42);
  border-radius: 10px;
  background: transparent;
}

.support-strip > a:hover,
.support-strip > a:focus-visible {
  color: #061019;
  background: var(--blue-bright);
  transform: none;
}

.site-footer {
  padding-bottom: 32px;
}

@media (max-width: 860px) {
  .hero {
    padding: 68px 0 58px;
  }

  .platform-section {
    padding: 58px 0 76px;
  }

  .platform-card {
    min-height: 360px;
  }

  .support-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 54px 0 48px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .platform-card {
    min-height: 350px;
    padding: 24px;
  }
}
