/* Bulkline sales site. Dark hero and CTA, light content; motion respects prefers-reduced-motion. */
@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --ink: #0a0f1f;
  --ink-2: #111833;
  --ink-3: #1b2347;
  --text: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --tint: #f6f7fb;
  --brand: #4f46e5;
  --brand-2: #6366f1;
  --cyan: #06b6d4;
  --ok: #10b981;
  --gold: #b7791f;
  --gold-bg: #fdf3dc;
  --grad: linear-gradient(120deg, #6366f1 0%, #8b5cf6 45%, #06b6d4 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 6%), 0 1px 1px rgb(15 23 42 / 4%);
  --shadow: 0 10px 30px -12px rgb(15 23 42 / 18%), 0 2px 6px rgb(15 23 42 / 5%);
  --shadow-lg: 0 40px 80px -30px rgb(10 15 31 / 45%), 0 12px 30px -12px rgb(10 15 31 / 25%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 400 16px/1.65 var(--sans);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  font-family: var(--head);
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  font-weight: 800;
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
code {
  font:
    500 0.88em ui-monospace,
    'SF Mono',
    Menlo,
    monospace;
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: rgb(99 102 241 / 22%);
}

.container {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}
.narrow {
  max-width: 780px;
  margin-inline: auto;
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.lead {
  font-size: 1.13rem;
  color: var(--body);
}
.error {
  color: #dc2626;
}
.eyebrow {
  display: inline-block;
  font: 700 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.gradient-text {
  background: linear-gradient(110deg, #a5b4fc 0%, #c4b5fd 35%, #67e8f9 70%, #a5b4fc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
}
.icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 60;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

/* Buttons */
.btn {
  --bh: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--bh);
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--sans);
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn-lg {
  --bh: 50px;
  padding: 0 24px;
  font-size: 1rem;
}
.btn-sm {
  --bh: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
  border-radius: 10px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #6366f1, #4f46e5);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 25%) inset,
    0 8px 20px -8px rgb(79 70 229 / 70%);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 25%) inset,
    0 14px 28px -10px rgb(79 70 229 / 80%);
}
.btn-outline {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: #c7d2fe;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  color: #fff;
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 16%);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgb(255 255 255 / 12%);
  transform: translateY(-2px);
}
.btn-light {
  color: var(--ink);
  background: #fff;
}
.btn-quiet {
  color: var(--body);
  background: var(--tint);
  border-color: var(--line);
}
.btn-quiet:hover {
  color: var(--text);
  border-color: #cbd5e1;
}
.btn:disabled {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(10 15 31 / 90%);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  transition: background-color 0.3s;
}
.site-header.is-scrolled {
  background: rgb(10 15 31 / 96%);
}
.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.2rem/1 var(--head);
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none !important;
}
.logo-mark {
  width: 30px;
  height: 30px;
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.06);
}
.nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}
.nav a {
  position: relative;
  color: rgb(226 232 240 / 78%);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 8px 12px;
  border-radius: 9px;
  text-decoration: none;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 7%);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgb(255 255 255 / 6%);
  font: 600 0.75rem/1 var(--sans);
}
.lang a,
.lang [aria-current] {
  padding: 6px 8px;
  border-radius: 7px;
  color: rgb(226 232 240 / 70%);
  text-decoration: none;
}
.lang [aria-current] {
  background: rgb(255 255 255 / 12%);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: rgb(255 255 255 / 8%);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 10px;
  padding: 8px 12px;
  font: 600 0.875rem var(--sans);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: rgb(203 213 225 / 88%);
  padding: 72px 0 56px;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 72px);
}
.hero h1 {
  color: #fff;
}
.hero .lead {
  color: rgb(203 213 225 / 85%);
  max-width: 560px;
}
.hero-bg,
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 18s var(--ease) infinite alternate;
}
.glow--a {
  width: 560px;
  height: 560px;
  left: -140px;
  top: -120px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
}
.glow--b {
  width: 620px;
  height: 620px;
  right: -180px;
  top: 80px;
  background: radial-gradient(circle, #0891b2 0%, transparent 70%);
  animation-delay: -6s;
}
@keyframes float {
  to {
    transform: translate3d(60px, 40px, 0) scale(1.1);
  }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  margin-bottom: 26px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e0e7ff;
  background: rgb(99 102 241 / 14%);
  border: 1px solid rgb(129 140 248 / 30%);
  text-decoration: none !important;
  transition: background-color 0.2s;
}
.pill:hover {
  background: rgb(99 102 241 / 24%);
}
.pill .icon {
  width: 14px;
  height: 14px;
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgb(34 211 238 / 60%);
  animation: ping 2s infinite;
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 8px rgb(34 211 238 / 0%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(34 211 238 / 0%);
  }
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 28px;
}
.actions.center {
  justify-content: center;
}
.proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
}
.proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.proof .icon {
  width: 16px;
  height: 16px;
  color: #34d399;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 72px 0 0;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 3%);
  backdrop-filter: blur(6px);
}
.stats div {
  padding: 22px 26px;
  display: flex;
  flex-direction: column-reverse;
}
.stats div + div {
  border-left: 1px solid rgb(255 255 255 / 9%);
}
.stats dt {
  font-size: 0.88rem;
  color: rgb(148 163 184);
}
.stats dd {
  margin: 0;
  font: 800 1.9rem/1.2 var(--head);
  color: #fff;
  letter-spacing: -0.02em;
}

