/* ============================================
   Black List Panel — Product Site Design System
   Inherited from Cursor DESIGN.md
   ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
  /* Surface */
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --surface: #ffffff;
  --surface-strong: #e6e5e0;

  /* Ink & Text */
  --ink: #26251e;
  --body: #5a5852;
  --muted: #807d72;
  --muted-soft: #a09c92;

  /* Brand */
  --primary: #f54e00;
  --primary-active: #d04200;
  --on-primary: #ffffff;

  /* Hairlines */
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;

  /* Semantic */
  --success: #1f8a65;
  --error: #cf2d56;
  --warn: #c08532;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* Spacing */
  --section-pad: 80px;
  --content-max: 1200px;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background: var(--canvas);
}

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

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

/* ----- Typography ----- */
.display-lg {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--ink);
}

.hero-heading {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--ink);
}

.display-md {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.325px;
  color: var(--ink);
}

.display-sm {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.11px;
  color: var(--ink);
}

.title-md {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
}

.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
}

.caption-upper {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ----- Top Navigation ----- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  background: rgba(247, 247, 244, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.topnav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  position: relative;
  gap: 16px;
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  flex: 0 0 auto;
  min-width: 0;
}

.topnav-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

.topnav-brand-mark {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 168px;
  height: 22px;
  overflow: hidden;
}

.topnav-brand-short,
.topnav-brand-full {
  grid-area: 1 / 1;
  white-space: nowrap;
  color: var(--ink);
}

.topnav-brand-short {
  display: inline-block;
  letter-spacing: 0.08em;
  opacity: 1;
  animation: brand-short-fade 0.45s ease 2.15s forwards;
}

.topnav-brand-full {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(-6px);
  animation: brand-full-reveal 1.1s cubic-bezier(.22,.76,.22,1) 2.2s forwards;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.topnav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s ease;
}

.topnav-links a:hover {
  color: var(--ink);
}

.topnav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  justify-content: flex-end;
}

.topnav-gh-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--body);
  border: 1px solid transparent;
  transition: background .15s, color .15s;
}

.topnav-gh-link:hover {
  background: var(--canvas-soft);
  color: var(--ink);
}

.topnav-gh-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

@keyframes brand-short-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes brand-full-reveal {
  0% {
    max-width: 0;
    opacity: 0;
    transform: translateX(-6px);
  }
  100% {
    max-width: 10.5em;
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--primary-active);
  border-color: var(--primary-active);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--canvas);
  height: 44px;
  padding: 0 20px;
}

.btn--dark:hover {
  opacity: 0.88;
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--canvas-soft);
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--canvas-soft);
}

/* ----- Cards ----- */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card--feature {
  padding: 32px;
}

.card--panel {
  padding: 0;
  overflow: hidden;
}

/* ----- Pills / Chips ----- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: currentColor;
  flex-shrink: 0;
}

.pill--success {
  background: rgba(31, 138, 101, 0.12);
  color: var(--success);
}

.pill--warn {
  background: #fff7f2;
  color: var(--warn);
}

.pill--muted {
  background: var(--surface-strong);
  color: var(--body);
}

.pill--brand {
  background: rgba(245, 78, 0, 0.1);
  color: var(--primary);
}

/* ----- Hero ----- */
.hero {
  padding: 80px 0 64px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-subhead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ----- macOS Browser Mockup ----- */
.browser-mockup {
  background: #e8e7e2;
  border: 1px solid #c8c7c2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.03);
  font-size: 12px;
  width: 100%;
}

.browser-mockup__titlebar {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 14px;
  background: #e2e1dc;
  border-bottom: 1px solid #cecdc8;
}

.browser-mockup__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.browser-mockup__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-mockup__dot--red    { background: #ff5f57; }
.browser-mockup__dot--yellow { background: #febc2e; }
.browser-mockup__dot--green  { background: #28c840; }

.browser-mockup__win-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: #5a5852;
  user-select: none;
  white-space: nowrap;
}

.browser-mockup__titlebar-spacer {
  width: 52px; /* balances dots width for symmetry */
  flex-shrink: 0;
}

/* Address bar */
.browser-mockup__addressbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #e2e1dc;
  border-bottom: 1px solid #cecdc8;
}

.browser-mockup__url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f7f7f4;
  font-size: 11px;
  color: var(--body);
  white-space: nowrap;
  overflow: hidden;
}

.browser-mockup__url-lock {
  font-size: 10px;
  color: var(--success);
  flex-shrink: 0;
}

/* Browser page content — BOSS直聘 style */
.browser-mockup__page {
  padding: 10px;
  background: #f1f2f5;
  display: grid;
  gap: 6px;
  position: relative;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* BOSS-style Job Card — matches real zhipin.com cards */
.boss-job-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  cursor: default;
  position: relative;
  transition: box-shadow 0.2s;
}

.boss-job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.boss-job-card__title {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.boss-job-card__salary {
  font-size: 15px;
  font-weight: 700;
  color: #fe574a;
  white-space: nowrap;
  flex-shrink: 0;
}

.boss-job-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.boss-job-card__tag {
  background: #f8f8fa;
  color: #666;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 3px;
  white-space: nowrap;
}

.boss-job-card__tag--warn {
  background: #fff2f1;
  color: #fe574a;
}

.boss-job-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.boss-company {
  display: flex;
  align-items: center;
  gap: 6px;
}

.boss-company-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.boss-company-logo--red  { background: #d9001b; }
.boss-company-logo--teal { background: #00a688; }
.boss-company-logo--dark { background: #2d2d2d; }

.boss-company-name {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

.boss-bl-emoji {
  font-size: 13px;
  flex-shrink: 0;
}

/* Scan indicator — sits naturally below job cards */
.mockup-scan-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 0 0;
  font-size: 11px;
  color: #999;
}

.mockup-scan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00a688;
  animation: mockup-scan-pulse 1.8s ease-in-out infinite;
}

@keyframes mockup-scan-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(1.6); }
}

/* ----- Feature Grid ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  margin-bottom: 16px;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

/* ----- Platform Badges ----- */
.platform-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ----- Timeline Steps ----- */
.timeline {
  display: grid;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 40px;
  position: relative;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--canvas);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.timeline-step:not(:last-child) .timeline-num::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 52px;
  width: 2px;
  height: calc(100% - 36px);
  background: var(--hairline);
}

.timeline-body h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}

