:root{
  --bg:#000000;
  --fg:#F5F5F5;
  --muted:#B7B7B7;
  --gold:#D4AF37;
  --card:#0B0B0B;
  --stroke:rgba(255,255,255,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:var(--bg);
  color:var(--fg);
}

a{color:inherit; text-decoration:none}
.gold{color:var(--gold)}
.muted{color:var(--muted)}

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background:rgba(0,0,0,.65);
  border-bottom:1px solid var(--stroke);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 4vw;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand__logo{
  width:34px;
  height:34px;
  object-fit:contain;
}

.brand__name{
  font-weight:700;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav__link{
  color:var(--muted);
  font-size:14px;
}

.nav__link:hover{color:var(--fg)}

.nav__cta{
  padding:10px 14px;
  border:1px solid rgba(212,175,55,.5);
  border-radius:10px;
  color:var(--fg);
  font-weight:600;
  font-size:14px;
}

.hero{
  padding:72px 0 40px;
}

.hero__inner{
  width:min(900px, 92vw);
  margin:0 auto;
  text-align:center;
}

.eyebrow{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  margin:0 0 14px;
}

.hero__title{
  font-size:clamp(34px, 4vw, 56px);
  line-height:1.05;
  margin:0 0 14px;
}

.hero__subtitle{
  font-size:clamp(16px, 1.6vw, 20px);
  line-height:1.5;
  color:var(--muted);
  margin:0 auto 22px;
  width:min(760px, 100%);
}

.hero__ctaRow{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  border:1px solid var(--stroke);
}
.btn:hover { transform: translateY(-1px); opacity: 0.96; }

.btn--primary{
  background:var(--gold);
  color:#000;
  border-color:rgba(212,175,55,.7);
}

.btn--ghost{
  background:transparent;
  color:var(--fg);
}

.hero__proof{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
}

.section{
  padding:46px 0;
  border-top:1px solid rgba(255,255,255,.06);
}

.h2{
  font-size:26px;
  margin:0 0 12px;
}

.h3{
  font-size:16px;
  margin:0 0 8px;
}

.p{
  margin:0;
  line-height:1.6;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:16px;
}

.grid6{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:10px;
  margin-top:18px;
}

.tag{
  border:1px solid rgba(212,175,55,.35);
  background:rgba(212,175,55,.08);
  color:var(--fg);
  text-align:center;
  padding:12px 10px;
  border-radius:14px;
  font-weight:700;
  font-size:14px;
}

.ctaBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(212,175,55,.25);
  background:rgba(255,255,255,.03);
}

.faq{margin-top:12px}
.faq__item{
  border:1px solid var(--stroke);
  background:var(--card);
  border-radius:14px;
  padding:12px 14px;
  margin-bottom:10px;
}
.faq__item summary{
  cursor:pointer;
  font-weight:700;
}

.footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:24px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:14px;
}
.footer__logo{
  width:26px;
  height:26px;
  object-fit:contain;
}

/* ========== HOW IT WORKS ========== */
.how{
  padding:72px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
.how__header{
  max-width:820px;
  margin-bottom:28px;
}
.how__title{
  margin:10px 0 10px;
  line-height:1.05;
  letter-spacing:-0.02em;
}
.how__subtitle{
  margin:0;
  opacity:.85;
  line-height:1.45;
}
.how__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
  margin-top:26px;
}
.how__card{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  border-radius:16px;
  padding:18px 18px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.how__icon{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.04);
  color:var(--gold);
}
.how__cardTitle{
  margin:0;
  font-size:18px;
  line-height:1.2;
  letter-spacing:-0.01em;
}
.how__cardText{
  margin:0;
  opacity:.85;
  line-height:1.45;
  font-size:15px;
}
.how__cta{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.how__fineprint{
  margin:0;
  opacity:.7;
  font-size:14px;
}

/* ===== Assessment UI ===== */
.assess__wrap{max-width:900px}
.assess__header{margin-bottom:18px}
.assess__title{margin:10px 0 10px; line-height:1.05; letter-spacing:-.02em}
.assess__subtitle{margin:0}

.assess__progress{margin:18px 0 16px}
.assess__progressTop{display:flex; justify-content:space-between; gap:12px; margin-bottom:8px}
.assess__bar{height:10px; border-radius:999px; background:rgba(255,255,255,.06); overflow:hidden; border:1px solid rgba(255,255,255,.10)}
.assess__barFill{height:100%; background:var(--gold); width:0%}

.assess__card{padding:18px}
.assess__qMeta{margin-bottom:10px; display:flex; justify-content:flex-start}
.assess__question{margin:0 0 14px; font-size:22px; line-height:1.2}

.assess__navRow{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
.assess__navRight{display:flex; gap:10px; flex-wrap:wrap}

.assess__fineprint{margin:12px 0 0}
.assess__footer{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:10px}
.assess__reset{background:transparent; border:none; color:var(--muted); cursor:pointer; text-decoration:underline}
.assess__reset:hover{color:var(--fg)}

/* ===== Result UI ===== */
.result__wrap{max-width:980px}
.result__title{margin:10px 0 10px; line-height:1.05; letter-spacing:-.02em}
.result__subtitle{margin:0}
.result__grid{margin-top:18px}
.result__block{margin-top:14px}

/* ===== Assessment OPTIONS (single source of truth) ===== */
#options.assess__options{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 14px;
}

#options .assess__opt{
  appearance:none;
  -webkit-appearance:none;
  text-align:left;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(212,175,55,.45);
  background:rgba(0,0,0,.65);
  color:var(--fg);
  font-weight:650;
  font-size:14px;
  line-height:1.25;
  cursor:pointer;
  transition: transform .06s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

#options .assess__opt:hover{
  border-color: rgba(212,175,55,.7);
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
  transform: translateY(-1px);
}