/* Browser frame and mock-ups */
.browser {
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgb(15 23 42 / 8%);
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.browser-bar span:nth-child(1) {
  background: #f87171;
}
.browser-bar span:nth-child(2) {
  background: #fbbf24;
}
.browser-bar span:nth-child(3) {
  background: #34d399;
}
.browser-bar p {
  flex: 1;
  margin: 0 0 0 10px;
  padding: 4px 12px;
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock {
  padding: 18px;
}
.mock small {
  color: var(--muted);
  font-size: 11.5px;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mock-head strong {
  font: 700 15px var(--head);
  margin-right: auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.chip--gold {
  background: var(--gold-bg);
  color: var(--gold);
}
.chip--ghost {
  border: 1px dashed #cbd5e1;
  color: var(--muted);
}
.chip--ok {
  background: #d1fae5;
  color: #047857;
}
.thumb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
}
.thumb svg {
  width: 60%;
  height: 60%;
}
.thumb--a {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  color: #4338ca;
}
.thumb--b {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}
.thumb--c {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  color: #0e7490;
}
.thumb--d {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #6d28d9;
}
.qo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.qo-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  transition: background-color 0.4s;
}
.qo-row + .qo-row {
  border-top: 1px solid var(--line-2);
}
.qo-row.is-active {
  background: #eef2ff;
}
.qo-name {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.qo-name strong {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qo-price {
  font-weight: 700;
  text-align: right;
  display: flex;
  flex-direction: column;
}
.qo-price s,
.pcard-price s,
.pp-price s {
  color: #94a3b8;
  font-weight: 400;
  font-size: 11px;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.stepper i {
  font-style: normal;
  width: 24px;
  text-align: center;
  color: var(--muted);
}
.stepper b {
  min-width: 28px;
  text-align: center;
  padding: 5px 0;
  border-inline: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.qo-row.is-active .stepper {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 3px rgb(99 102 241 / 15%);
}
.qo-row.is-active .stepper b {
  color: var(--brand);
}
.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.mock-foot strong {
  font: 800 17px var(--head);
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}
.mock-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
}
.mock-btn.is-pulse {
  animation: pulse 0.9s var(--ease);
}
@keyframes pulse {
  40% {
    transform: scale(1.06);
    background: var(--brand);
    box-shadow: 0 0 0 8px rgb(99 102 241 / 18%);
  }
}
.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  margin-bottom: 14px;
}
.mock-search .icon {
  width: 15px;
  height: 15px;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.pcard strong {
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard-img {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 6px;
}
.pcard-img .thumb {
  width: 100%;
  height: 86px;
  border-radius: 9px;
}
.pcard-img .thumb svg {
  width: 40px;
  height: 40px;
}
.stock {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
  color: #047857;
  font-size: 10px;
  font-weight: 600;
}
.pcard-price {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  flex-wrap: wrap;
}
.mock-product {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
}
.pp-media .thumb {
  width: 100%;
  height: 210px;
  border-radius: 12px;
}
.pp-media .thumb svg {
  width: 90px;
  height: 90px;
}
.pp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.pp-thumbs span {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.pp-thumbs span:first-child {
  border-color: var(--brand-2);
}
.pp-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pp-title {
  font: 700 18px/1.25 var(--head);
}
.pp-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 6px;
  font: 800 20px var(--head);
}
.pp-label {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}
.pp-breaks {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
}
.pp-breaks td {
  padding: 7px 10px;
  background: var(--tint);
}
.pp-breaks td:first-child {
  border-radius: 8px 0 0 8px;
}
.pp-breaks td:last-child {
  border-radius: 0 8px 8px 0;
  text-align: right;
  font-weight: 700;
}
.pp-breaks .is-on td {
  background: #eef2ff;
  color: var(--brand);
}
.pp-buy {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.pp-buy .mock-btn {
  flex: 1;
  justify-content: center;
}
.portal-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #fff;
}
.portal-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-right: auto;
}
.portal-card small {
  color: #a5b4fc;
}
.portal-card strong {
  font: 700 15px var(--head);
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--grad);
  font-weight: 800;
}
.portal-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.portal-kpis div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.bar {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: var(--line-2);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--grad);
  transform-origin: left;
  animation: grow 1.6s var(--ease) both;
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
.portal-orders {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.portal-orders li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 10px;
  padding: 9px 4px;
  border-top: 1px solid var(--line-2);
}
.portal-orders .link {
  color: var(--brand);
  font-weight: 600;
}

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1600px;
}
.browser--hero {
  transform: rotateY(-9deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
  box-shadow:
    0 50px 100px -30px rgb(0 0 0 / 60%),
    0 0 0 1px rgb(255 255 255 / 6%);
}
.hero-visual:hover .browser--hero {
  transform: rotateY(-3deg) rotateX(1deg);
}
.float {
  position: absolute;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  animation: bob 6s ease-in-out infinite;
}
.float small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.float--toast {
  left: -34px;
  bottom: -24px;
  align-items: center;
}
.float--credit {
  right: -22px;
  top: -26px;
  flex-direction: column;
  gap: 4px;
  width: 170px;
  animation-delay: -3s;
}
.float--credit strong {
  font: 800 22px var(--head);
}
.dot-ok {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
}
.dot-ok .icon {
  width: 16px;
  height: 16px;
}
@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

/* Sections */
.section {
  padding: 112px 0;
  position: relative;
}
.section--tint,
.section--alt {
  background: var(--tint);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .lead {
  margin: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 20px -10px rgb(79 70 229 / 70%);
  transition: transform 0.5s var(--ease);
}
.include:hover .feature-icon,
.pillar:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
}
.art {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Showcase tabs */
.showcase {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tabs button {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font: inherit;
  color: var(--body);
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.tabs button strong {
  font: 700 1.05rem var(--head);
  color: var(--text);
}
.tabs button small {
  font-size: 0.9rem;
  color: var(--muted);
}
.tabs button:hover {
  background: rgb(255 255 255 / 60%);
}
.tabs [aria-selected='true'] {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}
.tabs [aria-selected='true'] .tab-progress {
  animation: tabfill var(--tab-time, 6s) linear forwards;
}
.showcase.is-paused .tab-progress {
  animation: none !important;
  transform: scaleX(0);
}
@keyframes tabfill {
  to {
    transform: scaleX(1);
  }
}
.panels {
  position: relative;
}
.panel {
  animation: panel-in 0.6s var(--ease);
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

@keyframes spin {
  to {
    --angle: 360deg;
  }
}

/* Demo */
.demo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 32px;
  background:
    radial-gradient(600px circle at 100% 0%, rgb(6 182 212 / 25%), transparent 60%),
    radial-gradient(600px circle at 0% 100%, rgb(99 102 241 / 30%), transparent 60%), var(--ink);
  color: #cbd5e1;
}
.demo-card h2 {
  color: #fff;
}
.demo-card .lead {
  color: #cbd5e1;
  margin-bottom: 28px;
}
.demo-card .muted {
  color: #94a3b8;
  margin-top: 14px;
}
.demo-password {
  margin-top: 16px;
}
.demo-password code {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 16%);
  color: #fff;
}
.demo-art {
  transform: rotate(2deg) translateY(10px);
  transition: transform 0.6s var(--ease);
}
.demo-card:hover .demo-art {
  transform: rotate(0) translateY(0);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 6px 0 28px;
  flex: 1;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
}
.checks .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  margin-top: 2px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--brand);
}

/* FAQ */
.faqs {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.faq[open] {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font: 700 1.03rem var(--head);
  color: var(--text);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint);
  transition:
    transform 0.4s var(--ease),
    background-color 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--text);
}
.faq-icon::after {
  transform: rotate(90deg);
  transition: transform 0.4s var(--ease);
}
.faq[open] .faq-icon {
  background: #eef2ff;
  transform: rotate(180deg);
}
.faq[open] .faq-icon::after {
  transform: rotate(0);
}
.faq-body {
  padding: 0 24px 20px;
}
.faq-body p {
  margin: 0;
}
.faq[open] .faq-body {
  animation: faq-in 0.45s var(--ease);
}
@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* CTA */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0;
  background: var(--ink);
  color: #cbd5e1;
}
.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.cta p {
  font-size: 1.15rem;
}
.cta .glow--a {
  left: 50%;
  top: 30%;
  margin-left: -280px;
  width: 560px;
  height: 400px;
}

/* Footer */
.site-footer {
  background: #070b17;
  color: #94a3b8;
  padding: 72px 0 32px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.footer-grid p {
  margin-top: 16px;
  max-width: 300px;
}
.site-footer h2 {
  font: 700 0.8rem var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 16px;
}
.site-footer a {
  display: block;
  color: #94a3b8;
  padding: 4px 0;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}
.site-footer .logo {
  display: inline-flex;
  color: #fff;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  font-size: 0.85rem;
}

/* Inner pages */
body:not(.page-home) main > .section:first-child {
  padding-top: 88px;
  background: radial-gradient(700px circle at 50% -10%, rgb(99 102 241 / 10%), transparent 60%), var(--bg);
}
.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
}
.form label {
  font-weight: 600;
  color: var(--text);
}
.form input {
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form input:focus-visible {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgb(99 102 241 / 15%);
}
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0 0 20px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}
.account-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.stores-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.stores-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
}
.docs {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.toc a {
  color: var(--body);
  padding: 6px 0;
  font-size: 0.93rem;
  transition: color 0.2s;
}
.toc a:hover {
  color: var(--brand);
  text-decoration: none;
}
.docs section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.docs ol {
  padding-left: 22px;
  margin: 0;
}
.docs li {
  padding: 6px 0;
}
.docs li::marker {
  color: var(--brand);
  font-weight: 700;
}
.prose h2 {
  font-size: 1.4rem;
  margin-top: 2em;
}
.done {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 16px 30px -12px rgb(79 70 229 / 70%);
  animation: pop 0.7s var(--ease);
}
.done .icon {
  width: 34px;
  height: 34px;
}
@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
}
.big404 {
  font: 800 clamp(5rem, 16vw, 9rem)/1 var(--head);
  letter-spacing: -0.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

/* Scroll reveal (only when JS runs) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js .hero [data-reveal]:nth-child(2) {
  --i: 1;
}
.js .hero [data-reveal]:nth-child(3) {
  --i: 2;
}
.js .hero [data-reveal]:nth-child(4) {
  --i: 3;
}
.js .hero [data-reveal]:nth-child(5) {
  --i: 4;
}
.js .hero-visual {
  animation: visual-in 1.2s var(--ease) 0.25s both;
}
@keyframes visual-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    max-width: 640px;
    margin: 20px auto 0;
    width: 100%;
  }
  .showcase {
    grid-template-columns: minmax(0, 1fr);
  }
  .tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs button {
    flex: 1 0 auto;
  }
  .tabs button small {
    display: none;
  }
  .demo-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}
@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px 20px 20px;
    background: rgb(10 15 31 / 97%);
    border-bottom: 1px solid rgb(255 255 255 / 8%);
  }
  .nav.is-open {
    display: flex;
    animation: faq-in 0.3s var(--ease);
  }
  .nav a {
    padding: 12px;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .btn {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats div:nth-child(3) {
    border-left: 0;
  }
  .stats div:nth-child(n + 3) {
    border-top: 1px solid rgb(255 255 255 / 9%);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .docs {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .toc {
    position: static;
  }
  .section {
    padding: 80px 0;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero {
    padding-bottom: 40px;
    padding-top: calc(var(--header-h) + 48px);
  }
  .float {
    display: none;
  }
  .browser--hero {
    transform: none;
  }
  .qo-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }
  .qo-row .qo-price {
    display: none;
  }
  .mock-head .chip--ghost {
    display: none;
  }
  .mock {
    padding: 14px;
  }
  .pgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pgrid .pcard:nth-child(n + 5) {
    display: none;
  }
  .mock-product {
    grid-template-columns: 1fr;
  }
  .pp-media .thumb {
    height: 140px;
  }
  .demo-card {
    padding: 28px 22px;
    border-radius: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats dd {
    font-size: 1.5rem;
  }
  .stats div {
    padding: 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Pillar art: portal card */
.art-portal {
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #fff;
  flex-wrap: nowrap;
}
.art-portal .avatar {
  flex: none;
  color: #fff;
}
.art-portal-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.art-portal-text strong {
  font: 700 0.95rem var(--head);
}
.art-portal-text small {
  color: #a5b4fc;
  font-size: 0.8rem;
}
.art-portal .bar {
  background: rgb(255 255 255 / 12%);
}

/* ---------- Platform site (2026-10-28): positioning, Engine, pricing ---------- */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nav a[aria-current='page'] {
  color: #fff;
  background: rgb(255 255 255 / 9%);
}
.section-head:has(h1) {
  max-width: 860px;
}
.section-head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-weight: 600;
}
.link-arrow .icon {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* Trust strip under the hero */
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 64px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgb(255 255 255 / 8%);
  font-size: 0.88rem;
  color: rgb(203 213 225 / 80%);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust .icon {
  width: 16px;
  height: 16px;
  color: #a5b4fc;
}

/* Problems: without / with */
.problems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition:
    translate 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.3s;
}
.problem:hover {
  translate: 0 -4px;
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}
.problem h3 {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px 26px 0;
  font-size: 1.2rem;
}
.problem-before,
.problem-after {
  padding: 16px 26px 26px;
}
.problem small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font: 700 0.72rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.problem small .icon {
  width: 14px;
  height: 14px;
}
.problem p {
  margin: 0;
  font-size: 0.93rem;
}
.problem-before small {
  color: #94a3b8;
}
.problem-before p {
  color: var(--muted);
}
.problem-after {
  background: linear-gradient(180deg, #f5f7ff, #fff);
  border-left: 1px solid var(--line-2);
}
.problem-after small {
  color: var(--brand);
}
.problem-after p {
  color: var(--text);
}

/* Platform pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    translate 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.pillar:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow);
}
.pillar .art {
  margin: 0 0 24px;
  min-height: 92px;
  align-items: center;
}
.pillar-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font: 700 0.75rem var(--sans);
  letter-spacing: 0.04em;
  background: #eef2ff;
  color: var(--brand);
}
.pillar h3 {
  font-size: 1.3rem;
}
.pillar > p {
  font-size: 0.95rem;
}
.pillar .checks {
  margin-bottom: 0;
  font-size: 0.93rem;
}
.pillar--engine {
  background:
    linear-gradient(160deg, var(--ink), var(--ink-3)) padding-box,
    conic-gradient(from var(--angle), #6366f1, #06b6d4, #8b5cf6, #6366f1) border-box;
  border: 1.5px solid transparent;
  animation: spin 6s linear infinite;
  color: #cbd5e1;
}
.pillar--engine h3 {
  color: #fff;
}
.pillar--engine .pillar-tag {
  background: var(--grad);
  color: #fff;
}
.pillar--engine .checks .icon {
  background: rgb(99 102 241 / 22%);
  color: #a5b4fc;
}
.tier-chip {
  flex: 1;
  min-width: 80px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--tint);
  display: flex;
  flex-direction: column;
  transition: translate 0.4s var(--ease);
}
.tier-chip small {
  color: var(--muted);
  font-size: 12px;
}
.tier-chip strong {
  font: 800 1.1rem var(--head);
  color: var(--text);
}
.tier-chip.is-on {
  background: #fff;
  border-color: #c7d2fe;
  box-shadow: 0 0 0 4px rgb(99 102 241 / 10%);
}
.tier-chip.is-on strong {
  color: var(--brand);
}
.pillar:hover .tier-chip.is-on {
  translate: 0 -4px;
}
.art-rules {
  flex-direction: column;
  gap: 8px;
  align-items: stretch !important;
}
.rule {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 8%);
  color: #e2e8f0;
  transition: translate 0.4s var(--ease);
}
.rule .icon {
  width: 15px;
  height: 15px;
  color: #34d399;
}
.rule--on {
  background: rgb(99 102 241 / 20%);
  border-color: rgb(129 140 248 / 40%);
}
.rule--on .icon {
  color: #a5b4fc;
}
.pillar:hover .rule:nth-child(2) {
  translate: 6px 0;
}
.pillar:hover .rule:nth-child(3) {
  translate: 12px 0;
}

/* How it works */
.flow {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 49px;
  right: -21px;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #c7d2fe 50%, transparent 0) 0 0 / 8px 2px;
  animation: dash 0.8s linear infinite;
}
@keyframes dash {
  to {
    background-position: 8px 0;
  }
}
.flow-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: #eef2ff;
  color: var(--brand);
  transition:
    background-color 0.3s,
    color 0.3s;
}
.flow-step:last-child .flow-icon,
.flow-step:hover .flow-icon {
  background: var(--grad);
  color: #fff;
}
.flow-step small {
  display: block;
  margin-bottom: 8px;
  font: 700 0.72rem/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow-step p {
  margin: 0;
  font-size: 0.93rem;
}

/* Dark sections: Engine admin and numbers */
.section--dark,
.section--stats {
  background:
    radial-gradient(900px circle at 85% 0%, rgb(99 102 241 / 18%), transparent 60%),
    radial-gradient(700px circle at 0% 100%, rgb(6 182 212 / 10%), transparent 60%), var(--ink);
  color: #cbd5e1;
}
.section--dark {
  padding-bottom: 40px;
}
.section--stats {
  background: var(--ink);
  padding: 0 0 112px;
}
.section--stats .stats {
  margin: 0;
}
.section--dark h2 {
  color: #fff;
}
.section--dark .lead {
  color: #cbd5e1;
}
.section--dark .tabs button {
  color: #cbd5e1;
}
.section--dark .tabs button strong {
  color: #fff;
}
.section--dark .tabs button small {
  color: #94a3b8;
}
.section--dark .tabs button:hover {
  background: rgb(255 255 255 / 5%);
}
.section--dark .tabs [aria-selected='true'] {
  background: rgb(255 255 255 / 7%);
  border-color: rgb(255 255 255 / 12%);
  box-shadow: none;
}

/* Engine admin mock-ups (Polaris-like) */
.browser--admin .browser-body {
  background: #f1f2f4;
}
.admin {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  min-height: 360px;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  background: #ebebeb;
  border-right: 1px solid #e3e3e3;
}
.admin-app {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 6px;
  font: 700 12px var(--head);
}
.admin-app .logo-mark {
  width: 20px;
  height: 20px;
}
.admin-link {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #4a4a4a;
}
.admin-link.is-on {
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 1px 0 rgb(0 0 0 / 6%);
}
.admin-main {
  padding: 18px;
  min-width: 0;
}
.admin-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-head strong {
  font: 700 16px var(--head);
  margin-right: auto;
}
.admin-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #8a8a8a;
  font-size: 12px;
}
.admin-search .icon {
  width: 14px;
  height: 14px;
}
.admin-btn {
  padding: 6px 12px;
  border-radius: 8px;
  background: #303030;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 30%);
}
.admin-table {
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 1px 0 rgb(0 0 0 / 5%),
    0 0 0 1px rgb(0 0 0 / 4%);
  overflow: hidden;
}
.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) 1fr 0.8fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid #f1f1f1;
  transition: background-color 0.2s;
}
.admin-row:hover {
  background: #fafafa;
}
.admin-row--head {
  border-top: 0;
  background: #f7f7f7;
  font-size: 11.5px;
  font-weight: 600;
  color: #616161;
}
.admin-who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.admin-who > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.admin-who strong {
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-who .thumb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.avatar--sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 11px;
  color: #fff;
}
.admin-credit {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-credit .bar {
  flex: 1;
}
.admin-price s,
.tester-price s {
  color: var(--muted);
  margin-right: 6px;
  font-weight: 400;
}
.admin-price {
  font-weight: 700;
}
.admin-period {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.pbadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pbadge .icon {
  width: 14px;
  height: 14px;
}
.pbadge--ok {
  background: #cdfee1;
  color: #0c5132;
}
.pbadge--warn {
  background: #ffef9d;
  color: #4f4700;
}
.pbadge--info {
  background: #e0f0ff;
  color: #00527c;
}
.chip--silver {
  background: #eef2f7;
  color: #475569;
}
.tester {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tester-in,
.tester-out {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 1px 0 rgb(0 0 0 / 5%),
    0 0 0 1px rgb(0 0 0 / 4%);
}
.tester-in label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.tester-in label:last-child {
  margin-bottom: 0;
}
.field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #d4d4d4;
  font-size: 12.5px;
}
.field .thumb {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.tester-price {
  margin: 2px 0 12px;
  font: 800 26px/1.1 var(--head);
  color: var(--brand);
}
.tester-price s {
  font-size: 15px;
}
.tester-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  margin: 0 0 10px;
  border-block: 1px solid #f1f1f1;
}
.tester-out ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.tester-out li {
  display: flex;
  gap: 6px;
  align-items: center;
}
.tester-out li .icon {
  width: 14px;
  height: 14px;
  color: #10b981;
}

/* Setup steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--grad);
  opacity: 0.35;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
.step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c7d2fe;
  font: 800 1rem var(--head);
  color: var(--brand);
  transition:
    background-color 0.3s,
    color 0.3s,
    scale 0.4s var(--ease);
}
.step:hover .step-no {
  background: var(--brand);
  color: #fff;
  scale: 1.1;
}
.step-when {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.step p {
  margin: 0;
  font-size: 0.9rem;
}

/* Pricing */
.page-hero {
  isolation: isolate;
  overflow: hidden;
}
body:not(.page-home) main > .page-hero:first-child {
  background: var(--ink);
  color: #cbd5e1;
  padding: 96px 0 112px;
}
.page-hero .section-head h1 {
  color: #fff;
}
.page-hero .lead {
  color: #cbd5e1;
}
.page-hero .glow--a {
  left: 50%;
  top: -120px;
  margin-left: -360px;
  width: 720px;
  height: 420px;
}
.launch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f5f7ff;
  border: 1px solid #c7d2fe;
  font-size: 0.92rem;
  color: var(--text);
}
.launch p {
  margin: 0;
}
.launch-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgb(16 185 129 / 50%);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  70%,
  100% {
    box-shadow: 0 0 0 10px rgb(16 185 129 / 0%);
  }
}
.page-hero .launch {
  background: rgb(255 255 255 / 5%);
  border-color: rgb(255 255 255 / 12%);
  color: #e2e8f0;
}
.page-hero .muted {
  color: #94a3b8;
}
.page-hero .muted a {
  color: #a5b4fc;
}
.billing {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 40px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 600 0.92rem var(--sans);
  color: var(--body);
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s;
}
.billing [aria-checked='true'] {
  background: var(--ink);
  color: #fff;
}
.billing .save {
  padding: 2px 8px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 0.75rem;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-bottom: 26px;
  text-align: left;
}
.tier {
  position: relative;
  color: var(--body);
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    translate 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.tier:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow);
}
.tier--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--angle), #6366f1, #06b6d4, #8b5cf6, #6366f1) border-box;
  animation: spin 6s linear infinite;
  box-shadow: 0 30px 60px -30px rgb(79 70 229 / 55%);
}
.tier--planned {
  background: #fafbfd;
  border-style: dashed;
  box-shadow: none;
}
.tier-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tier-head h3 {
  margin: 0;
  font-size: 1.4rem;
}
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font: 700 0.72rem var(--sans);
  letter-spacing: 0.03em;
}
.badge--muted {
  background: #eef2f7;
  color: var(--muted);
}
.tier-text {
  margin: 10px 0 18px;
  min-height: 4.8em;
  font-size: 0.93rem;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}
