/* Preppr Help Center — built on the Preppr design system tokens */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: rgba(58,187,145,0.25); }

/* scrollbar gutter stability */
html { scrollbar-gutter: stable; }

a { color: var(--ocean-600); text-decoration: none; }
a:hover { text-decoration: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 32px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; flex-shrink: 0; }
.brand img { height: 26px; }
.brand .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--border);
  align-self: center; line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--secondary-400); white-space: nowrap;
  padding: 8px 12px; border-radius: var(--radius-md); transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--neutral-100); }
.nav-links a.active { color: var(--primary-700); }
.nav-links a.nav-ext { color: var(--fg-muted); display: inline-flex; align-items: center; gap: 4px; }
.nav-links a.nav-ext svg { color: var(--fg-subtle); }
.nav-links a.nav-ext:hover svg { color: var(--primary-600); }
.nav-div { width: 1px; height: 22px; background: var(--border); margin: 0 4px; flex-shrink: 0; }
.nav-login { font-size: 14px; font-weight: 700; color: var(--secondary-400); padding: 8px 12px; border-radius: var(--radius-md); white-space: nowrap; transition: background .15s; }
.nav-login:hover { background: var(--neutral-100); }

/* compact header search (inner pages) */
.header-search { position: relative; flex: 1; max-width: 420px; }
.header-search.hidden { display: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 700; font-size: 14px; border-radius: var(--radius-md);
  padding: 9px 18px; cursor: pointer; border: 1px solid transparent;
  transition: background .15s, box-shadow .15s, transform .1s, border-color .15s; white-space: nowrap;
}
.btn-primary { background: var(--primary-500); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-navy { background: var(--secondary-400); color: #fff; }
.btn-navy:hover { background: var(--secondary-500); }
.btn-outline { background: #fff; color: var(--secondary-400); border-color: var(--border); }
.btn-outline:hover { background: var(--neutral-50); border-color: var(--neutral-300); }
.btn-ghost-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.16); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.16); }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ============ SEARCH FIELD ============ */
.search {
  position: relative; width: 100%;
}
.search input {
  width: 100%; box-sizing: border-box; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  color: var(--fg); outline: none; transition: border-color .15s, box-shadow .15s;
}
.search .search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--fg-subtle); pointer-events: none; display: flex;
}
.search input:focus { border-color: var(--primary-500); box-shadow: 0 0 0 4px rgba(58,187,145,0.18); }
.search .clear-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: var(--neutral-100); border: none; border-radius: var(--radius-full);
  width: 24px; height: 24px; display: none; align-items: center; justify-content: center;
  cursor: pointer; color: var(--fg-muted);
}
.search.has-value .clear-btn { display: flex; }

/* hero search — large */
.search-hero input { font-size: 17px; padding: 18px 48px 18px 52px; box-shadow: var(--shadow-lg); border-color: transparent; }
.search-hero .search-icon { left: 20px; color: var(--secondary-300); }
.search-hero input:focus { box-shadow: 0 0 0 4px rgba(58,187,145,0.3), var(--shadow-lg); }
/* header search — compact */
.header-search input { font-size: 14px; padding: 9px 36px 9px 38px; }
.header-search .search-icon { left: 12px; }

/* ============ SEARCH DROPDOWN (instant results) ============ */
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl); overflow: hidden; display: none; max-height: 60vh; overflow-y: auto;
}
.search-dropdown.open { display: block; }
.search-dropdown .sd-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-subtle); padding: 12px 16px 6px;
}
.sd-item { display: flex; gap: 12px; padding: 11px 16px; cursor: pointer; align-items: flex-start; border-top: 1px solid var(--neutral-100); }
.sd-item:hover, .sd-item.active { background: var(--neutral-50); }
.sd-item .sd-ico { color: var(--primary-600); margin-top: 2px; flex-shrink: 0; }
.sd-item .sd-title { font-size: 14px; font-weight: 700; color: var(--fg-heading); }
.sd-item .sd-cat { font-size: 12px; color: var(--fg-muted); }
.sd-item mark { background: rgba(58,187,145,0.22); color: inherit; border-radius: 2px; padding: 0 1px; }
.sd-empty { padding: 22px 16px; color: var(--fg-muted); font-size: 14px; text-align: center; }
.sd-foot { padding: 10px 16px; border-top: 1px solid var(--neutral-100); font-size: 12px; color: var(--fg-muted); display:flex; gap:6px; align-items:center; background: var(--neutral-50); }
.sd-foot kbd {
  font-family: var(--font-mono); font-size: 11px; background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 6px; color: var(--fg);
}

