:root {
  --ink: #0b1224;
  --ink-2: #121b32;
  --muted: #637085;
  --line: #dce8f7;
  --soft: #f4f8fc;
  --soft-2: #eaf6ff;
  --blue: #1563d7;
  --sky: #38bdf8;
  --green: #16a34a;
  --mint: #dffbea;
  --amber: #f97316;
  --red: #ef4444;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
  --shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.18);
}

/* Royal variables and texture control */
:root {
  --royal-gold: #D4AF37;
  --royal-indigo: #0b1b3b;
  --texture-opacity: 0.04;
}

/* Global motion and reveal utilities */
:root {
  --reveal-ease: cubic-bezier(.2,.9,.3,1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root { --reveal-duration: 0ms; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms var(--reveal-ease), transform 480ms var(--reveal-ease);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-left { transform: translateX(-22px); }
.reveal-right { transform: translateX(22px); }
.reveal-left.in-view, .reveal-right.in-view { transform: none; }

/* Floating micro motion for hero preview */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.floating { animation: floatY 6s ease-in-out infinite; }

/* CTA micro interaction */
.btn-primary { transition: transform 220ms var(--reveal-ease), box-shadow 220ms var(--reveal-ease); }
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 26px 54px rgba(11,71,217,0.18); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .floating, .btn-primary { transition: none !important; animation: none !important; transform: none !important; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 232, 247, 0.78);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 1000;
}

.brand .wordmark-ecom {
  color: #0369a1;
}

.brand .wordmark-trio {
  color: #15803d;
}

.brand em {
  display: block;
  margin-top: 3px;
  color: #334155;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.nav-links a {
  color: #334155;
  font-size: 14px;
  font-weight: 850;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 950;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}

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

.btn-small {
  min-height: 40px;
  padding: 0 18px;
}

.btn-primary,
.btn-dark {
  background: linear-gradient(135deg, var(--ink), #17233f);
  color: var(--white) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.btn-primary {
  background: linear-gradient(90deg, #0b72d9, #0b4fd9);
  color: var(--white) !important;
  box-shadow: 0 18px 40px rgba(11, 71, 217, 0.18);
  padding: 14px 26px;
}

/* Royal variant (gold accents) — toggle by adding `variant-royal` to <body> */
body.variant-royal {
  --accent: var(--royal-gold);
  --accent-strong: rgba(212,175,55,0.98);
}

body.variant-royal .btn-primary {
  background: linear-gradient(90deg, rgba(212,175,55,0.16), rgba(212,175,55,0.06));
  color: var(--royal-indigo) !important;
  box-shadow: 0 22px 44px rgba(212,175,55,0.08);
}

body.variant-royal .proof-kicker,
body.variant-royal .platform-strip span,
body.variant-royal .status-pill {
  background: linear-gradient(90deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
  color: var(--royal-indigo);
  border-color: rgba(212,175,55,0.12);
}

.btn-primary:hover,
.btn-dark:hover {
  background: #101a33;
}

.btn-outline {
  border-color: #b8c9df;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--sky);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.12);
}

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

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 86px;
  background:
    radial-gradient(circle at 8% 14%, rgba(56, 189, 248, 0.12), transparent 24%),
    radial-gradient(circle at 58% 86%, rgba(34, 197, 94, 0.08), transparent 28%),
    linear-gradient(135deg, #fbfdff 0%, #eef7ff 46%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 99, 215, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 99, 215, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(540px, 1.22fr);
  align-items: center;
  gap: 56px;
}

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

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

h1 {
  max-width: 690px;
  margin-bottom: 18px;
  color: #071226;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 28px;
  color: #475569;
  font-size: 18px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-strip,
.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-strip {
  margin: -4px 0 18px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.18);
  background: rgba(236, 253, 245, 0.82);
  color: #14532d;
  font-size: 12px;
  font-weight: 950;
}

.trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.platform-strip span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #d8e8ff;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.hero-visual-stack {
  position: relative;
  min-width: 0;
  padding-bottom: 118px;
}

.product-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(186, 216, 248, 0.95);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(14, 165, 233, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-strong);
}

.preview-chrome {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.preview-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.preview-chrome span:first-child {
  background: #ef4444;
}

.preview-chrome span:nth-child(2) {
  background: #f59e0b;
}

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

.preview-chrome strong {
  margin-left: 8px;
  color: #64748b;
  font-size: 12px;
}

.preview-surface {
  padding: 22px;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.preview-top strong,
.preview-top span {
  display: block;
}

.preview-top strong {
  font-size: 17px;
}

.preview-top span {
  color: var(--muted);
  font-size: 12px;
}

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

.metric-card {
  min-height: 122px;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.metric-card.highlight {
  background: linear-gradient(180deg, #effdf4, #ffffff);
  border-color: #a7f3d0;
}

.metric-card span,
.metric-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.metric-card strong {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  color: #14532d;
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1;
}

.preview-insights {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 194px;
  gap: 12px;
  margin-top: 14px;
}

.sku-table {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.sku-row {
  min-height: 44px;
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.8fr;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.sku-row:last-child {
  border-bottom: 0;
}

.sku-head {
  min-height: 36px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.sku-row b {
  color: #15803d;
}

.attention-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 15px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7ed, #fff);
}

.attention-label {
  color: #ea580c;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.attention-card strong {
  font-size: 15px;
  line-height: 1.25;
}

.attention-card small {
  color: #9a3412;
}
.listing-profit-card {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: min(430px, calc(100% - 48px));
  padding: 17px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.17);
}

.listing-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mini-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #14532d;
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 1000;
}

.listing-card-top strong,
.listing-card-top small {
  display: block;
}

.listing-card-top strong {
  font-size: 15px;
}

.listing-card-top small,
.listing-product span,
.profit-equation span,
.profit-result span,
.profit-result small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.listing-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.platform-profit-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0;
}

.platform-profit-tabs span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
}

.platform-profit-tabs .active {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.profit-equation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.profit-equation div {
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fbfdff;
}

.profit-equation strong {
  font-size: 16px;
}

.profit-result {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #14532d;
}

.profit-result strong {
  grid-row: span 2;
  font-size: 25px;
}

.profit-result small {
  color: #15803d;
}

.proof-band {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

/* Decorative hero accent */
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -12%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(11,113,217,0.06), transparent 30%), radial-gradient(circle at 70% 70%, rgba(11,79,217,0.04), transparent 30%);
  transform: rotate(12deg);
  filter: blur(18px);
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .listing-profit-card {
    position: static;
    width: 100%;
    margin-top: 20px;
  }
}

.proof-grid div {
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.proof-kicker {
  color: var(--blue) !important;
  font-size: 11px !important;
  font-weight: 1000 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-grid strong {
  display: block;
  color: var(--ink);
  font-size: 40px;
  line-height: 1;
}

.proof-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

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

.feature-card {
  min-height: 244px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96)),
    #fff;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--sky), var(--green));
  opacity: 0;
  transition: opacity 0.18s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #b7d9ff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 1000;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.feature-card small {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f7ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.showcase-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.11), transparent 26%),
    #fff;
}

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

.showcase-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbff;
  overflow: hidden;
}

.showcase-card.dark {
  background:
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.12), transparent 34%),
    var(--ink);
  color: #fff;
  border-color: #22304f;
}

.showcase-copy {
  max-width: 560px;
}

.showcase-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
}

.showcase-card.dark .showcase-kicker {
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
}

.showcase-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.showcase-copy p {
  color: var(--muted);
}

.showcase-card.dark .showcase-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.calculator-mock {
  align-self: end;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.calc-line,
.settlement-flow div {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f8fafc;
}

.calc-line span,
.settlement-flow span {
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.calc-line strong,
.settlement-flow strong {
  font-size: 18px;
}

.calc-line.final,
.settlement-flow .flow-total {
  background: #ecfdf5;
  color: #14532d;
}

.settlement-flow {
  align-self: end;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.settlement-flow div {
  background: rgba(255, 255, 255, 0.08);
}

.settlement-flow span {
  color: rgba(255, 255, 255, 0.62);
}

.settlement-flow strong {
  color: #fff;
}

.settlement-flow .flow-total {
  background: rgba(34, 197, 94, 0.16);
}

.settlement-flow .flow-total span,
.settlement-flow .flow-total strong {
  color: #bbf7d0;
}

.workflow-section {
  background: #fff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 56px;
  align-items: start;
}

.steps {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 28px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 38px; /* aligns with center of badges */
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(11,27,59,0.08), rgba(212,175,55,0.12));
  border-radius: 2px;
  pointer-events: none;
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  transition: transform 0.18s, box-shadow 0.18s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11,27,59,0.06);
}

.step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--royal-gold);
  color: var(--royal-indigo);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(11,27,59,0.06);
  border: 2px solid rgba(255,255,255,0.06);
}

/* Animation: fade/slide in when scrolled into view */
.step {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms cubic-bezier(.2,.9,.3,1), transform 420ms cubic-bezier(.2,.9,.3,1);
}

.step.in-view {
  opacity: 1;
  transform: none;
}

/* Staggered entrance */
.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(2) { transition-delay: 80ms; }
.steps .step:nth-child(3) { transition-delay: 160ms; }
.steps .step:nth-child(4) { transition-delay: 240ms; }

.step h3 {
  margin-bottom: 5px;
  font-size: 17px;
}

.step p { /* slightly more breathing room */
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.supported-section {
  background: linear-gradient(180deg, #f8fbff, #f5f8fc);
}

/* Left heading emphasis */
.section-heading.left {
  text-align: left;
  padding-right: 12px;
}

.section-heading.left h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.04;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .steps::before { display: none; }
  .steps { padding-left: 0; }
  .step { grid-template-columns: 44px 1fr; }
}

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

.platform-card {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top-width: 4px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.platform-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.platform-card span {
  color: var(--muted);
  font-size: 14px;
}

.platform-card.amazon { border-top-color: #fb923c; }
.platform-card.bazaar { border-top-color: #0891b2; }
.platform-card.flipkart { border-top-color: #2563eb; }
.platform-card.meesho { border-top-color: #16a34a; }

.pricing-section {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 38px;
  align-items: center;
}

.pricing-grid h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.pricing-grid p {
  max-width: 650px;
  color: var(--muted);
}

.pricing-card {
  padding: 26px;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
  box-shadow: 0 20px 42px rgba(22, 163, 74, 0.11);
}

.pricing-card h3 {
  margin: 18px 0 4px;
  font-size: 24px;
}

.pricing-card > strong {
  display: block;
  margin-bottom: 14px;
  color: #14532d;
  font-size: 46px;
  line-height: 1;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 18px;
  color: #475569;
  font-size: 14px;
}

.faq-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(22, 163, 74, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff, #ffffff);
}

.guides-section {
  background: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.guide-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.1), transparent 36%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: #9bd4ff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.guide-card span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.guide-card strong {
  font-size: 18px;
  line-height: 1.22;
}

.guide-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.blog-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.blog-strip h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.blog-strip p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.blog-hero h1 {
  max-width: 780px;
}

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

.blog-card {
  min-height: 238px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #9bd4ff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.blog-card span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.blog-card h2 {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.2;
}

.blog-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-main {
  background: #fff;
}

.article {
  max-width: 850px;
  padding: 76px 0;
}

.article h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 62px);
}

.article-lead {
  margin-bottom: 32px;
  color: #475569;
  font-size: 19px;
  font-weight: 600;
}

.article h2 {
  margin: 34px 0 10px;
  font-size: 27px;
  line-height: 1.18;
}

.article p {
  color: var(--muted);
  font-size: 16px;
}

.article-cta {
  margin-top: 42px;
  padding: 28px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

.article-cta h2 {
  margin-top: 0;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.13), transparent 25%),
    radial-gradient(circle at 82% 72%, rgba(34, 197, 94, 0.1), transparent 26%),
    linear-gradient(135deg, #fbfdff 0%, #eef7ff 56%, #ffffff 100%);
}

.seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 99, 215, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 99, 215, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}

.seo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 52px;
  align-items: center;
}

.seo-preview-card {
  padding: 26px;
  border: 1px solid #bde5ff;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.seo-preview-card > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
}

.seo-preview-card > strong {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.2;
}

.seo-mini-lines {
  display: grid;
  gap: 10px;
}

.seo-mini-lines div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.seo-mini-lines span {
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.seo-mini-lines b {
  font-size: 17px;
}

.seo-mini-lines .positive {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #14532d;
}

.flipkart-card {
  border-color: #bfdbfe;
}

.meesho-card {
  border-color: #bbf7d0;
}

.india-card {
  border-color: #fed7aa;
}

.seo-content-section {
  background: #fff;
}

.public-calculator-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f4f8fc);
}

.public-calculator {
  display: grid;
  gap: 22px;
}

.calculator-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.calculator-heading h2 {
  max-width: 740px;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
}

.calculator-heading p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.assumption-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(360px, 560px) 420px;
  gap: 16px;
  align-items: start;
  justify-content: center;
}

