/* =========================================================
   Bygge.chat — Marketing / public site styles
   Recreated from design/bygge_chat (build-spec) for the Django stack.
   Scoped under `.bc-page` (set on <body> for front-pages) so it never
   collides with the chat app, admin, or the global Tailwind bundle.
   ========================================================= */

:root {
  --br-green: #6faf15;
  --br-green-hover: #5d9411;
  --br-green-deep: #4d7b0e;
  --br-green-soft: #e7f2d4;
  --br-green-tint: #f3f9e8;
  --br-paragraf: #6faf15;

  --br-ink: #0f1d2d;
  --br-ink-soft: #1d2940;
  --br-body: #3d4655;
  --br-muted: #6b7280;

  --br-bg: #f5f6f8;
  --br-tint: #eef2f6;
  --br-card: #ffffff;
  --br-border: #e5e7eb;
  --br-border-strong: #d1d5db;

  --br-blue: #3477d9;
  --br-blue-soft: #e4edfb;
  --br-blue-tint: #f0f5fd;
  --br-chat-dark: #1c2436;
  --br-chat-dark-2: #141a28;
  --br-chat-user: #3477d9;

  --amber-1: #f7b733;
  --amber-2: #f59e2e;
  --amber-ink: #4a2f06;

  --br-shadow-sm: 0 1px 2px rgba(15, 29, 45, 0.05), 0 1px 3px rgba(15, 29, 45, 0.04);
  --br-shadow-md: 0 4px 10px rgba(15, 29, 45, 0.06), 0 8px 24px rgba(15, 29, 45, 0.05);
  --br-shadow-lg: 0 8px 18px rgba(15, 29, 45, 0.08), 0 24px 48px rgba(15, 29, 45, 0.08);
  --br-shadow-xl: 0 30px 60px rgba(15, 29, 45, 0.18), 0 8px 18px rgba(15, 29, 45, 0.08);

  --r-pill: 999px;
  --r-card: 16px;
  --r-card-lg: 20px;
  --r-input: 10px;
  --r-chip: 8px;

  --ff: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
}

/* ----- Base (scoped) ----- */
body.bc-page {
  margin: 0;
  font-family: var(--ff);
  color: var(--br-body);
  background: var(--br-card);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.bc-page *, .bc-page *::before, .bc-page *::after { box-sizing: border-box; }
.bc-page a { color: inherit; text-decoration: none; }
.bc-page button { font-family: inherit; }
.bc-page h1, .bc-page h2, .bc-page h3, .bc-page h4 {
  font-family: var(--ff);
  color: var(--br-ink);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.bc-page p { margin: 0; }
.bc-page img, .bc-page svg { display: block; max-width: 100%; }

/* ----- Layout ----- */
.bc-page .container {
  --bc-pad: clamp(20px, 5vw, 56px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--bc-pad);
}
.bc-page .section { padding: clamp(64px, 9vw, 112px) 0; }
.bc-page .section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.bc-page .eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--br-green);
}