/* ============ HERO ============ */
.hero {
  background: var(--secondary-400);
  color: #fff; position: relative; overflow: visible;
}
.hero::after {
  /* faint operator grid */
  content: ''; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary-300); margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px;
}
.hero p.sub { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.82); margin: 0 0 28px; max-width: 540px; }
.hero-search-wrap { max-width: 600px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.hero-chips a {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.92); white-space: nowrap;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  padding: 5px 12px; border-radius: var(--radius-full); transition: background .15s;
}
.hero-chips a:hover { background: rgba(255,255,255,0.18); }
.hero-mascot { width: 240px; align-self: end; margin-bottom: -204px; position: relative; z-index: 2; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.25)); }

/* hero quick-start guide download badge (below the chips) */
.hero-guide-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: #fff; color: var(--secondary-400);
  font-size: 13px; font-weight: 700; line-height: 1;
  padding: 9px 14px; border-radius: var(--radius-full);
  box-shadow: var(--shadow-md); transition: transform .12s, box-shadow .15s;
}
.hero-guide-badge svg { color: var(--primary-600); flex-shrink: 0; }
.hero-guide-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow-2xl); }
.hero-guide-badge .hg-pdf { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; color: var(--primary-700); background: var(--primary-100); padding: 2px 6px; border-radius: var(--radius-full); }
@media (max-width: 640px) {
  .hero-guide-badge { padding: 7px 11px; font-size: 12px; gap: 6px; }
  .hero-guide-badge .hg-pdf { display: none; }
}

/* ============ SECTIONS ============ */
.section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }
.section-head .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary-600); margin-bottom: 8px;
}
.section-head h2 { font-family: var(--font-display); font-size: 28px; line-height: 1.2; color: var(--fg-heading); margin: 0 0 6px; font-weight: 700; }
.section-head p { font-size: 16px; color: var(--fg-muted); margin: 0; }

