/* NABWORK 6.0 — owner-approved light editorial landing page.
 * Exact approved horizontal logo remains untouched. Only public homepage and
 * header presentation change; finance, auth and Supabase behavior stay intact.
 */
body:not(.dark-mode){background:#f7fbff}
.nab-header{background:rgba(255,255,255,.98)!important;box-shadow:0 3px 18px rgba(14,53,91,.045)!important}
.nab30-header-inner{max-width:1500px!important;min-height:72px}
.nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{width:clamp(158px,13vw,199px)!important;max-height:44px}
.nab-header .nab-nav-link{font-size:12px;font-weight:800;color:#233852;border-radius:11px}
.nab-header .nab-nav-link:hover,.nab-header .nab-nav-link:focus-visible{color:#087fc1;background:#edf8ff}
.nab-header #addGigBtn{background:linear-gradient(115deg,#049aec,#075ab2)!important;color:#fff;box-shadow:0 8px 19px rgba(0,106,182,.14)}
.nab-header #addGigBtn:hover{filter:brightness(1.08)}
.nab30-header-inner .nab-icon-btn,.nab30-header-inner .nab29-quick-btn{background:#f7fbff;border-color:#e2edf5}
#homeView{color:#0c1c38}
#homeView .nw-v6-hero{
  position:relative;overflow:hidden;min-height:0;padding:0!important;
  background:radial-gradient(ellipse 52% 78% at 85% 22%,rgba(79,183,245,.14),transparent 78%),linear-gradient(114deg,#fbfdff 0%,#eef8ff 58%,#e7f6fe 100%)!important;
  color:#0c1c38!important;isolation:isolate;
}
#homeView .nw-v6-hero:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background:radial-gradient(circle at 6% 50%,rgba(144,206,242,.2),transparent 38%);
}
#homeView .nw-v6-hero:after{display:none}
#homeView .nw-v6-hero-grid{
  width:min(calc(100% - 64px),1330px);margin-inline:auto;
  display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:clamp(18px,3vw,55px);
  align-items:center;min-height:clamp(450px,38vw,555px);padding:clamp(34px,4vw,63px) 0 clamp(22px,2.8vw,42px);
  position:relative;z-index:2;
}
#homeView .nw-v6-hero-copy{min-width:0;position:relative;z-index:3}
#homeView .nw-v6-eyebrow{
  display:inline-flex;gap:9px;align-items:center;max-width:100%;line-height:1.6;
  border:1px solid #b7e4e9;border-radius:100px;padding:8px 15px;background:rgba(255,255,255,.7);
  color:#143c57;font-size:11px;font-weight:850;letter-spacing:0;
}
#homeView .nw-v6-eyebrow span{color:#00bfa6;font-size:18px}
#homeView #heroTitle{
  color:#081a35!important;text-align:left!important;font-size:clamp(35px,3.55vw,61px)!important;
  font-weight:950;line-height:1.25!important;letter-spacing:-.053em!important;max-width:760px;
  margin:clamp(16px,2vw,24px) 0 13px!important;text-wrap:balance;
}
#homeView #heroTitle .nw-v6-gradient{
  display:inline-block;color:#029fbe;
  background:linear-gradient(100deg,#008fe2 5%,#0bbfc4 58%,#21c986);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
#homeView #heroSubtitle{
  text-align:left!important;color:#48627b!important;max-width:590px!important;
  font-size:clamp(13px,1vw,16px)!important;line-height:1.92!important;
  margin:0 0 22px!important;font-weight:450;
}
#homeView .nw-v6-hero .nab-premium-search{
  display:flex!important;align-items:center;width:min(100%,610px)!important;
  min-height:54px;margin:0!important;gap:5px;border:1px solid #dfecf7!important;
  border-radius:14px!important;box-shadow:0 12px 28px rgba(22,83,141,.09)!important;
  background:#fff!important;padding:5px!important;overflow:hidden;
}
#homeView .nw-v6-hero #searchInput{
  min-width:0;flex:1;border:none!important;background:transparent!important;
  font-size:clamp(13px,1vw,16px)!important;box-shadow:none!important;
  padding:11px 12px!important;line-height:1.6;color:#1f3852!important;
}
#homeView .nw-v6-hero #searchInput::placeholder{color:#8399af}
#homeView .nw-v6-hero #searchBtn{
  display:inline-flex;align-items:center;justify-content:center;min-height:43px;
  flex:0 0 auto;padding:11px 22px!important;border-radius:11px!important;
  color:#fff;background:linear-gradient(105deg,#078fdb,#0062b6)!important;
  box-shadow:0 5px 12px rgba(5,120,202,.13);white-space:nowrap;
}
#homeView .nw-v6-hero .nw-v6-hero-actions{
  display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:13px 0;
}
#homeView .nw-v6-hero-actions button{
  min-height:46px;border-radius:12px;padding:12px clamp(13px,1.2vw,23px);
  font-size:clamp(11px,.89vw,13px);font-weight:850;line-height:1.55;white-space:normal;
  transition:transform .16s ease,box-shadow .16s ease;
}
#homeView .nw-v6-primary{
  background:linear-gradient(110deg,#078ff0,#0965ba)!important;
  color:#fff!important;border:1px solid #139ee7;
  box-shadow:0 9px 23px rgba(7,122,196,.15);
}
#homeView .nw-v6-secondary{
  background:#fff!important;border:1px solid #82bfe7!important;color:#193c68!important;
}
#homeView .nw-v6-hero-actions button:hover{transform:translateY(-1px)}
#homeView .nw-v6-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}
#homeView .nw-v6-chips-label{font-size:11px;color:#70889b;font-weight:750}
#homeView .nw-v6-chips button{
  border:1px solid #e1edf5;background:#f4faff;color:#516a80;
  border-radius:99px;font-size:10px;min-height:30px;padding:6px 11px;
}
#homeView .nw-v6-chips button:hover{background:#e5f5ff;color:#0575ad;border-color:#afd8ed}
#homeView .nw-v6-hero-art{min-width:0;position:relative;align-self:center}
#homeView .nw-v6-hero-art img{
  display:block;width:100%;height:auto;max-width:740px;aspect-ratio:703/416;
  object-fit:contain;filter:drop-shadow(0 18px 24px rgba(40,97,137,.05));
  border-radius:8px;mix-blend-mode:multiply;
}
#homeView .nw-v6-art-caption{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#homeView .nw-v6-metrics{
  background:#fff;border-top:1px solid #eff4fa;border-bottom:1px solid #e5eef7;
}
#homeView .nw-v6-metrics-grid{
  width:min(calc(100% - 64px),1330px);margin:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  padding:16px 0;gap:0;
}
#homeView .nw-v6-metric{
  display:flex;align-items:center;justify-content:center;gap:13px;min-width:0;
  padding:8px 17px;border-right:1px solid #e0eaf3;
}
#homeView .nw-v6-metric:last-child{border-right:0}
#homeView .nw-v6-metric-icon{flex:0 0 38px;display:grid;place-items:center;font-size:24px;color:#098de0}
#homeView .nw-v6-metric strong{display:block;font-size:clamp(17px,1.5vw,24px);font-weight:930;letter-spacing:-.04em;line-height:1.2;color:#0773cd}
#homeView .nw-v6-metric p{font-size:11px;color:#647d93;line-height:1.55;margin:4px 0 0;font-weight:650}
#homeView .nab-premium-categories{
  width:min(calc(100% - 64px),1330px);max-width:1330px!important;padding:34px 0 22px!important;background:transparent!important;border:none!important;
}
#homeView .nab-cat-intro{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:17px}
#homeView .nab-cat-intro h2{color:#0b1e3a!important;font-size:clamp(19px,1.9vw,28px)!important;line-height:1.4;font-weight:930;letter-spacing:-.035em}
#homeView .nab-cat-intro > div p{color:#0a95de!important;font-size:11px}
#homeView .nab-cat-intro button.cat-btn{font-size:12px!important;font-weight:850!important;color:#087bc0!important;white-space:nowrap;min-height:43px}
#homeView .nab-category-rail{
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px!important;
  padding:0!important;overflow:visible!important;
}
#homeView .nab-category-rail > button{
  min-width:0!important;min-height:128px!important;width:100%;
  white-space:normal!important;text-align:left;display:flex;align-items:flex-start;
  flex-direction:column;justify-content:space-between;gap:7px;
  padding:16px!important;border:1px solid #e1eaf4!important;
  background:#fff!important;color:#142d49!important;border-radius:16px!important;
  box-shadow:0 8px 23px rgba(14,60,97,.042);font-size:12px!important;font-weight:850;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