#options .assess__opt:focus-visible{
  outline:none;
  border-color: rgba(212,175,55,.85);
  box-shadow: 0 0 0 3px rgba(212,175,55,.22);
}

/* Selected state (support both classes) */
#options .assess__opt.selected,
#options .assess__opt.is-selected,
#options .assess__opt.active,
#options .assess__opt[aria-pressed="true"]{
  background: rgba(212,175,55,.16);
  border-color: rgba(212,175,55,.95);
  box-shadow: 0 0 0 3px rgba(212,175,55,.22);
}

#options .assess__opt.selected::before,
#options .assess__opt.is-selected::before,
#options .assess__opt.active::before,
#options .assess__opt[aria-pressed="true"]::before{
  content:"✓";
  display:inline-block;
  margin-right:8px;
  color:var(--gold);
  font-weight:800;
}

@media (max-width: 900px){
  .grid6{grid-template-columns: repeat(2, 1fr);}
  .grid3{grid-template-columns: 1fr;}
  .nav__link{display:none;}
  .ctaBox{flex-direction:column; align-items:flex-start;}
  .assess__question{font-size:20px}
}

@media (max-width: 920px){
  .how__grid{ grid-template-columns: 1fr; }
  .how{ padding:56px 0; }
}

@media (max-width: 700px){
  #options.assess__options{ gap:8px; }
  #options .assess__opt{ width:100%; }
}

/* ===== FINAL OVERRIDE: assessment options ===== */
#options.assess__options{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin:10px 0 14px !important;
}

#options .assess__opt{
  -webkit-appearance:none !important;
  appearance:none !important;

  background: rgba(0,0,0,.72) !important;
  color: var(--fg) !important;

  border: 1px solid rgba(212,175,55,.55) !important;
  border-radius: 12px !important;

  padding: 10px 12px !important;
  font-weight: 650 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;

  display:inline-flex !important;
  align-items:center !important;

  cursor:pointer !important;
  white-space:normal !important;
  text-align:left !important;

  transition: transform .06s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}

#options .assess__opt:hover{
  border-color: rgba(212,175,55,.85) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.18) !important;
  transform: translateY(-1px) !important;
}

#options .assess__opt.selected,
#options .assess__opt.is-selected,
#options .assess__opt.active,
#options .assess__opt[aria-pressed="true"]{
  background: rgba(212,175,55,.18) !important;
  border-color: rgba(212,175,55,.98) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.22) !important;
}

#options .assess__opt.selected::before,
#options .assess__opt.is-selected::before,
#options .assess__opt.active::before,
#options .assess__opt[aria-pressed="true"]::before{
  content:"✓";
  display:inline-block;
  margin-right:8px;
  color: var(--gold);
  font-weight: 800;
}

@media (max-width:700px){
  #options .assess__opt{ width:100% !important; }
}

/* ==============================
   HOME HERO IMAGE BACKGROUND (PATCH)
   ============================== */