.calculator-form,
.calculator-result {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.calculator-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.calc-field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.calc-field label {
  color: #334155;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
}

.calc-field input,
.calc-field select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #b8c9df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.calc-field input:focus,
.calc-field select:focus {
  outline: 3px solid rgba(56, 189, 248, 0.22);
  border-color: var(--sky);
}

.custom-referral-field[hidden] {
  display: none;
}

.calculator-result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.result-top {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #effdf4, #ffffff);
  border: 1px solid #bbf7d0;
}

.calculator-result.is-loss .result-top {
  background: linear-gradient(180deg, #fff1f2, #ffffff);
  border-color: #fecdd3;
}

.result-top span,
.result-top small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.result-top strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
}

.calculator-result.is-loss .result-top strong {
  color: var(--red);
}

.result-breakdown {
  display: grid;
  gap: 0;
}

.result-breakdown div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 39px;
  padding: 8px 0;
  border-bottom: 1px solid #eef4fb;
}

.result-breakdown span {
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.result-breakdown b {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.calculator-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 750;
}

.calculator-result .btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.25;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.seo-content-grid article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.seo-content-grid h2 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.seo-content-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.faq-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.faq-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-section {
  padding: 0 0 78px;
}

.cta-card {
  padding: 46px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.14), transparent 34%),
    linear-gradient(135deg, var(--ink), #17233f);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.cta-card p {
  max-width: 650px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(11,27,59,0.6);
  background: #071225;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 980px) {
  .hero-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .product-preview {
    max-width: 720px;
  }

  .hero-visual-stack {
    max-width: 760px;
    padding-bottom: 0;
  }

  .listing-profit-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

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

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

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

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

  .blog-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-hero-grid,
  .seo-content-grid,
  .calculator-grid,
  .calculator-heading {
    grid-template-columns: 1fr;
  }

  .assumption-pill {
    justify-self: start;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 68px;
  }

  .brand small,
  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .metric-grid,
  .feature-grid,
  .showcase-grid,
  .platform-grid,
  .proof-grid,
  .guide-grid,
  .calculator-form {
    grid-template-columns: 1fr;
  }

  .calculator-form,
  .calculator-result {
    padding: 16px;
  }

  .result-top strong {
    font-size: 34px;
  }

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

  .preview-insights {
    grid-template-columns: 1fr;
  }

  .proof-grid div,
  .metric-card {
    min-height: auto;
  }

  .section {
    padding: 56px 0;
  }

  .cta-card {
    padding: 32px 18px;
  }
}