.tier-price .amount {
  font: 800 3rem/1 var(--head);
  letter-spacing: -0.03em;
  color: var(--text);
}
.tier-price .amount.is-swap {
  animation: swap 0.45s var(--ease);
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.tier-price .per {
  color: var(--muted);
}
.tier--planned .amount {
  color: var(--muted);
}
.tier-billed {
  margin: 6px 0 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.tier-fees {
  list-style: none;
  margin: 0 0 22px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-2);
  font-size: 0.88rem;
  color: var(--text);
}
.tier-fees li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}
.tier-fees .icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
}
.tier-inherits {
  margin: 22px 0 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}
.tier .checks {
  margin-bottom: 0;
  font-size: 0.92rem;
}
.tier--planned .checks .icon {
  background: #f1f5f9;
  color: var(--muted);
}
.tier-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f5f9;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Total cost calculator */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-controls {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-right: 1px solid var(--line-2);
}
.calc fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.calc legend {
  margin-bottom: 10px;
  font: 700 0.78rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--tint);
}
.segmented label {
  position: relative;
  cursor: pointer;
}
.segmented input {
  position: absolute;
  opacity: 0;
}
.segmented span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.segmented small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
}
.segmented input:checked + span {
  background: #fff;
  box-shadow:
    var(--shadow-sm),
    0 0 0 1px var(--line);
}
.segmented input:focus-visible + span {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
.calc-excluded {
  display: flex;
  gap: 10px;
  margin: auto 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.calc-excluded .icon {
  color: var(--brand);
}
.calc-out {
  padding: 36px;
  background: linear-gradient(180deg, #fbfbff, #fff);
}
.timeline {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(#c7d2fe, #a5f3fc);
}
.timeline li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 18px;
}
.tl-dot {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-2);
  z-index: 1;
}
.timeline li:nth-child(2) .tl-dot {
  border-color: var(--ok);
}
.timeline li:nth-child(3) .tl-dot {
  border-color: var(--cyan);
}
.timeline small,
.totals small {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.timeline strong {
  display: block;
  font: 800 1.35rem/1.3 var(--head);
  color: var(--text);
}
.timeline p,
.totals p {
  margin: 2px 0 0;
  font-size: 0.85rem;
}
.totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.totals div {
  padding: 18px;
  border-radius: 16px;
  background: var(--tint);
}
.totals div:first-child {
  background: var(--ink);
  color: #cbd5e1;
}
.totals div:first-child small {
  color: #a5b4fc;
}
.totals strong {
  display: block;
  font: 800 2rem/1.2 var(--head);
  letter-spacing: -0.02em;
  color: var(--text);
}
.totals div:first-child strong {
  color: #fff;
}
[data-out].is-swap {
  animation: swap 0.45s var(--ease);
}

/* What the setup fee covers */
.includes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.include {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition:
    translate 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.include:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow);
}
.include p {
  margin: 0;
  font-size: 0.92rem;
}
.billing-grid {
  padding: 36px;
  border-radius: 28px;
  background: var(--tint);
}
.billing-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 20px;
}
.billing-grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 40px;
  margin: 0;
}
.billing-grid dt {
  font: 700 1rem var(--head);
  color: var(--text);
  margin-bottom: 4px;
}
.billing-grid dd {
  margin: 0;
  font-size: 0.93rem;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.compare th,
.compare td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line-2);
}
.compare th[scope='row'] {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}
.compare thead th {
  position: sticky;
  top: 0;
  background: #fff;
  font: 800 1.1rem var(--head);
  color: var(--text);
  padding-block: 20px;
}
.compare thead small {
  display: block;
  font: 500 0.8rem var(--sans);
  color: var(--muted);
}
.compare .group th {
  text-align: left;
  background: var(--tint);
  font: 700 0.75rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 10px;
}
.compare .is-featured {
  background: #f7f7ff;
}
.compare thead .is-featured {
  background: #f7f7ff;
  box-shadow: inset 0 3px 0 var(--brand-2);
}
.compare tbody tr:not(.group):hover th,
.compare tbody tr:not(.group):hover td {
  background: #fafbff;
}
.compare .yes,
.compare .no {
  display: inline-grid;
  place-items: center;
}
.compare .yes .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--brand);
}
.compare .no .icon {
  color: #cbd5e1;
}
.planned {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px dashed #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

/* License terms */
.license {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.license .checks {
  margin: 0;
}

@media (max-width: 1080px) {
  .pillars,
  .tiers {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
  .tier-text {
    min-height: 0;
  }
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step::after {
    display: none;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }
  .steps::before {
    display: none;
  }
  .includes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calc {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
}
@media (max-width: 860px) {
  .problems,
  .license,
  .billing-grid dl {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-nav {
    display: none;
  }
  .tester {
    grid-template-columns: minmax(0, 1fr);
  }
  body:not(.page-home) main > .page-hero:first-child {
    padding: 64px 0 80px;
  }
}
@media (max-width: 600px) {
  .problem {
    grid-template-columns: minmax(0, 1fr);
  }
  .problem-after {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .flow,
  .steps,
  .includes,
  .totals {
    grid-template-columns: minmax(0, 1fr);
  }
  .step {
    text-align: left;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
  }
  .step-no {
    grid-row: span 3;
    margin: 0;
  }
  .step-when {
    justify-self: start;
  }
  .trust {
    justify-content: flex-start;
    gap: 10px 18px;
  }
  .admin-row {
    grid-template-columns: minmax(0, 1.8fr) 1fr 0.9fr;
  }
  .admin-row > :last-child {
    display: none;
  }
  .admin-search {
    display: none;
  }
  .calc-controls,
  .calc-out,
  .billing-grid {
    padding: 24px 20px;
  }
  .tier {
    padding: 28px 22px;
  }
  .billing button {
    padding: 8px 12px;
  }
}

/* ---------- Buyer journey, device frames, plan tables (2026-10-28 b) ---------- */
@view-transition {
  navigation: auto;
}
.site-header {
  view-transition-name: site-header;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: var(--ease);
}

/* Journey: steps across the top, the screen below */
.showcase--journey {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.showcase--journey .tabs {
  flex-direction: row;
  gap: 10px;
}
.showcase--journey .tabs button {
  flex: 1 1 0;
  min-width: 0;
  padding: 16px 16px 18px;
  background: #fff;
  border-color: var(--line);
}
.showcase--journey .tabs button strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.showcase--journey .tabs button small {
  font-size: 0.84rem;
  line-height: 1.45;
}
.showcase--journey .tabs [aria-selected='true'] {
  border-color: #c7d2fe;
  box-shadow:
    0 0 0 4px rgb(99 102 241 / 8%),
    var(--shadow);
}
.step-dot {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--brand);
  font: 800 0.8rem var(--head);
  transition:
    background-color 0.3s,
    color 0.3s;
}
.tabs [aria-selected='true'] .step-dot {
  background: var(--grad);
  color: #fff;
}
.showcase--journey .panels {
  max-width: 920px;
  width: 100%;
  margin-inline: auto;
}
.showcase--journey .panel {
  position: relative;
}
.journey-tag {
  position: absolute;
  z-index: 2;
  top: -12px;
  left: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 0.72rem var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.journey-phone {
  display: grid;
  place-items: center;
  padding: 18px 0 6px;
  background: radial-gradient(420px circle at 50% 40%, rgb(99 102 241 / 12%), transparent 70%);
}

/* Form fields inside mock-ups */
.mfield {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mfield > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
}
.mfield em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
.mfield .is-empty {
  color: #a3a3a3;
}
.mock-apply {
  padding: 26px 30px;
}
.apply-title {
  display: block;
  font: 800 18px var(--head);
}
.apply-text {
  margin: 4px 0 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.apply-grid .mfield:last-child {
  grid-column: 1 / -1;
}
.apply-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 16px;
  font-size: 11.5px;
  color: var(--muted);
}
.tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
}
.tick .icon {
  width: 11px;
  height: 11px;
}

/* Engine buyer edit */
.admin-back {
  font-size: 12px;
  color: #616161;
}
.admin-head .admin-back + strong {
  margin-left: 4px;
}
.edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.edit-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 1px 0 rgb(0 0 0 / 5%),
    0 0 0 1px rgb(0 0 0 / 4%);
}
.edit-title {
  margin: 0;
  font: 700 13px var(--head);
}
.select {
  justify-content: space-between;
}
.select::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.5px solid #8a8a8a;
  border-bottom: 1.5px solid #8a8a8a;
  transform: rotate(45deg) translateY(-2px);
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12.5px;
}
.switch {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 99px;
  background: #d4d4d4;
  transition: background-color 0.3s;
}
.switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: translate 0.3s var(--ease);
}
.switch.is-on {
  background: #303030;
}
.switch.is-on::after {
  translate: 12px 0;
}

/* Shopify-style checkout */
.mock-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 0;
}
.co-pay {
  padding: 22px;
}
.co-pay > strong {
  display: block;
  margin-bottom: 12px;
  font: 700 15px var(--head);
}
.co-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #dedede;
  font-size: 12.5px;
}
.co-option + .co-option {
  border-top: 0;
}
.co-option:first-of-type {
  border-radius: 8px 8px 0 0;
}
.co-option:last-of-type {
  border-radius: 0 0 8px 8px;
}
.co-option span:last-child {
  display: flex;
  flex-direction: column;
}
.co-option.is-on {
  border-color: #1773b0;
  background: #f0f5ff;
}
.radio {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #b5b5b5;
  background: #fff;
}
.is-on .radio {
  border: 5px solid #1773b0;
}
.co-summary {
  padding: 22px;
  background: #f5f5f5;
  border-left: 1px solid #e6e6e6;
}
.co-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.co-thumb {
  position: relative;
}
.co-thumb b {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: #666;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}
.co-name {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
}
.co-name small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.co-name .icon,
.co-discount .icon {
  width: 12px;
  height: 12px;
}
.co-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12.5px;
}
.co-price s {
  color: var(--muted);
  font-size: 11px;
}
.co-row {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  font-size: 12.5px;
}
.co-discount span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.co-total {
  margin-top: 12px;
  font-size: 15px;
}
.co-total strong {
  font: 800 18px var(--head);
}
.co-total small {
  font: 500 11px var(--sans);
  color: var(--muted);
}

/* Phone frame */
.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #1f2937, #0b1020);
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 8%),
    var(--shadow-lg);
}
.phone-island {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 50%;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  border-radius: 99px;
  background: #000;
}
.phone-screen {
  overflow: hidden;
  padding-top: 34px;
  border-radius: 36px;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
}
.phone .portal-kpis {
  grid-template-columns: 1fr;
}