.hero.hero--img{
  position:relative;
  padding:88px 0 54px;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* background image */
.hero.hero--img::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("/v2/assets/hero.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  /* meno “sfumato” + più visibile */
  opacity:.72;
  filter: saturate(1.12) contrast(1.10);
  transform: scale(1.02);
}

/* dark overlay for readability (più leggero di prima) */
.hero.hero--img::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 50% 30%, rgba(0,0,0,.08) 0%, rgba(0,0,0,.52) 60%, rgba(0,0,0,.78) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,.72));
}

.hero.hero--img .hero__inner{
  position:relative;
  z-index:1;
}

/* Slightly stronger headline readability */
.hero.hero--img .hero__title{
  text-shadow: 0 8px 30px rgba(0,0,0,.55);
}

.hero.hero--img .hero__subtitle{
  text-shadow: 0 8px 26px rgba(0,0,0,.45);
}

/* ==============================
   HEADER BRAND CLICKABLE
   ============================== */
.topbar .brand{
  color:inherit;
  text-decoration:none;
}

/* ==============================
   GROWTH STYLES GRID (PATCH)
   ============================== */

.stylesGrid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}

.styleCard{
  border:1px solid rgba(212,175,55,.46);
  background: rgba(212,175,55,.10);
  border-radius:16px;
  padding:14px 14px 12px;
  min-height:78px;
  display:flex;
  align-items:center;

  box-shadow:
    0 0 0 1px rgba(212,175,55,.12) inset,
    0 14px 36px rgba(212,175,55,.06);
}

.styleCard__name{
  font-weight:850;
  letter-spacing:.2px;
}

.styleCard__micro{
  margin-top:6px;
  font-size:13px;
  line-height:1.25;
  color: rgba(245,245,245,.86);
}

/* responsive */
@media (max-width: 980px){
  .stylesGrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px){
  .stylesGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero.hero--img{ padding:72px 0 44px; }
}

@media (max-width: 700px){
  .hero.hero--img::before{ opacity:.82; }
  .hero.hero--img::after{
    background:
      radial-gradient(700px 360px at 50% 28%,
        rgba(0,0,0,.06) 0%,
        rgba(0,0,0,.48) 60%,
        rgba(0,0,0,.72) 100%
      ),
      linear-gradient(to bottom,
        rgba(0,0,0,.26),
        rgba(0,0,0,.66)
      );
  }
}

/* ==============================
   ASSESSMENT – FORCE 1 COLUMN + MICROSPACING
   (add at the very end of style.css)
   ============================== */

/* 1) Always stack answers in one column (desktop included) */
#options.assess__options{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:12px !important;
  margin:14px 0 16px !important;
}

/* Make each option full width */
#options .assess__opt{
  width:100% !important;
  justify-content:flex-start !important;
  padding:12px 14px !important;   /* microspacing */
}

/* 2) Slightly more breathing room around question text */
.assess__question{
  margin:0 0 16px !important;
}

/* 3) Optional: keep buttons row tidy */
.assess__navRow{
  margin-top:10px;
}

/* ==============================
   RESULT PAGE – HEADLINE TUNING
   ============================== */

.result__header{
  margin-top: 22px;
  margin-bottom: 26px;
}

.result__title{
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.result__subtitle{
  font-size: 17px;
  line-height: 1.5;
  opacity: .85;
  max-width: 680px;
}

/* mobile breathing */
@media (max-width:700px){
  .result__header{
    margin-top: 14px;
    margin-bottom: 22px;
  }
}

/* ===== Growth Map readability ===== */
.mapWrap { max-width: 980px; }
.mapBody { max-width: 78ch; }

.mapSectionTitle{
  margin: 18px 0 10px;
  letter-spacing: -0.01em;
}

.mapCard{
  background: var(--card);
  border:1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px;
}

.mapGrid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.mapKicker{
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin: 0 0 10px;
}

.mapToc{
  position: sticky;
  top: 74px;
  align-self: start;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.45);
  border-radius: 16px;
  padding: 12px;
}

.mapToc a{
  display:block;
  padding:8px 10px;
  border-radius: 12px;
  color: var(--muted);
}
.mapToc a:hover{ color: var(--fg); background: rgba(255,255,255,.04); }

@media (max-width: 980px){
  .mapGrid2{ grid-template-columns: 1fr; }
  .mapToc{ position: static; }
}

/* ==============================
   MAP PAGE — CARDS + TYPO (PATCH)
   ============================== */

.mapWrap{ max-width:980px; margin:0 auto; }

.mapHeader{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:14px;
}

.mapTitle{
  font-size:36px;
  line-height:1.05;
  margin:6px 0 0;
  letter-spacing:-.02em;
}

