:root {
  --primary: #5b3df5;
  --primary-hover: #4a2fe0;
  --primary-light: #eee9ff;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-secondary: #f1f3f9;
  --border: #e6e8f0;
  --heading: #111827;
  --text: #475467;
  --muted: #98a2b3;
  --success: #18b56a;
  --warning: #f6b91a;
  --danger: #e5484d;
  --whatsapp: #25d366;
  --navy: #16213e;
  --navy-2: #1f2948;
  --blue: var(--primary);
  --blue-light: var(--primary-light);
  --yellow: var(--warning);
  --yellow-deep: var(--warning);
  --cream: var(--bg);
  --ink: var(--heading);
  --slate: var(--text);
  --line: var(--border);
  --white: var(--surface);
  --radius: 14px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
#top {
  scroll-margin-top: 76px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--heading);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

.display {
  font-family: "Archivo Expanded", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 2px;
}

.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg,
      var(--yellow),
      var(--yellow) 14px,
      var(--blue) 14px,
      var(--blue) 28px);
}

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}


.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-actions .ghost-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}

.mobile-store-action {
  display: none;
}

.mobile-login-action {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(91, 61, 245, 0.22);
}

.btn-primary.solid-blue {
  background: var(--primary);
  color: var(--surface);
}

.btn-primary.solid-blue:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 18px rgba(91, 61, 245, 0.22);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline.on-dark {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline.on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- HERO ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 15% -10%,
      rgba(91, 61, 245, 0.15) 0%,
      transparent 60%),
    linear-gradient(160deg, #4f33d6 0%, #222d4f 55%, var(--navy) 100%);
  padding: 64px 0 90px;
  position: relative;
  overflow: hidden;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge,
.hero h1,
.hero p.lede,
.hero .hero-ctas {
  animation: fadeUp 0.6s ease both;
}

.hero-badge {
  animation-delay: 0.02s;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero p.lede {
  animation-delay: 0.16s;
}

.hero .hero-ctas {
  animation-delay: 0.24s;
}

.hero-visual {
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero::after {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--white);
  backdrop-filter: blur(6px);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #ffd257;
}

.hero p.lede {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ---------- HERO DEVICE + FLOATING CARDS ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 34px 0 44px;
}

.hero-mock {
  position: relative;
  width: 320px;
  max-width: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 30px 70px -18px rgba(11, 31, 58, 0.4);
  transform: rotate(-3deg);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-mock:hover {
  transform: rotate(0deg) translateY(-4px);
}

.mock-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-secondary);
}

.mock-dots span:first-child {
  background: var(--yellow);
}

.mock-store {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}

.mock-store-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mock-store-name {
  font-family: "Archivo Expanded", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
}

.mock-store-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  color: var(--muted);
}

.mock-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-product {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--blue-light), var(--surface-secondary));
}

.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-row {
  display: flex;
}

.chat-row.in {
  justify-content: flex-start;
}

.chat-row.out {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.4;
}

.chat-bubble.in {
  background: var(--surface-secondary);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.chat-bubble.out {
  background: var(--whatsapp);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 14px 30px -10px rgba(11, 31, 58, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  max-width: 190px;
}

.float-card .f-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card .f-icon svg {
  width: 15px;
  height: 15px;
}

.float-card .f-label {
  font-size: 0.68rem;
  color: var(--slate);
}

.float-card .f-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.float-1 {
  top: 2%;
  right: 2%;
}

.float-1 .f-icon {
  background: rgba(24, 181, 106, 0.16);
  color: var(--success);
}

.float-3 {
  bottom: 4%;
  left: -6%;
}

.float-3 .f-icon {
  background: rgba(255, 201, 60, 0.18);
  color: var(--navy);
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  max-width: 600px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--slate);
  font-size: 1rem;
}

/* ---------- HOW IT WORKS ---------- */
.how {
  padding: 88px 0 76px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.how-step {
  padding: 0 16px;
  text-align: center;
  position: relative;
}

.how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 60%;
  width: 100%;
  border-top: 1.5px dashed var(--line);
}

.how-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  font-family: "IBM Plex Mono";
  font-weight: 600;
  font-size: 0.9rem;
}

