/* ==========================================================================
   BLOS Content Intelligence — Marketing / Auth theme
   Direction: "Broadcast Desk" — the product turns brand intelligence into
   content that goes out across channels, so the marketing site borrows the
   vocabulary of a broadcast control room: an ON AIR tally light, a console
   readout in the hero, mono-set data labels. Light studio background so the
   red tally accent has something to punch through, not another dark screen.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --ink:#12151B;
  --paper:#F5F6F1;
  --panel:#FFFFFF;
  --navy:#10151F;
  --navy-2:#171E2C;
  --line:#E3E2DA;
  --line-strong:#CBCABF;
  --muted:#5B6169;
  --accent:#FF4B2B;      /* on-air tally red */
  --accent-ink:#7A1200;
  --signal:#00C48C;      /* live / signal green */
  --gold:#E3A730;        /* reserved for "featured" plan only */
  --radius:16px;
  --radius-sm:10px;
  --font-display:'Space Grotesk', ui-sans-serif, sans-serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:'IBM Plex Mono', ui-monospace, monospace;
}

*{box-sizing:border-box}
body.marketing-body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
}

/* ---------- On-air tally, used as the recurring signature device ---------- */
.tally{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--font-mono);font-size:10px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--accent);
}
.tally::before{
  content:'';width:7px;height:7px;border-radius:50%;background:var(--accent);
  box-shadow:0 0 0 0 rgba(255,75,43,.5);
  animation:tally-pulse 2.2s ease-out infinite;
}
@keyframes tally-pulse{
  0%{box-shadow:0 0 0 0 rgba(255,75,43,.45)}
  70%{box-shadow:0 0 0 8px rgba(255,75,43,0)}
  100%{box-shadow:0 0 0 0 rgba(255,75,43,0)}
}
.eyebrow{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin-bottom:10px;
}

/* ---------- Header ---------- */
.marketing-header{
  position:sticky;top:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px clamp(20px,5vw,72px);
  background:var(--navy);color:#fff;
  border-bottom:2px solid var(--accent);
}
.marketing-brand{display:flex;flex-direction:column;line-height:1.2}
.marketing-brand span{
  font-family:var(--font-mono);font-size:10px;letter-spacing:.16em;
  color:var(--accent);text-transform:uppercase;
}
.marketing-brand strong{
  font-family:var(--font-display);font-size:19px;font-weight:600;
}
.marketing-nav{display:flex;gap:6px;align-items:center}
.marketing-nav a{
  color:#c9cedb;text-decoration:none;padding:9px 14px;border-radius:8px;
  font-size:14px;font-weight:500;
}
.marketing-nav a:hover{color:#fff;background:rgba(255,255,255,.06)}
.marketing-nav .cta{
  background:var(--accent);color:#fff;font-weight:700;
}
.marketing-nav .cta:hover{background:#e8431f}

.marketing-main{max-width:1180px;margin:auto;padding:0 24px}

/* ---------- Hero ---------- */
.marketing-hero{
  padding:84px 0 64px;
  display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center;
}
.marketing-hero h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(2.4rem,4.6vw,3.6rem);line-height:1.06;margin:.2em 0;
  letter-spacing:-.01em;
}
.marketing-hero > div > p{font-size:1.08rem;line-height:1.7;color:var(--muted);max-width:52ch}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}

.marketing-button{
  display:inline-block;background:var(--ink);color:#fff;text-decoration:none;
  font-weight:700;font-size:14px;padding:13px 22px;border-radius:var(--radius-sm);
  border:1px solid var(--ink);
}
.marketing-button:hover{background:#000}
.marketing-button.secondary{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.marketing-button.secondary:hover{border-color:var(--ink)}

/* Console mockup card — the signature hero element: a stylized readout of
   the product itself (dossier fields + a signal ring + the tally light),
   built in CSS so it's always in sync with the brand, not a stale screenshot. */
.hero-card{
  background:var(--navy);color:#dfe3ec;
  border-radius:20px;padding:26px;
  box-shadow:0 30px 70px rgba(10,14,22,.28);
  position:relative;overflow:hidden;
}
.hero-card::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(420px 200px at 100% 0%, rgba(255,75,43,.18), transparent 60%);
  pointer-events:none;
}
.hero-card h2{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:#8891a3;margin:0 0 16px;font-weight:600;
  display:flex;align-items:center;justify-content:space-between;
}
.hero-card ul{list-style:none;padding:0;margin:0;display:grid;gap:11px}
.hero-card li{
  font-size:14px;padding:10px 12px;border-radius:9px;
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);
}

