/* Home page: panel design language — navy gradient bands, cool-grey sections, square white cards. */
body.public-area{--hm-ink:#0f172a;--hm-muted:#64748b;--hm-line:#e6e9ee;--hm-soft:#f5f6f8;--hm-tint:#eef4f9;--hm-navy:#0b1220;--hm-blue:#2b5875;--hm-band:radial-gradient(900px 320px at 85% -30%,rgba(127,177,209,.28),transparent 60%),linear-gradient(120deg,#0b1220 0%,#13233b 58%,#1b3550 100%)}

/* Section rhythm & headings */
body.public-area .section.paper{background:var(--hm-soft)}
body.public-area .section-head h2,body.public-area .home-pricing-head h2{color:var(--hm-ink);font-weight:600;letter-spacing:-.035em}
body.public-area .section-head .eyebrow,body.public-area .home-pricing-head .eyebrow{color:var(--hm-blue)}
body.public-area .section-head p{color:var(--hm-muted)}

/* Hero counters */
body.public-area .hero-counter-grid{background:transparent!important;gap:10px!important;border:0!important}
body.public-area .hero-counter-card{box-shadow:0 10px 30px rgba(0,0,0,.18)}
body.public-area .hero-media-float{background:#fff!important;border-left:3px solid #7fb1d1}

/* "Search trusted records" band */
body.public-area .register-hero-band{background:var(--hm-band)!important}
body.public-area .register-search-panel{background:#fff!important;border:1px solid rgba(255,255,255,.18);box-shadow:0 20px 50px rgba(0,0,0,.25)}
body.public-area .register-search-panel.activity-panel{background:var(--hm-tint)!important}
body.public-area .register-panel-icon{background:var(--hm-navy)!important}
body.public-area .register-input-row{border:1px solid #d8dde4!important}

/* Route steps */
body.public-area .numbered-grid{gap:14px;border:0}
body.public-area #how-it-works .number-card,body.public-area .number-card{background:#fff;border:1px solid var(--hm-line)!important;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
body.public-area #how-it-works .number-card:hover,body.public-area .number-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,23,42,.1);border-color:#cbd8e4!important}
body.public-area #how-it-works .number-card .n{background:var(--hm-band)!important;color:#fff!important;border:0!important}

/* Learning formats */
body.public-area .learning-format-card{position:relative;background:#fff!important;border:1px solid var(--hm-line)!important;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
body.public-area .learning-format-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,23,42,.1);border-color:#cbd8e4!important}
body.public-area .learning-format-card::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#0b1220,#2b78b5);opacity:0;transition:opacity .18s ease}
body.public-area .learning-format-card:hover::after{opacity:1}
body.public-area .learning-format-icon{background:var(--hm-tint)!important;color:var(--hm-blue)!important;border:0!important}
body.public-area .learning-format-tag{color:var(--hm-blue)!important}
body.public-area .learning-format-number{color:#94a3b8!important}

/* Quality section */
body.public-area .quality-modern-section{background:var(--hm-band)!important}
body.public-area .quality-modern-board{background:#fff!important;box-shadow:0 30px 70px rgba(0,0,0,.3)}
body.public-area .quality-criterion{border:1px solid var(--hm-line)!important}
body.public-area .quality-criterion.featured{background:var(--hm-tint)!important;border-color:#cfe0ee!important}
body.public-area .criterion-icon{background:var(--hm-tint)!important;color:var(--hm-blue)!important}
body.public-area .quality-score-badge{background:var(--hm-navy)!important;color:#fff!important;border:0!important}
body.public-area .quality-score-badge *{color:#fff!important}
body.public-area .quality-eyebrow{color:#9fd0ef!important}

/* Provider workspace band */
body.public-area .provider-workspace-modern{background:var(--hm-band)!important}
body.public-area .provider-workspace-band{background:#fff!important;border-left:4px solid #7fb1d1;box-shadow:0 24px 60px rgba(0,0,0,.25)}
body.public-area .provider-workspace-band h2{color:var(--hm-ink)!important;font-weight:600;letter-spacing:-.035em}

/* Pricing */
body.public-area .home-pricing-section{background:var(--hm-soft)!important}
body.public-area .home-membership-card{background:var(--hm-band)!important;box-shadow:0 18px 40px rgba(11,18,32,.18)}
body.public-area .home-package-card{border:1px solid var(--hm-line)!important;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease}
body.public-area .home-package-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,23,42,.1)}
body.public-area .home-package-card.featured{border:2px solid var(--hm-navy)!important;box-shadow:0 22px 50px rgba(11,18,32,.16)}
body.public-area .home-package-ribbon{background:linear-gradient(120deg,#0b1220,#2b5875)!important}
body.public-area .home-package-prev,body.public-area .home-package-next{border:1px solid var(--hm-line)!important}
body.public-area .home-pricing-note{background:#fff!important;border:1px solid var(--hm-line)}

/* Blog */
body.public-area .home-blog-slider-section .blog-card{background:#fff;padding:0 0 18px;border:1px solid var(--hm-line);border-top:3px solid var(--hm-navy);box-shadow:0 1px 2px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease}
body.public-area .home-blog-slider-section .blog-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,23,42,.1)}
body.public-area .home-blog-slider-section .blog-card>*:not(.thumb){padding-left:18px;padding-right:18px}
body.public-area .home-blog-slider-section .blog-card .thumb{margin:0 0 16px;border:0}
body.public-area .home-blog-slider-section .blog-card:not(:has(.thumb)){padding-top:18px}

/* Closing CTA */
body.public-area .cta-showcase-band{background:var(--hm-band)!important}
body.public-area .cta-showcase-copy :is(h2,h3){color:#fff!important}
body.public-area .cta-showcase-copy p,body.public-area .cta-showcase-copy li{color:#c7d3e0!important}
body.public-area .cta-showcase-copy .eyebrow{color:#9fd0ef!important}
body.public-area .cta-points>*{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.14)!important;color:#e6edf5!important}
body.public-area .cta-points>* *{color:#e6edf5!important}
body.public-area .cta-actions .btn-dark,body.public-area .cta-actions .btn-primary{background:#fff!important;color:#0b1220!important;border-color:#fff!important}
body.public-area .cta-actions .btn-outline{background:rgba(255,255,255,.06)!important;color:#fff!important;border-color:rgba(255,255,255,.35)!important}
body.public-area .cta-media-frame{border-color:rgba(255,255,255,.2)!important;background:rgba(255,255,255,.06)!important}
body.public-area #how-it-works .number-card:nth-child(n){--step-accent:#dfe9f2;--step-accent-2:#f3f7fb}
body.public-area #how-it-works .number-card h3{color:var(--hm-ink)}

/* ===== Mobile (≤820px): shorter, denser home page ===== */
@media(max-width:820px){
  body.public-area .section,body.public-area #how-it-works{padding:48px 0!important}
  body.public-area .section-head{margin-bottom:24px!important;gap:10px!important}
  body.public-area .section-head h2,body.public-area .home-pricing-head h2{font-size:32px!important;line-height:1.08}

  /* Hero: shorter photo, compact counters in one row */
  body.public-area .registry-hero{padding:16px 0 36px!important}
  body.public-area .registry-hero-media{padding-bottom:10px!important}
  body.public-area .hero-media-card,body.public-area .hero-media-card img{height:190px!important;object-fit:cover}
  body.public-area .hero-media-outline,body.public-area .hero-media-accent{display:none!important}
  body.public-area .hero-media-float{left:10px!important;right:auto!important;bottom:0!important;max-width:78%;padding:9px 12px!important}
  body.public-area .hero-media-float strong{font-size:14px!important;line-height:1.25}
  body.public-area .hero-media-float small{font-size:9px!important}
  body.public-area .registry-hero h1{font-size:40px!important;line-height:1.02}
  body.public-area .registry-hero .lead{font-size:15.5px!important}
  body.public-area .registry-hero .actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;margin-top:20px!important}
  body.public-area .registry-hero .actions .btn{justify-content:center;padding:13px 10px;font-size:13px;text-align:center}
  body.public-area .hero-counter-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;margin-top:20px!important}
  body.public-area .hero-counter-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;grid-template-columns:none!important;gap:6px!important;padding:12px 10px!important;min-height:0!important;min-width:0}
  body.public-area .hero-counter-copy{min-width:0;width:100%}
  body.public-area .hero-counter-icon{width:28px!important;height:28px!important}
  body.public-area .hero-counter-icon svg{width:18px!important;height:18px!important}
  body.public-area .hero-count{font-size:22px!important}
  body.public-area .hero-counter-copy span{font-size:8.5px!important;letter-spacing:.06em!important;line-height:1.3}

  /* Search band */
  body.public-area .register-hero-band{padding:44px 0!important}
  body.public-area .register-trust-row{display:flex!important;flex-wrap:wrap;gap:6px!important}
  body.public-area .register-trust-row>*{flex:0 0 auto}
  body.public-area .register-search-grid{gap:12px!important}

  /* Route steps: compact horizontal cards */
  body.public-area #how-it-works .numbered-grid{gap:10px!important}
  body.public-area #how-it-works .number-card{display:grid!important;grid-template-columns:52px 1fr;column-gap:14px;align-items:start;min-height:0!important;padding:16px!important}
  body.public-area #how-it-works .number-card::before,body.public-area #how-it-works .number-card::after{display:none!important}
  body.public-area #how-it-works .number-card .n{grid-row:1/span 2;width:52px!important;height:52px!important;margin:0!important;padding:0!important;font-size:18px!important;clip-path:none!important}
  body.public-area #how-it-works .number-card .n *{font-size:inherit}
  body.public-area #how-it-works .number-card h3{margin:2px 0 4px!important;font-size:17px!important}
  body.public-area #how-it-works .number-card p{margin:0!important;font-size:14px}

  /* Quality: stats in one row */
  body.public-area .quality-stat-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;margin:24px 0!important}
  body.public-area .quality-stat{padding:12px 10px!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.05)}
  body.public-area .quality-stat strong,body.public-area .quality-stat b{font-size:22px!important}
  body.public-area .quality-stat span,body.public-area .quality-stat small{font-size:8.5px!important;letter-spacing:.06em!important}
  body.public-area .quality-modern-section{padding:48px 0!important}
  body.public-area .quality-criterion{padding:12px!important}

  /* Workspace, pricing, CTA */
  body.public-area .provider-workspace-modern{padding:36px 0!important}
  body.public-area .provider-workspace-band{padding:24px 18px!important}
  body.public-area .home-pricing-section{padding:48px 0!important}
  body.public-area .home-membership-card{padding:20px!important}
  body.public-area .cta-showcase-band{padding:48px 0!important}
  body.public-area .cta-showcase-copy h2{font-size:30px!important;line-height:1.1}
  body.public-area .cta-actions{display:grid!important;grid-template-columns:1fr;gap:8px!important}
  body.public-area .cta-actions .btn{justify-content:center}
  body.public-area .cta-showcase-media{display:none!important}
}
@media(max-width:380px){
  body.public-area .registry-hero h1{font-size:36px!important}
  body.public-area .registry-hero .actions{grid-template-columns:1fr}
}