.how-step h3 {
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.how-step p {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
}

/* ---------- FEATURES ---------- */
.features {
  background: var(--white);
  padding: 90px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-light);
  box-shadow: 0 16px 30px -14px rgba(11, 31, 58, 0.12);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-card:nth-child(8n + 1) .feature-icon {
  background: rgba(91, 61, 245, 0.08);
  color: var(--blue);
}

.feature-card:nth-child(8n + 2) .feature-icon {
  background: rgba(246, 185, 26, 0.15);
  color: var(--yellow-deep);
}

.feature-card:nth-child(8n + 3) .feature-icon {
  background: rgba(91, 61, 245, 0.08);
  color: var(--blue);
}

.feature-card:nth-child(8n + 4) .feature-icon {
  background: rgba(246, 185, 26, 0.15);
  color: var(--yellow-deep);
}

.feature-card:nth-child(8n + 5) .feature-icon {
  background: rgba(91, 61, 245, 0.08);
  color: var(--blue);
}

.feature-card:nth-child(8n + 6) .feature-icon {
  background: rgba(246, 185, 26, 0.15);
  color: var(--yellow-deep);
}

.feature-card:nth-child(8n + 7) .feature-icon {
  background: rgba(91, 61, 245, 0.08);
  color: var(--blue);
}

.feature-card:nth-child(8n + 8) .feature-icon {
  background: rgba(246, 185, 26, 0.15);
  color: var(--yellow-deep);
}

.feature-card h3 {
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.84rem;
  color: var(--slate);
  line-height: 1.5;
}

/* ---------- USE CASES ---------- */
.usecases {
  padding: 90px 0;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.usecase-card {
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-light);
  box-shadow: 0 16px 30px -14px rgba(11, 31, 58, 0.12);
}

.usecase-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.usecase-icon svg {
  width: 20px;
  height: 20px;
}

.usecase-card h3 {
  font-size: 0.96rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}

.usecase-card p {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item summary .plus svg {
  width: 11px;
  height: 11px;
  color: var(--blue);
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
}

.faq-item p {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 4px;
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 600px;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.faq-item p>* {
  min-height: 0;
}

.faq-item[open] p {
  grid-template-rows: 1fr;
  padding: 0 4px 20px;
  opacity: 1;
}

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(160deg, #4f33d6 0%, var(--navy) 100%);
  padding: 76px 0;
  text-align: center;
  position: relative;
}

/* Removed top hazard line from CTA */
.cta-banner::before {
  display: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  font-size: 1rem;
}

.cta-banner .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

.cta-note {
  margin-top: 16px;
  font-family: "IBM Plex Mono";
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy);
  padding: 56px 0 30px;
  color: rgba(255, 255, 255, 0.7);
  border-top: none;
}

.footer-brand .logo img {
  background: #ffffff;
  border-radius: 8px;
  padding: 2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(2, minmax(120px, 1fr));
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 270px;
  margin-top: 14px;
}

footer h4 {
  font-family: "IBM Plex Mono";
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 15px;
}

footer ul li {
  margin-bottom: 10px;
  font-size: 0.88rem;
}

footer ul li a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .wrap {
    padding: 0 22px;
  }

  nav {
    height: 76px;
  }

  /* --- DROPDOWN MENU FIX --- */
  .nav-links {
    position: absolute;
    top: 76px; /* Starts exactly below the header */
    left: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(11, 31, 58, 0.08); /* Adds depth over the page */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease, visibility 0s linear 0.35s;
    z-index: 99;
  }

  .nav-links.mobile-open {
    max-height: 520px;
    padding: 10px 0 22px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
    background: #f4f5f8;
    box-shadow: none;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 22px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .nav-links a::after {
    display: none;
  }

  .mobile-login-action {
    display: block;
    margin-top: 10px;
    padding: 18px 18px 10px;
    border-top: 1px solid var(--line);
  }

  .mobile-login-action a {
    display: block;
    color: var(--primary);
    text-align: center;
    font-size: clamp(1.05rem, 3vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    padding: 8px 22px 4px;
  }

  .mobile-store-action {
    display: block;
    margin-top: 0;
    padding: 0 18px 14px;
  }

  .mobile-store-action a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 20px 22px;
    color: var(--white);
    background: var(--primary);
    border-radius: 12px;
    font-size: clamp(1.05rem, 2.8vw, 1.4rem);
    font-weight: 800;
    line-height: 1.2;
    box-shadow: none;
    border: 1px solid var(--primary);
  }

  /* Hide desktop buttons */
  .nav-actions > .btn,
  .nav-actions .ghost-link {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hamburger Animation */
  .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

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

  /* --- OTHER MOBILE FIXES --- */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lede {
    margin: 0 auto 32px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    max-width: 360px;
    margin: 0 auto;
    padding: 46px 18px 56px;
  }

  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .how-step:not(:last-child)::after {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .how-grid,
  .feature-grid,
  .usecase-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* --- HERO MOCK RESPONSIVE FIX ---
     Shrinks the mock and pulls the floating cards fully
     outside its edges so they stop covering the store tag
     and the chat bubble text. */
  .hero-mock {
    width: 240px;
  }

  .float-card {
    max-width: 148px;
    padding: 8px 10px;
    gap: 8px;
  }

  .float-card .f-icon {
    width: 24px;
    height: 24px;
  }

  .float-card .f-icon svg {
    width: 12px;
    height: 12px;
  }

  .float-card .f-label {
    font-size: 0.6rem;
  }

  .float-card .f-value {
    font-size: 0.68rem;
  }

  .float-1 {
    top: -8%;
    right: -4%;
  }

  .float-3 {
    bottom: -8%;
    left: -4%;
  }
}

/* ---------- SELLER GUIDES ---------- */
.guide-hero {
  background:
    radial-gradient(1000px 460px at 85% -20%, rgba(91, 61, 245, 0.14) 0%, transparent 60%),
    linear-gradient(160deg, #4f33d6 0%, #222d4f 55%, var(--navy) 100%);
  padding: 72px 0 60px;
  text-align: center;
}

.guide-hero .eyebrow {
  color: #ffd257;
}

.guide-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 10px 0 14px;
}

.guide-hero .lede {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.guide-index {
  padding: 72px 0 28px;
}

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

.guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 360px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-light);
  box-shadow: 0 16px 30px -14px rgba(11, 31, 58, 0.16);
}

.guide-card-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 112px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.guide-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 28px 24px 24px;
}

.guide-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  font-weight: 600;
}

.guide-card h3 {
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 700;
}

.guide-card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 14px;
}

