/* ============================================================
   FreightIQ — 全局样式
   ============================================================ */

:root {
  --brand: #1677FF;
  --brand-2: #0052D9;
  --brand-deep: #001E3C;
  --accent: #00D4AA;       /* 青绿,AI 数据产品主色 */
  --accent-2: #7C5CFF;     /* 紫,运价产品点缀 */
  --amber: #FFB020;
  --danger: #FF5A4E;

  --ink-1: #0A0F1C;
  --ink-2: #1F2937;
  --ink-3: #4B5563;
  --ink-4: #6B7280;
  --ink-5: #9CA3AF;
  --line: #E5E7EB;
  --line-2: #F0F1F3;
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --surface-3: #F0F2F5;
  --bg: #FAFBFC;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(10, 15, 28, 0.04), 0 1px 3px rgba(10, 15, 28, 0.03);
  --shadow: 0 8px 24px rgba(10, 15, 28, 0.06), 0 2px 6px rgba(10, 15, 28, 0.04);
  --shadow-lg: 0 24px 60px rgba(10, 15, 28, 0.12), 0 8px 20px rgba(10, 15, 28, 0.06);
  --shadow-glow: 0 20px 60px rgba(22, 119, 255, 0.18);

  --max-w: 1280px;
}

[data-theme="dark"] {
  --ink-1: #F5F7FA;
  --ink-2: #D1D5DB;
  --ink-3: #9CA3AF;
  --ink-4: #6B7280;
  --ink-5: #4B5563;
  --line: #1F2937;
  --line-2: #111827;
  --surface: #0F1623;
  --surface-2: #0A101A;
  --surface-3: #141C2B;
  --bg: #060A12;
  --brand-deep: #E6F0FF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'PingFang SC', -apple-system, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink-1);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace; }

h1,h2,h3,h4 { margin: 0; letter-spacing: -0.02em; font-weight: 600; color: var(--ink-1); }
p { margin: 0; color: var(--ink-3); }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.hairline { border-top: 1px solid var(--line); }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 64px; display: flex; align-items: center; gap: 40px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, #4FA3FF 0%, transparent 55%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 60%, #001E3C 100%);
  position: relative; box-shadow: 0 4px 10px rgba(22,119,255,0.35);
}
.logo-mark::after{
  content:''; position:absolute; inset:6px;
  border-radius:4px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0) 50%),
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent);
  mix-blend-mode: screen;
}
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  transition: background 0.15s;
}
.nav-link:hover { background: var(--surface-3); }
.nav-link.active { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); font-weight: 500; }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* ---------- Nav hotline (官网右上角 400 电话) ---------- */
.nav-hotline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--ink-1);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  line-height: 1;
}
.nav-hotline:hover {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border-color: color-mix(in srgb, var(--brand) 32%, transparent);
}
.nav-hotline:active { transform: translateY(1px); }
.nav-hotline-ico {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  flex: 0 0 26px;
}
.nav-hotline-body {
  display: inline-flex; flex-direction: column; gap: 2px;
}
.nav-hotline-label {
  font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-4);
  text-transform: uppercase;
  font-weight: 500;
}
.nav-hotline-num {
  font-size: 14px; font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.01em;
}
@media (max-width: 900px) {
  .nav-hotline-body { display: none; }
  .nav-hotline { padding: 6px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  font: 500 14px/1 'Inter', sans-serif; letter-spacing: -0.01em;
  transition: transform 0.1s, background 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink-1); color: var(--surface);
  box-shadow: 0 2px 4px rgba(10,15,28,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover { background: var(--brand); box-shadow: 0 6px 18px rgba(22,119,255,0.3); }
.btn-brand {
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 4px rgba(22,119,255,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-brand:hover { background: var(--brand-2); box-shadow: 0 8px 20px rgba(22,119,255,0.35); }
.btn-ghost {
  background: transparent; color: var(--ink-1);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface-3); }
.btn-accent {
  background: var(--accent); color: #002B22;
  box-shadow: 0 2px 4px rgba(0,212,170,0.25);
}
.btn-accent:hover { background: #00E8BC; }

.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }

/* ---------- Tags / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  background: var(--surface-3); color: var(--ink-2);
  border: 1px solid var(--line);
}
.chip-brand { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.chip-accent { background: color-mix(in srgb, var(--accent) 15%, transparent); color: #007A63; border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
[data-theme="dark"] .chip-accent { color: var(--accent); }
.chip-violet { background: color-mix(in srgb, var(--accent-2) 12%, transparent); color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 28%, transparent); }
.chip-amber { background: color-mix(in srgb, var(--amber) 15%, transparent); color: #8B5A00; border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
[data-theme="dark"] .chip-amber { color: var(--amber); }

.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot.live { background: var(--accent); box-shadow: 0 0 0 0 rgba(0,212,170,0.5); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,212,170,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(0,212,170,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,212,170,0); }
}

/* ---------- Section ---------- */
.section { padding: 88px 0; }
.section-lg { padding: 120px 0; }
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px;
}
.display-1 {
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02; font-weight: 600; letter-spacing: -0.035em;
  color: var(--ink-1);
}
.display-2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08; font-weight: 600; letter-spacing: -0.028em;
}
.display-3 {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15; font-weight: 600; letter-spacing: -0.02em;
}
.lead {
  font-size: 18px; line-height: 1.55; color: var(--ink-3);
  max-width: 640px;
}

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card-hov:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  margin-top: 80px;
}
.footer a { color: var(--ink-3); font-size: 14px; display: block; padding: 4px 0; }
.footer a:hover { color: var(--brand); }