#homeView .nab-category-rail > button:hover,
#homeView .nab-category-rail > button:focus-visible{
  transform:translateY(-3px);border-color:#9ccfe9!important;
  box-shadow:0 15px 29px rgba(12,63,105,.1);
}
#homeView .nab-category-rail .nw-v6-cat-icon{
  display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;
  border-radius:11px;font-size:21px;background:#eaf7ff;color:#0893d6;
}
#homeView .nab-category-rail > button:nth-child(2) .nw-v6-cat-icon{background:#e3fbef;color:#05af8d}
#homeView .nab-category-rail > button:nth-child(3) .nw-v6-cat-icon{background:#f1e9ff;color:#8960ec}
#homeView .nab-category-rail > button:nth-child(4) .nw-v6-cat-icon{background:#fff0e6;color:#f38739}
#homeView .nab-category-rail > button:nth-child(5) .nw-v6-cat-icon{background:#ffeaf3;color:#de579f}
#homeView .nab-category-rail > button:nth-child(6) .nw-v6-cat-icon{background:#eaf2ff;color:#227fe9}
#homeView .nab-category-rail .nw-v6-cat-label{display:block;font-size:clamp(11px,.87vw,13px);line-height:1.6;overflow-wrap:anywhere}
#homeView .nab-category-rail .nw-v6-cat-more{align-self:flex-end;color:#078cd8;font-size:17px;line-height:1}
#homeView .nab-discovery,#homeView .nab-premium-catalog,#homeView .nw-how-section{
  width:min(calc(100% - 64px),1330px);max-width:1330px!important;padding-left:0!important;padding-right:0!important
}
#homeView .nab-discovery{padding-bottom:26px!important}
#homeView .nab-premium-catalog{padding-bottom:32px!important}
#homeView #gigsGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
#homeView .nab-premium-catalog #resultsTitle{color:#0b1d38;font-size:clamp(20px,2vw,28px)}
#homeView .nw-how-section{padding-bottom:76px!important}
#homeView .nw-how-shell{
  padding:30px!important;border-radius:22px!important;
  border:1px solid #dcebf6!important;background:linear-gradient(120deg,#f0f9ff,#edf9ff)!important;
  box-shadow:0 14px 35px rgba(12,71,125,.055)!important;
}
#homeView .nw-how-head{margin-bottom:23px;gap:12px}
#homeView .nw-how-eyebrow{color:#008ecf!important}
#homeView .nw-how-title{color:#0d2140!important;font-size:clamp(22px,2.1vw,30px);max-width:880px}
#homeView .nw-how-description{color:#597387!important;font-size:13px;margin-top:8px}
#homeView .nw-how-more{background:#fff;border-color:#bbd8ee;color:#087bbc}
#homeView .nw-how-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#homeView .nw-how-card{min-height:165px;padding:21px;border:1px solid #e3edf7;border-radius:16px;background:#fff}
#homeView .nw-how-card .nab-step-number{width:39px;height:39px;flex-basis:39px;margin-bottom:12px;background:#e0f2ff;color:#087bc3;border:0}
#homeView .nw-how-card:nth-child(2) .nab-step-number{background:#dcfaed;color:#08a787}
#homeView .nw-how-card:nth-child(3) .nab-step-number{background:#e8e0ff;color:#6e54d1}
#homeView .nw-how-card-title{color:#132b46;font-size:14px;margin-bottom:5px}
#homeView .nw-how-card-description{color:#637a90;font-size:12px;line-height:1.7}
#homeView .nw-how-actions{border-top-color:#d8eaf5;margin-top:20px;padding-top:19px}
#homeView .nw-how-action-primary{background:linear-gradient(108deg,#0395e1,#0661b6)!important;border-color:#139cde}
#homeView .nw-how-action-secondary{background:#fff;border-color:#b7d8ed;color:#1766a1}
body.dark-mode #homeView .nw-v6-hero{background:linear-gradient(125deg,#12233c,#1a3852)!important}
body.dark-mode #homeView #heroTitle,body.dark-mode #homeView .nab-cat-intro h2{color:#f5faff!important}
body.dark-mode #homeView #heroSubtitle{color:#d3e6f4!important}
body.dark-mode #homeView .nw-v6-hero-art img{mix-blend-mode:normal;border-radius:18px}
body.dark-mode #homeView .nw-v6-metrics{background:#13253b;border-color:#365168}
body.dark-mode #homeView .nw-v6-metric p{color:#d0dfec}
body.dark-mode #homeView .nab-category-rail > button{background:#213a50!important;border-color:#41617a!important;color:#f0faff!important}
body.dark-mode #homeView .nw-how-shell{background:linear-gradient(115deg,#142c44,#173c52)!important;border-color:#3e5c74!important}
body.dark-mode #homeView .nw-how-title{color:#fff!important}
body.dark-mode #homeView .nw-how-description{color:#bcd1e1!important}
body.dark-mode #homeView .nw-how-card{background:#203a53;border-color:#45647c}
body.dark-mode #homeView .nw-how-card-title{color:#f3faff}
body.dark-mode #homeView .nw-how-card-description{color:#d2e4ef}
@media(max-width:1200px){
  #homeView .nw-v6-hero-grid{width:min(calc(100% - 44px),1160px)}
  #homeView .nw-v6-hero-art{margin-right:-14px}
  #homeView .nab-category-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
  #homeView #gigsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{width:160px!important}
  #homeView .nw-v6-hero-grid{grid-template-columns:minmax(0,1fr);gap:3px;padding:23px 0 29px}
  #homeView .nw-v6-hero-copy{grid-row:1}
  #homeView #heroTitle{max-width:720px}
  #homeView .nw-v6-hero-art{grid-row:2;justify-self:center;width:min(100%,640px);margin:0}
  #homeView .nw-v6-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 0}
  #homeView .nw-v6-metric:nth-child(2){border-right:0}
  #homeView .nw-v6-metrics-grid{padding:14px 0}
  #homeView .nab-premium-categories,#homeView .nab-discovery,#homeView .nab-premium-catalog,#homeView .nw-how-section,#homeView .nw-v6-metrics-grid{width:calc(100% - 44px)}
}
@media(max-width:600px){
  #homeView .nw-v6-hero-grid{width:calc(100% - 32px);padding-top:21px}
  #homeView .nw-v6-eyebrow{font-size:10px;padding:7px 12px}
  #homeView #heroTitle{font-size:clamp(29px,8.3vw,46px)!important;line-height:1.34!important;margin:16px 0 12px!important}
  #homeView #heroSubtitle{font-size:13px!important;line-height:1.8!important;margin-bottom:15px!important}
  #homeView .nw-v6-hero-art{margin-top:9px}
  #homeView .nw-v6-hero .nab-premium-search{min-height:53px}
  #homeView .nw-v6-hero #searchInput{font-size:16px!important;padding:10px 8px!important}
  #homeView .nw-v6-hero #searchBtn{padding:11px 13px!important;min-width:78px}
  #homeView .nw-v6-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #homeView .nw-v6-hero-actions button{padding:10px 8px;font-size:11px}
  #homeView .nw-v6-chips{gap:7px}
  #homeView .nw-v6-chips-label{width:100%}
  #homeView .nw-v6-metrics-grid{width:calc(100% - 24px)}
  #homeView .nw-v6-metric{padding:9px 7px;gap:8px}
  #homeView .nw-v6-metric-icon{flex-basis:25px;font-size:20px}
  #homeView .nw-v6-metric strong{font-size:18px}
  #homeView .nw-v6-metric p{font-size:10px}
  #homeView .nab-premium-categories,#homeView .nab-discovery,#homeView .nab-premium-catalog,#homeView .nw-how-section{width:calc(100% - 32px)}
  #homeView .nab-premium-categories{padding-top:23px!important}
  #homeView .nab-category-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
  #homeView .nab-category-rail > button{min-height:105px!important;padding:12px!important}
  #homeView .nab-category-rail .nw-v6-cat-icon{width:34px;height:34px;font-size:19px}
  #homeView #gigsGrid{grid-template-columns:minmax(0,1fr)}
  #homeView .nw-how-head{flex-direction:column;gap:13px}
  #homeView .nw-how-shell{padding:20px!important}
  #homeView .nw-how-steps{grid-template-columns:minmax(0,1fr);gap:11px}
  #homeView .nw-how-card{min-height:0;padding:18px}
  #homeView .nw-how-actions button{width:100%}
}
@media(max-width:370px){
  #homeView .nw-v6-hero #searchInput{font-size:14px!important}
  #homeView .nw-v6-hero #searchBtn{padding:10px 10px!important}
  #homeView .nw-v6-metric{gap:5px}
  #homeView .nw-v6-metric-icon{font-size:17px;flex-basis:19px}
  #homeView .nw-v6-metric strong{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  #homeView .nw-v6-hero-actions button,#homeView .nab-category-rail > button{transition:none!important}
  #homeView .nw-v6-hero-actions button:hover,#homeView .nab-category-rail > button:hover{transform:none!important}
}


