:root {
  color-scheme: light;
  --theme-bg: #f6f8fa;
  --theme-surface: #ffffff;
  --theme-border: #d7e0ea;
  --theme-text: #1f2d3d;
  --theme-text-muted: #60758a;
  --theme-accent: #ff9900;
  --theme-accent-strong: #146eb4;
  --theme-accent-contrast: #14181f;
  --shadow: 0 18px 48px rgba(31, 45, 61, 0.12);
  --font-sans: "Inter", "SF Pro Text", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--theme-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-sans);
  color: var(--theme-text);
  background: var(--theme-bg);
}

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

.page-shell {
  display: grid;
  place-items: center;
  width: min(1120px, calc(100% - 20px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px 0;
}

.steps {
  display: grid;
  gap: 22px;
  width: 100%;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 20px;
  align-items: center;
  width: 100%;
}

.guide-card--reverse .marketplace-image {
  order: 2;
}

.guide-card--reverse .note {
  order: 1;
}

.guide-card--wide-image {
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
}

.guide-card--image-wide-left {
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
}

.marketplace-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  background: var(--theme-surface);
}

.marketplace-image img {
  width: 100%;
  aspect-ratio: 1.39 / 1;
  object-fit: cover;
  object-position: center top;
}

.marketplace-image--wide img {
  aspect-ratio: 2.286 / 1;
  object-fit: contain;
}

.marketplace-image--extra-wide img {
  aspect-ratio: 2.784 / 1;
  object-fit: contain;
}

.marketplace-image--contain img {
  aspect-ratio: 1.429 / 1;
  object-fit: contain;
}

.note {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px 26px;
  border: 1px solid rgba(20, 110, 180, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.12), rgba(20, 110, 180, 0.07)),
    #ffffff;
}

.note::before {
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--theme-accent);
  content: "";
}

.step-badge {
  display: grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 153, 0, 0.42);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 45, 61, 0.08);
}

.step-badge span {
  color: var(--theme-accent-strong);
  font-size: 1.035rem;
  font-weight: 850;
  line-height: 1;
}

.step-badge strong {
  color: var(--theme-text-muted);
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--theme-accent-strong);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(1.0875rem, 1.7625vw, 1.575rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.note p {
  max-width: 42ch;
  margin: 16px 0 0;
  color: var(--theme-text-muted);
  font-size: clamp(0.735rem, 1.0125vw, 0.81rem);
  line-height: 1.65;
}

.bottom-image {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  background: var(--theme-surface);
}

.bottom-image img {
  width: 100%;
  aspect-ratio: 1.535 / 1;
  object-fit: contain;
  object-position: center top;
}

.conclusion-row {
  align-items: stretch;
}

.conclusion-row .note {
  align-content: center;
}

@media (max-width: 940px) {
  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card--reverse .marketplace-image,
  .guide-card--reverse .note {
    order: initial;
  }

  .note {
    padding: 24px 24px 24px 26px;
  }

  h1,
  h2 {
    max-width: 18ch;
  }
}

@media (max-width: 620px) {
  .note {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-badge {
    width: 54px;
  }

  h1,
  h2 {
    font-size: clamp(1.0875rem, 6vw, 1.4625rem);
  }
}
