/* ═══════════════════════════════════════════════════════════════════════
   TotumTeams — Public / marketing pages stylesheet
   Scoped under .public-page to avoid Bootstrap conflicts.
   CSS tokens (--blue, --orange, etc.) are defined in portal.css which
   is loaded globally.
═══════════════════════════════════════════════════════════════════════ */

/* ── base reset for public pages ── */
.public-page *,
.public-page *::before,
.public-page *::after {
  box-sizing: border-box;
}

.public-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Clip horizontal overflow from page content only — keep nav unaffected */
.public-page > main {
  overflow-x: clip;
  flex-grow: 1;
}

.public-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; font-weight: 800; margin: 0; }
.public-page h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; margin: 0; }
.public-page h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.public-page p  { color: var(--muted); margin: 0; }
/* Headings split into even lines and paragraphs avoid a lone last word, so phones
   don't show "platform." or "missing" stranded on a line of their own. */
.public-page { text-wrap: pretty; }
.public-page h1, .public-page h2, .public-page h3, .public-page h4,
.public-page summary,
.public-page [class*="eyebrow"],
.public-page .pub-founding-headline > span,
.public-page .pub-fg-item strong,
.public-page .plan-desc,
.public-page .plan-period { text-wrap: balance; }
/* Long Dutch compounds ("Infrastructuurhosting", "Harmonieorkesten") must not widen a
   table, card or grid column past a phone screen: they hyphenate where the browser can,
   and break anywhere as a last resort. Grid columns may shrink below their content. */
.public-page td, .public-page th,
.public-page .etype-card, .public-page .stype-card {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.public-page .feat-two-col > *,
.public-page .sg-feature-inner > *,
.public-page .ensemble-types > *,
.public-page .sports-types > * { min-width: 0; }
.public-page h1, .public-page h2, .public-page h3, .public-page p { overflow-wrap: break-word; }

/* Short centred lines read best as even lines. */
.public-page .pub-section-title-sub,
.public-page .pub-hero-sub,
.public-page .pub-cta-section p,
.public-page .pub-founding-text > p { text-wrap: balance; }
.public-page strong { color: var(--text); }
.public-page a { text-decoration: none; }

/* ── responsive SVGs in content sections ── */
.editor-visual svg,
.ai-inner svg {
  max-width: 100%;
  height: auto;
}
.editor-visual {
  overflow: hidden;
}

/* ── layout container ── */
.pub-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── buttons ── */
.pub-btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
  border: none;
  cursor: pointer;
}
.pub-btn-primary:hover { background: #c94317; transform: translateY(-1px); color: #fff; }

.pub-btn-ghost {
  display: inline-block;
  color: var(--blue);
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: background 0.18s;
  background: transparent;
  cursor: pointer;
}
.pub-btn-ghost:hover { background: var(--blue); color: #fff; }

.pub-btn-outline {
  display: inline-block;
  color: var(--white);
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.18s, background 0.18s;
  background: transparent;
  cursor: pointer;
}
.pub-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.pub-btn-large { padding: 16px 36px; font-size: 1.05rem; }
.pub-btn-white { background: #fff; color: var(--orange); }
.pub-btn-white:hover { background: var(--grey); color: var(--orange); }

/* ── shared section labels ── */
.pub-section-eyebrow {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}
.pub-section-title       { margin-bottom: 12px; color: var(--text); }
.pub-section-title-large {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}
.pub-section-title-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── hero tagline ── */
.pub-hero-tagline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

/* ── hero trust pills ── */
.pub-hero-trust-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  justify-content: center;
}
.pub-trust-pill-eu { display: inline-flex; align-items: center; gap: 8px; }
.pub-trust-pill-eu img { border-radius: 2px; flex-shrink: 0; }
.pub-trust-pill {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  background: rgba(0,17,88,0.07);
  border: 2px solid rgba(0,17,88,0.2);
  border-radius: 24px;
  padding: 8px 20px;
  white-space: nowrap;
}

/* ── "Only on TotumTeams" stamp ── */
.pub-only-stamp {
  display: inline-block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 10px 28px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 4px 4px 0 #001158;
  transform: rotate(-1deg);
}

/* ── feature link ── */
.pub-feature-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.pub-feature-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   PUBLIC NAV  (CSS-only hamburger via hidden checkbox)
═══════════════════════════════════════════════════════════════════════ */

/* The shell wraps nav + drawer so the ~ sibling selector can reach the drawer */
.pub-nav-shell {
  position: sticky;
  top: var(--tt-test-banner-h, 0px);
  z-index: 200;
}

/* Hidden checkbox — controls mobile drawer */
.pub-menu-cb {
  display: none;
  position: absolute;
  visibility: hidden;
}

.pub-nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey);
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 64px;
  gap: 32px;
}