/* ----- Buttons ----- */
.bc-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.bc-page .btn-primary {
  background: var(--br-green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(34, 110, 28, 0.18), 0 4px 12px rgba(34, 110, 28, 0.18);
}
.bc-page .btn-primary:hover {
  background: var(--br-green-hover);
  box-shadow: 0 2px 4px rgba(34, 110, 28, 0.22), 0 10px 24px rgba(34, 110, 28, 0.22);
}
.bc-page .btn-primary:active { background: var(--br-green-deep); }
.bc-page .btn-outline { background: #fff; color: var(--br-ink); border-color: var(--br-border-strong); }
.bc-page .btn-outline:hover { border-color: var(--br-ink); background: #fafafa; }
.bc-page .btn-ghost { background: transparent; color: var(--br-ink); }
.bc-page .btn-ghost:hover { background: rgba(15, 29, 45, 0.05); }
.bc-page .btn-lg { padding: 16px 28px; font-size: 16px; }
.bc-page .btn-sm { padding: 9px 16px; font-size: 14px; }

/* ----- Typography presets ----- */
.bc-page .h-hero { font-size: clamp(36px, 4.2vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
.bc-page .h-section { font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.bc-page .h-card { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--br-ink); }
.bc-page .body-lg { font-size: 19px; line-height: 1.55; color: var(--br-body); }
.bc-page .body { font-size: 17px; line-height: 1.6; color: var(--br-body); }
.bc-page .small { font-size: 14px; color: var(--br-muted); }

/* ----- Card ----- */
.bc-page .card {
  background: var(--br-card);
  border: 1px solid var(--br-border);
  border-radius: var(--r-card-lg);
  padding: 28px;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.bc-page .card-soft { background: var(--br-card); border: 1px solid var(--br-border); border-radius: var(--r-card-lg); }
.bc-page .card.hover:hover { box-shadow: var(--br-shadow-md); transform: translateY(-2px); border-color: #dadde3; }

/* ----- Navbar ----- */
.bc-page .nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.bc-page .nav.scrolled { border-bottom-color: var(--br-border); }
.bc-page .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.bc-page .nav-links { display: flex; align-items: center; gap: 28px; }
.bc-page .nav-links a { font-size: 15px; color: var(--br-ink); font-weight: 500; transition: color 160ms ease; }
.bc-page .nav-links a:hover,
.bc-page .nav-links a.active { color: var(--br-green); }
.bc-page .nav-actions { display: flex; align-items: center; gap: 8px; }
.bc-page .nav-lang { display: inline-flex; align-items: center; }
.bc-page .nav-lang button { background: transparent; border: 0; cursor: pointer; padding: 4px; font-size: 18px; line-height: 1; }
.bc-page .nav-burger { display: none; background: transparent; border: 0; cursor: pointer; color: var(--br-ink); padding: 6px; }

/* ----- Logo ----- */
.bc-page .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--br-ink); }
.bc-page .logo img { width: 36px; height: 36px; display: block; }
.bc-page .logo-text { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: inherit; }
.bc-page .logo-text .dot { color: var(--br-green); }

/* ----- Mobile menu ----- */
.bc-page .mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: #fff;
  box-shadow: var(--br-shadow-xl);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
}
.bc-page .mobile-menu.open { transform: translateX(0); }
.bc-page .mobile-menu a { padding: 12px 8px; font-size: 17px; font-weight: 500; color: var(--br-ink); border-bottom: 1px solid var(--br-border); }
.bc-page .mobile-menu .btn { margin-top: 8px; }
.bc-page .mobile-menu-close { align-self: flex-end; background: transparent; border: 0; cursor: pointer; color: var(--br-ink); padding: 6px; }
.bc-page .nav-overlay { position: fixed; inset: 0; background: rgba(15, 29, 45, 0.4); z-index: 65; opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.bc-page .nav-overlay.open { opacity: 1; pointer-events: auto; }

/* ----- Hero ----- */
.bc-page .hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
  background:
    radial-gradient(1100px 540px at -10% -10%, rgba(111, 175, 21, 0.06), transparent 60%),
    radial-gradient(900px 480px at 110% -10%, rgba(37, 99, 235, 0.04), transparent 60%),
    linear-gradient(180deg, #fbfcfd 0%, #f5f6f8 100%);
  overflow: hidden;
}
.bc-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
}
.bc-page .hero-text { position: relative; z-index: 2; }
.bc-page .hero h1 { color: var(--br-ink); }
.bc-page .hero h1 .accent { color: var(--br-green); white-space: nowrap; }
.bc-page .hero-sub { margin-top: 24px; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; color: var(--br-body); max-width: 520px; }
.bc-page .hero-sub + .hero-sub { margin-top: 14px; }
.bc-page .hero-cta { margin-top: 36px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bc-page .hero-meta { margin-top: 20px; display: flex; align-items: center; gap: 10px; color: var(--br-muted); font-size: 14px; }
.bc-page .hero-meta .dot { width: 5px; height: 5px; background: var(--br-green); border-radius: 999px; display: inline-block; }
.bc-page .hero-visual { position: relative; margin-right: calc(50% - 50vw); }
.bc-page .hero-photo {
  position: relative;
  height: clamp(460px, 58vw, 700px);
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
.bc-page .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bc-page .hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 252, 253, 1) 0%, rgba(251, 252, 253, 0.92) 8%, rgba(251, 252, 253, 0) 30%);
  pointer-events: none;
  z-index: 1;
}
.bc-page .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 252, 253, 0.7) 0%, rgba(251, 252, 253, 0) 14%),
    linear-gradient(180deg, rgba(245, 246, 248, 0) 78%, rgba(245, 246, 248, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ----- Section header ----- */
.bc-page .section-head { text-align: center; margin-bottom: 56px; }
.bc-page .section-head h2 { margin-bottom: 16px; }
.bc-page .section-head p { max-width: 640px; margin: 0 auto; color: var(--br-body); font-size: 17px; }

/* ----- Value Props grid ----- */
.bc-page .vprops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bc-page .vprop { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.bc-page .vprop-head { display: flex; align-items: center; gap: 12px; }
.bc-page .vprop-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--br-blue-tint); color: var(--br-blue);
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--br-blue-soft);
}
.bc-page .vprop h3 { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--br-ink); }
.bc-page .vprop .thumb {
  background: #fafbfc; border: 1px solid var(--br-border); border-radius: 12px;
  height: 168px; overflow: hidden; position: relative; display: grid; place-items: center;
}
.bc-page .vprop p { font-size: 14.5px; color: var(--br-body); line-height: 1.5; }

