/* ═══════════════════════════════════════════
   FINANSLAGET — GRAFISK PROFIL
   style.css
═══════════════════════════════════════════ */

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

:root {
  /* ── Brand primitives (Grafisk manual 2026 v4) ── */
  --brand-300: #33C5FF;
  --brand-400: #00B7FF;   /* CTA-knappar */
  --brand-500: #019EDC;
  --brand-600: #0272A2;
  --brand-700: #066186;   /* Mörkblå – primär identitet/accent */

  /* ── Neutral primitives ── */
  --n-0:   #FCFCFC;
  --n-50:  #FAFAFA;
  --n-100: #F4F4F5;
  --n-200: #E5E5E6;
  --n-300: #D5D5D7;
  --n-400: #8B8B91;
  --n-500: #737378;
  --n-600: #545459;
  --n-700: #414144;
  --n-750: #363639;
  --n-800: #282829;
  --n-900: #19191A;
  --n-925: #0F0F0F;
  --n-950: #09090B;

  /* ── Status / semantiska ── */
  --status-stop:    #D7595B;   /* Stopp */
  --status-review:  #E29A00;   /* Bedömning */
  --status-ok:      #42AF33;   /* Godkänd */
  --status-deliver: #08B0BD;   /* Levereras */

  /* ── Semantiska alias (behåller äldre namn) ── */
  --blue:      #066186;   /* Mörkblå (Brand 700) – primär accent */
  --blue-dark: #0272A2;   /* Brand 600 – hover */
  --blue-pale: #E5F5FC;   /* Ljus accentyta */
  --cta:       #00B7FF;   /* Brand 400 – primär CTA */
  --cta-hover: #019EDC;   /* Brand 500 – CTA hover */
  --cta-text:  #09090B;   /* 950 – text på CTA */
  --dark:      #09090B;   /* Svart (950) */
  --ash:       #F4F4F5;   /* Ljus yta (neutral 100) */
  --mid:       #545459;   /* Mörkgrå (600) – sekundär text */
  --border:    #E5E5E6;   /* Neutral 200 – linjer */
  --white:     #FCFCFC;   /* Vit */

  --font-head: 'Merriweather Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Source Code Pro', monospace;

  --sidebar-w: 240px;
  --section-gap: 100px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ash);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── SIDEBAR ─── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  z-index: 100;
  overflow-y: auto;
}

.sidebar__logo {
  padding: 0 20px 24px;
}

.nav-logo { width: 140px; height: auto; }
.sidebar__logo img { filter: brightness(0); }

.sidebar__links {
  list-style: none;
  padding: 16px 0;
  flex: 1;
}

.sidebar__links li { padding: 0 12px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all .15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link svg { flex-shrink: 0; opacity: .6; }
.nav-link:hover svg, .nav-link.active svg { opacity: 1; }

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav-link.active { font-weight: 600; }

.sidebar__version {
  padding: 16px 20px 8px;
  font-size: 11px;
  color: #AAB0BA;
}

/* ─── MAIN ─── */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  background: var(--blue);            /* Mörkblå #066186 — manualens cover-yta */
  color: var(--white);
  padding: 80px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  min-height: 520px;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.hero__content { position: relative; z-index: 1; }

.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(252,252,252,.82);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.hero__tagline {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero__desc {
  font-size: 15px;
  color: rgba(252,252,252,.85);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(252,252,252,.4);
  color: var(--white);
  background: rgba(252,252,252,.1);
}

.hero__graphic {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__graphic svg { width: 100%; max-width: 320px; }
.hero__graphic img { width: 100%; max-width: 220px; height: auto; opacity: .9; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__graphic { display: none; }
}

/* ─── SECTION BASE ─── */
.section {
  padding: 72px 60px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.section:nth-child(even) { background: var(--ash); }

.section__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}

.section__num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .06em;
  background: var(--blue-pale);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.section__header h2 {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.section__intro {
  max-width: 680px;
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 44px;
}

/* ─── 01 BRAND ESSENCE ─── */
.essence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.essence-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}

.essence-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.essence-card--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.essence-card__icon {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--blue);
  opacity: .8;
}

.essence-card--primary .essence-card__icon { color: rgba(255,255,255,.7); }

.essence-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.essence-card p { font-size: 14px; line-height: 1.65; color: var(--mid); }

.essence-card--primary h3,
.essence-card--primary p { color: var(--white); }

.values-section { margin-top: 8px; }

.values-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color .2s;
}

.value-item:hover { border-color: var(--blue); }

.value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.value-word {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.value-item p { font-size: 13px; color: var(--mid); line-height: 1.6; }

/* ─── 02 COLORS ─── */
.color-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 44px;
}

.color-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}

