:root{
  /* Armory palette (light, calm, non-ominous) */
  --bg: #f7f4ee;          /* warm paper */
  --panel: #ffffff;       /* card */
  --panel-2: #fbfaf7;     /* subtle alt */
  --text: #1f2937;        /* slate-800 */
  --muted: #6b7280;       /* slate-500 */

  /* Accents: Authority (gold), Identity (blue), Warfare (red) */
  --gold: #b18a2e;        /* muted gold */
  --gold-2: #d0b15a;
  --blue: #2f5fae;        /* soft blue */
  --blue-2: #5b84c6;
  --red: #b24a4a;         /* restrained red */
  --red-2: #cf6a6a;

  --ink: #0b0f12;

  --line: rgba(31,41,55, 0.10);
  --shadow: 0 8px 22px rgba(17,24,39,.08);
  --radius: 16px;
  --radius-2: 22px;

  --tap: 46px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 700px at 15% 5%, rgba(177,138,46,.10), transparent 55%),
    radial-gradient(900px 650px at 85% 0%, rgba(47,95,174,.08), transparent 60%),
    radial-gradient(900px 650px at 65% 95%, rgba(178,74,74,.06), transparent 60%),
    var(--bg);
  color: var(--text);
}

.container{
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 14px 40px;
}

.app-header{
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(8px);
  background: rgba(247,244,238,.82);
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: linear-gradient(180deg, rgba(177,138,46,.18), rgba(177,138,46,.06));
  border: 1px solid rgba(177,138,46,.30);
  box-shadow: var(--shadow);
}
.brand-text .title{
  font-weight: 700;
  letter-spacing: .2px;
}
.brand-text .subtitle{
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-top: 14px;
}

h1{
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: .2px;
}
.h2{
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: .15px;
}
p{ margin: 10px 0; }
.small{ font-size: 13px; }
.muted{ color: var(--muted); }
.hidden{ display:none !important; }

.row{
  display:flex;
  align-items:center;
  gap: 10px;
}
.row.wrap{ flex-wrap: wrap; }
.gap{ gap: 10px; }

.pill{
  display:inline-flex;
  align-items:center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.btn{
  height: var(--tap);
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  color: var(--text);
  cursor:pointer;
  font-weight: 600;
  letter-spacing: .1px;
}
.btn:hover{ border-color: rgba(31,41,55,.22); }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(180deg, rgba(47,95,174,.92), rgba(47,95,174,.76));
  border: 1px solid rgba(47,95,174,.40);
  color: #ffffff;
}
.btn-primary:hover{
  background: linear-gradient(180deg, rgba(91,132,198,.92), rgba(47,95,174,.76));
}
.btn-ghost{
  background: rgba(255,255,255,.70);
}

.sheet{ margin-top: 4px; }

.acc{
  padding: 0;
  overflow:hidden;
}
.acc-head{
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 14px 14px;
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items:center;
  cursor:pointer;
}
.acc-title{
  font-weight: 800;
  letter-spacing: .2px;
}
.acc-summary{
  font-size: 13px;
  text-align: right;
  max-width: 260px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.acc-icon{
  color: rgba(202,162,74,.9);
  font-size: 18px;
  transform: translateY(-1px);
}
.acc-body{
  padding: 0 14px 14px;
}

.prompt{
  margin-top: 6px;
  margin-bottom: 10px;
  color: var(--muted);
}

.divider{
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}

.choice-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 720px){
  .choice-grid{ grid-template-columns: 1fr 1fr; }
}

.choice-list{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.choice{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px;
  background: rgba(255,255,255,.70);
  cursor:pointer;
  min-height: var(--tap);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.choice:hover{ border-color: rgba(31,41,55,.22); }
.choice .ctitle{ font-weight: 750; }
.choice .csub{ margin-top: 6px; font-size: 13px; color: var(--muted); }
.choice.selected{
  border-color: rgba(31,41,55,.28);
  background: linear-gradient(180deg, rgba(31,41,55,.04), rgba(255,255,255,.70));
}

.chosen-box{
  border: 1px dashed rgba(177,138,46,.35);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(177,138,46,.06);
}
.chosen-label{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .2px;
  text-transform: uppercase;
}
.chosen-title{
  margin-top: 6px;
  font-weight: 850;
}
.chosen-summary{
  margin-top: 6px;
  font-size: 13px;
}

.note{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255,255,255,.70);
}
.note.warning{
  border-color: rgba(177,138,46,.28);
  background: rgba(177,138,46,.06);
}

.selections{
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.sel{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.70);
}
.sel-k{ color: var(--muted); font-size: 13px; }
.sel-v{ font-weight: 750; text-align:right; }

.bullets{
  margin: 0;
  padding-left: 18px;
  line-height: 1.35;
}
.bullets li{ margin: 8px 0; }

.cluster-wrap{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 800px){
  .cluster-wrap{ grid-template-columns: 1fr 1.4fr; }
}
.cluster-col{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--panel-2);
}

.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.35);
  z-index: 20;
}
.modal{
  width: min(760px, calc(100vw - 26px));
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 14px;
  z-index: 21;
}
.modal::backdrop{ background: transparent; }
.modal-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.modal-title{
  font-weight: 850;
  letter-spacing: .2px;
}


/* Nested prayer-flow bullets */
.bullets .sublist { margin-top: 6px; }
.bullets .sublist li { margin-top: 4px; }

/* Two-column chooser (collapses on phone) */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

/* Card detail modal content */
.detail-body { padding: 4px 2px 2px; max-height: min(70vh, 560px); overflow: auto; }
.detail-body h4 { margin: 14px 0 6px; font-size: 0.95rem; }
.detail-body ul { margin: 6px 0 0 18px; }
.detail-body .kv { margin-top: 10px; }
.detail-body .pill { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(31,41,55,0.12); font-size: 0.78rem; color: rgba(31,41,55,0.70); }
.detail-body .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.9rem; }


/* Section accents (Option C) */
#authorityChoice .choice:hover { border-color: rgba(177,138,46,.35); }
#authorityChoice .choice.selected {
  border-color: rgba(177,138,46,.45);
  background: linear-gradient(180deg, rgba(177,138,46,.10), rgba(255,255,255,.75));
}

#identityChoice .choice:hover { border-color: rgba(47,95,174,.35); }
#identityChoice .choice.selected {
  border-color: rgba(47,95,174,.45);
  background: linear-gradient(180deg, rgba(47,95,174,.10), rgba(255,255,255,.75));
}

#warfareCards .choice:hover { border-color: rgba(178,74,74,.38); }
#warfareCards .choice.selected {
  border-color: rgba(178,74,74,.48);
  background: linear-gradient(180deg, rgba(178,74,74,.10), rgba(255,255,255,.75));
}

/* Situation stays neutral-calm */
#situationCards .choice.selected,
#secondaryCards .choice.selected {
  border-color: rgba(31,41,55,.28);
  background: linear-gradient(180deg, rgba(31,41,55,.04), rgba(255,255,255,.75));
}


