/* 24Group: the shared visual language of 24group (site), 24Sales (site, access and panel). Loaded after identity.css. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/plus-jakarta-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("./fonts/plus-jakarta-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("./fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("./fonts/plus-jakarta-sans-800.woff2") format("woff2"); }

:root {
  --font-group: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --tint: #eff1e9;
  --shadow-sm: 0 2px 8px #1d30310d;
  --shadow: 0 18px 50px #1d303114;
  --shadow-lg: 0 30px 80px #1d30311f;
  --ease-group: cubic-bezier(.22,1,.36,1);
  font-family: var(--font-group);
}
body, button, input, select, textarea, h1, h2, h3, h4, .logo, .hero, .landing-page { font-family: var(--font-group); }
.eyebrow { color: var(--copper); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dashboard-section .eyebrow, .pilot .eyebrow { color: var(--orange); }

/* Floating glass header, same as 24Group */
.landing-page .header, .auth-page .header, .pages-page .header, .missing-page .header { position: sticky; top: 0; z-index: 40; padding-top: 14px; background: transparent; border: 0; box-shadow: none; }
.landing-page .header-inner, .auth-page .header-inner, .pages-page .header-inner, .missing-page .header-inner { width: min(1200px, calc(100% - 32px)); height: 66px; padding: 0 10px 0 18px; background: #fffefad9; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid #fff; border-radius: 18px; box-shadow: var(--shadow-sm); }
.logo { font-weight: 800; letter-spacing: -.04em; font-size: 1.25rem; }
.landing-page .logo small, .auth-page .logo small { color: var(--muted); font-weight: 500; letter-spacing: 0; font-size: .62rem; margin-top: 4px; }
.logo-mark { width: 34px; height: 34px; }
.header-cta, .landing-page .header-cta { border-radius: 12px; background: var(--petrol); color: var(--cream); font-weight: 650; font-size: .88rem; min-height: 44px; display: inline-flex; align-items: center; }
.header-login, .landing-page .header-login, .auth-page .header-login, .pages-page .header-login, .missing-page .header-login { min-height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--petrol); border-radius: 12px; font-weight: 650; font-size: .88rem; padding: 10px 16px; }
.header-login:hover, .landing-page .header-login:hover { background: #fff; border-color: #c9d3c6; transform: none; }
.site-nav a { font-weight: 550; font-size: .92rem; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.site-nav a:hover { background: var(--tint); text-decoration: none; }
.landing-page .preview-note { background: var(--petrol); color: #c9d4cf; border: 0; font-weight: 550; letter-spacing: .02em; }
.landing-page .preview-note a { color: var(--cream); }

/* Hero sky: sage and peach light over ivory */
.landing-page .hero { margin-top: -80px; padding-top: 80px; background:
  radial-gradient(560px 440px at 4% 0%, #f7d9c8cc, transparent 70%),
  radial-gradient(640px 480px at 98% 4%, #cfe2d6, transparent 70%),
  radial-gradient(520px 340px at 45% 70%, #fff7ea, transparent 70%),
  linear-gradient(180deg, #e5eee6 0%, #eef1e8 40%, var(--cream) 82%); }
.hero h1 { font-weight: 800; letter-spacing: -.05em; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.04; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #fffefab3; border: 1px solid #fff; box-shadow: var(--shadow-sm); color: var(--muted); font-weight: 600; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px #b9452a22; }
.hero-primary { border-radius: 12px; box-shadow: 0 8px 22px #b9452a33; font-weight: 650; }
.hero-secondary { font-weight: 650; }
.hero-stage, .hero-floating { border-color: #fff; box-shadow: var(--shadow-lg); }
.hero-floating { border-radius: 16px; }

/* Section headings and cards */
.intro h2, .services h2, .dashboard-copy h2, .demo h2, .pilot h2 { font-weight: 800; letter-spacing: -.045em; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.06; }
.services { background: var(--tint); }
.services-grid article { background: var(--surface); border: 1px solid #fff; border-top: 1px solid #fff; border-radius: 24px; box-shadow: var(--shadow-sm); }
.services-grid article:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.service-icon { color: var(--copper); }
.dashboard-art, .demo .chat-box, .demo .lead-box { border-radius: 22px; border-color: #fff; box-shadow: var(--shadow-lg); }
.demo-controls select, .demo-controls button, .demo .chat-form input, .demo .chat-form button { border-radius: 12px; min-height: 44px; }
.demo .chat-form button { background: var(--copper); }
.pilot { position: relative; background: var(--petrol); overflow: hidden; isolation: isolate; }
.pilot::before { content: ""; position: absolute; z-index: -1; width: 480px; height: 360px; right: -120px; top: -140px; border-radius: 50%; background: #b9452a55; filter: blur(70px); }
.pilot-inner p { color: #c9d4cf; }
.pilot-inner a { background: var(--orange); color: var(--petrol-deep); border-radius: 12px; }
.page-footer { background: var(--petrol-deep); color: #c9d4cf; border: 0; }
.page-footer a { color: var(--cream); }
.group-credit a { color: var(--orange); text-decoration: none; font-weight: 650; }

/* Access pages */
.auth-page { background:
  radial-gradient(560px 440px at 0% 0%, #f7d9c8aa, transparent 70%),
  radial-gradient(640px 480px at 100% 10%, #cfe2d6, transparent 70%), var(--cream); }
.auth-art { background: transparent; }
.auth-art h1, .auth-card h2 { font-weight: 800; letter-spacing: -.045em; }
.auth-art h1 { font-size: clamp(2.6rem, 4.4vw, 4.6rem); }
.auth-card { border-color: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); }
.auth-preview { border-color: #fff; box-shadow: var(--shadow); border-radius: 20px; }
.login-submit { border-radius: 12px; background: var(--copper); box-shadow: 0 8px 22px #b9452a33; font-weight: 650; }
#login-form > input, .password-field input, #cloud-auth-form input { border-color: var(--line); border-radius: 12px; }
.auth-notice { border-radius: 14px; background: var(--tint); }

/* Client panel */
.client-header { background: #fffefae6; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.client-brand { font-weight: 800; letter-spacing: -.04em; }
.client-mark { width: 34px; height: 34px; border: 0; border-radius: 10px; font-size: 0; color: transparent; background: url("./brand.svg") center/contain no-repeat; }
#logout { border-radius: 12px; min-height: 40px; }
.workspace { background: var(--cream); }
.sidebar { background: var(--tint); }
.panel-nav button { border-radius: 12px; }
.page-top h1, .detail-hero h1 { font-weight: 800; letter-spacing: -.05em; }
.metric-grid article, .panel-card, .settings-card, .page-tile { border-color: #fff; border-radius: 22px; box-shadow: var(--shadow-sm); }
.metric-grid article:nth-child(n) { border-top-color: #fff; }
.metric-grid article:nth-child(3) { background: #f6e9dd; border-color: #fff; }
.metric-grid strong { font-weight: 700; }
.panel-card { transition: box-shadow .3s var(--ease-group); }
.demo-banner, .agent-notice { border-radius: 16px; }
#agent-send, .button-primary { border-radius: 12px; box-shadow: 0 8px 22px #b9452a2b; }
.refresh-button, .outline-button, #create-lead, #agent-refresh, .button { border-radius: 12px; }

/* Pages index and 404 */
.pages-page, .missing-page { background:
  radial-gradient(560px 440px at 0% 0%, #f7d9c8aa, transparent 70%),
  radial-gradient(640px 480px at 100% 10%, #cfe2d6, transparent 70%), var(--cream); }
.pages-main h1, .missing-main h1 { font-weight: 800; letter-spacing: -.055em; }
.page-tile:hover { background: #fff; box-shadow: var(--shadow); }

@media (max-width: 650px) {
  .landing-page .header-inner, .auth-page .header-inner, .pages-page .header-inner, .missing-page .header-inner { height: 60px; padding: 0 8px 0 12px; }
  .header-login, .landing-page .header-login, .auth-page .header-login { padding: 8px 10px; font-size: .74rem; min-height: 40px; }
  .header-cta, .landing-page .header-cta { font-size: .74rem; padding: 8px 10px; min-height: 40px; }
  .logo-mark { width: 28px; height: 28px; }
  .landing-page .hero { margin-top: -74px; padding-top: 74px; }
}
@media (prefers-reduced-motion: reduce) { .services-grid article:hover { transform: none; } }
