/* Polier Marketing — Design Tokens + Swiss/International System */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Color */
  --color-surface:    #ffffff;
  --color-surface-2:  #f8fafc;
  --color-surface-3:  #f1f5f9;
  --color-text:       #0f172a;
  --color-text-2:     #334155;
  --color-muted:      #64748b;
  --color-primary:    #2563eb;
  --color-primary-d:  #1d4ed8;
  --color-accent:     #f59e0b;
  --color-border:     #e2e8f0;
  --color-dark:       #0f172a;
  --color-dark-2:     #1e293b;

  /* Spacing scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   2rem;
  --space-xl:   4rem;
  --space-2xl:  8rem;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);

  /* Type */
  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Radius */
  --radius-sm:  0.375rem;
  --radius-md:  0.625rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
}

/* ── Base reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Section chapter numbers (Swiss differentiator) ────────── */
.chapter {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.chapter-dark {
  color: #93c5fd;
}

/* ── Typography ─────────────────────────────────────────────── */
.display-1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.display-2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.body-lead {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.65;
  color: var(--color-text-2);
}

.body-sm {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Navigation ─────────────────────────────────────────────── */
.m-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s, border-color 0.2s;
}

.m-nav.scrolled {
  background: rgb(255 255 255 / 0.98);
}

.m-nav-dark {
  background: rgb(15 23 42 / 0.95);
  border-bottom-color: rgb(255 255 255 / 0.1);
}

.m-nav-dark.scrolled {
  background: rgb(15 23 42 / 0.98);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-dark {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 60% 40%, rgb(37 99 235 / 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--color-primary-d);
  box-shadow: 0 4px 12px rgb(37 99 235 / 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid rgb(255 255 255 / 0.25);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.08);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-primary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── Cards ──────────────────────────────────────────────────── */
.m-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.m-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.m-card-dark {
  background: var(--color-dark-2);
  border-color: rgb(255 255 255 / 0.08);
}

.m-card-dark:hover {
  border-color: rgb(37 99 235 / 0.5);
}

/* ── Feature icon ───────────────────────────────────────────── */
.feat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
}

/* ── Divider / section separator ───────────────────────────── */
.section-divider {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* ── Stat pill ──────────────────────────────────────────────── */
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgb(37 99 235 / 0.1);
  border: 1px solid rgb(37 99 235 / 0.2);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1d4ed8;
}

/* ── Before / After split ───────────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.split-before {
  background: #fef2f2;
  padding: 1.5rem;
}

.split-after {
  background: #eff6ff;
  padding: 1.5rem;
}

@media (max-width: 640px) {
  .split-grid { grid-template-columns: 1fr; }
}

/* ── Help article layout ────────────────────────────────────── */
.help-article {
  max-width: 42rem;
  margin: 0 auto;
}

.help-article h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.help-article h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-text);
}

.help-article p {
  color: var(--color-text-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.help-article ul, .help-article ol {
  color: var(--color-text-2);
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.help-article li { margin-bottom: 0.375rem; }

.help-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.help-step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.help-tip {
  background: #eff6ff;
  border-left: 3px solid var(--color-primary);
  padding: 0.875rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
}

.help-tip p { margin: 0; color: var(--color-text-2); }

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.15s;
}

.faq-q:hover { color: var(--color-primary); }

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-muted);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-chevron {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a { max-height: 900px; }

.faq-a-inner {
  padding-bottom: 1.25rem;
  color: var(--color-text-2);
  line-height: 1.7;
}

/* Direct paragraph children (no wrapper) */
.faq-a > p {
  padding-bottom: 0;
  margin-bottom: 0.75rem;
  color: var(--color-text-2);
  line-height: 1.7;
}

.faq-a > p:last-child {
  margin-bottom: 1.25rem;
}

/* ── Scroll animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Page header (interior pages) ───────────────────────────── */
.page-header {
  padding: 6rem 0 3rem;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgb(37 99 235 / 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgb(148 163 184);
  margin-bottom: 1rem;
}

.breadcrumb-link,
.breadcrumb a {
  color: rgb(148 163 184);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb-link:hover,
.breadcrumb a:hover { color: #fff; }

.breadcrumb-sep { color: rgb(71 85 105); }

/* ── Mobile menu ────────────────────────────────────────────── */
#m-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-dark);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding: 1rem 0;
}

#m-mobile-menu.open { display: block; }

.m-mobile-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgb(203 213 225);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.m-mobile-link:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.05);
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-py { padding: 5rem 0; }
.section-py-sm { padding: 3rem 0; }

@media (max-width: 768px) {
  .section-py { padding: 3.5rem 0; }
  .section-py-sm { padding: 2rem 0; }
}

.container-m {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px) {
  .container-m { padding: 0 1rem; }
}

/* ── Nav inner layout ────────────────────────────────────────── */
.m-nav-inner {
  display: flex;
  align-items: center;
  height: 4rem;
  gap: 2rem;
}

.m-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.m-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

.m-nav-link {
  padding: 0.375rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgb(203 213 225);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.m-nav-link:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}

.m-nav-link.active {
  color: #fff;
}

.m-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.btn-sm {
  padding: 0.4375rem 1rem;
  font-size: 0.875rem;
}

.m-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.m-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgb(203 213 225);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 768px) {
  .m-nav-links { display: none; }
  .m-nav-actions { display: none; }
  .m-nav-toggle { display: flex; }
}

.m-mobile-actions {
  padding: 0.75rem 1.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.m-footer {
  background: var(--color-dark);
  border-top: 1px solid rgb(255 255 255 / 0.07);
  padding: 4rem 0 2rem;
}

.m-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .m-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .m-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .m-footer-grid { grid-template-columns: 1fr; }
}

.m-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1rem;
}

.m-footer-tagline {
  font-size: 0.9375rem;
  color: rgb(148 163 184);
  line-height: 1.6;
  margin: 0.5rem 0 0.75rem;
}

.m-footer-contact {
  font-size: 0.875rem;
  margin: 0;
}

.m-footer-contact a {
  color: rgb(148 163 184);
  text-decoration: none;
  transition: color 0.15s;
}

.m-footer-contact a:hover { color: #fff; }

.m-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(100 116 139);
  margin-bottom: 1rem;
}

.m-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m-footer-links a {
  font-size: 0.9375rem;
  color: rgb(148 163 184);
  text-decoration: none;
  transition: color 0.15s;
}

.m-footer-links a:hover { color: #fff; }

.m-footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.07);
  padding-top: 1.5rem;
}