.mapSub{
  margin:0;
  opacity:.85;
  line-height:1.5;
}

.mapBadges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(245,245,245,.92);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

.badge--gold{
  border-color: rgba(212,175,55,.55);
  background: rgba(212,175,55,.10);
}

.mapCards{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.mapCard{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
}

.mapCard__kicker{
  color: rgba(212,175,55,.92);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1.5px;
  font-size:12px;
  margin:0 0 10px;
}

.mapCard__title{
  font-size:18px;
  margin:0 0 10px;
  letter-spacing:-.01em;
}

.mapCard__title strong{ font-weight:850; }

.mapCard__body{
  text-align:left;
  font-size:16px;
  line-height:1.65;
  color: rgba(245,245,245,.92);
}

.mapCard__body p{ margin:0 0 10px; }
.mapCard__body p:last-child{ margin-bottom:0; }

.mapCard__body ul{
  margin:8px 0 12px 18px;
}
.mapCard__body li{ margin:4px 0; }

.mapCard__divider{
  border:0;
  border-top:1px solid rgba(255,255,255,.08);
  margin:12px 0;
}

/* Collapsible (Anti-sabotage) */
.mapDisclosure{
  border:1px solid rgba(212,175,55,.25);
  background: rgba(212,175,55,.06);
  border-radius: 16px;
  padding: 0;
  overflow:hidden;
}

.mapDisclosure summary{
  list-style:none;
  cursor:pointer;
  padding: 16px 18px;
  font-weight:850;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.mapDisclosure summary::-webkit-details-marker{ display:none; }

.mapDisclosure summary::after{
  content:"▾";
  color: rgba(212,175,55,.9);
  font-weight:900;
}

.mapDisclosure[open] summary::after{
  content:"▴";
}

.mapDisclosure .mapDisclosure__inner{
  padding: 0 18px 16px;
}

@media (max-width:700px){
  .mapTitle{ font-size:30px; }
}

/* =========================
   MAP VISUAL HIERARCHY
   Append at bottom of style.css
========================= */

.mapCards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Base card improvement */
.mapCard{
  position: relative;
  border-radius: 16px;
  padding: 18px 18px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
}

.mapCard__title{
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.mapCard__body p{
  margin: 0 0 10px 0;
  line-height: 1.55;
}

.mapCard__body ul{
  margin: 10px 0 8px 18px;
}

/* Kicker cards (section dividers) */
.mapCard--kicker{
  padding: 14px 16px;
  background: rgba(255,215,130,0.06);
  border: 1px solid rgba(255,215,130,0.16);
}

.mapCard__kicker{
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}

/* --- THE CORE: WEEKLY LOOPS --- */
.mapCard--week{
  padding: 22px 18px 18px;
  border: 1px solid rgba(255,215,130,0.20);
  background:
    radial-gradient(1200px 300px at 20% 0%, rgba(255,215,130,0.10), transparent 60%),
    rgba(255,255,255,0.03);
}

.mapCard--week:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(255,215,130,0.9), rgba(255,215,130,0.15));
}

.weekBadge{
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(20,16,10,0.95);
  background: rgba(255,215,130,0.95);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

/* Make week titles feel like headers */
.mapCard--week .mapCard__title{
  font-size: 22px;
  margin-right: 64px; /* space for badge */
}

/* Special cards: Start/Principle/Rule/Friction */
.mapCard--start{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(150,200,255,0.10), transparent 60%),
    rgba(255,255,255,0.03);
  border-color: rgba(150,200,255,0.18);
}

.mapCard--principle{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(160,255,200,0.09), transparent 60%),
    rgba(255,255,255,0.03);
  border-color: rgba(160,255,200,0.16);
}

.mapCard--rule{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(255,160,160,0.08), transparent 60%),
    rgba(255,255,255,0.03);
  border-color: rgba(255,160,160,0.16);
}

.mapCard--friction{
  background:
    radial-gradient(900px 240px at 20% 0%, rgba(255,215,130,0.08), transparent 60%),
    rgba(255,255,255,0.03);
  border-color: rgba(255,215,130,0.14);
}

/* Improve readability on mobile */
@media (max-width: 560px){
  .mapCard{ padding: 16px 14px 14px; }
  .mapCard--week{ padding: 20px 14px 16px; }
  .mapCard--week .mapCard__title{ font-size: 20px; }
  .weekBadge{ width: 38px; height: 38px; border-radius: 11px; }
}