/* ---------- Feature sections ---------- */
.marketing-section{padding:56px 0}
.marketing-section h2{
  text-align:center;font-family:var(--font-display);font-weight:700;
  font-size:clamp(1.7rem,3vw,2.3rem);margin:0 0 8px;letter-spacing:-.01em;
}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px}
.marketing-card{
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;box-shadow:0 1px 0 rgba(18,21,27,.02);
}
.marketing-card h3{font-family:var(--font-display);font-size:18px;margin:0 0 8px}
.marketing-card p{color:var(--muted);line-height:1.6;margin:0;font-size:14.5px}

/* ---------- Pricing ---------- */
.pricing-header{text-align:center;padding:60px 0 20px}
.pricing-header h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(2.1rem,4vw,3rem);margin:.2em 0;letter-spacing:-.01em;
}
.pricing-header > p{color:var(--muted);max-width:56ch;margin:0 auto}
.billing-toggle{display:inline-flex;gap:2px;background:var(--panel);border:1px solid var(--line-strong);padding:4px;border-radius:999px;margin:26px 0}
.billing-toggle button{
  border:0;background:transparent;padding:9px 20px;border-radius:999px;cursor:pointer;
  font-family:var(--font-body);font-weight:600;font-size:13px;color:var(--muted);
}
.billing-toggle button.active{background:var(--ink);color:#fff}

.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:18px;padding:16px 0 70px}
.price-card{
  position:relative;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;min-height:420px;
}
.price-card.featured{border:2px solid var(--ink);box-shadow:0 20px 44px rgba(18,21,27,.1)}
.featured-badge{
  position:absolute;top:-12px;right:22px;background:var(--accent);color:#fff;
  padding:5px 12px;border-radius:999px;font-weight:700;font-size:11px;
  font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;
}
.price-card h3{font-family:var(--font-display);font-size:19px;margin:6px 0 4px}
.price-card > p:not(.price-card-tagline){color:var(--muted);font-size:14px;margin:0 0 6px}
.price{font-family:var(--font-display);font-size:2.3rem;font-weight:700;margin:10px 0}
.price small{font-family:var(--font-body);font-size:.85rem;font-weight:500;color:var(--muted)}
.price-card ul{padding-left:0;list-style:none;line-height:1.7;flex:1;margin:14px 0;display:grid;gap:8px}
.price-card li{font-size:13.5px;padding-left:20px;position:relative;color:var(--ink)}
.price-card li::before{content:'—';position:absolute;left:0;color:var(--signal)}
.price-card .marketing-button{text-align:center;margin-top:8px}
.marketing-status{text-align:center;padding:30px;color:var(--muted);grid-column:1/-1}