.pub-nav-logo {
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pub-nav-logo .logo-mark {
  width: 30px;
  height: 30px;
}
.logo-totum { color: var(--blue); }
.logo-teams { color: var(--orange); }

.pub-nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
  align-items: center;
}
.pub-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.pub-nav-links a:hover { color: var(--blue); }

.pub-nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.pub-nav-actions .pub-btn-ghost   { padding: 8px 18px; font-size: 0.9rem; }
.pub-nav-actions .pub-btn-primary { padding: 9px 20px; font-size: 0.9rem; }
.pub-auth-btns { display: flex; gap: 8px; align-items: center; }

/* ── language picker — CSS :focus-within / :hover dropdown ── */
.pub-lang-picker {
  position: relative;
  outline: none;
}
.pub-lang-btn {
  background: none;
  border: 1px solid var(--grey);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s;
  display: block;
  width: 100%;
}
.pub-lang-btn:hover { border-color: var(--blue); }

/* Transparent bridge fills the gap so hover stays active as mouse moves to dropdown */
.pub-lang-picker::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.pub-lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 160px;
  overflow: hidden;
  z-index: 300;
}
.pub-lang-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text) !important;
  text-decoration: none;
  transition: background 0.12s;
}
.pub-lang-dropdown a:hover { background: var(--bg); }

/* Show dropdown on hover or keyboard focus */
.pub-lang-picker:hover .pub-lang-dropdown,
.pub-lang-picker:focus-within .pub-lang-dropdown {
  display: block;
}

/* ── signed-in user menu — CSS :focus-within / :hover dropdown ── */
.pub-user-menu {
  position: relative;
  outline: none;
}
.pub-user-btn {
  background: none;
  border: 1px solid var(--grey);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s;
  display: block;
  width: 100%;
  white-space: nowrap;
}
.pub-user-btn:hover { border-color: var(--blue); }

/* Transparent bridge fills the gap */
.pub-user-menu::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.pub-user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 180px;
  overflow: hidden;
  z-index: 300;
}
.pub-user-dropdown a,
.pub-user-dropdown .pub-user-signout-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text) !important;
  text-decoration: none;
  transition: background 0.12s;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}
.pub-user-dropdown a:hover,
.pub-user-dropdown .pub-user-signout-btn:hover { background: var(--bg); }
.pub-user-dropdown-divider {
  height: 1px;
  background: var(--grey);
  margin: 2px 0;
}
.pub-user-dropdown form { margin: 0; padding: 0; }

/* Show dropdown on hover or keyboard focus */
.pub-user-menu:hover .pub-user-dropdown,
.pub-user-menu:focus-within .pub-user-dropdown {
  display: block;
}

/* ── hamburger label (acts as button) ── */
.pub-nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--blue);
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── mobile drawer — hidden by default, shown when checkbox :checked ── */
.pub-nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 2px solid var(--grey);
  padding: 0 24px 20px;
  z-index: 199;
  /* Taller than a short phone screen: scroll inside the menu, not the page behind it. */
  max-height: calc(100dvh - 64px - var(--tt-test-banner-h, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* CSS-only open state: checkbox sibling selector */
.pub-menu-cb:checked ~ .pub-nav-drawer {
  display: flex;
}
/* The burger shows ☰ when closed and ✕ when open. */
.pub-nav-burger-close { display: none; }
.pub-menu-cb:checked ~ .pub-nav .pub-nav-burger-open { display: none; }
.pub-menu-cb:checked ~ .pub-nav .pub-nav-burger-close { display: inline; }

.pub-nav-drawer > a {
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--grey);
  text-decoration: none;
}
.pub-nav-drawer > a:hover { color: var(--blue); }

.pub-drawer-lang {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--grey);
}
.pub-drawer-lang-btn {
  background: var(--bg);
  border: 1px solid var(--grey);
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.pub-drawer-lang-btn:hover { border-color: var(--blue); color: var(--blue); }

.pub-drawer-auth {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOUNDING BANNER
═══════════════════════════════════════════════════════════════════════ */
.pub-founding-banner {
  background: linear-gradient(135deg, #001158 0%, #002699 100%);
  padding: 72px 32px;
  border-bottom: 4px solid var(--orange);
  position: relative;
  overflow: hidden;
  /* The artwork is sized by the band, so a band that grows with its copy would
     render the photograph at a different size on every page that uses it, and
     moving between them would read as a jump. Pinning the height keeps the home
     and pricing banners identical; the copy centres inside whatever is left. */
  min-height: 720px;
  display: grid;
  align-content: center;
}
.pub-founding-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
  /* The second column stays empty and reserves the space the artwork fills. */
  position: relative;
  z-index: 1;
}

/* The artwork fills the right of the band, bleeding to its top, right and bottom
   rather than sitting in a box, which is why it is a sibling of the centred inner
   container rather than a cell inside it. It is decorative and only one theme's
   copy should ever be fetched, so it is a background, not an <img> loaded twice.
   Only the left edge meets the band, and a short fade hides that seam. */
.pub-founding-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  background: url("../images/redesign/hero2.jpg") center right / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%);
}
.pub-founding-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  line-height: 1.02;
}
.pub-founding-free {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
}
.pub-founding-until {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  color: var(--orange);
}
/* The display size only works for a one-word second line, as on the home page.
   The pricing banner's second line is a phrase and has to stay in proportion. */