/* ---------- Scroll anim helpers ---------- */
.fade-in { animation: fadeIn 0.6s ease-out both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Subtle grid bg ---------- */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

/* ---------- Tweaks panel ---------- */
.tweaks-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink-1); color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-lg);
  border: none;
}
.tweaks-panel {
  position: fixed; right: 20px; bottom: 76px; z-index: 201;
  width: 300px; padding: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
}
.tweaks-title { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.tweaks-row { margin-bottom: 14px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-label { font-size: 11px; color: var(--ink-4); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.tweaks-seg { display: flex; gap: 4px; padding: 3px; background: var(--surface-3); border-radius: 8px; }
.tweaks-seg button {
  flex: 1; padding: 6px 8px; font-size: 12px; border: none;
  background: transparent; color: var(--ink-3); border-radius: 6px; cursor: pointer;
}
.tweaks-seg button.active { background: var(--surface); color: var(--ink-1); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.tweaks-swatches { display: flex; gap: 6px; }
.tweaks-swatches button {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface);
  outline: 1px solid var(--line); cursor: pointer; padding: 0;
}
.tweaks-swatches button.active { outline: 2px solid var(--ink-1); transform: scale(1.1); }

/* ============================================================
   Pricing Hub (unified) — 全集定价中心
   左 sticky sider + 右 panel,沿用全站 token
   ============================================================ */
.ph-hero {
  padding: 84px 0 36px;
  text-align: center;
  background:
    radial-gradient(800px 320px at 50% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 70%),
    var(--bg);
}
.ph-hero h1 {
  font-size: clamp(40px, 5.2vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 14px auto 16px;
  max-width: 880px;
}
.ph-hero p.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.6;
}
.ph-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--brand);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}

/* period toggle */
.ph-period {
  display: inline-flex; gap: 0; padding: 4px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  align-items: center;
}
.ph-period button {
  background: transparent; border: none; cursor: pointer;
  padding: 7px 18px; border-radius: 999px;
  color: var(--ink-3); font-weight: 500;
  transition: all 0.15s;
}
.ph-period button.active {
  background: var(--surface);
  color: var(--ink-1);
  box-shadow: 0 1px 4px rgba(10,15,28,0.08);
  font-weight: 600;
}
.ph-period .save-chip {
  display: inline-block; margin-left: 6px;
  padding: 1px 8px; border-radius: 999px;
  background: color-mix(in srgb, #00B58E 14%, transparent);
  color: #00866B; font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
}

/* layout: sider + main */
.ph-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  align-items: start;
}
.ph-sider {
  position: sticky; top: 88px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  font-size: 14px;
}
.ph-sider-group {
  font-size: 10px; font-weight: 700; color: var(--ink-5);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 12px 10px 6px;
}
.ph-sider-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  cursor: pointer; transition: all 0.12s;
  color: var(--ink-2); font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  width: 100%; text-align: left;
}
.ph-sider-item:hover { background: var(--surface-2); }
.ph-sider-item.active {
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  color: var(--brand); font-weight: 600;
  border-color: color-mix(in srgb, var(--brand) 24%, transparent);
}
.ph-sider-item .dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.ph-sider-item .label { flex: 1; }
.ph-sider-item .chip-mini {
  font-size: 9px; font-weight: 700; padding: 2px 6px;
  border-radius: 999px; letter-spacing: 0.04em;
  background: var(--surface-3); color: var(--ink-3);
}
.ph-sider-item .chip-mini.brand-rates { background: color-mix(in srgb, #1677FF 14%, transparent); color: #1677FF; }
.ph-sider-item .chip-mini.brand-foresight { background: color-mix(in srgb, #00D4AA 16%, transparent); color: #008F73; }
.ph-sider-item .chip-mini.brand-prospect { background: color-mix(in srgb, #FFB020 18%, transparent); color: #B57500; }

/* panels */
.ph-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
}
.ph-panel-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; margin-bottom: 24px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.ph-panel-head h2 {
  font-size: 28px; letter-spacing: -0.025em; margin-bottom: 6px;
}
.ph-panel-head p {
  font-size: 14px; color: var(--ink-3); line-height: 1.6; max-width: 560px;
}
.ph-product-color-bar {
  width: 4px; align-self: stretch; border-radius: 2px;
  margin-right: 14px;
}

/* overview cards */
.ph-overview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ph-overview-card {
  position: relative; overflow: hidden;
  padding: 26px 22px 22px; border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.18s;
}
.ph-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,15,28,0.06);
}
.ph-overview-card .icon-pill {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.ph-overview-card .head-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ph-overview-card .pname {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
}
.ph-overview-card .tagline { font-size: 12px; color: var(--ink-4); }
.ph-overview-card .start-price {
  font-size: 13px; color: var(--ink-3); font-weight: 500;
}
.ph-overview-card .start-price b {
  color: var(--ink-1); font-size: 26px; font-weight: 700;
  font-family: 'JetBrains Mono', monospace; letter-spacing: -0.02em;
  margin-right: 4px;
}
.ph-overview-card .feats {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--ink-2);
  padding-top: 12px; border-top: 1px solid var(--line);
}
.ph-overview-card .feats > div {
  display: flex; gap: 8px; align-items: flex-start;
}
.ph-overview-card .feats svg { flex-shrink: 0; margin-top: 2px; color: #00B58E; }
.ph-overview-card .cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
}
.ph-overview-card .top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.ph-overview-card.coming-soon { opacity: 0.92; }
.ph-overview-card.coming-soon .pname { color: var(--ink-2); }

/* tier cards (rates / foresight) */
.ph-tier-grid {
  display: grid; gap: 18px; margin-top: 18px;
}
.ph-tier-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ph-tier-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ph-tier {
  position: relative;
  padding: 26px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex; flex-direction: column;
}
.ph-tier.popular {
  border-color: var(--brand);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 5%, var(--surface)) 0%, var(--surface) 60%);
  box-shadow: 0 8px 28px rgba(22,119,255,0.10);
}
.ph-tier.popular::before {
  content: '最受欢迎';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.ph-tier .name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ph-tier .desc { font-size: 12px; color: var(--ink-4); line-height: 1.5; min-height: 32px; margin-bottom: 18px; }
.ph-tier .price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.ph-tier .price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink-1);
}
.ph-tier .price.custom { font-size: 26px; font-family: 'Inter', sans-serif; font-weight: 600; }
.ph-tier .unit { font-size: 13px; color: var(--ink-4); }
.ph-tier .strike {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--ink-5); text-decoration: line-through; margin-bottom: 10px;
}
.ph-tier .bill-line { font-size: 12px; color: var(--ink-4); margin-bottom: 18px; }
.ph-tier .cta-btn {
  width: 100%; justify-content: center; margin-bottom: 22px;
}
.ph-tier .feats-head {
  font-size: 11px; font-weight: 600; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.ph-tier .feat {
  display: flex; gap: 10px; padding: 5px 0;
  font-size: 13px; color: var(--ink-2); line-height: 1.5;
}
.ph-tier .feat svg { color: #00B58E; flex-shrink: 0; margin-top: 3px; }
.ph-tier.popular .feat svg { color: var(--brand); }

/* prospect placeholder */
.ph-prospect-card {
  padding: 56px 48px;
  border-radius: 22px;
  background:
    radial-gradient(600px 240px at 30% 0%, color-mix(in srgb, #FFB020 12%, transparent), transparent 70%),
    var(--surface-2);
  border: 1px dashed color-mix(in srgb, #FFB020 32%, var(--line));
  text-align: center;
}
.ph-prospect-card .badge-soon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px;
  background: color-mix(in srgb, #FFB020 14%, transparent);
  color: #B57500; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  border: 1px solid color-mix(in srgb, #FFB020 32%, transparent);
  margin-bottom: 16px;
}
.ph-prospect-card h2 {
  font-size: 36px; letter-spacing: -0.025em; margin-bottom: 14px;
}
.ph-prospect-card p.sub {
  font-size: 15px; color: var(--ink-3); max-width: 640px; margin: 0 auto 32px; line-height: 1.6;
}
.ph-waitlist-form {
  display: flex; gap: 8px; max-width: 480px; margin: 0 auto 28px;
}
.ph-waitlist-form input {
  flex: 1; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; color: var(--ink-1);
  font-family: inherit;
}
.ph-waitlist-form input:focus {
  outline: 2px solid color-mix(in srgb, #FFB020 40%, transparent);
  border-color: #FFB020;
}
.ph-waitlist-form button {
  padding: 13px 22px; border-radius: 12px;
  background: linear-gradient(135deg, #FFB020, #FF5A4E);
  color: #fff; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.ph-prospect-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 760px; margin: 0 auto;
}
.ph-prospect-features > div {
  padding: 18px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
  text-align: left;
}
.ph-prospect-features .ic {
  width: 32px; height: 32px; border-radius: 9px;
  background: color-mix(in srgb, #FFB020 14%, transparent);
  color: #B57500; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.ph-prospect-features .t { font-size: 13px; font-weight: 600; color: var(--ink-1); margin-bottom: 4px; }
.ph-prospect-features .d { font-size: 11px; color: var(--ink-4); line-height: 1.5; }
.ph-prospect-card .meta-row {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px; font-size: 12px; color: var(--ink-4);
}
.ph-prospect-card .meta-row span b { color: var(--ink-2); font-weight: 600; }

/* bundles */
.ph-bundle-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px;
}
.ph-bundle-card {
  position: relative; overflow: hidden;
  padding: 26px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 100% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 70%),
    var(--surface);
  display: flex; flex-direction: column; gap: 14px;
}
.ph-bundle-card .save-tag {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, #00B58E 14%, transparent);
  color: #008F73; font-size: 11px; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.ph-bundle-card h3 { font-size: 18px; margin-bottom: 6px; padding-right: 56px; }
.ph-bundle-card .desc { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.ph-bundle-card .stack {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.ph-bundle-card .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; color: var(--ink-2);
}
.ph-bundle-card .pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.ph-bundle-card .price-block {
  margin-top: 8px; padding: 14px 16px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px;
}
.ph-bundle-card .price-block .row {
  display: flex; justify-content: space-between; padding: 3px 0;
  font-size: 12px; color: var(--ink-4);
}
.ph-bundle-card .price-block .row.strike .v { text-decoration: line-through; }
.ph-bundle-card .price-block .row.save .v { color: #008F73; font-weight: 700; }
.ph-bundle-card .price-block .total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line);
}
.ph-bundle-card .price-block .total .l { font-size: 12px; color: var(--ink-3); }
.ph-bundle-card .price-block .total .v {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px; font-weight: 700; color: var(--ink-1); letter-spacing: -0.02em;
}

/* addons table */
.ph-addons-table {
  width: 100%; border-collapse: collapse; margin-top: 14px;
  font-size: 13px;
}
.ph-addons-table th, .ph-addons-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.ph-addons-table th {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-4);
  background: var(--surface-2);
}
.ph-addons-table td.code {
  font-family: 'JetBrains Mono', monospace; color: var(--ink-2);
  font-size: 12px;
}
.ph-addons-table td.price {
  font-family: 'JetBrains Mono', monospace; font-weight: 700;
  color: var(--ink-1); text-align: right;
}
.ph-addons-table td.kind .chip-k {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: var(--surface-3); color: var(--ink-3); letter-spacing: 0.04em;
}

/* note line */
.ph-note {
  font-size: 12px; color: var(--ink-4); line-height: 1.6;
  padding: 14px 16px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  margin-top: 18px;
}
.ph-note b { color: var(--ink-2); font-weight: 600; }

/* faq */
.ph-faq-section { background: var(--surface-2); padding: 80px 0; }
.ph-faq-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.ph-faq-wrap h2 { text-align: center; font-size: 36px; letter-spacing: -0.025em; margin-bottom: 36px; }
.ph-faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 10px; overflow: hidden;
}
.ph-faq-item button {
  width: 100%; padding: 18px 22px; background: transparent; border: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 15px; font-weight: 500; color: var(--ink-1); cursor: pointer; text-align: left;
}
.ph-faq-item button .chev { transition: transform 0.2s; color: var(--ink-4); }
.ph-faq-item.open button .chev { transform: rotate(180deg); }
.ph-faq-item .ans {
  padding: 0 22px 20px; font-size: 14px; color: var(--ink-3); line-height: 1.7;
}

/* responsive */
@media (max-width: 960px) {
  .ph-layout { grid-template-columns: 1fr; }
  .ph-sider { position: static; }
  .ph-overview-grid, .ph-bundle-grid, .ph-prospect-features { grid-template-columns: 1fr; }
  .ph-tier-grid.cols-3, .ph-tier-grid.cols-4 { grid-template-columns: 1fr; }
  .ph-panel { padding: 24px 18px; }
}

/* ============================================================
   Site pages (about / contact / solutions / blog / login)
   ============================================================ */

/* ---------- Page hero band ---------- */
.sp-hero {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.sp-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.sp-hero-title {
  margin-top: 18px;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.sp-hero-sub {
  margin: 22px auto 0;
  max-width: 660px;
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.6;
}
.sp-hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(22,119,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,119,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}

/* ---------- About: timeline / team / press / jobs ---------- */
.sp-timeline { max-width: 720px; margin: 0 auto; }
.sp-timeline-row {
  display: grid; grid-template-columns: 100px 24px 1fr; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.sp-timeline-row:last-child { border-bottom: 0; }
.sp-timeline-year { font-size: 13px; color: var(--ink-4); font-weight: 600; }
.sp-timeline-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}
.sp-timeline-text { font-size: 15px; color: var(--ink-1); }

.sp-team-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px;
}
.sp-team-card {
  padding: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.18s, box-shadow 0.18s;
}
.sp-team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sp-team-avatar {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.sp-team-name { font-size: 16px; font-weight: 600; }
.sp-team-role { font-size: 12px; color: var(--brand); margin-top: 4px; font-weight: 500; }
.sp-team-bio { margin-top: 12px; font-size: 13px; color: var(--ink-4); line-height: 1.55; }

.sp-jobs { display: grid; gap: 4px; }
.sp-job-row {
  display: grid; grid-template-columns: 80px 1fr 180px 110px 24px;
  gap: 16px; align-items: center;
  padding: 16px 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.sp-job-row:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.sp-job-dept { font-size: 11px; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.sp-job-title { font-size: 15px; font-weight: 500; color: var(--ink-1); }
.sp-job-loc { font-size: 12px; color: var(--ink-4); display: flex; align-items: center; gap: 4px; }
.sp-job-arr { color: var(--ink-5); }

.sp-press-row {
  display: grid; grid-template-columns: 130px 110px 1fr 16px;
  gap: 16px; align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background 0.15s;
}
.sp-press-row:last-child { border-bottom: 0; }
.sp-press-row:hover { background: var(--surface-2); }
.sp-press-src { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sp-press-date { font-size: 12px; }
.sp-press-title { font-size: 14px; color: var(--ink-1); }

/* ---------- Contact: form, channels, offices ---------- */
.sp-contact-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start;
}
.sp-form { padding: 32px; }
.sp-form-head { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.sp-form-types {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 22px;
}
.sp-form-type {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; transition: all 0.15s;
}
.sp-form-type:hover { background: var(--surface-3); }
.sp-form-type.on {
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  color: var(--brand);
}
.sp-form-row { margin-bottom: 14px; }
.sp-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sp-form-label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; display: block; }
.sp-form-input {
  width: 100%; padding: 11px 14px; font-size: 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink-1);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sp-form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}
textarea.sp-form-input { resize: vertical; min-height: 100px; }
select.sp-form-input { cursor: pointer; }
.sp-form-foot {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}

.sp-contact-aside { display: flex; flex-direction: column; gap: 12px; }
.sp-channel-card {
  padding: 18px 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sp-channel-t { font-size: 13px; font-weight: 600; color: var(--ink-1); margin: 8px 0 4px; }
.sp-channel-v { font-size: 16px; color: var(--ink-1); font-weight: 500; display: block; }
.sp-channel-v:hover { color: var(--brand); }
.sp-channel-meta { font-size: 11px; color: var(--ink-4); margin-top: 4px; }

.sp-office {
  padding: 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sp-office-city { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.sp-office-addr { font-size: 12px; color: var(--ink-4); line-height: 1.5; min-height: 54px; }
.sp-office-ph { font-size: 13px; color: var(--brand); display: block; margin-top: 8px; }

/* ---------- Solutions: anchors + industry sections ---------- */
.sp-sol-anchors {
  position: sticky; top: 64px; z-index: 50;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sp-sol-anchor {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px;
  color: var(--ink-3); white-space: nowrap;
  transition: background 0.15s;
}
.sp-sol-anchor:hover { background: var(--surface-2); color: var(--ink-1); }

.sp-industry { padding: 80px 0; }
.sp-industry-head {
  display: flex; gap: 18px; align-items: center; margin-bottom: 36px;
}
.sp-industry-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.sp-industry-body {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; margin-bottom: 36px;
}
.sp-block-h {
  font-size: 11px; color: var(--ink-4); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600; margin-bottom: 16px;
}
.sp-pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sp-pain-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.sp-pain-dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 9px; flex-shrink: 0; }
.sp-industry-bottom {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch;
}
.sp-industry-quote { display: flex; flex-direction: column; justify-content: center; }
.sp-industry-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.sp-industry-kpi { text-align: center; padding: 12px 4px; }

/* ---------- Blog: featured / grid / webinar ---------- */
.sp-blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  overflow: hidden; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.sp-blog-featured:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.sp-blog-featured-img {
  min-height: 320px; padding: 22px;
  display: flex; align-items: flex-start; justify-content: flex-end;
  position: relative;
}
.sp-blog-featured-img::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
}
.sp-blog-featured-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }

.sp-blog-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px;
}
.sp-blog-card { overflow: hidden; cursor: pointer; }
.sp-blog-card-img {
  height: 160px; padding: 18px;
  display: flex; align-items: flex-end;
  position: relative;
}
.sp-blog-card-img::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
}
.sp-blog-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 11px; color: var(--ink-4);
}

.sp-webinar-row {
  display: grid; grid-template-columns: 140px 1fr 110px 110px;
  gap: 20px; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.sp-webinar-row:last-child { border-bottom: 0; }
.sp-webinar-date { line-height: 1.2; }
.sp-webinar-seats { font-size: 13px; color: var(--ink-4); text-align: right; }

.sp-news-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  padding: 36px 40px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
}
.sp-news-form { display: flex; gap: 8px; }
.sp-news-form .sp-form-input { min-width: 240px; }

/* ---------- Login: centered card ---------- */
.sp-login-section {
  position: relative; min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px; overflow: hidden;
  background: var(--surface-2);
}
.sp-login-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
}
.sp-login-wrap { position: relative; z-index: 2; width: 100%; max-width: 420px; }

.sp-login-card { padding: 0; overflow: hidden; }
.sp-login-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.sp-login-tabs button {
  padding: 18px; background: transparent; border: 0;
  font-size: 14px; font-weight: 600; color: var(--ink-4); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.sp-login-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }

.sp-login-err {
  margin-top: 14px; padding: 10px 14px;
  background: color-mix(in srgb, var(--amber) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
  border-radius: 8px; color: #8B5A00; font-size: 12px;
  display: flex; align-items: center; gap: 6px;
}

.sp-sso-divider {
  margin: 22px 0 16px; position: relative; text-align: center;
}
.sp-sso-divider::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line);
}
.sp-sso-divider span {
  position: relative; padding: 0 12px;
  background: var(--surface); font-size: 11px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.sp-sso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-sso-btn {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 11px 14px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; font-size: 13px; color: var(--ink-2); cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.sp-sso-btn:hover { background: var(--surface-3); border-color: var(--ink-5); }
.sp-sso-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

/* ============================================================
   Login v3 — OTP / Phone region / Workspace / Done
   ============================================================ */

/* OTP code boxes */
.sp-otp-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 10px; margin-bottom: 4px;
}
.sp-otp-box {
  width: 100%; aspect-ratio: 1 / 1.05;
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 700; text-align: center;
  color: var(--ink-1);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.sp-otp-box:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
  transform: translateY(-1px);
}
.sp-otp-box:not(:placeholder-shown),
.sp-otp-box[value]:not([value=""]) {
  background: color-mix(in srgb, var(--brand) 5%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
}

.sp-otp-resend {
  text-align: center;
  font-size: 13px;
  display: inline-flex; justify-content: center; align-items: center; gap: 6px;
  width: 100%;
}
.sp-otp-resend a {
  color: var(--brand); font-weight: 500; cursor: pointer;
}
.sp-otp-resend a:hover { text-decoration: underline; }

.sp-otp-hint {
  margin-top: 6px;
  text-align: center; font-size: 12px; color: var(--ink-4);
}
.sp-otp-hint a { color: var(--brand); cursor: pointer; }
.sp-otp-hint a:hover { text-decoration: underline; }

.sp-login-back-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-right: 4px;
}
.sp-login-back-btn svg { transform: rotate(180deg); }
.sp-login-back-btn:hover { background: var(--surface-3); color: var(--ink-1); }

/* Phone with region select */
.sp-login-phone {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 8px; align-items: stretch;
}
.sp-login-region {
  padding: 11px 10px; font-size: 13px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink-1);
  font-family: inherit; cursor: pointer; outline: none;
}
.sp-login-region:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

/* Google SSO single button (replaces 4-grid) */
.sp-sso-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-1); cursor: pointer;
  transition: all 0.15s;
}
.sp-sso-google:hover {
  border-color: var(--ink-5);
  box-shadow: 0 4px 12px rgba(10,15,28,0.08);
  transform: translateY(-1px);
}
.sp-sso-google:disabled { opacity: 0.6; cursor: wait; }

/* Workspace step */
.sp-ws-userpill {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 12px;
}
.sp-ws-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #8B5CF6);
  color: #fff; font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sp-ws-name { font-size: 14px; font-weight: 600; color: var(--ink-1); }
.sp-ws-email { font-size: 12px; color: var(--ink-4); }
.sp-ws-source {
  margin-left: auto; font-size: 11px; font-weight: 600;
  color: var(--ink-4); padding: 4px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}

.sp-ws-input-wrap { position: relative; }
.sp-ws-count {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--ink-5);
  pointer-events: none;
}
.sp-ws-input-wrap .sp-form-input { padding-right: 60px; }

.sp-ws-preview {
  margin-top: 8px; font-size: 12px; color: var(--ink-4);
  padding: 8px 12px; background: var(--surface-2); border-radius: 8px;
  border: 1px dashed var(--line);
}
.sp-ws-preview strong { color: var(--brand); font-weight: 600; }

.sp-login-skip {
  width: 100%; padding: 10px; margin-top: 2px;
  background: transparent; border: 0;
  font-size: 13px; color: var(--ink-4); font-weight: 500;
  cursor: pointer;
}
.sp-login-skip:hover { color: var(--ink-1); }

/* Done step */
.sp-login-done {
  text-align: center; padding: 8px 0;
}
.sp-login-done-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
  animation: sp-login-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes sp-login-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.sp-login-done-actions {
  display: flex; flex-direction: column; gap: 10px; margin: 24px 0 16px;
}
.sp-login-done-actions .btn {
  width: 100%; justify-content: center;
}
.btn-secondary {
  background: var(--surface-2); color: var(--ink-1);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--surface-3); }
.sp-login-reset {
  background: transparent; border: 0;
  font-size: 12px; color: var(--ink-4); cursor: pointer;
  padding: 6px;
}
.sp-login-reset:hover { color: var(--brand); }

.sp-login-tweak-reset {
  width: 100%; padding: 8px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
  font-size: 12px; color: var(--ink-3); cursor: pointer;
}
.sp-login-tweak-reset:hover { background: var(--surface-3); color: var(--ink-1); }

/* ============================================================
   Login v2 — Split-screen / Hero / Centered
   ============================================================ */
@keyframes sp-login-flow {
  0%   { stroke-dashoffset: 200;  opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { stroke-dashoffset: -1200; opacity: 0; }
}
@keyframes sp-login-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.6); }
}
@keyframes sp-login-spin { to { transform: rotate(360deg); } }

