/* suparship.io — brand: blue #1863B2, teal #31C1CB (sampled from the logo) */

:root {
  --blue: #1863b2;
  --blue-dark: #124a86;
  --teal: #31c1cb;
  --teal-soft: #e6f8fa;
  --ink: #0f1c2e;
  --body: #3d4b5f;
  --muted: #7b8794;
  --line: #e5eaf0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --radius: 14px;
  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Grid/flex children default to min-width:auto, which lets a wide <pre>
   stretch its column past the viewport and force page-level horizontal
   scroll on mobile. Zeroing it makes the terminals scroll INSIDE their
   cards instead. */
.hero-inner > *, .qs-inner > * { min-width: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--teal-soft); padding: 0.1em 0.35em; border-radius: 5px; color: var(--blue-dark); }
.accent { color: var(--teal); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 0.55rem; }
.wordmark { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.wordmark-dark { color: #fff; }
.nav-links { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.6rem); }
.nav-links a { color: var(--body); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; font-family: var(--font-head);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff !important;
  background: linear-gradient(120deg, var(--blue), var(--teal));
  box-shadow: 0 6px 18px rgba(24, 99, 178, 0.28);
}
.btn-outline { color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--ink) !important; border: 1.5px solid var(--line); padding: 0.45rem 0.9rem; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue) !important; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(58rem 30rem at 85% -10%, rgba(49, 193, 203, 0.14), transparent 60%),
    radial-gradient(50rem 28rem at -10% 20%, rgba(24, 99, 178, 0.10), transparent 55%),
    var(--bg);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; max-width: 72rem; margin: 0 auto;
}
.hero-logo { display: none; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -0.02em; }
.lede { margin: 1.3rem 0 2rem; font-size: 1.15rem; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ── Terminal ────────────────────────────────────────────────────────── */
.term {
  background: #0d1726; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(15, 28, 46, 0.25);
  overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.06);
}
.term-bar { display: flex; gap: 7px; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.04); }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2b3b52; }
.term-bar span:first-child { background: #e0604f; }
.term-bar span:nth-child(2) { background: #e8b93e; }
.term-bar span:nth-child(3) { background: #59c26f; }
.term pre {
  padding: 1.2rem 1.35rem 1.5rem; overflow-x: auto;
  font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.75; color: #d7e1ee;
}
.term code { background: transparent; padding: 0; border-radius: 0; color: inherit; font-size: inherit; }
.t-p { color: var(--teal); }
.t-ok { color: #59c26f; }
.t-dim { color: #5d7189; }
.t-link { color: #7cc7ff; text-decoration: underline; }

/* ── Stack strip ─────────────────────────────────────────────────────── */
.stack-strip { padding: 2.4rem 1rem; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stack-strip p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 1rem; }
.stack-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.4rem; list-style: none; }
.stack-strip li { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); opacity: 0.72; }

/* ── Outcomes (decision-maker layer) ─────────────────────────────────── */
.outcomes { max-width: 72rem; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) 0; }
.outcomes h2 { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 2.6rem; }
.outcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2.2rem; }
.outcome h3 {
  font-size: 1.25rem; margin-bottom: 0.6rem; padding-top: 0.9rem;
  border-top: 3px solid; border-image: linear-gradient(90deg, var(--blue), var(--teal)) 1;
}
.outcome p { font-size: 1rem; }

/* ── Features ────────────────────────────────────────────────────────── */
.features { max-width: 72rem; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); }
.features h2 { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 3rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.4rem; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; background: #fff;
  transition: box-shadow 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.card:hover { border-color: rgba(49, 193, 203, 0.55); box-shadow: 0 14px 34px rgba(24, 99, 178, 0.10); transform: translateY(-2px); }
.card-icon {
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  font-size: 1.3rem; color: #fff; border-radius: 10px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; }

/* ── Product tour ────────────────────────────────────────────────────── */
.tour { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6rem); }
.tour h2 { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.7rem; }
.tour-lede { text-align: center; color: var(--muted); margin-bottom: 2.6rem; }
.carousel { position: relative; }
.car-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; border-radius: var(--radius);
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.car-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: 0 14px 34px rgba(24, 99, 178, 0.10);
  aspect-ratio: 16 / 10;
}
.car-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.car-slide figcaption { margin: 1rem auto 0; max-width: 46rem; text-align: center; font-size: 0.98rem; color: var(--body); }
.car-slide figcaption strong { color: var(--ink); }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 6px 18px rgba(24, 99, 178, 0.14);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.car-btn:hover { border-color: rgba(49, 193, 203, 0.55); box-shadow: 0 10px 24px rgba(24, 99, 178, 0.18); }
.car-prev { left: -1.3rem; }
.car-next { right: -1.3rem; }
.car-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1.1rem; }
.car-dots button {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: background 150ms ease, transform 150ms ease;
}
.car-dots button[aria-selected="true"] { background: var(--teal); transform: scale(1.25); }
@media (max-width: 900px) {
  .car-prev { left: 0.4rem; }
  .car-next { right: 0.4rem; }
}

/* ── Personas ────────────────────────────────────────────────────────── */
.personas { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6rem); }
.personas h2 { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 2.6rem; }
.persona-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.6rem; }
.persona { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.8rem 1.5rem; background: #fff; border-top: 4px solid var(--blue); }
.persona + .persona { border-top-color: var(--teal); }
.persona h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.persona ul { list-style: none; }
.persona li { position: relative; padding: 0.45rem 0 0.45rem 1.7rem; font-size: 0.98rem; }
.persona li::before { content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ── Batteries ───────────────────────────────────────────────────────── */
.batteries { background: linear-gradient(120deg, var(--blue-dark), var(--blue) 55%, #1e8ba0); color: #eaf3fb; }
.batteries-inner { max-width: 72rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); }
.batteries h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 2rem; }
.check-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 0.7rem 2.5rem; }
.check-grid li { position: relative; padding-left: 1.8rem; font-size: 1rem; }
.check-grid li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ── How it works ────────────────────────────────────────────────────── */
.how { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); }
.how h2 { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 3rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.6rem; max-width: 72rem; margin: 0 auto; }
.step { position: relative; padding: 1.6rem 1.5rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-n {
  position: absolute; top: -1.05rem; left: 1.3rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border-radius: 50%; color: #fff; font-family: var(--font-head); font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 6px 14px rgba(24, 99, 178, 0.3);
}
.step h3 { font-size: 1.08rem; margin: 0.55rem 0 0.5rem; }
.step p { font-size: 0.96rem; }

/* ── Quickstart ──────────────────────────────────────────────────────── */
.quickstart { padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); }
.qs-inner {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; max-width: 72rem; margin: 0 auto;
}
.qs-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
.qs-copy p { margin-bottom: 1.6rem; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: #0d1726; color: #93a5bb; padding: 2.6rem clamp(1rem, 4vw, 3rem); }
.footer-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.55rem; }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { color: #b9c7d8; font-weight: 500; }
.footer-links a:hover { color: var(--teal); }
.footer-note { margin-left: auto; font-size: 0.88rem; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .qs-inner { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .footer-note { margin-left: 0; width: 100%; }
  .term pre { font-size: 0.78rem; }
}