/* ============ CATEGORY GRID ============ */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; transition: box-shadow .2s, transform .2s, border-color .2s; cursor: pointer;
  display: flex; flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.cat-card .cc-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.cat-icon {
  width: 46px; height: 46px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-100); color: var(--primary-700);
}
.cat-card h3 { font-size: 18px; font-weight: 700; color: var(--fg-heading); margin: 0 0 3px; font-family: var(--font-sans); }
.cat-card .count { font-size: 13px; color: var(--fg-subtle); font-weight: 600; }
.cat-card .desc { font-size: 14px; color: var(--fg-muted); line-height: 1.5; margin: 0 0 14px; }
.cat-links { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-direction: column; gap: 2px; }
.cat-links li a {
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: var(--secondary-400); padding: 7px 8px; border-radius: var(--radius-sm);
  transition: background .12s, color .12s; margin-left: -8px;
}
.cat-links li a:hover { background: var(--neutral-50); color: var(--primary-700); }
.cat-links li a svg { color: var(--fg-subtle); flex-shrink: 0; }
.cat-links li a:hover svg { color: var(--primary-600); }
.cat-viewall { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 700; color: var(--primary-700); display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .cat-viewall { gap: 9px; }

/* ============ POPULAR / ARTICLE CARDS ============ */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.art-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; cursor: pointer; transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.art-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.art-card .ac-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary-600); display: flex; align-items: center; gap: 6px; }
.art-card h4 { font-size: 17px; font-weight: 700; color: var(--fg-heading); margin: 0; line-height: 1.3; font-family: var(--font-sans); }
.art-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.5; margin: 0; }
.art-card .read { font-size: 13px; font-weight: 700; color: var(--primary-700); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

/* compact article row list */
.art-rows { display: flex; flex-direction: column; background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.art-row { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; border-top: 1px solid var(--neutral-100); transition: background .12s; }
.art-row:first-child { border-top: none; }
.art-row:hover { background: var(--neutral-50); }
.art-row .ar-ico { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--neutral-100); color: var(--secondary-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.art-row:hover .ar-ico { background: var(--primary-100); color: var(--primary-700); }
.art-row .ar-body { flex: 1; min-width: 0; }
.art-row .ar-title { font-size: 15px; font-weight: 700; color: var(--fg-heading); }
.art-row .ar-sum { font-size: 13px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.art-row .ar-arrow { color: var(--fg-subtle); flex-shrink: 0; transition: transform .15s, color .15s; }
.art-row:hover .ar-arrow { color: var(--primary-600); transform: translateX(3px); }

/* ============ CTA BAND ============ */
.cta-band { background: var(--secondary-400); border-radius: var(--radius-xl); padding: 44px; position: relative; overflow: hidden; }
.cta-band::after { content:''; position:absolute; inset:0; opacity:.5; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 22px 22px; pointer-events:none; }
.cta-head { position: relative; z-index:1; text-align: center; margin-bottom: 28px; }
.cta-head h2 { font-family: var(--font-display); font-size: 26px; color: #fff; margin: 0 0 8px; font-weight: 700; }
.cta-head p { font-size: 16px; color: rgba(255,255,255,0.78); margin: 0 auto; max-width: 520px; }
.cta-cards { position: relative; z-index:1; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.cta-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 22px; cursor: pointer; transition: background .18s, border-color .18s; }
.cta-card:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.cta-card .cta-ico { width: 42px; height: 42px; border-radius: var(--radius-md); background: rgba(58,187,145,0.2); color: var(--primary-300); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cta-card h4 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 5px; font-family: var(--font-sans); }
.cta-card p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.5; }

/* ============ BREADCRUMB ============ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-muted); padding: 22px 0 0; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb .cur { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; flex-shrink: 0; }
.breadcrumb .cur { flex-shrink: 1; }
.breadcrumb a { color: var(--fg-muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--primary-700); }
.breadcrumb .sep { color: var(--neutral-300); display: flex; }
.breadcrumb .cur { color: var(--fg-heading); font-weight: 700; }

/* ============ CATEGORY PAGE ============ */
.cat-hero { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0 8px; }
.cat-hero .cat-icon { width: 60px; height: 60px; border-radius: var(--radius-lg); }
.cat-hero h1 { font-family: var(--font-display); font-size: 36px; color: var(--fg-heading); margin: 0 0 8px; font-weight: 700; letter-spacing: -0.01em; }
.cat-hero p { font-size: 17px; color: var(--fg-muted); margin: 0; max-width: 640px; }

.layout-sidebar { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 48px; align-items: start; }
.layout-sidebar > div { min-width: 0; }
.cat-nav { position: sticky; top: 88px; }
.cat-nav .cn-head { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-subtle); padding: 0 12px 10px; }
.cat-nav a { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--secondary-400); padding: 9px 12px; border-radius: var(--radius-md); transition: background .12s, color .12s; }
.cat-nav a:hover { background: var(--neutral-100); }
.cat-nav a.active { background: var(--primary-100); color: var(--primary-800); }
.cat-nav a svg { color: var(--fg-subtle); flex-shrink: 0; }
.cat-nav a.active svg { color: var(--primary-700); }

/* ============ ARTICLE PAGE ============ */
.article-layout { display: grid; grid-template-columns: 240px minmax(0,1fr) 220px; gap: 40px; align-items: start; padding-bottom: 40px; }
.art-sidenav { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
.art-sidenav .asn-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary-600); padding: 0 10px 10px; display:flex; align-items:center; gap:8px; }
.art-sidenav a { display: block; font-size: 13.5px; font-weight: 600; color: var(--fg-muted); padding: 7px 10px; border-radius: var(--radius-md); transition: background .12s, color .12s; line-height: 1.35; }
.art-sidenav a:hover { background: var(--neutral-100); color: var(--secondary-400); }
.art-sidenav a.active { background: var(--primary-100); color: var(--primary-800); font-weight: 700; }

.article-main { min-width: 0; }
.article-main h1 { font-family: var(--font-display); font-size: 36px; line-height: 1.12; color: var(--fg-heading); margin: 14px 0 14px; font-weight: 700; letter-spacing: -0.015em; }
.article-lede { font-size: 19px; line-height: 1.55; color: var(--fg-muted); margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

/* article prose */
.prose { font-size: 16px; line-height: 1.7; color: var(--fg); }
.prose h2 { font-family: var(--font-display); font-size: 24px; color: var(--fg-heading); margin: 38px 0 14px; font-weight: 700; line-height: 1.25; scroll-margin-top: 88px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: var(--fg-heading); margin: 26px 0 10px; font-weight: 700; }
.prose h4 { font-size: 15.5px; color: var(--fg-heading); margin: 20px 0 8px; font-weight: 700; }
.prose p { margin: 0 0 16px; }
.prose img { display: block; max-width: 100%; height: auto; margin: 8px 0 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 0 0 8px; padding-left: 4px; }
.prose li::marker { color: var(--primary-500); }
.prose ul ul, .prose ol ol, .prose ul ol, .prose ol ul { margin: 8px 0 4px; }
.prose strong { font-weight: 700; color: var(--fg-heading); }
.prose a { color: var(--ocean-600); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(10,132,201,0.3); text-underline-offset: 2px; }
.prose a:hover { text-decoration-color: var(--ocean-600); }
.prose code { font-family: var(--font-mono); font-size: 0.875em; background: var(--neutral-100); border: 1px solid var(--border); padding: 1px 6px; border-radius: var(--radius-sm); color: var(--secondary-500); }
.prose blockquote {
  margin: 0 0 18px; padding: 14px 18px; background: var(--info-bg);
  border-left: 3px solid var(--ocean-500); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--secondary-500); font-size: 15px;
}
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.prose thead th { background: var(--neutral-100); color: var(--fg-heading); font-weight: 700; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.prose tbody td { padding: 10px 14px; border-bottom: 1px solid var(--neutral-100); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:nth-child(even) { background: var(--neutral-50); }
.prose tbody td:first-child { font-weight: 700; color: var(--fg-heading); white-space: nowrap; }

/* On this page TOC */
.toc { position: sticky; top: 88px; }
.toc .toc-head { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 12px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc li a { display: block; font-size: 13px; line-height: 1.4; color: var(--fg-muted); padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; transition: color .12s, border-color .12s; }
.toc li a:hover { color: var(--secondary-400); }
.toc li a.active { color: var(--primary-700); border-left-color: var(--primary-500); font-weight: 700; }

/* article footer */
.art-foot { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.helpful { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 22px; }
.helpful .hl-q { font-size: 15px; font-weight: 700; color: var(--fg-heading); margin-right: auto; }
.helpful button { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-md); border: 1px solid var(--border); background: #fff; color: var(--secondary-400); cursor: pointer; transition: all .15s; }
.helpful button:hover { border-color: var(--primary-400); background: var(--primary-100); color: var(--primary-800); }
.helpful button.picked { background: var(--primary-500); border-color: var(--primary-500); color: #fff; }
.helpful .thanks { font-size: 14px; font-weight: 700; color: var(--primary-700); display:flex; align-items:center; gap:8px; }

.related { margin-top: 36px; }
.related h3 { font-size: 18px; font-weight: 700; color: var(--fg-heading); margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.related-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; cursor: pointer; transition: box-shadow .18s, border-color .18s; display:flex; align-items:center; gap:12px; }
.related-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-300); }
.related-card .rc-body { min-width:0; }
.related-card .rc-cat { font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--fg-subtle); }
.related-card .rc-title { font-size:14.5px; font-weight:700; color: var(--fg-heading); margin-top:2px; }
.related-card .rc-arrow { margin-left:auto; color: var(--fg-subtle); flex-shrink:0; }

/* ============ SEARCH RESULTS PAGE ============ */
.results-head { padding: 32px 0 8px; }
.results-head h1 { font-family: var(--font-display); font-size: 30px; color: var(--fg-heading); margin: 0 0 6px; font-weight: 700; }
.results-head p { font-size: 15px; color: var(--fg-muted); margin: 0; }
.results-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.result-item { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; cursor: pointer; transition: box-shadow .18s, border-color .18s; }
.result-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-300); }
.result-item .ri-cat { font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--primary-600); display:flex; align-items:center; gap:6px; margin-bottom:6px; }
.result-item h3 { font-size:18px; font-weight:700; color: var(--fg-heading); margin:0 0 6px; }
.result-item p { font-size:14px; color: var(--fg-muted); margin:0; line-height:1.55; }
.result-item mark { background: rgba(58,187,145,0.22); color: inherit; border-radius:2px; padding:0 2px; }
.no-results { text-align:center; padding: 60px 20px; }
.no-results img { width: 150px; margin: 0 auto 20px; opacity: .95; }
.no-results h3 { font-size: 20px; color: var(--fg-heading); margin: 0 0 8px; }
.no-results p { font-size: 15px; color: var(--fg-muted); margin: 0 auto 20px; max-width: 420px; }

