/* NordicScan marketing site
   Static, mobile-first, minimal dependencies.
   Direction F (Bear-Forward Warm) — tokens derive from the app design system
   (design-system/tokens/, ff_theme). See docs/company/strategy/launch_creative/
   visual_redesign/ (p2a spec + 2026-07-02 pick record). Legacy #3569b4 retired.
*/

/* Self-hosted Encode Sans Semi Expanded (OFL) — zero third-party requests. */
@font-face{
  font-family: 'Encode Sans Semi Expanded';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/encode-sans-semi-expanded-400.woff2') format('woff2');
}
@font-face{
  font-family: 'Encode Sans Semi Expanded';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/encode-sans-semi-expanded-500.woff2') format('woff2');
}
@font-face{
  font-family: 'Encode Sans Semi Expanded';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/encode-sans-semi-expanded-600.woff2') format('woff2');
}

:root{
  --color-bg: #ffffff;
  --color-surface: #f6f8fa;       /* app scaffold gray */
  --color-surface-2: #e5f1ff;     /* app secondary — pale blue */
  --color-text: #000000;          /* app primaryText */
  --color-muted: #57636c;         /* app secondaryText — AA on white */
  --color-border: #e0e3e7;        /* app alternate */

  --color-primary: #1e82f2;       /* app primary */
  --color-primary-700: #186fcf;   /* hover darken ~12% */
  --color-accent: #ff5963;        /* app error — semantic alert/recall FILLS only, never decorative */
  --color-success: #249689;       /* app success */

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 4px rgba(16,24,40,.04), 0 8px 24px rgba(30,130,242,.08);
  --shadow: 0 8px 24px rgba(30,130,242,.10), 0 20px 48px rgba(16,24,40,.08);

  --container: 1120px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 44px;
  --space-7: 64px;

  --font: 'Encode Sans Semi Expanded', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 17px;
  line-height: 1.55;
}

img{
  max-width: 100%;
  height: auto;
}

a{ color: inherit; }
a:hover{ text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible{
  outline: 3px solid rgba(30,130,242,.45);
  outline-offset: 2px;
  border-radius: 8px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--color-bg);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  z-index: 999;
}
.skip-link:focus{ left: 8px; }

.container{
  width: min(var(--container), 100% - 2*var(--space-4));
  margin-inline: auto;
}

.main{ padding-top: 0; }

/* ===== Header / Nav ===== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .2px;
}
.brand img{ display: block; height: 34px; width: auto; }
.brand-name{
  font-size: 16px;
}

.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(16,24,40,.04);
  cursor: pointer;
}

.nav{
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  padding: 14px 0 18px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.nav[data-open="true"]{ display: block; }

.nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.nav-list a{
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
}
.nav-list a:hover{
  background: var(--color-surface-2);
  color: var(--color-primary);
}
.nav-list a[aria-current="page"]{
  background: var(--color-surface-2);
  color: var(--color-primary-700);
  font-weight: 600;
}

.nav-cta{
  padding: 12px 18px 0;
}

@media (min-width: 920px){
  .nav-toggle{ display: none; }
  .nav{
    display: flex;
    align-items: center;
    gap: 10px;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
  }
  .nav-list{
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav-list a{
    padding: 10px 15px;
  }
  .nav-cta{ padding: 0; }
}

/* ===== Typography ===== */

h1,h2,h3{
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  font-weight: 600; /* app ramp tops out at 600 — scale comes from size, not weight */
}

h1{ font-size: clamp(36px, 5.2vw, 64px); }
h2{ font-size: clamp(28px, 3.8vw, 44px); }
h3{ font-size: 24px; font-weight: 500; }

strong, b{ font-weight: 600; }

p{ margin: 0 0 var(--space-3); }
.lead{
  font-size: 19px;
  color: var(--color-muted);
  max-width: 60ch;
}
.muted{ color: var(--color-muted); }
.fineprint{
  font-size: 13px;
  color: var(--color-muted);
}

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

.hr{
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--space-6) 0;
}