.sp-login-v2 {
  position: relative;
  min-height: 100vh;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

/* Utility bar */
.sp-login-utility {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px;
  pointer-events: none;
}
.sp-login-utility > * { pointer-events: auto; }
.sp-login-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: 13px; font-weight: 500;
  transition: background 0.15s;
}
.sp-login-back svg path { transform: rotate(180deg); transform-origin: center; }
.sp-login-back:hover { background: rgba(255, 255, 255, 0.22); }
.sp-login-v2-centered .sp-login-back {
  background: var(--surface); border-color: var(--line); color: var(--ink-2);
}

.sp-login-util-right {
  display: flex; align-items: center; gap: 16px;
}
.sp-login-lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-size: 12px;
}
.sp-login-lang select {
  background: transparent; border: 0; color: inherit;
  font-family: inherit; font-size: 12px; cursor: pointer; outline: none;
  padding-right: 6px;
}
.sp-login-lang select option { color: var(--ink-1); }
.sp-login-help { color: var(--ink-4); font-size: 12px; }
.sp-login-help a { color: var(--brand); font-weight: 500; border-bottom: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
/* Right utility items sit over light form pane in split/centered — use dark text */
.sp-login-v2-split .sp-login-lang,
.sp-login-v2-centered .sp-login-lang {
  background: var(--surface); border-color: var(--line); color: var(--ink-2);
  backdrop-filter: none;
}
/* Hero layout: lang sits over dark brand panel — keep light */
.sp-login-v2-hero .sp-login-lang { color: #fff; }
.sp-login-v2-hero .sp-login-help { color: rgba(255,255,255,0.8); }
.sp-login-v2-hero .sp-login-help a { color: #fff; border-bottom-color: rgba(255,255,255,0.4); }

/* ---------- Split layout ---------- */
.sp-login-split {
  display: grid; grid-template-columns: minmax(440px, 1.05fr) 1fr;
  min-height: 100vh;
}
.sp-login-formpane {
  display: flex; align-items: center; justify-content: center;
  padding: 96px 32px 48px;
  background: var(--surface);
}
.sp-login-formpane-inner { width: 100%; max-width: 440px; }

/* ---------- Hero layout (brand on top, form below) ---------- */
.sp-login-v2-hero { background: var(--surface-2); }
.sp-login-v2-hero .sp-login-brand {
  min-height: 380px; height: 42vh; max-height: 520px;
  border-radius: 0;
}
.sp-login-hero-form-wrap {
  display: flex; justify-content: center;
  padding: 0 24px 48px;
  margin-top: -120px; position: relative; z-index: 5;
}
.sp-login-hero-form-wrap .sp-login-card {
  width: 100%; max-width: 480px;
  background: var(--surface); border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px -20px rgba(10, 15, 28, 0.25), 0 1px 0 var(--line);
  padding: 36px 36px 32px;
}

/* ---------- Centered layout ---------- */
.sp-login-center {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 88px 24px 32px;
  background: var(--surface-2);
}
.sp-login-center-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 20% 20%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, color-mix(in srgb, #8B5CF6 10%, transparent), transparent 60%);
}
.sp-login-center-inner { position: relative; z-index: 2; width: 100%; max-width: 460px; }
.sp-login-v2-centered .sp-login-card.card {
  padding: 32px 32px 28px;
}

/* ---------- Brand panel ---------- */
.sp-login-brand {
  position: relative; overflow: hidden;
  color: #fff;
  display: flex;
}
.sp-login-brand-ocean {
  background: linear-gradient(150deg, #0B2E62 0%, #1454B8 45%, #1677FF 100%);
}
.sp-login-brand-night {
  background: linear-gradient(150deg, #050918 0%, #0E1830 40%, #1B2745 100%);
}
.sp-login-brand-sunset {
  background: linear-gradient(150deg, #2D1B47 0%, #6B2D7A 40%, #E55B7A 100%);
}
.sp-login-brand-bg {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.9;
}
.sp-login-brand-svg {
  width: 100%; height: 100%; display: block;
}
.sp-login-brand-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  width: 100%; padding: 56px 56px 40px;
}
.sp-login-brand-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em;
}
.sp-login-brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.65));
  box-shadow: 0 4px 18px rgba(255,255,255,0.35);
  position: relative;
}
.sp-login-brand-mark::after {
  content: ''; position: absolute; inset: 8px;
  border-radius: 4px; background: rgba(11, 46, 98, 0.85);
}
.sp-login-brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600; padding: 3px 8px;
  border-radius: 4px; background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

.sp-login-brand-body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 0;
  max-width: 480px;
}
.sp-login-brand-h1 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.1; font-weight: 600;
  color: #fff; margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.sp-login-brand-h1-em {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-login-brand-lead {
  color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.7;
  margin-bottom: 28px;
}