/* ============ CONTACT PAGE ============ */
.contact-hero { text-align:center; padding: 36px 0 4px; }
.contact-hero h1 { font-family: var(--font-display); font-size: 36px; color: var(--fg-heading); margin: 0 0 10px; font-weight: 700; }
.contact-hero p { font-size: 17px; color: var(--fg-muted); margin: 0 auto; max-width: 540px; }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; align-items:start; }
.contact-form { background:#fff; border:1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:13px; font-weight:700; color: var(--fg-heading); margin-bottom:6px; }
.field input, .field textarea, .field select {
  width:100%; box-sizing:border-box; font-family:inherit; font-size:14px; color: var(--fg);
  padding: 10px 12px; border:1px solid var(--border); border-radius: var(--radius-md); background:#fff; outline:none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(58,187,145,0.18); }
.contact-side .side-card { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; display:flex; gap:14px; align-items:flex-start; }
.contact-side .side-card .sc-ico { width:42px; height:42px; border-radius: var(--radius-md); background: var(--primary-100); color: var(--primary-700); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-side .side-card h4 { font-size:15px; font-weight:700; color:var(--fg-heading); margin:0 0 3px; }
.contact-side .side-card p { font-size:13.5px; color: var(--fg-muted); margin:0; line-height:1.5; }
.form-sent { text-align:center; padding: 40px 20px; }
.form-sent .fs-check { width: 56px; height:56px; border-radius:50%; background: var(--primary-100); color: var(--primary-700); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.form-sent h3 { font-size:20px; color: var(--fg-heading); margin:0 0 8px; }
.form-sent p { font-size:15px; color: var(--fg-muted); margin:0; }

/* ============ FAQ ACCORDION ============ */
.faq-list { display:flex; flex-direction:column; gap:12px; max-width: 780px; }
.faq-item { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; }
.faq-q { display:flex; align-items:center; gap:14px; padding: 18px 22px; cursor:pointer; font-size:16px; font-weight:700; color: var(--fg-heading); }
.faq-q .fq-toggle { margin-left:auto; color: var(--fg-subtle); transition: transform .2s; flex-shrink:0; }
.faq-item.open .fq-toggle { transform: rotate(45deg); color: var(--primary-600); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 22px 20px 22px; font-size:15px; line-height:1.6; color: var(--fg-muted); }
.faq-a-inner strong { color: var(--fg-heading); }

/* ============ FOOTER ============ */
.site-footer { background: var(--secondary-500); color: rgba(255,255,255,0.7); margin-top: 8px; }
.footer-top { display:grid; grid-template-columns: 1.25fr 2.75fr; gap: 56px; padding: 56px 0 40px; align-items: start; }
.footer-links { display:grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0 0 18px; max-width: 280px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 14px; }
.footer-col a { display:block; font-size: 14px; color: rgba(255,255,255,0.75); padding: 6px 0; transition: color .12s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display:flex; align-items:center; justify-content:space-between; font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap:wrap; gap:12px; }
.footer-bottom .fb-links { display:flex; gap:20px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.status-pill { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color: rgba(255,255,255,0.8); }
.status-dot { width:8px; height:8px; border-radius:50%; background: var(--primary-400); box-shadow: 0 0 0 0 rgba(58,187,145,0.6); animation: statpulse 2.4s infinite; }
@keyframes statpulse { 0%{ box-shadow:0 0 0 0 rgba(58,187,145,0.5);} 70%{ box-shadow:0 0 0 6px rgba(58,187,145,0);} 100%{ box-shadow:0 0 0 0 rgba(58,187,145,0);} }

/* ============ VIEW FADE ============ */
.view { animation: fadeUp .28s ease both; }
@keyframes fadeUp { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .view { animation: none; } html { scroll-behavior:auto; } }

/* ============ LOADING ============ */
.loading-screen { display:flex; align-items:center; justify-content:center; min-height: 62vh; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--primary-500); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ WHAT'S NEW ============ */
.wn-chip { display: inline-flex; align-items: center; gap: 7px; line-height: 1; }
.wn-chip .wn-chip-badge { font-size: 11px; font-weight: 800; line-height: 1; padding: 3px 7px; border-radius: var(--radius-full); }
/* hero variant — on the navy hero */
.wn-chip.hero {
  font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(58,187,145,0.18); border: 1px solid rgba(58,187,145,0.5);
  padding: 6px 13px; border-radius: var(--radius-full); transition: background .15s, transform .1s;
}
.wn-chip.hero svg { color: var(--primary-300); }
.wn-chip.hero:hover { background: rgba(58,187,145,0.32); transform: translateY(-1px); }
.wn-chip.hero .wn-chip-badge { background: var(--primary-400); color: var(--secondary-500); }

/* What's-new page (release timeline) */
.wn-group { margin-bottom: 32px; }
.wn-group-label {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--fg-heading);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.wn-group-label .wn-group-count {
  font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0;
  color: var(--fg-subtle); background: var(--neutral-100); border-radius: var(--radius-full); padding: 2px 9px;
}
.wn-rows { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.wn-row { display: flex; align-items: center; gap: 18px; padding: 16px 22px; cursor: pointer; border-top: 1px solid var(--neutral-100); transition: background .12s; }
.wn-row:first-child { border-top: none; }
.wn-row:hover { background: var(--neutral-50); }
.wn-date { width: 96px; flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: var(--fg-subtle); }
.wn-body { flex: 1; min-width: 0; }
.wn-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 15.5px; font-weight: 700; color: var(--fg-heading); }
.wn-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--primary-500); padding: 2px 7px; border-radius: var(--radius-full); }
.wn-sum { font-size: 13px; color: var(--fg-muted); line-height: 1.5; margin-top: 3px; }
.wn-cat { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary-600); }
.wn-cat svg { color: var(--primary-600); }
.wn-arrow { color: var(--fg-subtle); flex-shrink: 0; transition: transform .15s, color .15s; }
.wn-row:hover .wn-arrow { color: var(--primary-600); transform: translateX(3px); }
@media (max-width: 560px) {
  .wn-row { gap: 12px; padding: 14px 16px; }
  .wn-date { width: 64px; font-size: 11.5px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0,1fr) 220px; }
  .art-sidenav { display: none; }
}
@media (max-width: 900px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mascot { display: none; }
  .hero h1 { font-size: 34px; }
  .cat-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; gap: 24px; }
  .cat-nav { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .nav-links a:not(.btn), .nav-div { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .header-search { display: none; }
  .site-header .bar { gap: 12px; }
  .brand .tag { display: none; }
  .brand img { height: 24px; }
  .nav-links .btn-primary { padding: 8px 13px; font-size: 13px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; }
  .hero h1 { font-size: 30px; }
  .hero p.sub { font-size: 16px; }
  .cta-band { padding: 32px 22px; }
  .article-main h1 { font-size: 28px; }
  .cat-hero h1 { font-size: 28px; }
}


/* ============================================================
   BLOG ADDITIONS — "On The Edge"
   ============================================================ */

/* hero mascot sits cleanly at the hero's lower-right (book-reading pose) */
.hero-mascot { width: 230px; margin-bottom: -64px; }
@media (max-width: 900px){ .hero-mascot{ display:none; } }

.hero-chips a.all {
  background: rgba(58,187,145,0.18); border-color: rgba(58,187,145,0.5); color:#fff;
  font-weight:700; display:inline-flex; align-items:center; gap:7px;
}
.hero-chips a.all svg { color: var(--primary-300); }

/* section head with trailing "see all" */
.section-head.row { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.see-all { font-size:14px; font-weight:700; color: var(--primary-700); display:inline-flex; align-items:center; gap:6px; white-space:nowrap; flex-shrink:0; }
.see-all:hover { gap:9px; }

/* ---- FEATURED POST ---- */
.feat {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--secondary-400); border-radius: var(--radius-xl);
  padding: 44px; transition: box-shadow .2s, transform .2s;
  box-shadow: var(--shadow-lg);
}
.feat::after { content:''; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 22px 22px; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-2xl); }
.feat-body { position: relative; z-index:1; max-width: 720px; }
.feat-flag {
  display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:800;
  letter-spacing:.06em; text-transform:uppercase; color: var(--secondary-500);
  background: var(--primary-400); padding:5px 12px; border-radius: var(--radius-full); margin-bottom:16px;
}
.feat .pc-cat.light { color: var(--primary-300); margin-bottom:10px; }
.feat h2 { font-family: var(--font-display); font-size:34px; line-height:1.12; letter-spacing:-0.02em; color:#fff; margin:0 0 14px; font-weight:700; }
.feat p { font-size:17px; line-height:1.55; color: rgba(255,255,255,0.82); margin:0 0 20px; }
.feat .post-meta.light { color: rgba(255,255,255,0.7); }
.feat-read { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:700; color: var(--primary-300); }
.feat:hover .feat-read { gap:11px; }
@media (max-width:640px){ .feat{ padding:30px 24px; } .feat h2{ font-size:26px; } }

/* ---- POST CARD GRID ---- */
.post-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; }
@media (max-width:900px){ .post-grid{ grid-template-columns:1fr; } }
.post-card {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg);
  padding:22px; cursor:pointer; transition: box-shadow .2s, transform .2s, border-color .2s;
  display:flex; flex-direction:column; gap:10px;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.pc-cat { font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--primary-600); display:flex; align-items:center; gap:6px; }