/* ===== Buttons — app pill idiom ===== */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  min-height: 48px;
  cursor: pointer;
  user-select: none;
}

.btn-primary{
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30,130,242,.28);
}
.btn-primary:hover{ background: var(--color-primary-700); }

.btn-secondary{
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-secondary:hover{ background: var(--color-surface-2); }

.btn-ghost{
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-ghost:hover{ background: var(--color-surface); }

/* Pre-launch state reads as intentional (Soon chip), never broken/faded. */
.btn.is-disabled,
a[aria-disabled="true"]{
  pointer-events: none;
}

.soon{
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
}
.btn-primary .soon{
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
}
.btn-secondary .soon{
  background: var(--color-surface-2);
  color: var(--color-primary);
}

/* ===== Badges / Chips ===== */

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid rgba(30,130,242,.25);
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(16,24,40,.05);
}

.badge-neutral{ background: #fff; }
.badge-positive{
  border-color: rgba(36,150,137,.3);
  background: rgba(36,150,137,.08);
  color: var(--color-text);
}
.badge-negative{
  border-color: rgba(255,89,99,.35);
  background: rgba(255,89,99,.08);
  color: var(--color-text);
}

.tag-chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--color-border);
  background: #fff;
  white-space: nowrap;
}
.tag-chip[data-polarity="negative"]{
  border-color: rgba(255,89,99,.35);
  background: rgba(255,89,99,.07);
}
.tag-chip[data-polarity="positive"]{
  border-color: rgba(36,150,137,.3);
  background: rgba(36,150,137,.07);
}

/* ===== Sections ===== */

.section{
  padding: var(--space-7) 0;
}
.section-muted{
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-2) 50%, #ffffff 100%);
}

.section-title{
  max-width: 28ch;
}
.section-kicker{
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  margin-bottom: var(--space-2);
}

/* ===== Hero ===== */

.hero{
  padding: 44px 0 0;
  background: linear-gradient(180deg, var(--color-surface-2) 0%, rgba(229,241,255,.45) 55%, #ffffff 100%);
  overflow: hidden;
}

.hero-grid{
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.hero-copy .eyebrow{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-3);
}

/* Direction F: centered hero copy */
.hero-centered{
  text-align: center;
}
.hero-centered .hero-copy{
  max-width: 820px;
  margin-inline: auto;
}
.hero-centered .eyebrow{
  justify-content: center;
}
.hero-centered .lead{
  margin-inline: auto;
}
.hero-centered .cta-row{
  justify-content: center;
}

.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--space-4) 0 var(--space-2);
}

.hero-media{
  display: grid;
  place-items: center;
  gap: var(--space-4);
}

.hero-bear{
  width: min(420px, 85vw);
  filter: drop-shadow(0 18px 38px rgba(16,24,40,.14));
}