/* Category selection must stay visible even though legacy code rewrites className. */
#homeView .nab-category-rail > button.cat-btn.bg-slate-900{
  background:linear-gradient(120deg,#edfaff,#e5f7ff)!important;
  color:#006db2!important;
  border-color:#7ec5e8!important;
  box-shadow:0 7px 21px rgba(9,137,215,.12);
}
#homeView .nw-v6-hero :is(button,input):focus-visible,
#homeView .nab-category-rail > button:focus-visible{
  outline:3px solid #0789d2;outline-offset:3px;
}
@media(max-width:600px){
  /* On phones, retain the approved editorial composition: title across the
   * viewport, the same portrait at right of the supporting paragraph, and
   * working search/CTA controls immediately below. */
  #homeView .nw-v6-hero-grid{display:block;position:relative}
  #homeView .nw-v6-hero-copy{position:relative;z-index:2}
  #homeView .nw-v6-hero-art{
    position:absolute;top:clamp(185px,47vw,235px);right:-26px;
    width:64%;max-width:355px;z-index:1;pointer-events:none;
  }
  #homeView .nw-v6-hero-art img{
    border-radius:14px;mask-image:linear-gradient(90deg,transparent 0,#000 22%,#000 98%);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%,#000 98%);
  }
  #homeView #heroSubtitle{
    width:55%;max-width:245px!important;min-height:clamp(148px,45vw,215px);
  }
  #homeView .nw-v6-hero .nab-premium-search,
  #homeView .nw-v6-hero-actions,#homeView .nw-v6-chips{
    position:relative;z-index:3
  }
}
@media(max-width:385px){
  #homeView .nw-v6-hero-art{top:199px;right:-22px;width:65%}
  #homeView #heroSubtitle{min-height:163px;width:57%}
}
body.dark-mode #homeView .nab-category-rail > button.cat-btn.bg-slate-900{
  background:linear-gradient(110deg,#1b526b,#1b425a)!important;
  color:#a7ebff!important;border-color:#51b7d5!important;
}