.post-card h4 { font-size:18px; font-weight:700; color: var(--fg-heading); margin:0; line-height:1.3; font-family: var(--font-sans); letter-spacing:-0.01em; }
.post-card p { font-size:14px; color: var(--fg-muted); line-height:1.55; margin:0; flex:1; }
.post-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:12.5px; font-weight:600; color: var(--fg-subtle); margin-top:2px; }
.post-meta .dot { color: var(--neutral-300); }

/* ---- FILTER BAR (All posts) ---- */
.filter-bar { display:flex; flex-wrap:wrap; gap:9px; margin: 8px 0 28px; }
.filter-chip {
  font-size:13.5px; font-weight:700; color: var(--secondary-400); cursor:pointer;
  background:#fff; border:1px solid var(--border); border-radius: var(--radius-full);
  padding:8px 16px; transition: all .14s;
}
.filter-chip:hover { border-color: var(--primary-400); color: var(--primary-800); }
.filter-chip.active { background: var(--secondary-400); border-color: var(--secondary-400); color:#fff; }
.post-grid.wide { gap:20px; }
.load-more-wrap { display:flex; justify-content:center; padding: 12px 0 56px; }
.load-more-wrap .btn { padding: 11px 26px; }
.muted { color: var(--fg-muted); font-size:15px; padding: 20px 0; }

/* ---- ARTICLE (post) LAYOUT ---- */
.post-layout { display:grid; grid-template-columns: minmax(0,1fr) 220px; gap:48px; align-items:start; padding: 14px 0 40px; }
@media (max-width:900px){ .post-layout{ grid-template-columns:1fr; gap:24px; } .post-layout .toc{ display:none; } }
.post-cat-pill {
  display:inline-flex; align-items:center; gap:7px; cursor:pointer;
  font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--primary-700);
  background: var(--primary-100); padding:5px 12px; border-radius: var(--radius-full); margin-bottom:4px;
}
.post-cat-pill:hover { background: var(--primary-200, #c9efe0); }
.article-byline { display:flex; align-items:center; gap:12px; margin: 4px 0 30px; padding-bottom:24px; border-bottom:1px solid var(--border); }
.ab-avatar { width:40px; height:40px; border-radius:50%; background: var(--primary-100); color: var(--primary-700); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ab-meta { display:flex; flex-direction:column; }
.ab-author { font-size:14.5px; font-weight:700; color: var(--fg-heading); }
.ab-sub { font-size:13px; color: var(--fg-subtle); font-weight:600; }
.article-lede { margin-bottom: 18px; padding-bottom: 0; border-bottom: none; }

/* post CTA at foot */
.post-cta {
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  background: var(--secondary-400); border-radius: var(--radius-xl); padding: 28px 32px; position:relative; overflow:hidden;
}
.post-cta::after { content:''; position:absolute; inset:0; opacity:.5; pointer-events:none; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 22px 22px; }
.post-cta > div { position:relative; z-index:1; }
.post-cta h3 { font-family: var(--font-display); font-size:20px; color:#fff; margin:0 0 5px; font-weight:700; }
.post-cta p { font-size:14px; color: rgba(255,255,255,0.78); margin:0; max-width: 420px; }
.post-cta-btns { display:flex; gap:10px; flex-wrap:wrap; }
.post-cta-btns .btn-outline { background: rgba(255,255,255,0.08); color:#fff; border-color: rgba(255,255,255,0.2); }
.post-cta-btns .btn-outline:hover { background: rgba(255,255,255,0.16); }
@media (max-width:560px){ .post-cta{ padding:24px; } }


/* ============================================================
   PREMIUM EDITORIAL LAYER — sharper command-center type + hero.
   Overrides the rounded help-center defaults to match the
   approved "On The Edge" marketing design.
   ============================================================ */

/* --- premium type system (sharper than Nunito/Raleway) --- */
:root {
  --font-sans:    'Manrope', 'Nunito Sans', Arial, ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Schibsted Grotesk', 'Raleway', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* --- HERO: premium command-center, dark --- */
.hero {
  background:
    radial-gradient(90% 70% at 82% -8%, rgba(58,187,145,0.22), transparent 58%),
    radial-gradient(70% 90% at 8% 110%, rgba(58,187,145,0.10), transparent 55%),
    linear-gradient(165deg, #18293f 0%, var(--secondary-500) 46%, #16243a 100%);
  overflow: visible; isolation: isolate;
}
/* engineering grid, masked to fade at the edges */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(95% 80% at 60% 30%, #000 25%, transparent 82%);
  mask-image: radial-gradient(95% 80% at 60% 30%, #000 25%, transparent 82%);
  pointer-events: none;
}
/* soft teal aura behind the upper-right */
.hero::before {
  content: ''; position: absolute; right: -4%; top: 6%; width: 560px; height: 560px; z-index: 0;
  background: radial-gradient(circle, rgba(58,187,145,0.30), transparent 62%);
  filter: blur(40px); pointer-events: none;
}
.hero .wrap { padding-top: 92px; padding-bottom: 96px; }

/* eyebrow → mono pill with pulsing dot */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--preppr-teal);
  background: rgba(58,187,145,0.10); border: 1px solid rgba(58,187,145,0.28);
  padding: 8px 16px; border-radius: var(--radius-full); margin-bottom: 26px; white-space: nowrap;
}
.hero-eyebrow svg { display: none; }
.hero-eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--preppr-green);
  box-shadow: 0 0 0 0 rgba(58,187,145,0.6); animation: pulse 2.2s infinite; flex: 0 0 auto;
}
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(58,187,145,0.5);} 70%{ box-shadow:0 0 0 9px rgba(58,187,145,0);} 100%{ box-shadow:0 0 0 0 rgba(58,187,145,0);} }

/* headline → big Schibsted display */
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.03em;
  margin: 0 0 22px; text-wrap: balance;
}
.hero p.sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.58; color: rgba(255,255,255,0.76); max-width: 40ch; margin-bottom: 30px; }