.phone-mock{
  width: min(360px, 82vw);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

@media (min-width: 920px){
  .hero-grid{
    grid-template-columns: 1.05fr .95fr;
  }
  .hero-media{
    justify-items: end;
  }
}

/* Direction F hero stage: waving bear beside a representative app screen.
   The phone must never be flex-squeezed (pick record 2026-07-02). */
.hero-stage{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-top: var(--space-6);
  position: relative;
}
.hero-stage .hero-bear{
  width: 230px;
  margin-right: -34px;
  margin-bottom: 36px;
  z-index: 2;
}
@media (max-width: 719px){
  .hero-stage .hero-bear{
    position: absolute;
    width: 118px;
    left: max(0px, calc(50% - 205px));
    bottom: 26px;
    margin: 0;
  }
}

.phone{
  width: min(320px, 86vw);
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 36px 36px 0 0;
  border-bottom: 0;
  box-shadow: var(--shadow);
  padding: 14px 14px 0;
  position: relative;
}
.phone-screen{
  background: var(--color-surface);
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-bottom: 0;
}
.p-head{
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
}
.p-head img{ height: 20px; width: auto; }
.p-body{ padding: 14px 14px 40px; }
.p-hello{ font-size: 13.5px; color: var(--color-muted); margin: 0 0 10px; }
.p-hello strong{ color: var(--color-text); }
.p-scan{
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-primary);
  border-radius: 18px;
  padding: 14px;
  color: #fff;
}
.p-scan-icon{
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.22);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.p-scan-title{ font-weight: 600; font-size: 15px; line-height: 1.2; }
.p-scan-sub{ font-size: 11.5px; opacity: .9; }
.p-label{ font-size: 12.5px; font-weight: 600; margin: 14px 0 8px; }
.p-row{
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.p-thumb{ width: 34px; height: 34px; border-radius: 10px; background: var(--color-surface-2); flex: 0 0 auto; }
.p-row-name{ font-size: 13px; font-weight: 600; line-height: 1.25; }
.p-row-brand{ font-size: 11.5px; color: var(--color-muted); }
.p-pill{
  margin-left: auto;
  min-width: 34px;
  text-align: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 0;
  flex: 0 0 auto;
}
/* Severity fills appear ONLY inside the representative app screen (semantic app UI),
   never as site chrome. */
.p-pill[data-band="hazardous"]{ background: #ff5963; }
.p-pill[data-band="poor"]{ background: #f5a623; }
.p-pill[data-band="excellent"]{ background: #24a148; }

.plate-caption{
  font-size: 12.5px;
  color: var(--color-muted);
  text-align: center;
  margin: 2px 0 10px;
}

/* ===== Grids / Cards ===== */

.grid-3{
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 860px){
  .grid-3{
    grid-template-columns: repeat(3, 1fr);
  }
}

.card{
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: var(--space-5) var(--space-4);
  box-shadow: var(--shadow-sm);
}

.card h3{ margin-top: 6px; font-size: 23px; }
.card p{ margin-bottom: 0; font-size: 15.5px; }

.grid-3 .card{ text-align: center; }
.grid-3 .card p{ text-align: left; }

.icon{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--color-surface-2);
  color: var(--color-primary);
  border: 0;
}

.icon svg{ width: 24px; height: 24px; }

/* ===== Steps ===== */

.steps{
  display: grid;
  gap: var(--space-4);
}
.step{
  display: grid;
  gap: 10px;
  grid-template-columns: 44px 1fr;
  align-items: start;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 0;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.step-num{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-surface-2);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 19px;
}

@media (min-width: 860px){
  .steps{
    grid-template-columns: repeat(3, 1fr);
  }
  .step{
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .step p{ text-align: left; }
}

/* Section-illustration bears (max 1 per viewport; never beside severity data) */
.section-bear{
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.section-bear img{ width: 150px; }

/* ===== Callout ===== */

.callout{
  display: grid;
  gap: var(--space-4);
  align-items: center;
  border-radius: 28px;
  padding: var(--space-6) var(--space-5);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.callout-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.callout-bear{
  display: flex;
  justify-content: center;
}
.callout-bear img{ width: 190px; }

@media (min-width: 880px){
  .callout.has-bear{
    grid-template-columns: .55fr 1.45fr;
  }
}

/* ===== Story-led marketing blocks ===== */

.story-hero{
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.story-hero-media{
  display: grid;
  gap: 10px;
  justify-items: center;
}

.story-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-4);
}

.metric-strip{
  display: grid;
  gap: 12px;
  margin-top: var(--space-4);
}

.metric{
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fff;
}

.metric strong{
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.screen-frame{
  width: min(390px, 100%);
  padding: 14px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.screen-frame img{
  display: block;
  width: 100%;
  border-radius: 26px;
}

.proof-grid{
  display: grid;
  gap: var(--space-3);
  margin-top: 24px;
}

.proof-label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mini-list{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.mini-list li{
  position: relative;
  padding-left: 22px;
  color: var(--color-muted);
}

.mini-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
}

.story-stack{
  display: grid;
  gap: var(--space-6);
  margin-top: 28px;
}

.story-block{
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.story-copy{
  max-width: 58ch;
}

.story-card{
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.story-card .section-kicker{
  margin-bottom: 10px;
}

.story-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.story-meta .badge{
  background: var(--color-surface);
}

.story-media{
  display: grid;
  gap: 12px;
}

.screen-caption{
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.journey-grid{
  display: grid;
  gap: var(--space-3);
  margin-top: 24px;
}

.journey-card{
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.journey-card strong{
  display: block;
  margin-bottom: 6px;
}

@media (min-width: 860px){
  .proof-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 920px){
  .story-hero{
    grid-template-columns: 1.05fr .95fr;
  }
  .metric-strip{
    grid-template-columns: repeat(3, 1fr);
  }
  .story-block{
    grid-template-columns: 1fr 1fr;
  }
  .story-block.is-reversed .story-copy{
    order: 2;
  }
  .story-block.is-reversed .story-media{
    order: 1;
  }
}

/* ===== Tag explorer ===== */

.tag-explorer{
  display: grid;
  gap: var(--space-3);
}

.tag-search{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tag-search input[type="search"]{
  flex: 1 1 260px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 16px;
  font-family: var(--font);
}

.tag-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ===== FAQ details ===== */

.faq{
  display: grid;
  gap: 14px;
}

details{
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  overflow: hidden;
}

summary{
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker{ display: none; }
summary::after{
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--color-primary);
  flex: 0 0 auto;
}
details[open] summary::after{ content: "–"; }

details .details-body{
  padding: 0 22px 20px;
  color: var(--color-muted);
}

/* ===== Footer ===== */

.site-footer{
  border-top: 0;
  background: var(--color-surface-2);
  border-radius: 40px 40px 0 0;
  margin-top: 20px;
  padding: var(--space-7) 0 var(--space-4);
}

.footer-grid{
  display: grid;
  gap: var(--space-5);
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a{ text-decoration: none; color: var(--color-muted); }
.footer-links a:hover{ text-decoration: underline; color: var(--color-primary); }

.footer-bottom{
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(30,130,242,.18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--color-muted);
  font-size: 13px;
}

@media (min-width: 860px){
  .footer-grid{
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* ===== Motion preferences ===== */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* ===== Markdown content (build-time rendered) ===== */
.markdown{
  max-width: 80ch;
}

.markdown h2{
  margin: var(--space-6) 0 var(--space-3);
}

.markdown h3{
  margin: var(--space-4) 0 10px;
}

.markdown p{
  margin: 0 0 var(--space-3);
}

.markdown ul,
.markdown ol{
  margin: 0 0 var(--space-3);
  padding-left: 1.25em;
}

.markdown li{
  margin: 0 0 8px;
}

.markdown table{
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--space-4);
  background: var(--color-bg);
  /* mobile: tables scroll inside their own box instead of pushing past the container */
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.markdown table thead,
.markdown table tbody{
  display: table;
  width: 100%;
  min-width: 560px;
}

.markdown th,
.markdown td{
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  vertical-align: top;
}

.markdown th{
  background: var(--color-surface);
  font-weight: 600;
  text-align: left;
}

.markdown blockquote{
  margin: 0 0 var(--space-4);
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-surface-2), #fff);
  border: 1px solid rgba(30,130,242,.18);
}

.markdown blockquote p{
  margin: 0;
}

.markdown code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: rgba(16,24,40,.06);
  padding: 2px 6px;
  border-radius: 8px;
}

.markdown pre{
  background: rgba(16,24,40,.06);
  padding: 14px 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 0 0 var(--space-4);
}

.markdown pre code{
  background: transparent;
  padding: 0;
}

.markdown a{
  color: var(--color-primary-700);
}

/* ===== Brand lockup (bear standard, operator-approved 2026-07-07) =====
   Real app bear (bear-auth_skin) + live-text wordmark replaces the retired
   geometric wordmark PNG / logo.svg on every masthead. */
.brand img.brand-bear{
  height: 38px;
  width: 38px;
  border-radius: 50%;
}
.brand-word{
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}
.brand-word .brand-word-scan{ color: var(--color-text); }
.p-head img.brand-bear{ height: 20px; width: 20px; }
.p-head .brand-word{ font-size: 13px; }