.color-card:hover { box-shadow: var(--shadow); }

.color-card--xl { grid-column: span 1; }

.color-swatch {
  height: 100px;
  width: 100%;
}

.color-info { padding: 16px; }

.color-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.color-role {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.color-values { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.color-chip {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  background: var(--ash);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background .15s;
  color: var(--dark);
}

.color-chip:hover { background: var(--blue-pale); border-color: var(--blue); }

.color-usage { font-size: 12.5px; color: var(--mid); line-height: 1.5; }

.color-combos h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.combo-row { display: flex; gap: 12px; flex-wrap: wrap; }

.combo {
  flex: 1; min-width: 140px;
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.combo-label { font-size: 11px; font-weight: 600; opacity: .7; }
.combo-text { font-family: var(--font-head); font-size: 28px; font-weight: 700; }

/* Primitiv-skalor */
.color-subtitle {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin: 40px 0 6px;
}
.color-subtitle--first { margin-top: 8px; }
.color-subnote { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 18px; max-width: 760px; }

.swatch-scale {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.swatch {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.swatch__chip { height: 56px; width: 100%; }
.swatch__meta { padding: 7px 9px 9px; }
.swatch__step { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; color: var(--dark); }
.swatch__hex {
  font-family: var(--font-mono);
  font-size: 10.5px; color: var(--mid);
  display: block; margin-top: 2px; cursor: pointer;
}
.swatch__role { font-size: 10px; color: var(--blue); font-weight: 600; display: block; margin-top: 3px; }

/* CTA-knappar förhandsvisning */
.cta-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 12px;
}
.cta-preview__panel {
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta-preview__panel--light { background: var(--n-0); border: 1px solid var(--border); }
.cta-preview__panel--dark  { background: var(--n-950); }
.cta-preview__label { width: 100%; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }
.cta-btn {
  font-family: var(--font-head); font-weight: 800; font-size: 14px;
  padding: 12px 22px; border-radius: 10px; border: none; cursor: pointer;
}
.cta-btn--primary { background: var(--cta); color: var(--cta-text); }
.cta-btn--ghost-light { background: transparent; color: var(--n-950); border: 1.5px solid var(--cta); }
.cta-btn--ghost-dark  { background: transparent; color: var(--n-0); border: 1.5px solid var(--cta); }

/* Kontrastkort (WCAG AA) */
.contrast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.contrast-card { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.contrast-card__demo { padding: 22px 16px; }
.contrast-card__demo b { font-family: var(--font-head); font-size: 22px; font-weight: 800; display: block; }
.contrast-card__demo span { font-size: 13px; }
.contrast-card__meta { padding: 9px 12px; background: var(--white); font-size: 11px; line-height: 1.5; }
.contrast-card__meta strong { color: var(--dark); }
.contrast-card__ratio { font-family: var(--font-mono); color: var(--blue); font-weight: 600; }

/* ─── 03 TYPOGRAPHY ─── */
.typo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 52px;
}

.typo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.typo-card--primary { border-color: var(--blue); }

.typo-sample {
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.typo-meta strong {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
}

.typo-meta p { font-size: 13.5px; color: var(--mid); line-height: 1.6; margin-bottom: 20px; }

.typo-weights { display: flex; flex-direction: column; gap: 8px; }

.typo-weights div {
  font-size: 14px;
  color: var(--dark);
  padding: 8px 12px;
  background: var(--ash);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.type-scale { margin-top: 8px; }

.type-scale h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.scale-items { display: flex; flex-direction: column; gap: 0; }

.scale-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.scale-item:last-child { border-bottom: none; }

.type-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--mid);
  border-left: 3px solid var(--blue);
  padding: 8px 14px;
  background: var(--ash);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.scale-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  white-space: nowrap;
  min-width: 160px;
  font-family: var(--font-head);
  letter-spacing: .04em;
}

.scale-preview { flex: 1; color: var(--dark); }

.display-text {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.025em;
}

.h1-text {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.h2-text {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.h3-text {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
}

.ingress-text { font-family: var(--font-head); font-size: 17px; font-weight: 500; line-height: 1.6; }
.body-text { font-size: 15px; line-height: 1.7; color: #444; }
.small-text { font-size: 13px; color: var(--mid); }

/* ─── 04 LOGO ─── */
.logo-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 44px;
}

.logo-variant { border-radius: var(--radius); overflow: hidden; }

.logo-display {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 32px;
  min-height: 120px;
}

.logo-variant--light .logo-display { background: var(--white); border: 1px solid var(--border); }
.logo-variant--dark .logo-display { background: var(--dark); }
.logo-variant--blue .logo-display { background: var(--blue); }
.logo-variant--icon .logo-display { background: var(--ash); border: 1px solid var(--border); }
.logo-variant--wordmark .logo-display { background: var(--ash); border: 1px solid var(--border); }
.logo-variant--registered .logo-display { background: var(--white); border: 1px solid var(--border); }

.logo-real { display: flex; align-items: center; justify-content: center; }

.logo-variant--symbol-dark .logo-display  { background: var(--dark); }
.logo-variant--symbol-light .logo-display { background: var(--white); border: 1px solid var(--border); }
.logo-variant--symbol-blue .logo-display  { background: var(--blue); }
.logo-variant--symbol-sq .logo-display    { background: var(--blue); border-radius: 10px; padding: 20px; }

.logo-svg { width: 180px; height: auto; }

.logo-caption {
  display: block;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid);
  background: var(--ash);
  border: 1px solid var(--border);
  border-top: none;
  font-family: var(--font-head);
}

.logo-rules h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.rule {
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border);
}

.rule--do { background: #F0FBF4; border-color: #22C55E; }
.rule--dont { background: #FFF5F5; border-color: #EF4444; }

.rule__header {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.rule--do .rule__header { color: #16A34A; }
.rule--dont .rule__header { color: #DC2626; }

.rule ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.rule li {
  font-size: 13.5px;
  padding-left: 16px;
  position: relative;
  color: var(--dark);
  line-height: 1.5;
}

.rule--do li::before { content: '✓'; position: absolute; left: 0; color: #16A34A; font-weight: 700; }
.rule--dont li::before { content: '×'; position: absolute; left: 0; color: #DC2626; font-weight: 700; }

/* ─── 05 VISUAL ELEMENTS ─── */
.elements-showcase { display: flex; flex-direction: column; gap: 48px; }

.element-group h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.pattern-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pattern-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pattern-svg {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
}

.pattern-box span {
  font-size: 12px;
  color: var(--mid);
  font-weight: 600;
  font-family: var(--font-head);
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.icon-item svg {
  width: 44px;
  height: 44px;
  padding: 8px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  transition: background .15s;
}

.icon-item:hover svg { background: var(--blue); }
.icon-item:hover svg path, .icon-item:hover svg rect, .icon-item:hover svg circle { stroke: var(--white); }

.icon-item span {
  font-size: 11px;
  color: var(--mid);
  font-weight: 600;
  font-family: var(--font-head);
}

.accent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.accent-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.accent-item span {
  font-size: 11px;
  color: var(--mid);
  font-family: var(--font-head);
  font-weight: 600;
}

.accent-line-thick {
  width: 80px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
}

.accent-line-thin {
  width: 80px;
  height: 1.5px;
  background: var(--blue);
  border-radius: 1px;
}

.accent-corner {
  width: 24px;
  height: 24px;
  border-top: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
}

.accent-badge-demo {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .06em;
}

.accent-pill {
  background: var(--blue-pale);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--blue);
}

.accent-quote {
  font-family: var(--font-head);
  font-size: 60px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  opacity: .6;
}

/* ─── 06 VERBAL IDENTITY ─── */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 44px;
}

.voice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.voice-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 10px;
}

.voice-card p { font-size: 14px; color: var(--mid); line-height: 1.65; }

.voice-spectrum { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }

.spectrum-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spectrum-start,
.spectrum-end {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  min-width: 56px;
  font-family: var(--font-head);
}

.spectrum-end { text-align: right; }

.spectrum-track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
}

.spectrum-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.tone-columns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tone-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.tone-col h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}

.tone-col--use h4 { color: #16A34A; }
.tone-col--avoid h4 { color: #DC2626; }

.tone-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }

.tone-col li {
  font-size: 13.5px;
  color: var(--dark);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.tone-col--use li::before { content: '→'; position: absolute; left: 0; color: #16A34A; }
.tone-col--avoid li::before { content: '×'; position: absolute; left: 0; color: #DC2626; }

.before-after { margin-top: 44px; }
.before-after h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.ba-grid { display: flex; flex-direction: column; gap: 16px; }

.ba-item {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  gap: 12px;
  align-items: center;
}

.ba-before, .ba-after {
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}

.ba-before { background: #FFF5F5; border-color: #FECACA; }
.ba-after { background: #F0FBF4; border-color: #BBF7D0; }

.ba-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  font-family: var(--font-head);
  margin-bottom: 8px;
}

.ba-label--before { color: #DC2626; }
.ba-label--after { color: #16A34A; }

.ba-before p, .ba-after p { font-size: 14px; line-height: 1.6; font-style: italic; }

.ba-arrow {
  font-size: 20px;
  color: var(--blue);
  text-align: center;
  font-weight: 700;
}

.channel-voices { margin-top: 44px; }

.channel-voices h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.channel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}

.channel-card:hover { box-shadow: var(--shadow); }

.channel-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.channel-icon svg { width: 20px; height: 20px; }

.channel-card h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.channel-card p { font-size: 13px; color: var(--mid); line-height: 1.6; }

/* ─── 07 MESSAGING ─── */
.payoff-hero {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
}

.payoff-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19,148,216,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,148,216,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.payoff-main { position: relative; z-index: 1; }

.payoff-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-head);
}

.payoff-text {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.payoff-desc {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

.messaging-tiers h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tier-grid { display: flex; flex-direction: column; gap: 12px; }

.tier {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}

.tier--1 { border-color: var(--blue); background: var(--blue-pale); }

.tier-num {
  width: 28px; height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-content h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.tier-content p { font-size: 14px; color: var(--dark); line-height: 1.65; }

.tier-content ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.tier-content li { font-size: 14px; color: var(--mid); padding-left: 16px; position: relative; }
.tier-content li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }

.cta-examples { margin-top: 44px; }

.cta-examples h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.cta-group h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-group { display: flex; flex-direction: column; gap: 0; }
.cta-group h4 { margin-bottom: 12px; }

.cta-demo {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  margin-bottom: 8px;
  transition: all .15s;
  text-align: left;
}

.cta-demo--primary { background: var(--cta); color: var(--cta-text); }
.cta-demo--primary:hover { background: var(--cta-hover); }
.cta-demo--secondary { background: transparent; color: var(--cta-text); border: 1.5px solid var(--cta); }
.cta-demo--secondary:hover { background: var(--blue-pale); }
.cta-demo--outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.cta-demo--outline:hover { background: var(--blue-pale); }

/* ─── 08 SOCIAL MEDIA ─── */
.aida-model {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 52px;
}

.aida-step {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow .2s;
}

.aida-step:hover { box-shadow: var(--shadow); }

.aida-step--a { border-top: 3px solid var(--blue); }
.aida-step--i { border-top: 3px solid #0272A2; }
.aida-step--d { border-top: 3px solid #0D6A9E; }
.aida-step--act { border-top: 3px solid var(--dark); }

.aida-letter {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
  opacity: .25;
}

.aida-step h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.aida-step p { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 14px; }

.aida-example {
  background: var(--blue-pale);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--dark);
  line-height: 1.55;
  border-left: 3px solid var(--blue);
}

.social-templates h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.template-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--ash);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
}

.tab-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all .15s;
}

.tab-btn.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.template-content { margin-bottom: 36px; }
.template-content.hidden { display: none; }

.post-preview {
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.post-avatar {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  flex-shrink: 0;
}

.post-header strong { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.post-header span { display: block; font-size: 12px; color: var(--mid); }

.post-body { font-size: 14px; line-height: 1.7; color: var(--dark); }
.post-body p { margin-bottom: 10px; }
.post-body p:last-child { margin-bottom: 0; }

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.post-tags span {
  font-size: 12px;
  color: var(--blue);
  font-weight: 500;
}

.format-guide { margin-top: 36px; }

.format-guide h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.format-grid { display: flex; gap: 16px; flex-wrap: wrap; }

.format-card { width: 180px; }

.format-preview {
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}

.format-inner {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.format-logo-mini {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

.format-headline-mini {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.format-info strong { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.format-info span { font-size: 11px; color: var(--mid); }

/* ─── 09 AI ─── */
.ai-tabs-wrapper { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }

.ai-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--ash);
  padding: 0;
}

.ai-tab {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}

.ai-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--white);
}

.ai-tab-content { padding: 32px; }
.ai-tab-content.hidden { display: none; }

.ai-instruction-block { margin-bottom: 32px; }

.ai-instruction-header {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.ai-prompt-box {
  position: relative;
  background: #1A1D23;
  border-radius: var(--radius-sm);
  padding: 20px 20px 20px 20px;
}

.ai-prompt-box pre {
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  color: #C9D1D9;
  white-space: pre-wrap;
  line-height: 1.7;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.copy-btn:hover { background: rgba(255,255,255,.2); }

.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.do-col h4, .dont-col h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.do-col h4 { color: #16A34A; }
.dont-col h4 { color: #DC2626; }

.example-pill {
  display: block;
  margin-bottom: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
  font-style: italic;
}

.example-pill.do { background: #F0FBF4; color: var(--dark); border-left: 3px solid #22C55E; }
.example-pill.dont { background: #FFF5F5; color: var(--dark); border-left: 3px solid #EF4444; }

.prompts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.prompt-card {
  background: var(--ash);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color .2s;
}

.prompt-card:hover { border-color: var(--blue); }

.prompt-card__type {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.prompt-card p { font-size: 13.5px; color: var(--dark); line-height: 1.65; font-style: italic; }

/* ─── 10 TEMPLATES ─── */
.template-showcase { display: flex; flex-direction: column; gap: 44px; }

.template-item h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Document template */
.doc-template {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 700px;
}

.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.doc-header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.doc-date { font-size: 12px; color: var(--mid); font-family: var(--font-head); font-weight: 600; }
.doc-divider-line { width: 60px; height: 2px; background: var(--blue); border-radius: 1px; }

.doc-title-area { padding: 32px 28px 24px; }

.doc-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.doc-headline {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.doc-subline { font-size: 15px; color: var(--mid); line-height: 1.65; }

.doc-accent-bar { height: 5px; background: linear-gradient(90deg, var(--blue) 0%, #0272A2 100%); }

/* Slide template */
.slide-template {
  max-width: 700px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slide-bg {
  background: var(--dark);
  padding: 52px 48px;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19,148,216,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,148,216,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.slide-content { position: relative; z-index: 1; max-width: 420px; }

.slide-eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.slide-headline {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.slide-headline span { color: var(--blue); }

.slide-sub { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.7; }

.slide-logo-corner {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 1;
}

/* Email sig */
/* ─── EMAIL SIGNATURE ─── */
.email-sig {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 420px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  overflow: hidden;
  display: flex;
}

.sig-accent {
  width: 4px;
  background: var(--blue);
  flex-shrink: 0;
}

.sig-body {
  padding: 24px 28px;
  flex: 1;
}

.sig-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.sig-title {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 14px;
}

.sig-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

.sig-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.sig-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--dark);
}

.sig-row-icon {
  color: var(--blue);
  flex-shrink: 0;
  display: block;
}

.sig-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.sig-payoff {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  font-style: italic;
}

/* ─── BUSINESS CARD ─── */
.biz-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.biz-card-scene {
  width: 300px;
  height: 170px;
  perspective: 1000px;
  cursor: pointer;
}

.biz-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}

.biz-card-scene:hover .biz-card-inner {
  transform: rotateY(180deg);
}

.biz-card {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  padding: 22px 24px;
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.12);
  overflow: hidden;
}

.biz-card--front {
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bc-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bc-logo,
.bc-info,
.bc-payoff { position: relative; z-index: 1; }

.bc-info { display: flex; flex-direction: column; gap: 3px; }

.bc-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

.bc-title {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bc-payoff {
  font-family: var(--font-head);
  font-size: 10px;
  font-style: italic;
  color: rgba(255,255,255,.45);
  letter-spacing: .01em;
}

.biz-card--back {
  background: var(--dark);
  color: var(--white);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
}

.bc-back-logo {
  display: flex;
  justify-content: flex-start;
}

.bc-back-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bc-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bc-contact div {
  font-size: 11px;
  color: rgba(255,255,255,.6);
}

.bc-qr {
  flex-shrink: 0;
  border-radius: 4px;
  overflow: visible;
  line-height: 0;
  opacity: .92;
  position: relative;
}

.bc-qr canvas,
.bc-qr img:first-child { border-radius: 4px; display: block; }

.bc-qr-logo-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
}

.bc-qr-logo {
  width: 10px;
  height: 10px;
  display: block;
}

.bc-hint {
  font-size: 11px;
  color: var(--mid);
  opacity: .65;
  width: 300px;
  text-align: center;
}

/* ─── FOOTER ─── */
.brand-footer {
  background: var(--dark);
  padding: 40px 60px;
  margin-left: var(--sidebar-w);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.footer-inner p { font-size: 13px; color: rgba(255,255,255,.4); }

/* ─── COPY TOAST ─── */
.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all .2s ease;
  pointer-events: none;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE MENU BTN ─── */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  background: var(--blue);
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .essence-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .aida-model { grid-template-columns: 1fr 1fr; }
  .channel-grid { grid-template-columns: 1fr 1fr; }
  .prompts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }

  .sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
    width: 240px;
    z-index: 150;
  }

  .sidebar.open { transform: translateX(0); }

  .mobile-menu-btn { display: flex; }

  .main { margin-left: 0; }

  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 48px;
  }

  .hero__graphic { display: none; }

  .section { padding: 48px 24px; }

  .typo-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .logo-showcase { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .ba-item { grid-template-columns: 1fr; }
  .ba-arrow { display: none; }
  .cta-grid { grid-template-columns: 1fr; }
  .dos-donts { grid-template-columns: 1fr; }
  .payoff-hero { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .payoff-text { font-size: 28px; white-space: normal; }
  .color-grid { grid-template-columns: 1fr 1fr; }
  .brand-footer { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .essence-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .aida-model { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
  .prompts-grid { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: 1fr; }
  .combo-row { flex-direction: column; }
  .hero__title { font-size: 48px; }
}

/* ─────────────────────────────────────────
   11 IKONBIBLIOTEK
───────────────────────────────────────── */
.icon-group-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  font-family: var(--font-head);
  letter-spacing: -.01em;
}
.icon-group-title:first-of-type { margin-top: 8px; }

.icon-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}

.icon-lib-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
  text-align: center;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.icon-lib-item::after {
  content: 'Kopiera SVG';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--blue);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s;
  pointer-events: none;
  font-family: var(--font-head);
}
.icon-lib-item:hover::after { opacity: 1; }
.icon-lib-item:hover {
  border-color: var(--blue);
  background: var(--blue-pale, #e8f6fd);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6,97,134,.12);
}
.icon-lib-item:active { transform: scale(.96); box-shadow: none; }

.icon-lib-item span {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--mid);
  line-height: 1.25;
  font-family: var(--font-head);
  letter-spacing: .02em;
  word-break: break-word;
  hyphens: auto;
  width: 100%;
}
.icon-lib-item:hover span { color: var(--blue); }

.icon-lib-display {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}
.icon-lib-display img { max-width: 44px; max-height: 44px; object-fit: contain; }
.icon-lib-display svg { width: 34px; height: 34px; }

.icon-usage-guide {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.icon-usage-ex {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 600;
}

@media (max-width: 768px) {
  .icon-library-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
}
@media (max-width: 480px) {
  .icon-library-grid { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
  .icon-lib-display { width: 40px; height: 40px; }
}