.timeline-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

.timeline-code {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
}

/* Guide — path selector cards */
.guide-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.guide-path-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 20px;
}

.guide-path-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.guide-path-card__badge--rec { background: rgba(31,138,101,.12); color: #1f8a65; }
.guide-path-card__badge--alt { background: var(--surface-strong); color: var(--muted); }

.guide-path-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.guide-path-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 12px;
}

.guide-path-card .btn {
  width: 100%;
}

.guide-steps {
  margin-top: 8px;
  padding-left: 18px;
}

.guide-steps li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 2px;
}

.guide-note {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #fff7f2;
  border: 1px solid #f0e0d0;
  font-size: 13px;
  line-height: 1.6;
  color: #92400e;
}

.guide-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.guide-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--ink);
  word-break: break-all;
  transition: border-color .15s;
  text-decoration: none;
}

.guide-link-chip:hover {
  border-color: var(--primary);
}

/* ----- Pricing Cards ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-hero__copy {
  margin-top: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

.pricing-promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 78, 0, 0.08), rgba(245, 78, 0, 0.03));
  border: 1px solid rgba(245, 78, 0, 0.14);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-hero .display-md {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.pricing-hero__meta {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 32px rgba(38,37,30,.08);
}

.pricing-card--migrated {
  position: relative;
  overflow: hidden;
}

.pricing-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--canvas);
  z-index: 1;
}

.pricing-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(38,37,30,.18);
}

.pricing-card--featured .pricing-name,
.pricing-card--featured .pricing-desc,
.pricing-card--featured .pricing-meta,
.pricing-card--featured strong {
  color: var(--canvas);
}

.pricing-card--featured .pricing-meta {
  opacity: 0.7;
}

.pricing-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.pricing-subtitle {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.pricing-subtitle--featured {
  color: rgba(255,255,255,0.72);
}

.pricing-price-block {
  margin-top: 14px;
}

.pricing-was {
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.pricing-was span {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(38,37,30,0.42);
}

.pricing-was--featured {
  color: rgba(255,255,255,0.66);
}

.pricing-was--featured span {
  text-decoration-color: rgba(255,255,255,0.5);
}

.pricing-visual {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 0;
  object-fit: cover;
  display: block;
  user-select: none;
  filter: drop-shadow(0 10px 18px rgba(38,37,30,.12));
  transform-origin: center center;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.pricing-card:hover .pricing-visual {
  transform: translateY(-2px) rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 16px 24px rgba(38,37,30,.16));
}

.pricing-card--featured:hover .pricing-visual {
  transform: translateY(-2px) rotate(-5deg) scale(1.06);
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.24));
}

.pricing-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.pricing-card strong {
  color: var(--ink);
  font-weight: 600;
}

.pricing-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--body);
}

.pricing-meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.pricing-insight {
  margin-top: 2px;
  padding: 12px 13px;
  border-radius: var(--radius-md);
  background: var(--canvas-soft);
  border: 1px solid var(--hairline-soft);
}

.pricing-insight__label {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-insight p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--body);
}

.pricing-insight--featured {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.pricing-insight--featured .pricing-insight__label,
.pricing-insight--featured p {
  color: rgba(255,255,255,0.82);
}

.pricing-card--beta {
  background:
    radial-gradient(circle at top right, rgba(245, 78, 0, 0.08), transparent 34%),
    var(--surface);
}

.pricing-amount {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1.1;
}

.pricing-amount-unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  margin-left: 4px;
}

.pricing-card--featured .pricing-amount {
  color: var(--canvas);
}
.pricing-card--featured .pricing-amount-unit {
  color: var(--canvas);
  opacity: 0.72;
}

.pricing-save {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(31,138,101,.12);
  color: #1f8a65;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card--featured .pricing-save {
  background: rgba(255,255,255,0.15);
  color: var(--canvas);
}

.pricing-feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 0;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
}

.pricing-feature-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 12px;
}

.pricing-card--featured .pricing-feature-list li,
.pricing-feature-list--featured li {
  color: rgba(255,255,255,0.88);
}

.pricing-card--featured .pricing-feature-list li::before,
.pricing-feature-list--featured li::before {
  color: #8ae6d2;
}

.pricing-divider {
  height: 1px;
  background: var(--hairline);
  margin: 4px 0;
}

.pricing-card--featured .pricing-divider {
  background: rgba(255,255,255,0.15);
}

.pricing-cta {
  margin-top: 6px;
}

.pricing-cta .btn {
  width: 100%;
}

.pricing-bottom {
  margin-top: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 12px;
}

.pricing-note-card {
  padding: 20px;
}

.pricing-note-card--soft {
  background: var(--canvas-soft);
  border-color: var(--hairline-soft);
}

.pricing-custom {
  display: grid;
  gap: 18px;
  align-items: center;
}

.pricing-custom__copy {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.pricing-custom__action {
  display: flex;
}

/* ----- FAQ ----- */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}