.m-footer-bottom p {
  font-size: 0.875rem;
  color: rgb(100 116 139);
  margin: 0;
}

/* ── How it works steps ─────────────────────────────────────── */
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .hiw-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .hiw-steps { grid-template-columns: 1fr; }
}

.hiw-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hiw-step-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-feature-settings: 'tnum';
}

.hiw-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.hiw-step p {
  font-size: 0.9375rem;
  color: var(--color-text-2);
  line-height: 1.65;
  margin: 0;
}

/* ── Testimonial / social proof ─────────────────────────────── */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-2);
  margin: 0 0 1rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* ── Feature grid (solution cards) ─────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* ── AI brains grid ─────────────────────────────────────────── */
.brains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .brains-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .brains-grid { grid-template-columns: 1fr; }
}

/* ── Help hub category grid ─────────────────────────────────── */
.help-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .help-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .help-cat-grid { grid-template-columns: 1fr; }
}

/* ── Search bar ─────────────────────────────────────────────── */
.help-search {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}

.help-search input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  font-size: 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.help-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.12);
}

.help-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-muted);
  pointer-events: none;
}

/* ── Pain points / problem section ─────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
}

.pain-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pain-icon {
  width: 2rem;
  height: 2rem;
  color: #ef4444;
}

/* ── Pill badge ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-blue {
  background: rgb(37 99 235 / 0.1);
  color: #2563eb;
  border: 1px solid rgb(37 99 235 / 0.2);
}

.badge-amber {
  background: rgb(245 158 11 / 0.1);
  color: #d97706;
  border: 1px solid rgb(245 158 11 / 0.2);
}

/* ── Announce bar ───────────────────────────────────────────── */
.announce-bar {
  background: rgb(37 99 235 / 0.15);
  border: 1px solid rgb(37 99 235 / 0.25);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* ── Video / screenshot frame ───────────────────────────────── */
.product-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 64px -12px rgb(0 0 0 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.08);
  background: var(--color-dark-2);
}

.product-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Placeholder screenshot ─────────────────────────────────── */
.screenshot-placeholder {
  background: var(--color-dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: rgb(100 116 139);
  font-size: 0.875rem;
  border: 1px solid rgb(255 255 255 / 0.06);
}

.screenshot-placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
  color: rgb(71 85 105);
}

/* ── Help hub search section ────────────────────────────────── */
.help-search-section {
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.help-search-wrap {
  text-align: center;
}

.help-search-hint {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ── Help hub featured card (Getting Started) ───────────────── */
.help-featured {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.help-featured-inner {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 2.5rem;
}

@media (max-width: 640px) {
  .help-featured-inner {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

.help-featured-icon {
  width: 4rem;
  height: 4rem;
  background: rgb(37 99 235 / 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.help-featured-content { }

.help-featured-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.help-article-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.875rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.help-article-link:hover {
  background: rgb(37 99 235 / 0.06);
  border-color: rgb(37 99 235 / 0.3);
}

/* ── Help category cards ────────────────────────────────────── */
.help-cat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.help-cat-card:hover {
  border-color: rgb(37 99 235 / 0.3);
  box-shadow: var(--shadow-md);
}

.help-cat-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.help-cat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.help-cat-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.help-cat-links a {
  font-size: 0.875rem;
  color: var(--color-text-2);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  display: block;
}

.help-cat-links a:hover {
  color: var(--color-primary);
}

.help-cat-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.help-cat-more:hover { text-decoration: underline; }

.help-cat-faq .help-cat-icon {
  background: rgb(245 158 11 / 0.1);
  color: #d97706;
}

/* ── Help article page ──────────────────────────────────────── */
.help-article-body {
  max-width: 720px;
  margin: 0 auto;
}

.help-article-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  margin: 2.5rem 0 0.75rem;
  color: var(--color-text);
}

.help-article-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: var(--color-text);
}

.help-article-body p {
  margin: 0 0 1rem;
  color: var(--color-text-2);
  line-height: 1.7;
}

.help-article-body ul,
.help-article-body ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--color-text-2);
  line-height: 1.7;
}

.help-article-body li { margin-bottom: 0.375rem; }

.help-article-body .tip {
  background: rgb(37 99 235 / 0.06);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.875rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-2);
}

.help-article-body .tip strong {
  color: var(--color-text);
}

.help-toc {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.help-toc h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.help-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.help-toc ol li a {
  font-size: 0.875rem;
  color: var(--color-primary);
  text-decoration: none;
}

.help-toc ol li a:hover { text-decoration: underline; }

/* ── FAQ section heading ────────────────────────────────────── */
.faq-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--color-border);
}

/* ── Section spacing utilities ──────────────────────────────── */
.section-md {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}