/* hero search → sit on the dark hero cleanly */
.search-hero input { border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 22px 50px -18px rgba(0,0,0,0.55); }

/* mascot → lower-right, book-reading pose overhanging the hero base */
.hero .wrap { position: relative; }
.hero-mascot { width: 300px; align-self: end; margin-bottom: -96px; position: relative; z-index: 2; }
@media (max-width: 900px){ .hero-mascot{ display:none; } }

/* --- MONO category / eyebrow labels everywhere --- */
.section-head .eyebrow, .eyebrow {
  font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.14em;
}
.pc-cat, .ac-cat, .art-card .ac-cat, .result-item .ri-cat, .wn-cat, .related-card .rc-cat {
  font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.1em;
}
.feat-flag { font-family: var(--font-mono); letter-spacing: 0.12em; }
.feat .pc-cat.light { font-family: var(--font-mono); letter-spacing: 0.1em; }
.post-meta, .breadcrumb { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* --- DISPLAY type on titles → Schibsted, tighter --- */
.section-head h2, .feat h2, .cat-hero h1, .article-main h1,
.results-head h1, .contact-hero h1, .post-cta h3, .cta-head h2 {
  font-family: var(--font-display); letter-spacing: -0.022em;
}
.post-card h4, .art-card h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.018em; font-size: 19px; }
.feat h2 { font-weight: 800; }