.landing{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px 14px 34px;
}
.landing-card{
  width: min(860px, calc(100vw - 26px));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px;
}
.landing-mark{
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 6px 0 14px;
  position: relative;
}
.mark-shield{
  width: 86px;
  height: 96px;
  border-radius: 18px;
  background:
    radial-gradient(140px 90px at 30% 25%, rgba(177,138,46,.28), transparent 55%),
    radial-gradient(120px 90px at 70% 70%, rgba(47,95,174,.18), transparent 58%),
    linear-gradient(180deg, rgba(31,41,55,.06), rgba(255,255,255,.9));
  border: 1px solid rgba(31,41,55,.12);
  box-shadow: 0 10px 25px rgba(17,24,39,.10);
  transform: rotate(-2deg);
  clip-path: polygon(14% 0%, 86% 0%, 100% 18%, 100% 64%, 50% 100%, 0% 64%, 0% 18%);
}
.mark-stripe{
  position:absolute;
  width: 168px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177,138,46,.55), transparent);
  bottom: -10px;
}
.landing-title{ text-align:center; margin-bottom: 10px; }
.landing-title .kicker{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.landing-title .title{
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 10px;
}
.landing-title .subtitle{
  margin: 0;
  color: rgba(31,41,55,.72);
  font-size: 16px;
  line-height: 1.5;
}
.landing-message{
  margin: 14px auto 16px;
  max-width: 720px;
  color: rgba(31,41,55,.82);
  line-height: 1.6;
}
.landing-bullets{
  margin: 10px 0 0 18px;
  padding: 0;
  color: rgba(31,41,55,.78);
}
.landing-actions{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.landing-more{ margin-top: 14px; }
@media (max-width: 520px){
  .landing-title .title{ font-size: 36px; }
  .landing-card{ padding: 18px 14px 14px; }
}


/* Landing page (cover-style) */
.app-root.hidden { display:none; }
.landing{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px 14px 34px;
}
.cover-wrap{
  width: min(980px, calc(100vw - 26px));
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: center;
}
.cover{
  background:
    radial-gradient(800px 420px at 20% 20%, rgba(177,138,46,.18), transparent 55%),
    radial-gradient(700px 420px at 85% 35%, rgba(47,95,174,.12), transparent 60%),
    linear-gradient(180deg, rgba(11,15,18,.96), rgba(11,15,18,.86));
  color: #f8fafc;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 44px rgba(17,24,39,.22);
  padding: 22px 22px 18px;
  aspect-ratio: 2 / 3;
  display:flex;
  flex-direction:column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.cover-topline, .cover-bottomline{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177,138,46,.65), transparent);
  opacity: .9;
}
.cover-mark{
  display:flex;
  justify-content:center;
  margin-top: 6px;
}
.cover-shield{
  width: 66px;
  height: 76px;
  border-radius: 18px;
  background:
    radial-gradient(120px 80px at 30% 25%, rgba(177,138,46,.40), transparent 55%),
    radial-gradient(120px 80px at 70% 70%, rgba(47,95,174,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(177,138,46,.35);
  clip-path: polygon(14% 0%, 86% 0%, 100% 18%, 100% 64%, 50% 100%, 0% 64%, 0% 18%);
}
.cover-title{
  text-align:center;
  letter-spacing: .10em;
  margin-top: 2px;
}
.cover-word{
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
}
.cover-subtitle{
  text-align:center;
  margin-top: 10px;
  font-size: 18px;
  letter-spacing: .18em;
  color: rgba(208,177,90,.95);
}
.cover-tag{
  text-align:center;
  font-size: 13px;
  color: rgba(255,255,255,.70);
  line-height: 1.45;
  padding: 0 10px 2px;
}
.cover-copy{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  padding: 18px 16px 16px;
  box-shadow: 0 10px 26px rgba(17,24,39,.08);
}
.cover-lede{
  margin: 0 0 10px;
  color: rgba(31,41,55,.86);
  line-height: 1.6;
}
.cover-bullets{
  margin: 0 0 14px 18px;
  padding: 0;
  color: rgba(31,41,55,.76);
  line-height: 1.6;
}
@media (max-width: 860px){
  .cover-wrap{ grid-template-columns: 1fr; }
  .cover{ width: min(420px, 100%); margin: 0 auto; }
}


/* Cinematic hero landing */
.hero-landing{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg{
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.75) 100%
  );
}

.hero-content{
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* lower-third */
  align-items: center;
  text-align: center;
  padding: 0 20px 80px;
  color: #f8fafc;
}

.hero-small{
  letter-spacing: .12em;
  font-size: 14px;
  margin-bottom: 16px;
  opacity: .9;
}

.hero-main{
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.hero-tag{
  font-size: 18px;
  opacity: .85;
  margin-bottom: 28px;
}

.hero-btn{
  padding: 14px 28px;
  font-size: 16px;
}

@media (max-width: 640px){
  .hero-main{ font-size: 34px; }
  .hero-tag{ font-size: 16px; }
}


/* App background hero */
.app-root{
  position: relative;
  min-height: 100vh;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.app-root::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.10) 30%,
    rgba(0,0,0,0.18) 70%,
    rgba(0,0,0,0.35) 100%
  );
  pointer-events:none;
}
.app-root > *{
  position: relative;
  z-index: 1;
}

/* Make the sheet feel like a readable field manual on top of the hero */
.sheet{
  background: rgba(247,244,238,.92);
  border: 1px solid rgba(31,41,55,.14);
  backdrop-filter: blur(6px);
}
.header{
  background: rgba(247,244,238,.88);
  backdrop-filter: blur(6px);
}


.modal-hd{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.modal-title{
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.modal-bd{}


  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.choice-main{ min-width: 0; }
.choice .ctitle, .choice .csub{ word-wrap: break-word; }

.choice-detail-btn{
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  min-height: calc(var(--tap) - 6px);
}
.choice-detail-btn:hover{ background: rgba(255,255,255,1); }
.choice-detail-btn:active{ transform: translateY(1px); }


/* Detail modal (div-based) */
#detailModal{
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(17,24,39,.45);
}

#detailModal:not(.hidden){
  display: block;
}

#detailModal .modal-panel{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 26px));
  max-height: min(85vh, 900px);
  overflow: auto;
}

#detailModal .modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.35);
  z-index: 0;
}

#detailModal .modal-panel{
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 26px));
  max-height: min(85vh, 900px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 14px;
}

#detailModal .modal-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

#detailModal .modal-title{
  margin: 2px 0 0;
}

#detailModal .detail-body{
  padding-top: 12px;
}

#detailModal .modal-footer{
  margin-top: 12px;
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* Mobile: make it feel like a drawer */
@media (max-width: 767px){
  #detailModal{
    align-items: flex-end;
    padding: 0;
  }
  #detailModal .modal-panel{
    width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
}


/* Detail modal layering */
#detailModal{ z-index: 10000; }


@media print{
  #landing{ display:none !important; }
  .hero-landing{ display:none !important; }
  .app-header{ display:none !important; }
  .acc{ display:none !important; }
  #prayerBlock{ display:block !important; }
  #lockedNote{ display:none !important; }
}

/* Landing actions */
.hero-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}
.hero-btn-secondary{
  min-width: 220px;
}

/* How-to modal */
.howto-list{
  margin: 0;
  padding-left: 18px;
}
.howto-list li{
  margin: 10px 0;
  line-height: 1.35;
}
.howto-k{
  font-weight: 600;
}