.faq-q {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

/* ----- Footer ----- */
.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ----- 404 Page ----- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px - 200px);
  text-align: center;
  gap: 16px;
  padding: 80px 24px;
}

.error-code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- Utility ----- */
.text-center { text-align: center; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }

/* ----- Toast ----- */
.kxb-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--canvas);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(38,37,30,.24);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100001;
  pointer-events: none;
  white-space: nowrap;
}

.kxb-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .topnav .container {
    gap: 12px;
  }

  .topnav-brand-mark {
    min-width: 150px;
  }

  .topnav-links {
    gap: 22px;
  }

  .topnav-actions .btn {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero .container {
    gap: 36px;
  }

  .browser-mockup__win-title {
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .pricing-visual {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
  }

  .display-lg { font-size: 36px; letter-spacing: -0.72px; }
  .hero-heading { font-size: 40px; letter-spacing: -0.8px; }
  .display-md { font-size: 26px; letter-spacing: -0.325px; }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy,
  .hero-subhead {
    max-width: none;
  }

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

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

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

  .platform-row {
    gap: 12px;
  }

  .platform-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .topnav {
    min-height: 0;
  }

  .topnav .container {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .topnav-brand {
    justify-content: center;
  }

  .topnav-links {
    position: static;
    left: auto;
    transform: none;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .topnav-actions {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .browser-mockup {
    max-width: 100%;
  }

  .browser-mockup__win-title {
    max-width: 52%;
  }

  .timeline {
    max-width: none;
  }

  .timeline-code {
    display: block;
  }

  .pricing-card,
  .pricing-card--featured {
    transform: none;
  }

  .pricing-card:hover,
  .pricing-card--featured:hover {
    transform: translateY(-2px);
  }

  .footer {
    padding: 48px 0 36px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .pricing-custom__action .btn {
    width: 100%;
  }

  .pricing-insight {
    padding: 12px 14px;
  }

  .pricing-promo-badge {
    min-height: 38px;
    margin-bottom: 16px;
    padding: 9px 16px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .pricing-hero .display-md {
    font-size: 30px;
  }

  .pricing-hero__copy {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .display-lg { font-size: 24px; letter-spacing: 0; }
  .hero-heading { font-size: 32px; letter-spacing: -0.64px; }

  .topnav-brand-mark {
    min-width: 136px;
  }

  .topnav .container {
    gap: 8px;
  }

  .topnav-links {
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0;
  }

  .topnav-links a {
    font-size: 14px;
  }

  .topnav-actions {
    gap: 8px;
  }

  .topnav-actions .btn {
    height: 38px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-badges {
    gap: 6px;
  }

  .browser-mockup__titlebar,
  .browser-mockup__addressbar {
    padding-left: 10px;
    padding-right: 10px;
  }

  .browser-mockup__win-title {
    max-width: 48%;
    font-size: 10px;
  }

  .browser-mockup__page {
    padding: 8px;
  }

  .boss-job-card {
    padding: 12px;
  }

  .boss-job-card__header,
  .boss-job-card__footer {
    gap: 8px;
  }

  .boss-job-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .boss-job-card__salary {
    font-size: 14px;
  }

  .card,
  .card--feature,
  .guide-path-card,
  .pricing-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .timeline-step {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .timeline-num {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .timeline-body h3 {
    font-size: 18px;
  }

  .timeline-body p,
  .faq-a {
    font-size: 14px;
  }

  .pricing-amount {
    font-size: 30px;
  }

  .pricing-amount-unit {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .footer-links {
    gap: 12px 16px;
  }

  .pricing-head {
    gap: 12px;
  }

  .pricing-visual {
    width: 64px;
    height: 64px;
  }

  .pricing-feature-list li {
    font-size: 13px;
  }

  .pricing-promo-badge {
    width: 100%;
    min-height: 36px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .pricing-was {
    font-size: 11px;
  }

  .pricing-hero .display-md {
    font-size: 26px;
    letter-spacing: -0.03em;
  }

  .pricing-hero__copy,
  .pricing-hero__meta {
    font-size: 14px;
    line-height: 1.65;
  }
}