/* --- filter chips → a touch sharper --- */
.filter-chip { letter-spacing: -0.005em; }

/* --- cards: a hair more lift on hover, sharper border radius feel --- */
.post-card, .cat-card, .art-card { transition: box-shadow .2s, transform .2s, border-color .2s; }


/* ============================================================
   VISUAL CARD PANELS — colored gradient headers + glyphs,
   ported from the approved "On The Edge" marketing design.
   ============================================================ */

/* featured: two-column split with a colored visual panel */
.feat {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat .feat-body { padding: 46px 46px 42px; display: flex; flex-direction: column; justify-content: center; gap: 0; background: #fff; }
.feat .feat-body .pc-cat { margin-bottom: 16px; }
.feat .feat-body h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.022em; color: var(--fg-heading); margin: 0 0 14px; }
.feat .feat-body p { font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 22px; }
.feat .post-meta { margin-bottom: 22px; }
.feat .feat-read { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--primary-700); font-family: var(--font-sans); }
.feat:hover .feat-read svg { transform: translateX(4px); }
.feat .feat-read svg { transition: transform .2s; }
.feat .feat-vis { position: relative; min-height: 340px; overflow: hidden; }
.feat .feat-vis::before { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px; }
.feat .feat-vis .glyph { position: absolute; right: -26px; bottom: -56px; font-size: 300px; line-height: 1; color: rgba(255,255,255,0.16); font-family: var(--font-display); }
.feat .feat-vis .vis-tag { position: absolute; left: 30px; top: 28px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius-full); padding: 6px 13px; background: rgba(0,0,0,0.12); }