/* NABWORK 7.0 post-release WCAG: actual axe/Chromium contrast follow-up.
 * Restore >=4.5:1 text contrast on the approved homepage without layout edits.
 * Note: applied to homepage v6 only. Studio 7.0, banking and dashboard are untouched.
 */
#homeView .nw-v6-metric p{color:#476076}
#homeView .nab-cat-intro > div p{color:#075a91!important}
#homeView .nab-cat-intro button.cat-btn{
  background:#fff!important;color:#075b90!important;
  border:1px solid #bfdce9!important;
}
#homeView .nw-how-card .nab-step-number{color:#065584}
#homeView .nw-how-card:nth-child(2) .nab-step-number{color:#04634b}
#homeView .nw-how-card:nth-child(3) .nab-step-number{color:#4d3192}
#homeView .nw-how-card-description{color:#4e6379}
body.dark-mode #homeView .nab-cat-intro button.cat-btn{
  background:#213a50!important;color:#bdeaff!important;border-color:#517d96!important;
}
body.dark-mode #homeView .nw-v6-metric p{color:#d0dfec}
#homeView .nab-empty-state .nab-empty-primary{
  background:#046c55!important;color:#fff!important;
}
#homeView .nab-empty-state .nab-empty-primary:hover{background:#035844!important}