/* Hero: Engine card */
.float--engine {
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}
.float--engine strong {
  font: 700 14px var(--head);
}
.float-chips {
  display: flex;
  gap: 6px;
  margin: 2px 0 4px;
}

/* Theme vs Bulkline */
.versus {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  padding: 36px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
}
.versus-copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.versus .compare {
  min-width: 0;
}
.compare--versus th[scope='row'] {
  font-size: 0.9rem;
}
.cell-text {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Shopify plans */
.source {
  display: table;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.source--bulkline {
  background: #eef2ff;
  color: var(--brand);
}
.source--shopify {
  background: #ecfdf5;
  color: #047857;
}

/* Plan note and comparison tools */
.plan-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.9rem;
  color: #78350f;
}
.plan-note .icon {
  margin-top: 2px;
  color: #b45309;
}
.compare-tools {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}
.chip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: 600 0.85rem var(--sans);
  color: var(--text);
  cursor: pointer;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.chip-toggle::before {
  content: '';
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: #e2e8f0 radial-gradient(circle at 8px 50%, #fff 5px, transparent 5.5px);
  transition: background 0.3s var(--ease);
}
.chip-toggle[aria-pressed='true'] {
  border-color: #c7d2fe;
  background: #f5f7ff;
}
.chip-toggle[aria-pressed='true']::before {
  background: var(--brand) radial-gradient(circle at 20px 50%, #fff 5px, transparent 5.5px);
}
.compare-wrap.only-diff tr[data-same] {
  display: none;
}

@media (max-width: 1080px) {
  .showcase--journey .tabs {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .showcase--journey .tabs button {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }
  .showcase--journey .tabs button small {
    display: block;
  }
  .versus {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 860px) {
  .edit-grid,
  .mock-checkout {
    grid-template-columns: minmax(0, 1fr);
  }
  .co-summary {
    border-left: 0;
    border-top: 1px solid #e6e6e6;
  }
}
@media (max-width: 600px) {
  .showcase--journey .tabs button {
    flex-basis: 78%;
  }
  .apply-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mock-apply {
    padding: 20px;
  }
  .phone {
    width: 270px;
  }
  .versus {
    padding: 24px 18px;
  }
  .compare--versus th,
  .compare--versus td {
    padding: 12px 10px;
  }
  .compare-tools {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* First screen animates on load, not on scroll, so it never waits for the observer. */
.js .hero [data-reveal],
.js .page-hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
  animation: rise 0.8s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms + 60ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
.compare-wrap.only-diff tbody[data-same] {
  display: none;
}
.compare--plans {
  table-layout: fixed;
}
.compare--plans thead th:first-child {
  width: 40%;
}
.phone .portal-orders li {
  font-size: 12px;
}
.phone .portal-orders .link {
  white-space: nowrap;
}