/* ---------- Footer ---------- */
.marketing-footer{
  background:var(--navy);color:#9aa3b5;padding:30px 24px;
  display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;
  font-size:13px;text-align:center;
}
.marketing-footer a{color:#fff;text-decoration:none}
.marketing-footer a:hover{text-decoration:underline}
.footer-links{display:inline-flex;gap:16px}

/* ---------- Checkout result pages ---------- */
.checkout-result{max-width:640px;margin:90px auto;padding:40px;text-align:center}
.checkout-result h1{font-family:var(--font-display);font-size:2.1rem;margin:.3em 0}
.checkout-result p{color:var(--muted);line-height:1.65}
.checkout-result .marketing-button{margin:14px 0}
.auth-legal{font-size:.84rem;line-height:1.5;text-align:center;color:var(--muted)}
.auth-legal a{font-weight:700;color:var(--ink)}

/* ---------- Legal pages ---------- */
.legal-page{padding-bottom:70px}
.legal-hero{max-width:880px;padding:60px 0 26px}
.legal-hero h1{font-family:var(--font-display);font-weight:700;font-size:clamp(2.2rem,4.4vw,3.2rem);line-height:1.08;margin:.2em 0}
.legal-hero>p{font-size:1rem;line-height:1.7;color:var(--muted)}
.legal-meta{font-size:.9rem!important;font-family:var(--font-mono);letter-spacing:.02em}
.legal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}
.legal-toc{position:sticky;top:96px;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);display:grid;gap:7px}
.legal-toc strong{font-family:var(--font-mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.legal-toc a{color:var(--ink);text-decoration:none;font-size:.87rem;line-height:1.4;padding:3px 0}
.legal-toc a:hover{color:var(--accent)}
.legal-content{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,4vw,42px)}
.legal-content section{scroll-margin-top:104px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.legal-content section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.legal-content h2{font-family:var(--font-display);font-size:1.4rem;margin:0 0 12px}
.legal-content h3{font-size:1.02rem;margin:18px 0 6px}
.legal-content p,.legal-content li{line-height:1.7;color:#3A3F47}
.legal-content ul{padding-left:20px}
.legal-content a{color:var(--accent-ink);font-weight:600}
.legal-callout{background:#FFF4F1;border-left:4px solid var(--accent);border-radius:10px;padding:15px 17px;line-height:1.6;margin:18px 0;color:#5A2216}

/* ---------- Auth pages (login / register) ----------
   login.html and register.html link styles.css first (shared with the
   tenant app) and this file second, so these rules intentionally override
   the plain .auth-* defaults there with the marketing theme. */
body.auth-body{
  min-height:100vh;display:grid;place-items:center;
  background:
    radial-gradient(680px 360px at 15% -10%, rgba(255,75,43,.12), transparent 60%),
    var(--navy);
  font-family:var(--font-body);
  padding:24px;
}
.auth-shell{
  width:min(960px,94vw);display:grid;grid-template-columns:1.05fr .95fr;
  border-radius:20px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35);
}
.auth-brand{padding:52px 44px;background:var(--navy-2);color:#fff;position:relative}
.auth-brand .eyebrow{color:var(--accent)}
.auth-brand h1{font-family:var(--font-display);font-size:32px;font-weight:700;line-height:1.12;margin:.1em 0 .4em}
.auth-brand p{line-height:1.7;color:#aab2c2;font-size:14.5px}
.auth-card{padding:44px;background:var(--panel)}
.auth-card h2{font-family:var(--font-display);font-size:20px;margin:0 0 20px}
.auth-card label{display:grid;gap:6px;font-weight:600;font-size:13px;margin-bottom:14px;color:var(--ink)}
.auth-card input{padding:11px 12px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);font:inherit;background:#fff}
.auth-card input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.auth-card button{
  width:100%;border:0;border-radius:var(--radius-sm);padding:13px;
  background:var(--ink);color:#fff;font-weight:700;font-size:14px;cursor:pointer;margin-top:4px;
}
.auth-card button:hover{background:#000}
.auth-card button:disabled{opacity:.6;cursor:wait}
.inline-check{display:flex;gap:9px;align-items:flex-start;font-weight:400;font-size:13px;color:var(--muted)}
.inline-check input{width:auto;margin-top:3px}
.status{min-height:18px;margin-top:12px;font-size:13px;color:var(--accent-ink);font-weight:600}
.auth-link{text-align:center;color:var(--muted);font-size:13.5px}
.auth-link a{color:var(--ink);font-weight:700;text-decoration:none}
.auth-link a:hover{color:var(--accent)}

@media(max-width:800px){
  .marketing-hero{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:1fr}
  .marketing-nav a:not(.cta){display:none}
  .auth-shell{grid-template-columns:1fr}
  .auth-brand{padding:32px}
}
@media(max-width:900px){
  .legal-layout{grid-template-columns:1fr}
  .legal-toc{position:static}
  .legal-toc a{display:none}
  .legal-toc strong:after{content:" — sections are listed below"}
}
@media(max-width:600px){
  .legal-content{padding:22px}
  .legal-hero{padding-top:40px}
}
@media(prefers-reduced-motion:reduce){
  .tally::before{animation:none}
}


/* ==========================================================================
   v2.4.2 BLOS AI Marketing OS public-brand alignment
   Matches Mobile v1.0.7: deep navy, white, and signal orange.
   ========================================================================== */
:root{
  --brand-navy:#061527;
  --brand-navy-2:#081A2F;
  --brand-panel:#0D2036;
  --brand-panel-2:#112943;
  --brand-border:#2A435F;
  --brand-orange:#FF531F;
  --brand-orange-2:#FF8617;
  --brand-white:#F8FAFF;
  --brand-muted:#A9B8CC;
}
.marketing-header{background:rgba(6,21,39,.97);border-bottom:2px solid var(--brand-orange);backdrop-filter:blur(12px)}
.marketing-brand{display:block;line-height:1;text-decoration:none}
.marketing-brand img{display:block;width:min(330px,42vw);height:48px;object-fit:contain;object-position:left center}
.marketing-nav a{color:var(--brand-muted)}
.marketing-nav .cta{background:var(--brand-orange)}
.marketing-nav .cta:hover{background:#e94414}
.marketing-hero.branded-hero{padding-top:70px}
.hero-logo{display:block;width:min(620px,100%);height:auto;margin-bottom:26px}
.branded-hero .hero-copy h1{color:#071426}
.branded-hero .marketing-button{background:var(--brand-navy);border-color:var(--brand-navy)}
.branded-hero .marketing-button.secondary{background:#fff;color:var(--brand-navy);border-color:#cdd5df}
.hero-card{background:linear-gradient(145deg,var(--brand-navy-2),var(--brand-panel));border:1px solid var(--brand-border);box-shadow:0 30px 70px rgba(6,21,39,.30)}
.hero-card::before{background:radial-gradient(420px 220px at 100% 0%,rgba(255,83,31,.20),transparent 60%)}
.proof-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dce1e5;border:1px solid #dce1e5;border-radius:16px;overflow:hidden;margin:0 0 34px}
.proof-strip div{background:#fff;padding:20px}
.proof-strip strong,.proof-strip span{display:block}
.proof-strip strong{font-family:var(--font-display);color:var(--brand-navy);font-size:15px}
.proof-strip span{color:var(--muted);font-size:12px;margin-top:4px}
.marketing-card{border-top:3px solid var(--brand-orange)}
.price-card.featured{border-color:var(--brand-navy)}
.featured-badge{background:var(--brand-orange)}
.marketing-footer{background:var(--brand-navy)}

/* Branded authentication */
body.branded-auth{background:radial-gradient(900px 500px at 12% 0%,rgba(255,83,31,.12),transparent 60%),var(--brand-navy);color:var(--brand-white)}
.branded-auth-shell{width:min(1080px,96vw);grid-template-columns:1.08fr .92fr;border:1px solid rgba(255,255,255,.08);box-shadow:0 35px 90px rgba(0,0,0,.48)}
.branded-auth-brand{background:linear-gradient(145deg,var(--brand-navy-2),var(--brand-panel));padding:58px 50px}
.auth-logo{display:block;width:min(520px,100%);height:auto}
.auth-brand-rule{height:2px;background:var(--brand-orange);border-radius:2px;margin:20px 0 34px}
.branded-auth-brand h1{font-size:clamp(2rem,3.4vw,3.1rem);line-height:1.08;margin:18px 0 16px;color:var(--brand-white)}
.branded-auth-brand p{font-size:16px;line-height:1.7;color:var(--brand-muted);max-width:48ch}
.auth-benefits{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:12px}
.auth-benefits li{padding:12px 14px;border:1px solid var(--brand-border);border-radius:10px;background:rgba(255,255,255,.025);color:#dce5f0}
.auth-benefits li::before{content:'●';color:var(--brand-orange);margin-right:10px}
.branded-auth-card{background:#fff;padding:52px 46px;color:#111827}
.branded-auth-card h2{font-size:30px;margin:5px 0 8px}
.auth-intro{color:#667085;margin:0 0 22px}
.branded-auth-card label{color:#1b2433}
.branded-auth-card input{background:#f8fafc;border:1px solid #ccd5df;color:#111827;padding:13px 14px}
.branded-auth-card input::placeholder{color:#8a96a8}
.branded-auth-card input:focus{outline:2px solid rgba(255,83,31,.22);border-color:var(--brand-orange)}
.branded-auth-card button{background:var(--brand-orange);font-size:15px;padding:13px}
.branded-auth-card button:hover{background:#e94414}
.auth-version{text-align:center;color:#8a96a8;font-family:var(--font-mono);font-size:10px;margin-top:18px}
.auth-mobile-brand{display:none}
@media(max-width:860px){
  .marketing-header{align-items:flex-start;gap:12px}.marketing-brand img{width:min(290px,68vw);height:42px}.marketing-nav{flex-wrap:wrap;justify-content:flex-end}
  .proof-strip{grid-template-columns:repeat(2,1fr)}
  .branded-auth-shell{grid-template-columns:1fr;max-width:620px}.branded-auth-brand{display:none}.branded-auth-card{padding:36px 28px}.auth-mobile-brand{display:block;background:var(--brand-navy);margin:-36px -28px 30px;padding:26px;border-bottom:2px solid var(--brand-orange)}.auth-mobile-brand img{display:block;width:100%;max-height:90px;object-fit:contain}
}
@media(max-width:620px){
  .marketing-header{position:relative;display:grid}.marketing-brand img{width:100%;max-width:360px}.marketing-nav{justify-content:flex-start}.marketing-nav a{padding:8px 9px}.marketing-hero.branded-hero{padding-top:44px}.proof-strip{grid-template-columns:1fr}.hero-logo{margin-bottom:20px}
  body.branded-auth{padding:12px}.branded-auth-card{padding:30px 20px}.auth-mobile-brand{margin:-30px -20px 26px;padding:22px 16px}
}