/* Landing menu button */
.landing-menu-btn{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

/* Menu list */
.menu-list{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.menu-item{
  width: 100%;
}
.resource-list{
  margin: 0;
  padding-left: 18px;
}
.resource-list li{
  margin: 10px 0;
}

.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.modal-x{
  border:none;
  background:transparent;
  font-size:20px;
  cursor:pointer;
  padding:4px 8px;
}

/* Hamburger menu button */
.hamburger{
  position:absolute;
  top:14px;
  right:14px;
  width:34px;
  height:26px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:transparent;
  border:none;
  padding:0;
  cursor:pointer;
  z-index:3;
}

.hamburger span{
  display:block;
  height:3px;
  width:100%;
  background:#ffffff;
  border-radius:2px;
}

.hamburger:hover span{
  opacity:0.8;
}

/* v75 modal centering */
dialog.modal{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

dialog.modal::backdrop{
  background: rgba(17,24,39,.35);
}

/* v79 detail modal fix: remove backdrop as a flex item so the panel centers reliably */
#detailModal .modal-backdrop{ display: none !important; }
#detailModal{ justify-content: center !important; }

/* v83 resource thumbnails */
.resource-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin:16px 0;
}

.resource-thumb{
  width:110px;
  height:auto;
  border-radius:6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.resource-blurb{
  margin:6px 0 10px 0;
  font-size:14px;
  line-height:1.45;
  color: var(--muted);
}

/* v88 contact form */
.form-label{
  display:block;
  margin: 12px 0 6px 0;
  font-size: 14px;
  color: var(--muted);
}
.form-input{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2, #fff);
  color: var(--text);
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.35;
}
.form-input:focus{
  outline: none;
  border-color: rgba(99,102,241,.6);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.form-actions{
  display:flex;
  justify-content:flex-end;
  margin-top: 14px;
}
.form-status{
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}


.contact-email{
  font-size: 1.1rem;
  margin-top: 10px;
}

.contact-email a{
  color: #c9a96a;
  text-decoration: none;
  font-weight: 600;
}

.contact-email a:hover{
  text-decoration: underline;
}

/* v89 hero image */
.hero-image{
  width:100%;
  display:flex;
  justify-content:center;
  margin-bottom:18px;
}
.hero-image img{
  width:100%;
  max-width:1200px;
  border-radius:14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}



/* v95 card details modal: full-screen overlay + centered panel */
#detailModal{
  position: fixed !important;
  inset: 0 !important;
  background: transparent !important;
  z-index: 3000 !important;
}

#detailModal.hidden{ display: none !important; }
#detailModal:not(.hidden){ display: block !important; }

#detailModal .modal-backdrop{
  position: fixed !important;
  inset: 0 !important;
  background: rgba(17,24,39,.45) !important;
  z-index: 0 !important;
}

#detailModal .modal-panel{
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 1 !important;
  width: min(760px, calc(100vw - 26px)) !important;
  max-height: min(85vh, 900px) !important;
  overflow: auto !important;
}

/* v96: ensure Card Details backdrop is visible (overrides earlier v79 rule) */
#detailModal .modal-backdrop{ display: block !important; }


/* ===== Website shell (added for site/app separation) ===== */
body.site { background: #0b0f14; }
.site-shell { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,15,20,.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .site-shell { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-brand { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.site-nav{ display:flex; align-items:center; gap:10px; }
.site-nav-link,
.site-nav-trigger,
.site-subnav a{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}
.site-nav-link,
.site-nav-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 12px;
  border:0;
  border-radius:12px;
  background:transparent;
  cursor:pointer;
  transition:background-color .18s ease, color .18s ease;
}
.site-nav-link:hover,
.site-nav-trigger:hover,
.site-nav-link:focus-visible,
.site-nav-trigger:focus-visible{
  color:#fff;
  background:rgba(255,255,255,.08);
  outline:none;
}
.site-nav-link.is-active,
.site-nav-group.is-open .site-nav-trigger,
.site-nav-group.is-active .site-nav-trigger{
  color:#fff;
  background:rgba(255,255,255,.12);
}
.site-nav-group{ position:relative; }
.site-nav-trigger::after{
  content:'';
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:1.8px solid currentColor;
  border-bottom:1.8px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
  transition:transform .18s ease;
}
.site-nav-group.is-open .site-nav-trigger::after{ transform:rotate(225deg) translateY(-1px); }
.site-subnav{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:220px;
  padding:10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:rgba(15,22,35,.98);
  box-shadow:0 18px 42px rgba(0,0,0,.34);
  display:none;
}
.site-nav-group.is-open .site-subnav{ display:block; }
.site-subnav a{
  display:block;
  border-radius:12px;
  padding:12px 14px;
}
.site-subnav a:hover,
.site-subnav a:focus-visible,
.site-subnav a.is-active{
  color:#fff;
  background:rgba(255,255,255,.08);
  outline:none;
}
.site-main { padding: 32px 0 64px; }
.site-footer { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; color: rgba(255,255,255,.7); font-size: 13px; }

.site-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: stretch; margin-top: 6px; }
.site-hero-media { border-radius: 18px; min-height: 320px; background-image: url('../assets/images/hero.png'); background-size: cover; background-position: center; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.site-hero-content { padding: 18px 0; }
.kicker { color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.site-main h1 { color: #fff; margin: 0 0 12px; font-size: 40px; line-height: 1.1; }
.site-main h2 { color: #fff; margin: 0 0 10px; font-size: 22px; }
.lead { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.p { color: rgba(255,255,255,.78); line-height: 1.65; }
.muted { color: rgba(255,255,255,.6); }
.site-section { margin-top: 34px; padding-top: 6px; }
.site-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.site-list { color: rgba(255,255,255,.78); line-height: 1.8; padding-left: 18px; }
.li-title { color: rgba(255,255,255,.92); font-weight: 600; }
.site-bullets { color: rgba(255,255,255,.78); line-height: 1.9; padding-left: 18px; }

@media (max-width: 900px) {
  .site-hero { grid-template-columns: 1fr; }
  .site-main h1 { font-size: 34px; }
}

/* ===== Reliability fixes (buttons + links) ===== */
a.btn, button.btn, .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.1;
  text-decoration: none !important;
}
.btn:link, .btn:visited, .btn:hover, .btn:active{ text-decoration:none !important; }
.btn *{ text-decoration:none !important; }

/* ===== Resources product showcase ===== */
.resource-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.resource-card{
  display:flex;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.resource-cover{
  width: 140px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 24px rgba(0,0,0,.30);
  flex: 0 0 auto;
}

.resource-description{ margin: 10px 0; color: rgba(255,255,255,.84); }
.resource-recommended{ margin: 0 0 12px 0; color: rgba(255,255,255,.72); }

.start-guide{
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.start-guide-lead{ margin-top: 8px; color: rgba(255,255,255,.84); }

.guide-cards{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-card{
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}

.start-guide .guide-card h3{
  margin: 0 0 6px 0;
  font-size: 16px;
  color: rgba(255,255,255,.92);
}

.guide-card p{ margin: 0; color: rgba(255,255,255,.84); }

@media (hover:hover){
  .resource-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,.32);
  }
}

@media (max-width: 820px){
  .guide-cards{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .resource-grid{ gap: 14px; }
  .resource-card{
    display:grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items:start;
    gap: 12px;
    padding: 14px;
  }
  .resource-cover{
    width: 96px;
    max-width: none;
    border-radius: 10px;
  }
  .resource-info h2{
    margin: 0 0 6px 0;
    font-size: 20px;
    line-height: 1.15;
  }
  .resource-description{
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.45;
  }
  .resource-recommended{
    margin: 0 0 10px 0;
    font-size: 14px;
  }
  .resource-info .btn{
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (max-width: 420px){
  .resource-card{
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
  .resource-cover{ width: 84px; }
  .resource-info h2{ font-size: 18px; }
}


/* v2.7 mobile site navigation */
.site-menu-toggle{
  display:none;
  margin-left:auto;
  border:0;
  border-radius:0;
  background:transparent;
  padding:6px 2px;
  color:#fff;
  font-size:28px;
  line-height:1;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:none;
}
.site-menu-toggle:hover{ background:transparent; opacity:.9; }
.site-menu-toggle:focus-visible{
  outline:2px solid rgba(255,255,255,.35);
  outline-offset:4px;
  border-radius:8px;
}

@media (max-width: 860px){
  .site-header .site-shell{
    position:relative;
    height:auto;
    min-height:60px;
    padding-top:8px;
    padding-bottom:8px;
    gap:12px;
    flex-wrap:wrap;
  }
  .site-brand{ max-width:calc(100% - 44px); }
  .site-header.nav-ready .site-menu-toggle{ display:inline-flex; }
  .site-header.nav-ready .site-nav{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px 0 2px;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .site-header.nav-ready.is-open .site-nav{ display:flex; }
  .site-header.nav-ready .site-nav-link,
  .site-header.nav-ready .site-nav-trigger{
    width:100%;
    justify-content:flex-start;
    padding:14px 4px;
    font-size:17px;
    border-radius:0;
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  .site-header.nav-ready .site-nav-group{ border-bottom:1px solid rgba(255,255,255,.06); }
  .site-header.nav-ready .site-nav-group:last-child{ border-bottom:none; }
  .site-header.nav-ready .site-nav-link{ border-bottom:1px solid rgba(255,255,255,.06); }
  .site-header.nav-ready .site-nav-trigger::after{ margin-left:auto; }
  .site-header.nav-ready .site-subnav{
    position:static;
    display:none;
    min-width:0;
    margin:0 0 6px;
    padding:2px 0 8px 14px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .site-header.nav-ready .site-nav-group.is-open .site-subnav{ display:block; }
  .site-header.nav-ready .site-subnav a{
    padding:12px 0 12px 12px;
    font-size:15px;
    border-radius:0;
  }
  .site-main{ padding-top:24px; }
  .site-hero{ gap:20px; }
}


/* Branding */
.site-brand{
  display:inline-flex;
  align-items:center;
  min-height:40px;
}
.site-brand-logo{
  display:block;
  height:34px;
  width:auto;
  max-width:min(376px, 72vw);
  object-fit:contain;
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.app-page-header .site-brand-logo{
  height:32px;
  max-width:min(376px, 74vw);
}
@media (max-width: 860px){
  .site-brand{ max-width:calc(100% - 52px); }
  .site-brand-logo{ height:28px; max-width:min(300px, 72vw); }
  .app-page-header .site-brand-logo{ height:28px; max-width:min(300px, 74vw); }
}


/* ===== Weekly training pages ===== */
.weekly-training-page .site-shell{ max-width: 1160px; }
.weekly-hero{
  margin-top: 4px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: 0 18px 48px rgba(0,0,0,.26);
}
.weekly-week-hero{ margin-bottom: 20px; }
.weekly-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:16px;
  color: rgba(255,255,255,.82);
  font-size:14px;
}
.weekly-breadcrumb a{ color:#fff; text-decoration:none; }
.weekly-breadcrumb a:hover{ text-decoration:underline; }
.weekly-lead,
.weekly-copy,
.weekly-subtitle,
.weekly-list,
.weekly-scenario-title,
.weekly-scenario-item,
.weekly-panel p,
.weekly-panel li,
.weekly-overview-card p,
.weekly-overview-card .weekly-subtitle{
  color: rgba(255,255,255,.96);
}
.weekly-subtitle{
  margin:0;
  font-size:18px;
  line-height:1.55;
  color:#ffffff;
}
.weekly-layout{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
}
.weekly-panel,
.weekly-overview-card{
  padding:20px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
.weekly-panel h2,
.weekly-overview-card h2,
.weekly-number,
.weekly-overview-head h2{
  color:#ffffff;
}
.weekly-copy{
  margin:0 0 12px;
  line-height:1.72;
  font-size:16px;
}
.weekly-list{
  margin:0;
  padding-left:20px;
  line-height:1.8;
}
.weekly-list li + li{ margin-top:4px; }
.weekly-scenario-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.weekly-scenario-item{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background: rgba(0,0,0,.14);
}
.weekly-scenario-title{
  font-size:16px;
  font-weight:700;
  line-height:1.45;
}
.weekly-scenario-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.weekly-btn{ min-width: 132px; }
.weekly-overview-grid{
  margin-top:20px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
}
.weekly-overview-head{ margin-bottom:10px; }
.weekly-number{
  display:inline-block;
  margin-bottom:10px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color: rgba(255,255,255,.78);
}
.weekly-overview-card .weekly-subtitle{ margin: 0 0 10px; font-size:16px; }
.weekly-overview-card .weekly-copy{ margin-bottom:16px; }
.weekly-overview-actions{ margin-top:auto; }
.weekly-jump-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
}

@media (max-width: 900px){
  .weekly-layout,
  .weekly-overview-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .weekly-hero,
  .weekly-panel,
  .weekly-overview-card{ padding:16px; }
  .weekly-scenario-item{ align-items:flex-start; flex-direction:column; }
  .weekly-scenario-actions{ width:100%; justify-content:flex-start; }
  .weekly-btn{ min-width:0; width:auto; }
  .weekly-jump-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.startup-pref-section{
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(251,250,247,.92));
}

.startup-pref-grid{
  display:grid;
  gap:12px;
  margin-top:14px;
}

.startup-pref-option{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow: var(--shadow);
  cursor:pointer;
}

.startup-pref-option:hover{
  border-color: rgba(47,95,174,.28);
}

.startup-pref-option input{
  margin-top:3px;
  accent-color: var(--blue);
}

.startup-pref-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.startup-pref-title{
  font-weight:700;
  color: var(--text);
}

.startup-pref-note{
  color: var(--muted);
  font-size:14px;
}

.startup-pref-option.is-selected{
  border-color: rgba(47,95,174,.36);
  background: linear-gradient(180deg, rgba(47,95,174,.06), rgba(255,255,255,.98));
}

.startup-pref-status{
  margin-top:12px;
  font-size:14px;
}


/* ===== Website redesign: lighter, warmer, more inclusive ===== */
body.site{
  --site-bg: #f6f2ea;
  --site-bg-soft: #fbf8f3;
  --site-panel: rgba(255,255,255,.9);
  --site-panel-strong: #ffffff;
  --site-panel-tint: #eef4f8;
  --site-text: #23364d;
  --site-heading: #1f3450;
  --site-muted: #617286;
  --site-line: rgba(35,54,77,.12);
  --site-line-strong: rgba(35,54,77,.18);
  --site-blue: #294f7d;
  --site-blue-2: #3c6699;
  --site-gold: #b78d45;
  --site-sky: #edf3f7;
  --site-shadow: 0 22px 60px rgba(27,42,58,.10);
  background:
    radial-gradient(1100px 620px at 0% 0%, rgba(183,141,69,.10), transparent 55%),
    radial-gradient(950px 580px at 100% 10%, rgba(41,79,125,.09), transparent 55%),
    linear-gradient(180deg, #f8f4ed 0%, #f4efe6 100%);
  color: var(--site-text);
}

body.site .site-shell{ max-width: 1160px; }
body.site .site-header{ position: sticky; top: 0; z-index: 50; background: rgba(249,246,240,.84); backdrop-filter: blur(14px); border-bottom: 1px solid var(--site-line); box-shadow: 0 10px 28px rgba(27,42,58,.06); }
body.site .site-header .site-shell{ min-height: 74px; }
body.site .site-brand-logo{ height: 38px; }
body.site .site-nav,
body.site .site-nav > a,
body.site .site-nav-link,
body.site .site-nav-trigger,
body.site .site-subnav a{ font-family: var(--font); }
body.site .site-nav{ gap: 8px; }
body.site .site-nav > a,
body.site .site-nav-link,
body.site .site-nav-trigger{ display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--site-text); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
body.site .site-nav > a:hover,
body.site .site-nav-link:hover,
body.site .site-nav-trigger:hover,
body.site .site-nav > a:focus-visible,
body.site .site-nav-link:focus-visible,
body.site .site-nav-trigger:focus-visible,
body.site .site-nav > a.is-active,
body.site .site-nav-link.is-active,
body.site .site-nav-group.is-open .site-nav-trigger,
body.site .site-nav-group.is-active .site-nav-trigger{ color: var(--site-blue); background: rgba(41,79,125,.08); border-color: rgba(41,79,125,.14); }
body.site .site-nav-trigger::after{ border-color: var(--site-blue); }
body.site .site-subnav{ margin-top: 10px; min-width: 210px; padding: 10px; border-radius: 18px; border: 1px solid var(--site-line); background: rgba(255,255,255,.96); box-shadow: 0 18px 42px rgba(27,42,58,.14); }
body.site .site-subnav a{ color: var(--site-text); border-radius: 12px; }
body.site .site-subnav a:hover,
body.site .site-subnav a:focus-visible,
body.site .site-subnav a.is-active{ background: rgba(41,79,125,.08); color: var(--site-blue); }
body.site .site-main{ padding: 36px 0 84px; }
body.site .site-footer{ margin-top: 24px; padding: 22px 0 30px; color: var(--site-muted); border-top: 1px solid var(--site-line); background: rgba(255,255,255,.34); }
body.site .muted{ color: var(--site-muted); }
body.site .site-main h1,
body.site .site-main h2,
body.site .site-main h3{ font-family: Georgia, 'Times New Roman', serif; color: var(--site-heading); letter-spacing: -.02em; }
body.site .site-main h1{ font-size: clamp(2.45rem, 4.6vw, 4.25rem); line-height: 1.05; margin: 0 0 16px; }
body.site .site-main > .site-shell > h1,
body.site .kpa-narrow > h1,
body.site .weekly-hero h1,
body.site .site-main h1:first-child{ font-size: clamp(2.25rem, 4vw, 3.35rem); }
body.site .site-main h2{ font-size: clamp(1.8rem, 2.9vw, 2.45rem); line-height: 1.12; margin: 0 0 12px; }
body.site .site-main h3{ font-size: 1.2rem; line-height: 1.25; }
body.site .kicker{ color: var(--site-blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
body.site .lead,
body.site .p,
body.site p,
body.site li{ color: var(--site-text); }
body.site .lead{ max-width: 760px; color: var(--site-muted); font-size: 1.08rem; line-height: 1.75; margin: 0; }
body.site .site-list,
body.site .site-bullets{ color: var(--site-muted); line-height: 1.85; }
body.site .li-title{ color: var(--site-heading); font-weight: 700; }
body.site .btn{ min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--site-line); background: rgba(255,255,255,.88); color: var(--site-text); box-shadow: none; }
body.site .btn:hover{ border-color: var(--site-line-strong); transform: translateY(-1px); }
body.site .btn-primary{ background: linear-gradient(180deg, var(--site-blue-2), var(--site-blue)); color: #fff; border-color: rgba(41,79,125,.28); box-shadow: 0 12px 28px rgba(41,79,125,.18); }
body.site .btn-primary:hover{ background: linear-gradient(180deg, #4873a9, #2c588c); }
body.site .btn-ghost{ background: rgba(255,255,255,.76); }
body.site .site-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
body.site .site-hero{ display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 0; align-items: stretch; min-height: clamp(460px, 60vw, 640px); margin-top: 10px; border-radius: 30px; border: 1px solid var(--site-line); background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,244,236,.96)); box-shadow: var(--site-shadow); overflow: hidden; }
body.site .site-hero-content{ position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 66px); }
body.site .site-hero-content::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,244,236,.08), rgba(248,244,236,.35)); pointer-events: none; }
body.site .site-hero-content > *{ position: relative; z-index: 1; }
body.site .site-hero .lead{ max-width: 580px; font-size: 1.12rem; }
body.site .site-hero-media{ position: relative; min-height: 100%; background-image: url('../assets/images/site-hero-light.png'); background-size: cover; background-position: center right; box-shadow: none; }
body.site .site-hero-media::before{ content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,244,236,.60) 0%, rgba(248,244,236,.18) 20%, rgba(255,255,255,0) 42%); }
body.site .hero-mini-list{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
body.site .hero-mini-item,
body.site .home-feature-card,
body.site .home-path-card,
body.site .home-audience-card,
body.site .home-copy-card,
body.site .home-final-callout,
body.site .site-section-panel,
body.site .site-section-band,
body.site .weekly-hero,
body.site .weekly-panel,
body.site .weekly-overview-card,
body.site .resource-card,
body.site .start-guide,
body.site .guide-card,
body.site .kpa-hero,
body.site .kpa-card{ border: 1px solid var(--site-line); background: rgba(255,255,255,.9); box-shadow: var(--site-shadow); }
body.site .hero-mini-item{ padding: 16px 16px 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(247,242,234,.92)); }
body.site .hero-mini-title,
body.site .home-card-kicker{ display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--site-blue); }
body.site .hero-mini-item span:last-child{ display: block; color: var(--site-muted); line-height: 1.55; font-size: .95rem; }
body.site .site-section{ margin-top: 26px; }
body.site .site-section-panel,
body.site .site-section-band,
body.site .site-section-callout{ padding: clamp(24px, 4vw, 38px); border-radius: 28px; }
body.site .site-section-band{ background: linear-gradient(180deg, rgba(238,244,248,.92), rgba(250,247,241,.92)); }
body.site .section-heading{ max-width: 760px; margin-bottom: 20px; }
body.site .section-heading.center{ text-align: center; margin-left: auto; margin-right: auto; }
body.site .section-heading .lead{ margin-top: 0; }
body.site .home-feature-grid,
body.site .home-path-grid,
body.site .home-audience-grid{ display: grid; gap: 16px; }
body.site .home-feature-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
body.site .home-path-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
body.site .home-audience-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
body.site .home-feature-card,
body.site .home-path-card,
body.site .home-audience-card,
body.site .home-copy-card{ padding: 22px; border-radius: 24px; }
body.site .home-feature-card p,
body.site .home-path-card p,
body.site .home-audience-card p,
body.site .home-copy-card p{ margin: 0; color: var(--site-muted); line-height: 1.7; }
body.site .home-feature-card h3,
body.site .home-path-card h3,
body.site .home-audience-card h3{ margin: 0 0 10px; }
body.site .home-path-card{ display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
body.site .home-path-primary{ background: linear-gradient(180deg, rgba(239,245,249,.98), rgba(255,255,255,.92)); }
body.site .home-split{ display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; align-items: stretch; }
body.site .home-copy-card .site-bullets{ margin: 0 0 0 18px; }
body.site .home-final-callout{ display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: 18px; padding: 26px 28px; border-radius: 28px; background: linear-gradient(135deg, rgba(238,244,248,.98), rgba(255,255,255,.95)); }
body.site .site-main > .site-shell > h1,
body.site .kpa-narrow > h1,
body.site .site-main > .site-shell > p.lead,
body.site .kpa-narrow > p.lead{ max-width: 900px; }
body.site .contact-email{ margin-top: 18px; }
body.site .contact-email a{ display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--site-line); color: var(--site-blue); text-decoration: none; box-shadow: var(--site-shadow); }
body.site .contact-email a:hover{ border-color: rgba(41,79,125,.22); background: #fff; }
body.site .resource-grid{ gap: 20px; }
body.site .resource-card{ align-items: center; gap: 20px; padding: 20px; border-radius: 24px; }
body.site .resource-cover{ border-color: rgba(35,54,77,.10); box-shadow: 0 18px 36px rgba(27,42,58,.12); }
body.site .resource-description,
body.site .resource-recommended,
body.site .start-guide-lead,
body.site .guide-card p{ color: var(--site-muted); }
body.site .start-guide{ margin-top: 26px; border-radius: 26px; background: linear-gradient(180deg, rgba(238,244,248,.96), rgba(255,255,255,.96)); }
body.site .guide-card{ border-radius: 20px; }
body.site .weekly-training-page .site-shell{ max-width: 1180px; }
body.site .weekly-hero{ background: linear-gradient(135deg, rgba(238,244,248,.96), rgba(255,255,255,.96)); border-radius: 28px; }
body.site .weekly-breadcrumb,
body.site .weekly-subtitle,
body.site .weekly-copy,
body.site .weekly-list,
body.site .weekly-panel p,
body.site .weekly-panel li,
body.site .weekly-overview-card p,
body.site .weekly-overview-card .weekly-subtitle,
body.site .weekly-scenario-title,
body.site .weekly-scenario-item{ color: var(--site-text); }
body.site .weekly-breadcrumb a{ color: var(--site-blue); }
body.site .weekly-number{ color: var(--site-blue); }
body.site .weekly-scenario-item{ border: 1px solid var(--site-line); background: rgba(248,244,236,.72); }
body.site .startup-pref-section{ border: 1px solid var(--site-line); border-radius: 26px; padding: clamp(24px, 4vw, 34px); box-shadow: var(--site-shadow); }
body.site .site-menu-toggle{ color: var(--site-text); }
body.site .site-menu-toggle:focus-visible{ outline-color: rgba(41,79,125,.32); }
@media (max-width: 980px){
  body.site .home-feature-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.site .home-path-grid{ grid-template-columns: 1fr; }
  body.site .home-split,
  body.site .home-final-callout,
  body.site .site-hero{ grid-template-columns: 1fr; }
  body.site .site-hero{ min-height: 0; }
  body.site .site-hero-media{ min-height: 320px; order: 2; }
  body.site .site-hero-content{ order: 1; }
}
@media (max-width: 860px){
  body.site .site-header .site-shell{ min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
  body.site .site-header.nav-ready .site-nav{ border-top: 1px solid var(--site-line); padding-top: 8px; }
  body.site .site-header.nav-ready .site-nav-link,
  body.site .site-header.nav-ready .site-nav-trigger,
  body.site .site-header.nav-ready .site-nav > a{ width: 100%; justify-content: flex-start; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--site-line); }
  body.site .site-header.nav-ready .site-nav-group,
  body.site .site-header.nav-ready .site-nav-link,
  body.site .site-header.nav-ready .site-nav > a{ border-bottom-color: var(--site-line); }
  body.site .site-header.nav-ready .site-subnav{ background: transparent; box-shadow: none; border: 0; padding: 4px 0 10px 16px; margin-top: 0; }
  body.site .site-header.nav-ready .site-subnav a{ padding-left: 10px; }
}
@media (max-width: 720px){
  body.site .site-main{ padding-top: 26px; }
  body.site .site-brand-logo{ height: 30px; }
  body.site .site-hero-content,
  body.site .site-section-panel,
  body.site .site-section-band,
  body.site .site-section-callout,
  body.site .home-feature-card,
  body.site .home-path-card,
  body.site .home-audience-card,
  body.site .home-copy-card,
  body.site .weekly-hero,
  body.site .weekly-panel,
  body.site .weekly-overview-card,
  body.site .resource-card,
  body.site .start-guide,
  body.site .guide-card,
  body.site .kpa-hero,
  body.site .kpa-card{ padding: 18px; }
  body.site .hero-mini-list,
  body.site .home-feature-grid,
  body.site .home-audience-grid{ grid-template-columns: 1fr; }
  body.site .site-main h1{ font-size: clamp(2.1rem, 10vw, 3rem); }
  body.site .site-main h2{ font-size: clamp(1.55rem, 7vw, 2.1rem); }
}


/* ===== 5.2 redesign follow-up fixes ===== */
body.site .site-main h1{ font-size: clamp(2rem, 3.4vw, 3.1rem); }
body.site .site-main > .site-shell > h1,
body.site .kpa-narrow > h1,
body.site .weekly-hero h1,
body.site .site-main h1:first-child{ font-size: clamp(1.9rem, 3vw, 2.7rem); }
body.site .site-hero{ grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); min-height: clamp(340px, 46vw, 500px); }
body.site .site-hero-content{ padding: clamp(24px, 3.4vw, 44px); }
body.site .site-hero .lead{ max-width: 560px; font-size: 1.02rem; line-height: 1.7; }
body.site .site-cta{ gap: 10px; margin-top: 20px; }
body.site .hero-mini-list{ margin-top: 20px; gap: 10px; }
body.site .hero-mini-item{ padding: 13px 14px 12px; border-radius: 18px; }
body.site .hero-mini-title{ margin-bottom: 4px; }
body.site .hero-mini-item span:last-child{ font-size: .9rem; line-height: 1.45; }
body.site .site-hero-media{ background-position: center center; }

@media (max-width: 980px){
  body.site .site-hero{ min-height: 0; }
  body.site .site-hero-media{ min-height: 270px; }
}
@media (max-width: 720px){
  body.site .site-main h1{ font-size: clamp(1.85rem, 8vw, 2.55rem); }
  body.site .site-hero-content{ padding: 18px; }
  body.site .site-hero-media{ min-height: 220px; }
}


/* ===== 5.2 redesign button + hero refinements ===== */
body.site .site-hero{
  background: #ffffff;
}
body.site .site-hero-content::after,
body.site .site-hero-media::before{
  display: none;
  content: none;
}
body.site .site-hero-media{
  background-position: center center;
  filter: none;
}

/* Weekly training pages should use blue buttons throughout */
body.site .weekly-training-page .btn{
  background: linear-gradient(180deg, var(--site-blue-2), var(--site-blue)) !important;
  color: #ffffff !important;
  border-color: rgba(41,79,125,.30) !important;
  box-shadow: 0 12px 28px rgba(41,79,125,.18);
}
body.site .weekly-training-page .btn:hover,
body.site .weekly-training-page .btn:focus-visible{
  background: linear-gradient(180deg, #4873a9, #2c588c) !important;
  border-color: rgba(41,79,125,.36) !important;
}
body.site .weekly-training-page .btn:active{
  transform: translateY(1px);
}


/* ===== 5.2 redesign fix 5 ===== */
/* Main homepage keeps the enhanced neutral secondary buttons. */
body.site.home-page .btn-ghost,
body.site.home-page .home-path-card .btn:not(.btn-primary),
body.site.home-page .home-final-callout .btn:not(.btn-primary){
  background: linear-gradient(180deg, rgba(246,242,234,.98), rgba(236,230,219,.98)) !important;
  color: var(--site-text) !important;
  border-color: rgba(35,54,77,.22) !important;
  box-shadow: 0 12px 26px rgba(27,42,58,.10) !important;
}
body.site.home-page .btn-ghost:hover,
body.site.home-page .btn-ghost:focus-visible,
body.site.home-page .home-path-card .btn:not(.btn-primary):hover,
body.site.home-page .home-path-card .btn:not(.btn-primary):focus-visible,
body.site.home-page .home-final-callout .btn:not(.btn-primary):hover,
body.site.home-page .home-final-callout .btn:not(.btn-primary):focus-visible{
  background: linear-gradient(180deg, #ffffff, rgba(242,236,227,.98)) !important;
  border-color: rgba(35,54,77,.30) !important;
}

/* Keep the homepage hero image plain and unblurred. */
body.site.home-page .site-hero-media{
  background-image: url('../assets/images/site-hero-light.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  filter: none !important;
}


/* Homepage hero refresh */
body.site.home-page .site-hero.site-hero-home{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: clamp(460px, 52vw, 620px);
  margin-top: 10px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 30px;
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow);
  overflow: hidden;
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(247,244,236,.24) 0%, rgba(247,244,236,.08) 18%, rgba(247,244,236,.08) 82%, rgba(247,244,236,.18) 100%),
    url('../assets/images/site-hero-light.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
body.site.home-page .site-hero.site-hero-home::before{
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center, rgba(255,255,255,.42) 0%, rgba(255,255,255,.24) 24%, rgba(255,255,255,.08) 48%, rgba(255,255,255,0) 70%);
  pointer-events:none;
}
body.site.home-page .site-hero-content.site-hero-content-home{
  position:relative;
  z-index:1;
  max-width: 900px;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap: 0;
  padding: 0;
  background: transparent !important;
  box-shadow:none !important;
  border:0 !important;
}
body.site.home-page .site-hero-content.site-hero-content-home::after{ display:none !important; }
body.site.home-page .site-hero-content-home h1{
  margin:0;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: #1f376c;
  text-shadow: 0 1px 0 rgba(255,255,255,.42);
}
body.site.home-page .site-hero-subtitle{
  margin: 18px 0 0;
  font-family: var(--site-font-display);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.08;
  color:#2f4a86;
  text-shadow: 0 1px 0 rgba(255,255,255,.38);
}
body.site.home-page .site-hero-content-home .lead{
  max-width: 980px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 1.45vw, 1.38rem);
  line-height: 1.55;
  color: rgba(35,48,68,.96);
  text-shadow: 0 1px 0 rgba(255,255,255,.28);
}
body.site.home-page .site-cta.site-cta-home{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 16px;
  margin-top: 28px;
}
body.site.home-page .site-cta-home .btn{
  min-width: 240px;
  min-height: 58px;
  padding: 0 26px;
  font-size: 1.08rem;
  border-radius: 999px;
}
body.site.home-page .site-cta-home .btn-primary{
  background: linear-gradient(180deg, #4366ab 0%, #2f4f91 100%);
  border-color: rgba(43,70,126,.86);
  box-shadow: 0 16px 30px rgba(44,72,130,.22);
}
body.site.home-page .site-cta-home .btn-ghost{
  background: rgba(255,252,247,.84);
  border: 1.5px solid rgba(110,119,135,.44);
  color: #334a79;
  box-shadow: 0 10px 24px rgba(31,41,55,.08);
}
body.site.home-page .site-hero-media,
body.site.home-page .hero-mini-list,
body.site.home-page .kicker{
  display:none !important;
}
@media (max-width: 900px){
  body.site.home-page .site-hero.site-hero-home{
    min-height: 430px;
    padding: 28px 22px;
    background-position: 38% center;
  }
  body.site.home-page .site-hero-content-home h1{ font-size: clamp(2.4rem, 9vw, 3.8rem); }
  body.site.home-page .site-hero-subtitle{ font-size: clamp(1.7rem, 7vw, 2.45rem); }
  body.site.home-page .site-cta-home .btn{ min-width: 220px; }
}
@media (max-width: 640px){
  body.site.home-page .site-hero.site-hero-home{
    min-height: 390px;
    padding: 22px 16px;
    border-radius: 24px;
    background-position: 34% center;
  }
  body.site.home-page .site-hero-content-home .lead{ font-size: 1rem; }
  body.site.home-page .site-cta.site-cta-home{ gap: 12px; }
  body.site.home-page .site-cta-home .btn{ width: 100%; min-width: 0; }
}


/* ===== homepage seamless transparent brand/header pass ===== */
body.site.home-page .site-header{
  position:absolute !important;
  top:0; left:0; right:0;
  z-index:70;
  background:transparent !important;
  backdrop-filter:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
}
body.site.home-page .site-header .site-shell{
  max-width:none !important;
  width:100% !important;
  min-height:104px !important;
  padding:10px 28px 0 !important;
  align-items:flex-start !important;
}
body.site.home-page .site-brand{
  display:block;
  line-height:0;
  flex:0 0 auto;
}
body.site.home-page .site-brand-logo{
  display:block;
  height:78px !important;
  width:auto !important;
  max-width:min(560px, 44vw) !important;
  object-fit:contain;
}
body.site.home-page .site-nav{
  gap:18px;
  align-items:center;
}
body.site.home-page .site-nav > a,
body.site.home-page .site-nav-link,
body.site.home-page .site-nav-trigger{
  color:#223a63 !important;
  min-height:46px;
}
body.site.home-page .site-nav > a.site-nav-link:first-child{
  background:rgba(255,255,255,.16) !important;
  border:1px solid rgba(98,112,139,.28) !important;
  box-shadow:none !important;
  backdrop-filter:blur(6px);
}
body.site.home-page .site-nav-trigger::after{ border-color:#223a63 !important; }
body.site.home-page .site-main{
  padding-top:0 !important;
}
body.site.home-page .site-main > .site-shell{
  max-width:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
body.site.home-page .site-hero.site-hero-home{
  display:block !important;
  position:relative;
  width:100vw;
  min-height:clamp(500px, 58vw, 760px);
  margin:0 0 38px calc(50% - 50vw) !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:hidden;
  background:
    linear-gradient(to bottom, rgba(247,244,236,.96) 0%, rgba(247,244,236,.80) 6%, rgba(247,244,236,.42) 12%, rgba(247,244,236,.10) 20%, rgba(247,244,236,0) 30%),
    linear-gradient(to top, rgba(247,244,236,.72) 0%, rgba(247,244,236,.22) 9%, rgba(247,244,236,0) 19%),
    url('../assets/images/site-hero-light.png') center top / cover no-repeat !important;
}
body.site.home-page .site-hero.site-hero-home::before,
body.site.home-page .site-hero.site-hero-home::after,
body.site.home-page .site-hero-media,
body.site.home-page .site-hero-media::before,
body.site.home-page .site-hero-content::after{
  display:none !important;
  content:none !important;
}
body.site.home-page .site-hero-content.site-hero-content-home{
  position:relative;
  z-index:1;
  width:min(820px, calc(100% - 56px));
  margin:0 auto;
  padding:104px 0 104px !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  justify-content:flex-start;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.site.home-page .site-hero-content-home h1{
  max-width:780px;
  margin:0 0 10px;
  font-size:clamp(2.5rem, 4.6vw, 4.2rem) !important;
  line-height:1.03 !important;
  color:#243d71 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.30);
}
body.site.home-page .site-hero-subtitle{
  max-width:800px;
  margin:0 0 18px;
  font-size:clamp(1.35rem, 2.45vw, 2.15rem) !important;
  line-height:1.16 !important;
  color:#2a4c7d !important;
  text-shadow:0 1px 0 rgba(255,255,255,.26);
}
body.site.home-page .site-hero-content-home .lead{
  max-width:760px;
  margin:0 auto;
  font-size:clamp(.98rem,1.2vw,1.1rem) !important;
  line-height:1.58 !important;
  color:rgba(31,52,80,.92) !important;
}
body.site.home-page .site-cta.site-cta-home{
  justify-content:center;
  gap:16px;
  margin-top:24px;
}
body.site.home-page .site-cta-home .btn{
  min-width:230px;
}

@media (max-width: 980px){
  body.site.home-page .site-header .site-shell{ padding:10px 18px 0 !important; min-height:92px !important; }
  body.site.home-page .site-brand-logo{ height:64px !important; max-width:min(440px, 48vw) !important; }
  body.site.home-page .site-hero.site-hero-home{ min-height:540px; }
  body.site.home-page .site-hero-content.site-hero-content-home{ width:min(86%, 760px); padding-top:110px !important; padding-bottom:92px !important; }
}
@media (max-width: 860px){
  body.site.home-page .site-header{
    background:linear-gradient(to bottom, rgba(247,244,236,.96), rgba(247,244,236,.84)) !important;
  }
  body.site.home-page .site-header .site-shell{ min-height:74px !important; align-items:center !important; }
  body.site.home-page .site-brand-logo{ height:50px !important; max-width:min(340px, 64vw) !important; }
  body.site.home-page .site-header.nav-ready .site-nav{ background:rgba(247,244,236,.96); border-radius:16px; padding:10px 14px 14px; margin-top:8px; }
  body.site.home-page .site-nav > a.site-nav-link:first-child{ width:100%; justify-content:flex-start; }
  body.site.home-page .site-hero.site-hero-home{ min-height:500px; background-position:center top !important; }
  body.site.home-page .site-hero-content.site-hero-content-home{ width:min(92%, 720px); padding-top:104px !important; padding-bottom:82px !important; }
}
@media (max-width: 640px){
  body.site.home-page .site-header .site-shell{ padding:8px 12px 0 !important; }
  body.site.home-page .site-brand-logo{ height:42px !important; max-width:min(285px, 72vw) !important; }
  body.site.home-page .site-hero.site-hero-home{ min-height:430px; }
  body.site.home-page .site-hero-content.site-hero-content-home{ width:min(92%, 620px); padding:92px 0 64px !important; }
  body.site.home-page .site-hero-content-home h1{ font-size:clamp(2rem, 8.2vw, 3.05rem) !important; }
  body.site.home-page .site-hero-subtitle{ font-size:clamp(1.15rem, 5vw, 1.7rem) !important; }
  body.site.home-page .site-cta-home .btn{ width:100%; min-width:0; }
}


/* ===== shared brand sizing to match homepage logo ===== */
body.site:not(.home-page) .site-header .site-shell,
body.site .app-page-header .site-shell,
body.site .app-page-header-shell{
  min-height: 104px !important;
}
body.site:not(.home-page) .site-brand-logo,
body.site .app-page-header .site-brand-logo{
  height: 78px !important;
  width: auto !important;
  max-width: min(560px, 44vw) !important;
  object-fit: contain !important;
}
body.site:not(.home-page) .site-brand,
body.site .app-page-header .site-brand{
  min-height: 78px !important;
  align-items: center !important;
}
@media (max-width: 980px){
  body.site:not(.home-page) .site-header .site-shell,
  body.site .app-page-header .site-shell,
  body.site .app-page-header-shell{ min-height: 92px !important; }
  body.site:not(.home-page) .site-brand-logo,
  body.site .app-page-header .site-brand-logo{ height: 64px !important; max-width:min(440px, 48vw) !important; }
}
@media (max-width: 860px){
  body.site:not(.home-page) .site-header .site-shell,
  body.site .app-page-header .site-shell,
  body.site .app-page-header-shell{ min-height: 74px !important; }
  body.site:not(.home-page) .site-brand-logo,
  body.site .app-page-header .site-brand-logo{ height: 50px !important; max-width:min(340px, 64vw) !important; }
}
@media (max-width: 640px){
  body.site:not(.home-page) .site-brand-logo,
  body.site .app-page-header .site-brand-logo{ height: 42px !important; max-width:min(285px, 72vw) !important; }
}

/* v90 site feedback page */
body.site .feedback-page{ max-width: 920px; }
body.site .feedback-intro-card,
body.site .feedback-card-wrap,
body.site .feedback-success-card{ border-radius: 28px; }
body.site .feedback-intro-card{ display: grid; gap: 20px; }
body.site .feedback-intro-card h2,
body.site .feedback-card-wrap h2,
body.site .feedback-success-card h1{ margin-top: 0; }
body.site .feedback-switcher{ display: flex; flex-wrap: wrap; gap: 10px; }
body.site .feedback-switch{
  appearance: none;
  border: 1px solid var(--site-line);
  background: rgba(255,255,255,.88);
  color: var(--site-text);
  border-radius: 999px;
  min-height: 48px;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
body.site .feedback-switch:hover{
  border-color: var(--site-line-strong);
  transform: translateY(-1px);
}
body.site .feedback-switch.is-active{
  background: linear-gradient(180deg, var(--site-blue-2), var(--site-blue));
  color: #fff;
  border-color: rgba(41,79,125,.28);
  box-shadow: 0 12px 28px rgba(41,79,125,.18);
}
body.site .feedback-panel{ display: none; }
body.site .feedback-panel.is-active{ display: block; }
body.site .feedback-card-wrap{ padding: clamp(24px, 4vw, 38px); }
body.site .feedback-helper{ color: var(--site-muted); line-height: 1.75; margin: 0 0 12px; }
body.site .feedback-form-grid{ display: grid; gap: 16px; }
body.site .feedback-form-grid.two-up{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.site .feedback-form-grid.three-up{ grid-template-columns: 1.4fr .8fr .8fr; }
body.site .feedback-form .form-label{ color: var(--site-heading); font-weight: 600; margin-top: 14px; }
body.site .feedback-form .form-input{
  border-color: var(--site-line-strong);
  background: rgba(255,255,255,.96);
  color: var(--site-text);
  border-radius: 14px;
  padding: 12px 14px;
}
body.site .feedback-form .form-input:focus{
  border-color: rgba(41,79,125,.52);
  box-shadow: 0 0 0 3px rgba(41,79,125,.12);
}
body.site .feedback-form textarea.form-input{ resize: vertical; }
body.site .feedback-textarea{ min-height: 160px; }
body.site .feedback-textarea-medium{ min-height: 130px; }
body.site .feedback-textarea-short{ min-height: 100px; }
body.site .feedback-form .form-actions{ justify-content: flex-start; margin-top: 20px; }
body.site .hidden-field{
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
body.site .feedback-success-card{ text-align: center; }
body.site .feedback-success-actions{ display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

@media (max-width: 800px){
  body.site .feedback-form-grid.two-up,
  body.site .feedback-form-grid.three-up{ grid-template-columns: 1fr; }
}
