/* Shared styling for EnquireHere's fictional demo-company landing sites. */
:root {
  color-scheme: light;
  --ink: #17253b;
  --muted: #64748b;
  --line: #dce4ee;
  --surface: #ffffff;
  --canvas: #f6f8fc;
  --brand: #102949;
  --brand-strong: #1769e0;
  --brand-alt: #3b82f6;
  --brand-pale: #eaf2ff;
  --brand-line: #dce4ee;
  --brand-soft: #f5f8fc;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(19, 35, 58, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
body[data-theme="learnai"] { --brand: #0b2d5b; --brand-strong: #1769e0; --brand-alt: #3b82f6; --brand-pale: #eaf2ff; --brand-line: #cfe0ff; --brand-soft: #f3f7ff; }
body[data-theme="safetyfirst"] { --brand: #ea580c; --brand-strong: #f97316; --brand-alt: #ffb347; --brand-pale: #fff0e2; --brand-line: #ffd9bd; --brand-soft: #fff8f2; }
body[data-theme="bewell"] { --brand: #0f766e; --brand-strong: #0d9488; --brand-alt: #54c7b7; --brand-pale: #e4f7f2; --brand-line: #c0e8df; --brand-soft: #f2fbf8; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-alt); outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(10, 25, 48, .12); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.header-logo { display: block; width: 218px; max-width: 42vw; height: auto; object-fit: contain; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.site-nav a { color: rgba(255,255,255,.88); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.header-action { display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px; border-radius: 999px; color: var(--brand); background: #fff; font-size: 13px; font-weight: 750; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 0 rgba(0,0,0,.04); }
.header-action:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.13); }
.hero { padding: 58px 0 52px; background: radial-gradient(ellipse at 88% 5%, var(--brand-pale), transparent 48%), linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%); border-bottom: 1px solid var(--brand-line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); align-items: center; gap: clamp(32px, 5vw, 70px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand-strong); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 660px; margin-bottom: 18px; font-size: clamp(35px, 4.7vw, 58px); line-height: 1.05; letter-spacing: -.045em; font-weight: 800; }
.hero-copy > p:not(.eyebrow) { max-width: 580px; margin-bottom: 25px; color: #536278; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 12px; padding: 12px 18px; text-decoration: none; font-size: 14px; line-height: 1.2; font-weight: 750; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(20, 40, 70, .13); }
.button-primary { color: #fff; background: var(--brand-strong); }
.button-secondary { color: var(--brand); border-color: var(--brand-line); background: #fff; }
.hero-notes { display: flex; gap: 16px; flex-wrap: wrap; margin: 24px 0 0; padding: 0; list-style: none; color: #617085; font-size: 12px; }
.hero-notes li { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-pale); color: var(--brand); font-weight: 900; }
.hero-feature { position: relative; min-height: 365px; padding: 24px; border: 1px solid rgba(255,255,255,.65); border-radius: 28px; background: var(--brand); color: #fff; box-shadow: 0 25px 55px rgba(16, 36, 64, .2); isolation: isolate; overflow: hidden; }
.hero-feature::before, .hero-feature::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(.5px); }
.hero-feature::before { width: 290px; height: 290px; right: -45px; top: -70px; background: radial-gradient(circle at 38% 40%, var(--brand-alt), transparent 68%); opacity: .86; }
.hero-feature::after { width: 250px; height: 250px; left: -85px; bottom: -105px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%); }
.feature-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 800; }
.feature-stamp { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 14px; background: rgba(255,255,255,.12); font-weight: 850; font-size: 17px; }
.feature-graphic { position: relative; display: grid; place-items: center; min-height: 140px; margin: 12px 0 8px; }
.feature-orbit { position: absolute; width: 164px; height: 164px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.feature-orbit::before, .feature-orbit::after { content: ""; position: absolute; inset: 15px; border: 1px dashed rgba(255,255,255,.25); border-radius: 50%; }
.feature-orbit::after { inset: 35px; border-style: solid; }
.feature-mark { display: grid; place-items: center; width: 106px; height: 106px; border: 1px solid rgba(255,255,255,.3); border-radius: 30px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); font-size: 32px; font-weight: 900; letter-spacing: -.06em; box-shadow: 0 12px 34px rgba(0,0,0,.14); }
.feature-label { margin: 12px 0 6px; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.17; font-weight: 800; letter-spacing: -.03em; }
.feature-description { max-width: 430px; margin: 0 0 16px; font-size: 13px; color: rgba(255,255,255,.78); }
.feature-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.2); }
.feature-price { font-size: 20px; font-weight: 850; }
.feature-price small { display: block; font-size: 11px; color: rgba(255,255,255,.7); font-weight: 500; }
.feature-link { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; padding: 10px 13px; border: 1px solid rgba(255,255,255,.42); border-radius: 11px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 750; }
.feature-link:hover { background: rgba(255,255,255,.2); }
.section { padding: 68px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { max-width: 640px; margin-bottom: 7px; font-size: clamp(27px, 3vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.section-head p { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.section-kicker { margin-bottom: 9px; color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 850; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.program-card { display: flex; flex-direction: column; min-height: 300px; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 25px rgba(20, 37, 61, .035); transition: transform .18s ease, box-shadow .18s ease; }
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.program-card-top { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.program-code { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 7px; background: var(--brand-pale); color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.program-dot { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 20px; font-weight: 850; }
.program-card h3 { margin: 16px 0 9px; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.program-card > p { margin-bottom: 17px; color: #657286; font-size: 13px; line-height: 1.65; }
.program-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 17px; padding: 0; list-style: none; }
.program-facts li { padding: 7px 10px; border-radius: 8px; background: #f5f7fa; color: #4f5e73; font-size: 11px; font-weight: 650; }
.program-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #edf0f5; }
.program-cost { color: var(--ink); font-size: 20px; font-weight: 850; }
.program-cost small { display: block; color: #7a8799; font-size: 10px; font-weight: 600; }
.program-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.program-actions a { padding: 9px 11px; font-size: 11px; border-radius: 9px; }
.site-band { padding: 48px 0; background: var(--brand); color: #fff; }
.band-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.band-grid h2 { margin-bottom: 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.03em; }
.band-grid p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.8; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.benefit { padding: 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.07); }
.benefit-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 13px; border-radius: 11px; background: rgba(255,255,255,.14); font-size: 17px; }
.benefit strong { display: block; margin-bottom: 6px; font-size: 13px; }
.benefit span { display: block; color: rgba(255,255,255,.74); font-size: 11px; line-height: 1.6; }
.resource-section { padding: 60px 0 76px; }
.resource-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 30px; border: 1px solid var(--brand-line); border-radius: 20px; background: linear-gradient(115deg, #fff, var(--brand-soft)); }
.resource-callout h2 { margin: 0 0 5px; font-size: 23px; letter-spacing: -.025em; }
.resource-callout p { margin: 0; color: var(--muted); font-size: 13px; }
.site-footer { padding: 28px 0; background: #101e31; color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-logo { display: block; width: 170px; max-width: 46vw; height: auto; }
.footer-note { margin: 0; color: rgba(255,255,255,.65); text-align: right; font-size: 11px; line-height: 1.65; }
.demo-notice { padding: 10px 20px; background: #fff7df; color: #795314; border-bottom: 1px solid #f0ddb1; text-align: center; font-size: 11px; }
/* Floating EnquireHere chat entry point */
.chat-widget { position: fixed; right: 24px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: end; gap: 12px; max-width: min(370px, calc(100vw - 28px)); }
.widget-welcome { position: relative; width: min(360px, calc(100vw - 28px)); padding: 0; border: 1px solid rgba(16,35,60,.1); border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(13,33,58,.2); overflow: hidden; animation: widget-in .24s ease both; }
.widget-welcome[hidden] { display: none; }
.widget-welcome-top { display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: #fff; background: var(--brand); }
.widget-logo { width: 145px; max-width: calc(100% - 34px); height: auto; max-height: 36px; object-fit: contain; object-position: left center; }
.widget-close { display: grid; place-items: center; margin-left: auto; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 19px; cursor: pointer; }
.widget-welcome-body { padding: 19px 18px 18px; }
.widget-welcome-body h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.widget-welcome-body p { margin: 0 0 15px; color: #64748b; font-size: 13px; line-height: 1.65; }
.widget-cta { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; padding: 12px 14px; border-radius: 12px; color: #fff; background: var(--brand-strong); text-align: center; text-decoration: none; font-size: 13px; font-weight: 800; }
.widget-cta:hover { filter: brightness(1.06); }
.widget-launcher { display: inline-flex; align-items: center; gap: 11px; min-height: 58px; padding: 7px 18px 7px 8px; border: 0; border-radius: 999px; color: #fff; background: var(--brand); box-shadow: 0 12px 30px rgba(9,29,52,.28); text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .17s ease, box-shadow .17s ease; }
.widget-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(9,29,52,.32); }
.widget-launcher-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: var(--brand); background: #fff; }
.widget-launcher-icon svg { width: 22px; height: 22px; }
@keyframes widget-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
/* Directory */
.directory-page { min-height: 100vh; background: radial-gradient(ellipse at 10% 5%, #eaf2ff 0, transparent 32%), radial-gradient(ellipse at 93% 10%, #e3f7ef 0, transparent 28%), #f7f9fc; }
.directory-header { padding: 28px 0 18px; }
.directory-brand { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; }
.directory-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: #102949; font-weight: 900; font-size: 18px; }
.directory-brand strong { display: block; font-size: 19px; letter-spacing: -.03em; }
.directory-brand span { display: block; color: var(--muted); font-size: 11px; }
.directory-hero { padding: 40px 0 32px; }
.directory-hero h1 { max-width: 770px; font-size: clamp(36px, 5.4vw, 62px); }
.directory-hero p { max-width: 700px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: 48px; }
.directory-card { display: flex; flex-direction: column; min-height: 340px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 35px rgba(17,34,57,.06); transition: transform .18s ease, box-shadow .18s ease; }
.directory-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.directory-card-brand { display: grid; place-items: center; min-height: 112px; padding: 18px; background: var(--card-brand); }
.directory-card-brand img { width: min(100%, 240px); max-height: 54px; object-fit: contain; }
.directory-card-body { display: flex; flex: 1; flex-direction: column; padding: 21px; }
.directory-card-body .card-tag { margin: 0 0 8px; color: var(--card-brand); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.directory-card-body h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.directory-card-body p { margin: 0 0 19px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.directory-card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 12px 14px; border-radius: 11px; background: var(--card-brand); color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.directory-card-link:hover { filter: brightness(1.06); }
.directory-foot { padding: 18px 0 30px; color: #6a788c; font-size: 11px; line-height: 1.7; }
@media (max-width: 940px) {
  .header-inner { gap: 18px; }
  .header-logo { width: 188px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(290px, .85fr); gap: 26px; }
  .hero-feature { min-height: 350px; padding: 20px; }
  .directory-grid { grid-template-columns: 1fr; max-width: 640px; }
  .directory-card { min-height: 0; }
  .directory-card-brand { min-height: 92px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 28px, 600px); }
  .header-inner { min-height: 70px; flex-wrap: wrap; padding: 10px 0; gap: 10px 14px; }
  .header-logo { width: 174px; max-width: 58vw; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; margin: 0; padding: 5px 0 2px; }
  .site-nav a { font-size: 11px; }
  .header-action { margin-left: auto; padding: 9px 11px; font-size: 11px; }
  .hero { padding: 37px 0 35px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-feature { min-height: 0; padding: 20px; }
  .feature-graphic { min-height: 115px; }
  .feature-orbit { width: 140px; height: 140px; }
  .feature-mark { width: 88px; height: 88px; border-radius: 24px; }
  .section { padding: 49px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 20px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 0; padding: 19px; }
  .program-card h3 { font-size: 19px; }
  .band-grid { grid-template-columns: 1fr; gap: 24px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
  .benefit-icon { grid-row: span 2; margin-bottom: 0; }
  .benefit strong { align-self: end; }
  .benefit span { grid-column: 2; }
  .resource-section { padding: 42px 0 55px; }
  .resource-callout { align-items: start; flex-direction: column; padding: 22px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-note { text-align: left; }
  .chat-widget { right: 12px; bottom: 12px; }
  .widget-welcome { width: min(350px, calc(100vw - 24px)); }
  .widget-welcome-body { padding: 16px; }
  .directory-header { padding-top: 18px; }
  .directory-hero { padding-top: 30px; }
  .directory-grid { padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