.sp-login-ticker {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.16);
  margin-bottom: 28px;
}
.sp-login-ticker-dot {
  position: relative; width: 9px; height: 9px;
  border-radius: 50%; background: #34D399; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
}
.sp-login-ticker-dot::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: 50%; background: #34D399;
  animation: sp-login-pulse 2.2s ease-in-out infinite;
}
.sp-login-ticker-body { flex: 1; min-width: 0; }
.sp-login-ticker-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.sp-login-ticker-row {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 14px; color: #fff;
}
.sp-login-ticker-lane { font-weight: 500; opacity: 0.92; }
.sp-login-ticker-val { font-weight: 700; font-size: 16px; margin-left: auto; }
.sp-login-ticker-delta { font-weight: 600; font-size: 12px; padding: 2px 7px; border-radius: 4px; }
.sp-login-ticker-delta.up { background: rgba(52,211,153,0.2); color: #6EE7B7; }
.sp-login-ticker-delta.down { background: rgba(255,90,78,0.2); color: #FCA5A5; }

.sp-login-trust { margin-top: auto; }
.sp-login-trust-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.sp-login-trust-logos {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: center;
}
.sp-login-trust-logo {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  padding: 5px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.sp-login-brand-foot {
  display: flex; gap: 10px; align-items: center;
  margin-top: 32px; font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.sp-login-brand-link {
  color: rgba(255,255,255,0.7); transition: color 0.15s;
}
.sp-login-brand-link:hover { color: #fff; }

/* ---------- Form card ---------- */
.sp-login-card {
  display: flex; flex-direction: column;
  background: var(--surface);
}
.sp-login-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 22px;
}
.sp-login-title {
  font-size: 26px; font-weight: 600; letter-spacing: -0.025em;
  color: var(--ink-1); margin: 0 0 6px;
}
.sp-login-sub {
  font-size: 13px; color: var(--ink-4); line-height: 1.5;
}
.sp-login-prods {
  display: inline-flex; padding: 5px; gap: 4px;
  background: var(--surface-2); border-radius: 999px;
  border: 1px solid var(--line);
}
.sp-login-prod {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Tab pill (sliding indicator) */
.sp-login-pill {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  padding: 4px; background: var(--surface-2);
  border-radius: 10px; margin-bottom: 22px;
  border: 1px solid var(--line);
}
.sp-login-pill button {
  position: relative; z-index: 2;
  padding: 10px 0; background: transparent; border: 0;
  font-size: 13px; font-weight: 600; color: var(--ink-4);
  cursor: pointer; transition: color 0.2s;
}
.sp-login-pill button.on { color: var(--ink-1); }
.sp-login-pill-thumb {
  position: absolute; z-index: 1;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: var(--surface);
  border-radius: 7px; box-shadow: 0 1px 3px rgba(10,15,28,0.08);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SSO v2 (real brand colors) */
.sp-login-sso { margin-bottom: 0; }
.sp-sso-btn-v2 {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 11px 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: all 0.15s;
}
.sp-sso-btn-v2:hover {
  border-color: var(--ink-5); background: var(--surface-2);
  transform: translateY(-1px); box-shadow: 0 4px 10px rgba(10,15,28,0.06);
}
.sp-sso-mark-v2 {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

/* Form */
.sp-login-form { display: flex; flex-direction: column; gap: 14px; }
.sp-login-form > * { margin: 0 !important; }
.sp-login-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-login-label-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-bottom: 6px;
}
.sp-login-label-row .sp-form-label { margin-bottom: 0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sp-login-forgot {
  font-size: 12px; color: var(--brand); font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
}
.sp-login-forgot:hover { text-decoration: underline; }

.sp-login-pw { position: relative; }
.sp-login-pw .sp-form-input { padding-right: 44px; }
.sp-login-pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-5); cursor: pointer; border-radius: 8px;
}
.sp-login-pw-toggle:hover { color: var(--ink-2); background: var(--surface-2); }

.sp-login-strength {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px; font-size: 11px; font-weight: 600;
}
.sp-login-strength-bars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: 1;
}
.sp-login-strength-bars span {
  height: 3px; border-radius: 2px; background: var(--line);
  transition: background 0.2s;
}

.sp-login-remember {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3); cursor: pointer;
  white-space: nowrap;
}
.sp-login-remember input { accent-color: var(--brand); width: 14px; height: 14px; cursor: pointer; }

.sp-login-err {
  padding: 10px 14px; font-size: 12px; color: #92400E;
  background: color-mix(in srgb, var(--amber, #F59E0B) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber, #F59E0B) 30%, transparent);
  border-radius: 10px;
  display: flex; align-items: center; gap: 8px;
}

.sp-login-submit {
  width: 100%; justify-content: center;
  margin-top: 4px !important; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.sp-login-submit:disabled { opacity: 0.7; cursor: wait; }
.sp-login-spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: sp-login-spin 0.7s linear infinite;
}

.sp-login-switch {
  margin-top: 6px !important;
  padding-top: 18px; border-top: 1px solid var(--line);
  text-align: center; font-size: 12px; color: var(--ink-4);
}
.sp-login-switch a {
  color: var(--brand); font-weight: 500; cursor: pointer;
}
.sp-login-switch a:hover { text-decoration: underline; }

.sp-login-legal {
  margin-top: 24px;
  text-align: center; font-size: 11px; color: var(--ink-5);
}
.sp-login-legal a { color: var(--ink-3); }
.sp-login-legal a:hover { color: var(--brand); }

/* Tweaks panel */
.sp-login-tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 280px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10,15,28,0.16);
  overflow: hidden;
}
.sp-login-tweaks-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.sp-login-tweaks-head button {
  width: 28px; height: 28px; border: 0; background: transparent;
  font-size: 18px; color: var(--ink-4); cursor: pointer; border-radius: 6px;
}
.sp-login-tweaks-head button:hover { background: var(--surface-3); color: var(--ink-1); }
.sp-login-tweaks-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; }
.sp-login-tweak-sec {}
.sp-login-tweak-lbl {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-4); margin-bottom: 8px;
}
.sp-login-tweak-seg {
  display: flex; gap: 4px; padding: 4px;
  background: var(--surface-2); border-radius: 8px;
  border: 1px solid var(--line);
}
.sp-login-tweak-seg button {
  flex: 1; padding: 6px 8px; font-size: 12px; font-weight: 500;
  background: transparent; border: 0; border-radius: 5px;
  color: var(--ink-4); cursor: pointer;
}
.sp-login-tweak-seg button.on {
  background: var(--surface); color: var(--ink-1);
  box-shadow: 0 1px 2px rgba(10,15,28,0.08);
}
.sp-login-tweak-toggle {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.sp-login-tweak-toggle input { accent-color: var(--brand); width: 15px; height: 15px; }

/* Responsive */
@media (max-width: 920px) {
  .sp-login-split { grid-template-columns: 1fr; }
  .sp-login-brand { min-height: 280px; }
  .sp-login-brand-inner { padding: 70px 28px 32px; }
  .sp-login-brand-body { padding: 16px 0; }
  .sp-login-trust { display: none; }
  .sp-login-formpane { padding: 32px 20px 40px; }
  .sp-login-util-right { gap: 8px; }
  .sp-login-help { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .sp-team-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-contact-grid { grid-template-columns: 1fr; }
  .sp-form-types { grid-template-columns: repeat(2, 1fr); }
  .sp-industry-body { grid-template-columns: 1fr; gap: 32px; }
  .sp-industry-bottom { grid-template-columns: 1fr; }
  .sp-blog-featured { grid-template-columns: 1fr; }
  .sp-blog-grid { grid-template-columns: 1fr; }
  .sp-news-card { grid-template-columns: 1fr; padding: 28px; }
  .sp-job-row { grid-template-columns: 1fr; gap: 6px; }
  .sp-job-loc { margin-top: 4px; }
  .sp-press-row { grid-template-columns: 1fr; gap: 6px; }
  .sp-form-2col { grid-template-columns: 1fr; }
  .sp-webinar-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================
   Multi-device responsive safeguards
   Keep desktop visual parity; only compress migrated static layouts
   on tablet and mobile breakpoints.
   ============================================================ */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.nav-links,
.fs-nav-links,
.console-subtabs-inner,
.fs-subtabs-inner,
.sp-sol-anchors .container {
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar,
.fs-nav-links::-webkit-scrollbar,
.console-subtabs-inner::-webkit-scrollbar,
.fs-subtabs-inner::-webkit-scrollbar,
.sp-sol-anchors .container::-webkit-scrollbar {
  display: none;
}

.nav-links,
.fs-nav-links,
.console-subtabs-inner,
.fs-subtabs-inner,
.sp-sol-anchors .container {
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
}

.nav-link,
.fs-nav-link,
.console-subtab,
.fs-subtab,
.sp-sol-anchor {
  scroll-snap-align: start;
}

@media (max-width: 1180px) {
  .nav-inner {
    gap: 16px;
  }

  .nav-links {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 2px;
  }

  .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .nav-cta {
    flex-shrink: 0;
  }

  .footer .container > div:first-child,
  .fs-footer .fs-container > div:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
  }

  .ph-overview-grid,
  .ph-bundle-grid,
  .ph-prospect-features,
  .sp-blog-grid,
  .sp-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .section-lg {
    padding: 88px 0;
  }

  .ph-hero,
  .sp-hero {
    padding: 72px 0 56px;
  }

  .ph-layout {
    gap: 22px;
    padding: 20px 20px 44px;
  }

  .ph-sider {
    position: static;
  }

  .ph-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-sol-anchors .container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sp-industry-kpis,
  .sp-form-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-news-form {
    flex-wrap: wrap;
  }

  .sp-news-form .sp-form-input {
    min-width: min(260px, 100%);
  }
}

@media (max-width: 760px) {
  .container,
  .fs-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    height: auto;
    min-height: 58px;
    gap: 10px;
    padding: 0 12px;
  }

  .logo {
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .logo-mark {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-link {
    padding: 7px 9px;
    font-size: 12.5px;
  }

  .nav-cta {
    gap: 6px;
  }

  .nav-cta > span,
  .nav-cta .btn-ghost:not(:first-child) {
    display: none !important;
  }

  .nav-cta .btn-sm {
    padding: 7px 10px;
    font-size: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .section-lg {
    padding: 68px 0;
  }

  .display-1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .display-2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .display-3 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .lead {
    font-size: 16px;
  }

  .btn-lg {
    padding: 12px 18px;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .ph-overview-grid,
  .ph-tier-grid.cols-3,
  .ph-tier-grid.cols-4,
  .ph-bundle-grid,
  .ph-prospect-features,
  .sp-team-grid,
  .sp-contact-grid,
  .sp-industry-body,
  .sp-industry-bottom,
  .sp-blog-featured,
  .sp-blog-grid,
  .sp-news-card {
    grid-template-columns: 1fr !important;
  }

  .container > [style*="grid-template-columns"],
  .container > div > [style*="grid-template-columns"],
  .section .container [style*="grid-template-columns"],
  .section-lg .container [style*="grid-template-columns"],
  .ph-layout [style*="grid-template-columns"],
  .ph-panel [style*="grid-template-columns"],
  .ph-prospect-card [style*="grid-template-columns"],
  .sp-industry [style*="grid-template-columns"],
  .sp-blog-featured[style*="grid-template-columns"],
  .sp-news-card[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .footer {
    padding: 52px 0 28px;
    margin-top: 56px;
  }

  .footer .container > div:first-child,
  .fs-footer .fs-container > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 32px !important;
  }

  .footer .container > div:last-child,
  .fs-footer .fs-container > div:last-child {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer .container > div:last-child span:last-child,
  .fs-footer .fs-container > div:last-child span:last-child {
    flex-wrap: wrap;
    gap: 10px 14px !important;
  }

  .ph-hero,
  .sp-hero {
    padding: 60px 0 44px;
  }

  .ph-hero h1,
  .sp-hero-title {
    font-size: clamp(32px, 11vw, 44px);
  }

  .ph-layout {
    padding: 16px 16px 36px;
  }

  .ph-panel {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .ph-period {
    max-width: 100%;
    overflow-x: auto;
  }

  .ph-period button {
    flex: 0 0 auto;
    padding: 7px 14px;
  }

  .ph-prospect-card {
    padding: 36px 20px;
  }

  .ph-waitlist-form,
  .sp-news-form,
  .sp-form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .ph-addons-table,
  .card:has(table) {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .ph-addons-table {
    min-width: 0;
    white-space: nowrap;
  }

  .card table {
    min-width: 640px;
  }

  .sp-hero-sub {
    font-size: 15px;
  }

  .sp-form {
    padding: 22px 18px;
  }

  .sp-form-types,
  .sp-form-2col,
  .sp-industry-kpis {
    grid-template-columns: 1fr !important;
  }

  .sp-industry {
    padding: 56px 0;
  }

  .sp-industry-head {
    align-items: flex-start;
    margin-bottom: 26px;
  }

  .sp-blog-featured-img {
    min-height: 220px;
  }

  .sp-blog-featured-body,
  .sp-news-card {
    padding: 24px 20px;
  }

  .sp-login-section,
  .sp-login-center {
    padding: 78px 16px 32px;
  }

  .sp-login-hero-form-wrap {
    padding: 0 16px 36px;
    margin-top: -88px;
  }

  .sp-login-hero-form-wrap .sp-login-card,
  .sp-login-v2-centered .sp-login-card.card,
  .sp-login-card {
    padding: 26px 20px 24px;
  }

  .sp-login-utility {
    padding: 14px 16px;
  }

  .sp-login-util-right {
    gap: 8px;
  }

  .sp-login-lang {
    padding: 6px 9px;
  }

  .sp-login-brand-inner {
    padding: 64px 22px 28px;
  }

  .sp-login-brand-foot {
    flex-wrap: wrap;
  }

  .sp-login-tweaks,
  .tweaks-fab,
  .tweaks-panel {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .container,
  .fs-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-inner {
    padding: 0 10px;
  }

  .nav-cta .btn-brand {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .chip {
    max-width: 100%;
  }

  .ph-panel,
  .card,
  .sp-form,
  .sp-channel-card,
  .sp-office {
    border-radius: 14px;
  }

  .sp-timeline-row {
    grid-template-columns: 72px 18px 1fr;
  }

  .sp-otp-row {
    gap: 6px;
  }

  .sp-otp-box {
    font-size: 22px;
    border-radius: 10px;
  }

  .sp-login-phone {
    grid-template-columns: 1fr;
  }

  .sp-ws-userpill {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .sp-ws-source {
    margin-left: 0;
  }
}

@media (max-width: 360px) {
  .nav-inner {
    gap: 8px;
    padding: 0 8px;
  }

  .logo {
    font-size: 13px;
  }

  .nav-links {
    gap: 1px;
    scroll-padding-inline: 12px;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: 12px;
  }

  .nav-cta {
    gap: 4px;
  }

  .nav-cta .btn-sm {
    padding: 7px 9px;
    font-size: 11.5px;
  }

  .nav-cta .btn-brand {
    max-width: 78px;
  }

  .display-1 {
    font-size: clamp(32px, 12vw, 42px);
  }

  .display-2 {
    font-size: clamp(26px, 9vw, 34px);
  }

  .lead,
  .sp-hero-sub {
    font-size: 14px;
  }

  .sp-sol-anchors .container {
    gap: 6px;
    padding-bottom: 8px;
    scroll-padding-inline: 12px;
  }

  .sp-sol-anchor {
    padding: 7px 11px;
    font-size: 12px;
  }

  .sp-industry-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .sp-industry-head {
    gap: 14px;
  }

  .sp-login-utility {
    padding: 12px;
  }

  .sp-login-back,
  .sp-login-lang {
    font-size: 11.5px;
  }

  .sp-login-brand-inner {
    padding: 58px 18px 24px;
  }

  .sp-login-brand-h1 {
    font-size: clamp(28px, 11vw, 36px);
  }

  .sp-login-brand-lead,
  .sp-login-sub {
    font-size: 13px;
  }

  .sp-login-brand-foot {
    gap: 10px 12px;
    font-size: 12px;
  }

  .sp-login-ticker {
    padding: 12px 14px;
  }

  .sp-login-ticker-row {
    gap: 8px;
  }

  .sp-login-ticker-val {
    font-size: 14px;
  }
}