/* ----- Mid CTA ----- */
.bc-page .midcta {
  background: var(--br-green-tint); border: 1px solid var(--br-green-soft);
  border-radius: 20px; padding: 32px 36px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
}
.bc-page .midcta-icon {
  width: 64px; height: 64px; border-radius: 16px; background: #fff;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--br-green-soft); box-shadow: 0 2px 6px rgba(15, 29, 45, 0.04);
}
.bc-page .midcta-icon img { width: 38px; height: 38px; display: block; }
.bc-page .midcta h3 { font-size: 24px; font-weight: 600; color: var(--br-ink); margin-bottom: 4px; }
.bc-page .midcta p { color: var(--br-body); font-size: 16px; }

/* ----- Workflow ----- */
.bc-page .workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bc-page .wf-card { display: flex; flex-direction: column; gap: 16px; }
.bc-page .wf-step {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--br-blue);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.bc-page .wf-step .num {
  width: 22px; height: 22px; border-radius: 999px; background: var(--br-blue); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.bc-page .wf-card h3 { font-size: 19px; font-weight: 600; color: var(--br-ink); line-height: 1.3; }
.bc-page .wf-card p { font-size: 15px; color: var(--br-body); }
.bc-page .wf-card .thumb {
  background: #fafbfc; border: 1px solid var(--br-border); border-radius: 14px;
  height: 220px; overflow: hidden; margin-top: 4px; position: relative;
}

/* ----- Trust ----- */
.bc-page .trust { background: linear-gradient(180deg, #f5f6f8 0%, #eef2f6 100%); border-top: 1px solid var(--br-border); border-bottom: 1px solid var(--br-border); }
.bc-page .trust-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.bc-page .trust-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--br-green-tint); border: 1px solid var(--br-green-soft);
  display: grid; place-items: center; color: var(--br-green); flex-shrink: 0;
}
.bc-page .trust h3 { font-size: 26px; font-weight: 600; color: var(--br-ink); margin-bottom: 10px; }
.bc-page .trust p { color: var(--br-body); }
.bc-page .trust p + p { margin-top: 10px; }
.bc-page .trust em { color: var(--br-ink); font-style: normal; font-weight: 500; }
.bc-page .trust-partner { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; color: var(--br-muted); font-size: 13px; }
.bc-page .trust-partner .partner-mark { font-family: var(--ff); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; color: var(--br-ink); line-height: 1.1; text-align: right; }

/* ----- Footer ----- */
.bc-page .footer { background: var(--br-chat-dark-2); color: #c8ced9; padding: 64px 0 40px; white-space: normal; }
.bc-page .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.bc-page .footer-grid > div { text-align: left; }
.bc-page .footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; margin-bottom: 12px; text-align: left; }
.bc-page .footer ul { list-style: none; padding: 0; margin: 0; display: block; text-align: left; }
.bc-page .footer ul li { line-height: 1.45; }
.bc-page .footer a { font-size: 15px; line-height: 1.45; color: #c8ced9; transition: color 160ms ease; }
.bc-page .footer a:hover { color: #fff; }
.bc-page .footer-brand .logo { color: #fff; }
.bc-page .footer-tagline {
  font-style: italic; color: #9aa1b0; font-size: 14.5px; max-width: 640px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bc-page .footer-bottom {
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #8a91a0;
}
.bc-page .footer-socials { display: flex; gap: 12px; }
.bc-page .footer-socials a { width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); display: grid; place-items: center; color: #c8ced9; }
.bc-page .footer-socials a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ----- Announcement streamer ----- */
.bc-page .streamer { background: linear-gradient(90deg, var(--amber-1) 0%, var(--amber-2) 100%); color: var(--amber-ink); font-size: 14px; line-height: 1.4; position: relative; z-index: 60; }
.bc-page .streamer-inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 44px; text-align: center; }
.bc-page .streamer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--br-green); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; flex-shrink: 0;
}
.bc-page .streamer-text strong { font-weight: 700; }
.bc-page .streamer-text .strike { opacity: 0.65; text-decoration: line-through; text-decoration-thickness: 1.5px; margin-right: 2px; }
.bc-page .streamer-link { color: var(--amber-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; white-space: nowrap; }
.bc-page .streamer-link:hover { text-decoration-thickness: 2px; }
.bc-page .streamer-close {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center;
  color: rgba(74, 47, 6, 0.7); cursor: pointer; background: transparent; border: 0;
  transition: background 160ms ease, color 160ms ease;
}
.bc-page .streamer-close:hover { background: rgba(74, 47, 6, 0.12); color: var(--amber-ink); }

/* ----- Generic prose / page sections (priser, om, kontakt) ----- */
.bc-page .page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); background: linear-gradient(180deg, #fbfcfd 0%, #f5f6f8 100%); }
.bc-page .page-hero .eyebrow { margin-bottom: 14px; }
.bc-page .page-hero h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.bc-page .page-hero p { margin-top: 18px; max-width: 640px; font-size: 18px; color: var(--br-body); }
.bc-page .prose { max-width: 760px; }
.bc-page .prose h2 { font-size: 28px; font-weight: 600; margin: 36px 0 12px; }
.bc-page .prose h3 { font-size: 21px; font-weight: 600; margin: 28px 0 10px; color: var(--br-ink); }
.bc-page .prose p { margin-bottom: 14px; color: var(--br-body); }
/* Punktlisterne paa funktioner/om os er selv <ul class="prose"> — ikke en ul
   inde i .prose — saa selectoren skal daekke begge, ellers vises ingen punkter. */
.bc-page .prose ul, .bc-page ul.prose { margin: 0 0 16px; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bc-page .prose ul li, .bc-page ul.prose li { position: relative; padding-left: 30px; color: var(--br-body); }
.bc-page .prose ul li::before, .bc-page ul.prose li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px;
  background: var(--br-green-tint); border: 1px solid var(--br-green-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236faf15' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Two-column feature row (about / funktioner) */
.bc-page .feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bc-page .feature-row + .feature-row { margin-top: clamp(48px, 7vw, 96px); }
.bc-page .feature-row.reverse .feature-media { order: -1; }
.bc-page .feature-text h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.bc-page .feature-text p { color: var(--br-body); margin-bottom: 14px; }
.bc-page .feature-media { position: relative; }

/* Pricing */
.bc-page .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1120px; margin: 0 auto; align-items: stretch; }
.bc-page .price-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.bc-page .price-card.featured { border-color: var(--br-green-soft); box-shadow: var(--br-shadow-md); }
.bc-page .price-card:hover { transform: translateY(-3px); box-shadow: var(--br-shadow-md); border-color: #dadde3; }
.bc-page .price-card.featured:hover { border-color: var(--br-green); }
.bc-page .price-card .plan { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--br-green); }
.bc-page .price-card .amount { font-size: 40px; font-weight: 700; color: var(--br-ink); letter-spacing: -0.02em; }
.bc-page .price-card .amount span { font-size: 16px; font-weight: 500; color: var(--br-muted); }
.bc-page .price-card .desc { color: var(--br-body); font-size: 15px; }
.bc-page .price-card .tier-list { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; }
.bc-page .price-card .tier-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--br-border); }
.bc-page .price-card .tier-list li:first-child { border-top: 0; padding-top: 2px; }
.bc-page .price-card .tier-label { font-size: 14.5px; color: var(--br-body); }
.bc-page .price-card .tier-price { font-size: 21px; font-weight: 700; color: var(--br-ink); letter-spacing: -0.01em; white-space: nowrap; }
.bc-page .price-card .tier-price span { font-size: 12.5px; font-weight: 500; color: var(--br-muted); margin-left: 2px; }

/* CTA band */
.bc-page .cta-band { background: var(--br-chat-dark-2); border-radius: 24px; padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; }
.bc-page .cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.02em; }
.bc-page .cta-band p { color: #c8ced9; max-width: 720px; margin: 16px auto 28px; font-size: 17px; text-wrap: balance; }

/* Legacy front-pages (get-access, terms, prices header) use blue header blocks.
   Keep text on a blue background white — overrides the .bc-page heading ink color. */
.bc-page .GA_HEADING,
.bc-page .GA_INTRO,
.bc-page .TAC-Title,
.bc-page .BlueHeaderTAC, .bc-page .BlueHeaderTAC h1, .bc-page .BlueHeaderTAC h2,
.bc-page .BlueHeaderGA, .bc-page .BlueHeaderGA h1, .bc-page .BlueHeaderGA h2,
.bc-page .blue-box, .bc-page .blue-box h1, .bc-page .blue-box h2, .bc-page .blue-box h3, .bc-page .blue-box p, .bc-page .blue-box a {
  color: #fff;
}

/* ----- Lange tekstsider (vilkår, cookies) ----- */
/*
  .bc-page nulstiller margin på både overskrifter og afsnit, fordi resten af
  designet sætter afstand pr. sektion. De to lange tekstsider har ingen
  sektioner — de er løbende brødtekst — og blev derfor til én mur uden luft
  over overskrifterne og uden afstand mellem afsnittene.

  Rytmen genskabes her, afgrænset til .FP_PAGE så intet andet berøres.
*/
.bc-page .FP_PAGE article h3 {
  margin-top: 2.75rem;
  margin-bottom: .6rem;
}
/* Sidens egen titel skal ikke skubbes ned — den er det første i artiklen. */
.bc-page .FP_PAGE article > h3:first-child { margin-top: 0; }

.bc-page .FP_PAGE article p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

/* Cookiesiden bruger <b> som underoverskrift på egen linje. Kun direkte børn,
   så fed skrift inde i en sætning ikke bliver til et linjeskift. */
.bc-page .FP_PAGE article > b {
  display: block;
  margin-top: 1.75rem;
  margin-bottom: .35rem;
}
.bc-page .FP_PAGE article > h3 + b { margin-top: .75rem; }

/* ----- Helpers ----- */
.bc-page .text-center { text-align: center; }
.bc-page .mx-auto { margin-left: auto; margin-right: auto; }
.bc-page .mt-3 { margin-top: 16px; }
.bc-page .mt-4 { margin-top: 24px; }

/* =========================================================
   Product-UI mock thumbnails (the green § box, chat, upload, history)
   ========================================================= */
.bc-page .cm-shell {
  display: grid; grid-template-columns: 220px 1fr 240px; background: #fff;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--br-border);
  box-shadow: var(--br-shadow-lg); font-family: var(--ff); color: var(--br-ink);
  height: 100%; font-size: 13px;
}
.bc-page .cm-sidebar { background: var(--br-chat-dark); color: #c8ced9; padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.bc-page .cm-sidebar-logo { display: flex; align-items: center; gap: 8px; padding: 4px 4px 8px; }
.bc-page .cm-sidebar-logo .name { font-weight: 600; color: #fff; font-size: 14px; letter-spacing: -0.01em; }
.bc-page .cm-sidebar-logo .dot { color: var(--br-green); }
.bc-page .cm-sidebar-label { font-size: 11px; color: #8a91a0; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.bc-page .cm-history { display: flex; flex-direction: column; gap: 6px; }
.bc-page .cm-history-item { background: rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 9px 10px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c8ced9; border: 1px solid transparent; }
.bc-page .cm-history-item.active { background: var(--br-chat-user); color: #fff; border-color: rgba(255, 255, 255, 0.1); }
.bc-page .cm-history-item .label { flex: 1; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bc-page .cm-chat { background: #fff; display: flex; flex-direction: column; min-height: 0; }
.bc-page .cm-messages { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.bc-page .cm-msg { max-width: 86%; border-radius: 12px; padding: 9px 12px; font-size: 12px; line-height: 1.45; }
.bc-page .cm-msg-bot { background: #f3f4f6; color: var(--br-ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bc-page .cm-msg-user { background: var(--br-chat-user); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bc-page .cm-msg-rich strong { font-weight: 600; color: var(--br-ink); }
.bc-page .cm-msg-rich .divider { height: 1px; background: #e1e3e8; margin: 8px 0; }
.bc-page .cm-input { margin: 8px 14px 14px; background: #f3f4f6; border-radius: 999px; padding: 9px 14px; display: flex; align-items: center; gap: 8px; border: 1px solid #e5e7eb; font-size: 12px; color: #9aa1b0; }
.bc-page .cm-input .send { width: 24px; height: 24px; background: var(--br-chat-user); border-radius: 999px; display: grid; place-items: center; color: #fff; margin-left: auto; }

.bc-page .cm-paragraf { background: var(--br-paragraf); color: #fff; padding: 16px 14px; border-radius: 10px; font-size: 12px; line-height: 1.5; align-self: flex-start; max-width: 100%; }
.bc-page .cm-paragraf .p-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.bc-page .cm-paragraf .p-sub { font-weight: 600; margin-bottom: 9px; font-size: 12.5px; }
.bc-page .cm-paragraf .p-list { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.bc-page .cm-rail { background: #fafbfc; border-left: 1px solid var(--br-border); padding: 14px 12px; }

.bc-page .cm-upload { display: flex; flex-direction: column; height: 100%; padding: 12px; background: #fff; }
.bc-page .cm-upload h4 { font-size: 12px; font-weight: 600; color: var(--br-ink); margin-bottom: 8px; }
.bc-page .cm-upload-zone {
  flex: 1; border: 1.5px dashed #c8ced9; border-radius: 10px;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 12px; text-align: center;
}
.bc-page .cm-upload-zone .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--br-green-tint); color: var(--br-green); display: grid; place-items: center; border: 1px solid var(--br-green-soft); margin-bottom: 2px; }
.bc-page .cm-upload-zone .t1 { font-size: 11px; font-weight: 500; color: var(--br-ink); }
.bc-page .cm-upload-zone .t2 { font-size: 10px; color: var(--br-muted); }
.bc-page .cm-upload-zone .accent { color: var(--br-green); font-weight: 500; }
.bc-page .cm-file { display: flex; align-items: center; gap: 8px; background: #f3f4f6; border-radius: 7px; padding: 6px 10px; font-size: 11px; margin-top: 6px; color: var(--br-ink); }
.bc-page .cm-file .fic { color: var(--br-green); flex-shrink: 0; }
.bc-page .cm-file .fname { flex: 1; }
.bc-page .cm-file .fsize { color: var(--br-muted); font-size: 10px; }

.bc-page .cm-historybox { height: 100%; padding: 12px; background: #fff; }
.bc-page .cm-historybox .inner { height: 100%; background: var(--br-chat-dark); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.bc-page .cm-historybox .head { display: flex; align-items: center; justify-content: space-between; }
.bc-page .cm-historybox .head .lbl { font-size: 10px; color: #8a91a0; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.bc-page .cm-historybox .add { width: 18px; height: 18px; background: var(--br-chat-user); border-radius: 5px; display: grid; place-items: center; color: #fff; }
.bc-page .cm-historybox .row { background: rgba(255, 255, 255, 0.04); border-radius: 6px; padding: 7px 8px; display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: #c8ced9; line-height: 1.25; }
.bc-page .cm-historybox .row.active { background: var(--br-chat-user); color: #fff; }
.bc-page .cm-historybox .row .label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bc-page .cm-bookmark { display: flex; gap: 6px; align-items: center; font-size: 10.5px; color: var(--br-muted); }

/* =========================================================
   Scroll-reveal + liveliness
   Targets are only hidden when html.bc-anim-ready is set (head script:
   JS available AND motion not reduced), so there is no flash of hidden
   content when JS is off or the user prefers reduced motion.
   ========================================================= */
html.bc-anim-ready .bc-page :is(.section-head, .wf-card, .midcta, .trust-grid > div, .feature-row, .cta-band, .hero-text, .hero-visual) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(.22, .61, .36, 1), transform 600ms cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.bc-anim-ready .bc-page :is(.section-head, .wf-card, .midcta, .trust-grid > div, .feature-row, .cta-band, .hero-text, .hero-visual).is-visible {
  opacity: 1;
  transform: none;
}
/* Cards that have their own hover-lift use a fade only, so the reveal's
   transform never overrides the hover transform. */
html.bc-anim-ready .bc-page :is(.vprop, .price-card) {
  opacity: 0;
  transition: opacity 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
html.bc-anim-ready .bc-page :is(.vprop, .price-card).is-visible { opacity: 1; }

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .bc-page .vprops { grid-template-columns: repeat(2, 1fr); }
  .bc-page .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .bc-page .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .bc-page .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 880px) {
  .bc-page .hero-grid { grid-template-columns: 1fr; }
  .bc-page .hero-visual { margin-right: 0; order: -1; }
  .bc-page .hero-photo { height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
  .bc-page .hero-photo::before { background: linear-gradient(180deg, rgba(251, 252, 253, 0) 60%, rgba(251, 252, 253, 0.9) 100%); }
  .bc-page .workflow { grid-template-columns: 1fr; }
  /* Logo/icon to the left of the heading on phones */
  .bc-page .midcta { grid-template-columns: auto 1fr; text-align: left; gap: 14px 18px; align-items: center; }
  .bc-page .midcta .btn { grid-column: 1 / -1; justify-self: start; }
  /* Shield to the left of the heading; partner mark centered below */
  .bc-page .trust-grid { grid-template-columns: auto 1fr; gap: 18px 20px; align-items: start; }
  .bc-page .trust-icon { width: 54px; height: 54px; border-radius: 14px; }
  .bc-page .trust-icon svg { width: 30px; height: 30px; }
  .bc-page .trust h3 { font-size: clamp(21px, 6vw, 26px); overflow-wrap: anywhere; }
  .bc-page .trust-partner { grid-column: 1 / -1; align-items: center; text-align: center; margin-top: 4px; }
  .bc-page .trust-partner .partner-mark { text-align: center; }
  .bc-page .feature-row, .bc-page .feature-row.reverse { grid-template-columns: 1fr; }
  .bc-page .feature-row.reverse .feature-media { order: 0; }
  .bc-page .nav-links { display: none; }
  .bc-page .nav-actions .desktop-only { display: none; }
  .bc-page .nav-burger { display: inline-flex; }
  .bc-page .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Forside: turn the value-prop and workflow grids into swipeable card
   carousels on phones (bleed to the screen edges, snap per card). */
@media (max-width: 700px) {
  .bc-page .vprops,
  .bc-page .workflow {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--bc-pad));
    padding: 4px var(--bc-pad) 18px;
    scroll-padding-inline: var(--bc-pad);
    scrollbar-width: none;
  }
  .bc-page .vprops::-webkit-scrollbar,
  .bc-page .workflow::-webkit-scrollbar { display: none; }
  .bc-page .vprops > .vprop { flex: 0 0 80%; scroll-snap-align: start; }
  .bc-page .workflow > .wf-card { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .bc-page .container { --bc-pad: 24px; }
  .bc-page .streamer-inner { flex-direction: column; gap: 6px; padding: 8px 36px 8px 20px; }
  .bc-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .bc-page .footer-bottom { flex-direction: column; gap: 8px; }
}