.guide-read {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}

.guide-article {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.guide-article.alt {
  background: var(--white);
}

.guide-article-inner {
  max-width: 700px;
}

.guide-tag {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.guide-article h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--navy);
  margin-bottom: 14px;
}

.guide-article > .guide-article-inner > p {
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.guide-steps {
  margin: 0 0 18px 20px;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

.guide-steps li {
  margin-bottom: 10px;
}

.guide-steps li strong {
  color: var(--navy);
}

.back-to-guides {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue);
}

.back-to-guides:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .guide-index {
    padding: 48px 0 16px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guide-card {
    min-height: 0;
  }

  .guide-card-heading {
    min-height: 92px;
  }

  .guide-card-content {
    min-height: 220px;
    padding: 24px 20px 20px;
  }

  .guide-article {
    padding: 52px 0;
  }
}

/* ---------- SELLER GUIDE DETAIL PAGE ---------- */
.seller-guide-page {
  background: var(--bg);
}

.guide-hero-inner {
  max-width: 760px;
}

.guide-steps-section {
  padding-top: 76px;
  padding-bottom: 86px;
}

.guide-section-head {
  max-width: 620px;
  margin-bottom: 36px;
}

.guide-section-head h2 {
  margin-top: 10px;
}

.guide-label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-card-heading {
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 128px;
  padding: 24px 22px;
  text-align: left;
}

.guide-card-heading h3 {
  font-family: "Archivo Expanded", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.guide-card-content {
  padding: 26px 22px 22px;
}

.guide-number {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.guide-card p {
  font-size: 0.9rem;
}

.guide-details {
  border-top: 1px solid var(--line);
}

.guide-detail {
  padding: 88px 0;
  scroll-margin-top: 90px;
}

.guide-detail.alt {
  background: var(--white);
}

.guide-detail-grid {
  display: grid;
  grid-template-columns: minmax(80px, 0.22fr) minmax(0, 1fr);
  gap: 42px;
  max-width: 900px;
}

.guide-detail-index {
  padding-top: 4px;
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.guide-detail h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.guide-detail-intro {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75;
}

.guide-action-box {
  max-width: 680px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-secondary);
}

.guide-action-box h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 0.95rem;
}

.guide-action-box ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-action-box li {
  position: relative;
  padding-left: 24px;
  color: var(--slate);
  font-size: 0.94rem;
}

.guide-action-box li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.guide-detail-note {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.7;
}

.guide-closing {
  padding: 0 0 88px;
}

.guide-closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 52px;
  border-radius: var(--radius-lg);
  background: var(--navy);
}

.guide-closing .eyebrow {
  color: var(--yellow);
}

.guide-closing h2 {
  max-width: 540px;
  margin: 9px 0 12px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.guide-closing p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.guide-closing .btn {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-detail-grid {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .guide-steps-section {
    padding-top: 54px;
    padding-bottom: 62px;
  }

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

  .guide-card {
    min-height: 0;
  }

  .guide-detail {
    padding: 60px 0;
  }

  .guide-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .guide-detail-index {
    font-size: 1.7rem;
  }

  .guide-closing {
    padding-bottom: 60px;
  }

  .guide-closing-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 24px;
  }
}