.pub-founding-until-lg { font-size: clamp(3.4rem, 8vw, 6rem); }
.pub-founding-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.pub-founding-deadline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.pub-founding-deadline-icon { width: 20px; height: 20px; flex-shrink: 0; }
.pub-founding-ctas { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.pub-founding-more {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.pub-founding-more:hover { color: #fff; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════ */
.pub-hero {
  background: linear-gradient(160deg, #eef1f8 0%, var(--bg) 60%);
  padding: 80px 32px 72px;
  overflow: hidden;
}
.pub-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.pub-hero-headline {
  color: var(--blue);
  margin-bottom: 20px;
}
.pub-hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: none;
}
.pub-hero-sub strong { color: var(--blue); }
.pub-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}
.pub-hero-illustration { width: 100%; min-width: 0; position: relative; }
.pub-coming-soon-star {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  width: 156px;
  height: 156px;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  /* 8-point starburst */
  clip-path: polygon(
    50%  0%,  60% 27%, 85% 15%, 73% 40%,
    100% 50%, 73% 60%, 85% 85%, 60% 73%,
    50% 100%, 40% 73%, 15% 85%, 27% 60%,
    0%  50%,  27% 40%, 15% 15%, 40% 27%
  );
}
/* centre of badge at top-right corner of left (formation) panel — ~48% across the SVG */
.pub-cs-hero-left  { top: 0; left: 48%; transform: translate(-50%, -50%) rotate(-12deg); }
/* centre of badge at top-right corner of hero illustration */
.pub-cs-hero-right { top: 0; right: 0;  transform: translate(50%, -50%) rotate(-12deg); }
/* audience cards — wrapper has position:relative so badge overflows the overflow:hidden card */
.pub-audience-card-wrap { position: relative; }
.pub-audience-card-wrap .pub-coming-soon-star {
  width: 120px;
  height: 120px;
  font-size: 0.85rem;
  top: 0;
  right: 0;
  transform: translate(50%, -50%) rotate(-12deg);
}
.pub-hero-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0,17,88,0.22), 0 4px 12px rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════════════════════════════════
   PAIN STRIP
═══════════════════════════════════════════════════════════════════════ */
.pub-pain-strip {
  background: var(--blue);
  padding: 56px 32px;
}
.pub-pain-heading {
  text-align: center;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 36px;
}
.pub-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.pub-pain-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pub-pain-icon { font-size: 1.6rem; }
.pub-pain-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURES HIGHLIGHT
═══════════════════════════════════════════════════════════════════════ */
.pub-features-highlight {
  padding: 88px 32px;
  background: var(--white);
}
.pub-features-highlight .pub-container { text-align: center; }
.pub-features-highlight .pub-section-title { margin-bottom: 48px; }

.pub-feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
}
.pub-feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--grey);
  transition: box-shadow 0.2s;
}
.pub-feature-card:hover { box-shadow: 0 8px 32px rgba(0,17,88,0.1); }
.pub-feature-card-icon  { margin-bottom: 20px; }
.pub-feature-card h3    { font-size: 1.2rem; margin-bottom: 12px; color: var(--text); }
.pub-feature-card p     { margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════════════════
   AUDIENCE SPLIT
═══════════════════════════════════════════════════════════════════════ */
.pub-audience-split {
  padding: 88px 32px;
  background: var(--bg);
  text-align: center;
}
.pub-audience-split .pub-section-title-large {
  text-align: center;
}
.pub-audience-split .pub-section-title-sub {
  max-width: none;
  text-align: center;
}
/* internet.nl 100% badges: in the audience band and the footer. */
.pub-internetnl-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pub-footer-meta .pub-internetnl-badges { justify-content: flex-end; }
.pub-internetnl-badge { display: inline-block; line-height: 0; }
.pub-internetnl-badge img { max-width: 100%; height: auto; }
.pub-internetnl-badge-audience { margin-top: 28px; }
.pub-audience-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
  margin-top: 48px;
}
.pub-audience-card {
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.pub-audience-card:hover { box-shadow: 0 12px 40px rgba(0,17,88,0.13); }
.pub-audience-card--sports:hover { border-color: #1a7a3a; }
.pub-audience-card--music:hover  { border-color: var(--orange); }
.pub-audience-svg { width: 100%; background: var(--grey); position: relative; }
.pub-audience-svg svg { width: 100%; height: auto; display: block; }
.pub-audience-card-text {
  padding: 28px 28px 24px;
  flex: 1;
}
.pub-audience-card-text h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.pub-audience-card-text p { font-size: 0.97rem; margin-bottom: 18px; }
.pub-audience-link { color: var(--orange); font-weight: 700; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════════════════
   SECONDARY FEATURES
═══════════════════════════════════════════════════════════════════════ */
.pub-secondary-features {
  padding: 88px 32px;
  background: var(--white);
  text-align: center;
}
.pub-secondary-features .pub-section-title { margin-bottom: 48px; }
.pub-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}
.pub-fg-item {
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--grey);
}
.pub-fg-icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.pub-pain-icon img, .pub-fg-icon img { display: block; }
.pub-fg-item strong { display: block; margin-bottom: 6px; font-size: 0.97rem; color: var(--text); }
.pub-fg-item p { font-size: 0.88rem; }

/* ═══════════════════════════════════════════════════════════════════════
   HONEST PRICING STRIP
═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   CTA FOOTER SECTION
═══════════════════════════════════════════════════════════════════════ */
.pub-cta-section {
  background: var(--blue);
  padding: 88px 32px;
  text-align: center;
}
.pub-cta-section h2 { color: #fff; margin-bottom: 12px; }
.pub-cta-section p  { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════════════════════ */
.pub-footer {
  background: #000d3d;
  padding: 48px 32px;
  color: rgba(255,255,255,0.6);
}
.pub-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: start;
}
.pub-footer-brand .logo-totum { color: rgba(255,255,255,0.9); }
.pub-footer-brand .logo-teams  { color: var(--orange); }
.pub-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pub-footer-logo .logo-mark {
  width: 32px;
  height: 32px;
}
.pub-footer-brand p { font-size: 0.82rem; margin-top: 8px; color: rgba(255,255,255,0.45); }
.pub-footer-logo { text-decoration: none; font-size: 1.3rem; font-weight: 800; }
.pub-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 4px;
}
.pub-footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.pub-footer-links a:hover { color: #fff; }
.pub-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pub-nav-links { display: none; }
  /* hide auth buttons on mobile — they are available in the drawer */
  .pub-nav-actions .pub-auth-btns { display: none; }
  .pub-nav-actions .pub-btn-ghost  { display: none; }
  .pub-nav-burger { display: block; }
  .pub-nav { padding: 0 16px; gap: 12px; }
  /* nav-links (flex:1 spacer) is hidden on mobile — push the actions to the right, with the
     avatar or sign-in last, and the menu button first, left of the logo. */
  .pub-nav-actions { margin-left: auto; }
  .pub-nav-burger { order: -1; padding: 4px 4px 4px 0; }
}

/* Phone: the bar must fit 360px. The theme toggle loses its label and the language picker
   moves into the drawer, which already offers every language. */
@media (max-width: 600px) {
  .pub-nav { gap: 8px; }
  .pub-nav-actions { gap: 8px; }
  .pub-nav-actions .pub-lang-picker { display: none; }
  .pub-nav-actions .tt-theme-btn-label { display: none; }
  .pub-nav-actions .tt-theme-btn { padding: 5px 8px; }
}

/* Narrow screens: Sign in stays in the bar, right of the theme toggle; Sign up waits in the drawer. */
@media (max-width: 768px) {
  .pub-nav-actions .pub-auth-btns { display: flex; }
  .public-page .pub-nav-actions .pub-auth-btns .pub-btn-ghost {
    display: inline-flex;
    padding: 6px 14px;
    white-space: nowrap;
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
  }
  .pub-nav-actions .pub-auth-btns .pub-btn-primary { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   TRUST BAR — for dark hero backgrounds (white pills)
═══════════════════════════════════════════════════════════════════════ */
.pub-trust-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.pub-trust-pill-light {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ═══════════════════════════════════════════════════════════════════════
   "NO" PRICING STRIP — light background, 4-pillar grid
═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   AI TERMINAL WIDGET — shared across features, sports, music pages
═══════════════════════════════════════════════════════════════════════ */
.pub-ai-terminal {
  background: #0d1b3e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.45);
}
.pub-ai-terminal-bar {
  background: #162040;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pub-term-dot { width: 11px; height: 11px; border-radius: 50%; }
.pub-term-dot.red   { background: #ff5f56; }
.pub-term-dot.amber { background: #ffbd2e; }
.pub-term-dot.green { background: #27c93f; }
.pub-term-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
  margin-left: 6px;
}
.pub-ai-messages {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pub-ai-bubble {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pub-ai-bubble.user { flex-direction: row-reverse; }
.pub-bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pub-bubble-avatar.user-av { background: var(--orange); color: #fff; }
.pub-bubble-avatar.ai-av   { background: #162040; color: rgba(255,255,255,0.7); font-size: 1rem; }
.pub-bubble-text {
  max-width: 80%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.55;
  font-family: monospace;
}
.pub-ai-bubble.user .pub-bubble-text {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.pub-ai-bubble:not(.user) .pub-bubble-text {
  background: #162040;
  color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 4px;
}
.pub-ai-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 20px;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════════════
   GHOST BUTTON — white (for dark sections)
═══════════════════════════════════════════════════════════════════════ */
.pub-btn-ghost-white {
  display: inline-block;
  color: rgba(255,255,255,0.9);
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: border-color 0.18s, background 0.18s;
  background: transparent;
  cursor: pointer;
}
.pub-btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

@media (max-width: 600px) {
  /* Hero */
  .pub-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pub-hero-ctas { justify-content: center; }
  .pub-hero-sub   { margin: 0 auto 32px; }
  .pub-hero-illustration { display: none; }
  .pub-hero-trust-bar { justify-content: center; }

  /* Founding banner: the artwork drops under the copy rather than beside it, so
     the band is as tall as its contents and the pinned desktop height goes. */
  .pub-founding-banner { min-height: 0; }
  .pub-founding-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  /* Too narrow to sit beside the copy, so it comes back into the flow above it. */
  .pub-founding-art {
    position: static;
    width: auto;
    aspect-ratio: 1168 / 784;
    background-position: center;
    background-size: contain;
    margin-bottom: 32px;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .pub-founding-headline { align-items: center; }
  .pub-founding-deadline { justify-content: center; }
  .pub-founding-ctas { justify-content: center; }

  /* A break that suits two wide lines leaves an orphan once the text wraps. */
  .pub-br-wide { display: none; }

  /* Home page: the WhatsApp hero comes first, then the free-months banner without its artwork. */
  .pub-home-top { display: flex; flex-direction: column; }
  .pub-home-top .pub-hero { order: -1; }
  .pub-home-top .pub-founding-art { display: none; }

  /* Founding fifty box: stack vertically on mobile */

  /* Features */
  .pub-feature-pair     { grid-template-columns: 1fr; }
  .pub-audience-cards   { grid-template-columns: 1fr; }

  /* Pricing strip */

  /* Footer */
  .pub-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pub-footer-links { justify-content: center; }
  .pub-footer-meta  { align-items: center; }
  .pub-footer-meta .pub-internetnl-badges { justify-content: center; }

  /* Pain / features grid */
  .pub-pain-grid { grid-template-columns: 1fr; }
  .pub-feature-grid { grid-template-columns: 1fr; }

  /* Only stamp alignment */
  .pub-features-highlight .pub-container { text-align: center; }

  /* Trust bar */
  .pub-trust-bar { justify-content: center; }
}