/* post grid: 3-up cards with colored visual header */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; text-decoration: none; color: inherit;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.post-card .c-vis { position: relative; height: 152px; overflow: hidden; }
.post-card .c-vis::before { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 34px 34px; }
.post-card .c-vis .cg { position: absolute; right: -12px; bottom: -40px; font-size: 150px; line-height: 1; font-family: var(--font-display); color: rgba(255,255,255,0.13); }
.post-card .c-vis .vtag { position: absolute; left: 18px; top: 16px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0.94; }
.post-card .c-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .c-body .pc-cat { margin-bottom: 11px; }
.post-card .c-body h4 { margin: 0 0 9px; }
.post-card .c-body p { flex: 1; }

/* category gradient swatches */
.vis-general  { background: linear-gradient(150deg, #1c3147, var(--secondary-500) 70%, #16243a); }
.vis-industry { background: linear-gradient(150deg, #16423a, #0f5a45 65%, #0c3a30); }
.vis-product  { background: linear-gradient(150deg, #13524a, var(--primary-700) 60%, #0e3f3a); }
.vis-ocean    { background: linear-gradient(150deg, #0c4f78, var(--ocean-blue) 68%, #08395a); }
.vis-maroon   { background: linear-gradient(150deg, #5e2742, var(--preppr-maroon) 70%, #3d1a2d); }
.vis-gold     { background: linear-gradient(150deg, #7c5a1c, #bf9438 62%, #574013); }

@media (max-width: 920px){
  .feat { grid-template-columns: 1fr; }
  .feat .feat-vis { min-height: 190px; order: -1; }
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){ .post-grid { grid-template-columns: 1fr; } }
