:root {
  --bg: #f7faf8;
  --card: #ffffff;
  --text: #111111;
  --muted: #5d665f;
  --accent: #078b4e;
  --accent-2: #056b3d;
  --red: #f5223e;
  --cyan: #35c7e8;
  --pink: #f28cab;
  --black: #111111;
  --soft: #eaf7f0;
  --border: #d8e5dc;
  --line: #d8e5dc;
  --success: #078b4e;
  --shadow: 0 16px 38px rgba(17, 17, 17, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent); }

.site-header, main, footer {
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
}

.site-header {
  padding: 2rem 0 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: .25rem; font-size: clamp(1.9rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .5rem; }

.eyebrow {
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
}

.tagline, .muted { color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.pill {
  display: inline-block;
  background: var(--soft);
  color: var(--accent-2);
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.progress-wrap { text-align: center; }
.progress-ring {
  --progress: 0deg;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) var(--progress), #ece8f1 0);
  position: relative;
  margin: 0 auto .5rem;
}
.progress-ring::after {
  content: "";
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--card);
  position: absolute;
}
.progress-ring span { position: relative; z-index: 1; font-weight: 800; }

.step-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
  margin: 1rem 0;
}
.step-tab {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 14px;
  padding: .8rem .6rem;
  cursor: pointer;
  font-weight: 700;
}
.step-tab.active, .step-tab.done {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.step-panel { display: none; }
.step-panel.active { display: block; }

.step-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.step-number {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 900;
}

.action-row, .url-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1rem;
}

.primary-btn, .secondary-btn, .complete-btn, .ghost-btn {
  border: 0;
  border-radius: 12px;
  padding: .8rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.primary-btn { background: var(--accent); color: white; }
.secondary-btn, .complete-btn { background: var(--soft); color: var(--accent-2); }
.ghost-btn { background: transparent; border: 1px solid var(--border); color: var(--text); }
.complete-btn.completed { background: var(--success); color: white; }
.disabled { pointer-events: none; opacity: .45; }

.facilitator-note {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  display: none;
}
body.facilitator-mode .facilitator-note { display: block; }

label {
  display: grid;
  gap: .4rem;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  padding: .85rem;
  font: inherit;
  color: var(--text);
}

.url-row input { flex: 1 1 280px; }

.theme-content {
  margin: 1rem 0;
  padding: 1rem;
  background: #faf9fd;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.resource-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.challenge-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 1rem 0;
}
.challenge-flow span {
  padding: .85rem;
  border-radius: 14px;
  background: var(--soft);
  text-align: center;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

.checkbox-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  font-weight: 600;
}
.checkbox-row input { width: auto; }

.success-message {
  min-height: 1.5rem;
  color: var(--success);
  font-weight: 800;
}

.champion-panel {
  background: linear-gradient(135deg, #fff, var(--soft));
  text-align: center;
}

.hidden { display: none !important; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
.metric {
  padding: 1rem;
  border-radius: 16px;
  background: var(--soft);
}
.metric span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
}
.metric small { color: var(--muted); }

footer {
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; }
  .hero { grid-template-columns: 1fr; }
  .step-nav { grid-template-columns: 1fr 1fr; }
  .guide-grid, .challenge-flow, .metrics { grid-template-columns: 1fr; }
}


.launch-banner {
  margin: 1rem 0;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--border);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin: 1rem 0;
}

.counter-card {
  padding: 1rem;
  border-radius: 16px;
  background: #faf9fd;
  border: 1px solid var(--border);
  text-align: center;
}

.counter-card span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.counter-card small {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.founder-card {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border: 2px solid var(--accent);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, var(--soft));
}

.community-board {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.board-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}

.country-chip {
  background: var(--soft);
  color: var(--accent-2);
  border-radius: 999px;
  padding: .45rem .75rem;
  font-weight: 800;
  font-size: .9rem;
}

.commitment-feed {
  display: grid;
  gap: .75rem;
}

.commitment-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .9rem;
  background: #fff;
}

.commitment-item p {
  margin-bottom: .25rem;
}

.commitment-item small {
  color: var(--muted);
}

@media print {
  body * { visibility: hidden; }
  #founderCard, #founderCard * { visibility: visible; }
  #founderCard {
    position: absolute;
    inset: 0;
    margin: 0;
    border: 4px solid #000;
    padding: 3rem;
    box-shadow: none;
  }
  #founderCard .action-row { display: none; }
}

@media (max-width: 760px) {
  .counter-grid, .two-col { grid-template-columns: 1fr; }
}


.header-actions {
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
}

.language-picker {
  min-width: 180px;
  gap: .35rem;
  font-size: .85rem;
}

.language-picker select {
  min-width: 180px;
  background: var(--card);
}

[dir="rtl"] .site-header,
[dir="rtl"] .step-heading,
[dir="rtl"] .action-row,
[dir="rtl"] .board-heading {
  direction: rtl;
}

@media (max-width: 760px) {
  .header-actions {
    width: 100%;
    align-items: stretch;
  }

  .language-picker,
  .language-picker select,
  .header-actions .ghost-btn {
    width: 100%;
  }
}


.visitor-version .facilitator-note,
.visitor-version .facilitator-dashboard {
  display: none !important;
}

.visitor-version .site-header {
  align-items: center;
}


.embedded-experience {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}

.embedded-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.embedded-experience iframe {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
  background: #fff;
}

.embed-fallback {
  padding: .9rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.embed-fallback p {
  margin-top: 0;
}

.embedded-completion {
  padding: 0 1rem 1rem;
}

@media (max-width: 760px) {
  .embedded-experience iframe {
    min-height: 760px;
  }

  .embedded-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}


body:not(.journey-started) > header,
body:not(.journey-started) > main,
body:not(.journey-started) > footer { display: none; }

.landing-screen { min-height:100vh; display:grid; place-items:center; padding:1.25rem; background:radial-gradient(circle at top left,rgba(239,68,68,.10),transparent 34%),radial-gradient(circle at bottom right,rgba(22,163,74,.12),transparent 36%),#fff; }
.landing-shell { width:min(1180px,100%); display:grid; grid-template-columns:1.15fr .85fr; gap:2rem; align-items:center; }
.partner-logos { grid-column:1/-1; display:flex; justify-content:center; align-items:center; gap:1.25rem; background:#fff; border-radius:22px; padding:.9rem 1.2rem; box-shadow:0 16px 45px rgba(15,23,42,.08); }
.partner-logos img { object-fit:contain; background:#fff; }
.aa-logo { width:min(440px,48vw); max-height:125px; }
.ahcc-logo { width:min(270px,30vw); max-height:115px; }
.partner-mark { font-size:2rem; font-weight:800; }
.landing-community img { width:100%; display:block; border-radius:24px; background:#fff; }
.landing-copy { background:rgba(255,255,255,.96); border-radius:24px; padding:clamp(1.4rem,3vw,2.5rem); box-shadow:0 20px 60px rgba(15,23,42,.12); }
.landing-copy h1 { margin:.25rem 0; font-size:clamp(2.2rem,5vw,4.4rem); line-height:.98; }
.mode-buttons,.visitor-entry .action-row { display:flex; gap:.75rem; flex-wrap:wrap; }
.landing-mode { min-width:150px; font-size:1.05rem; }
.visitor-entry { margin-top:1.15rem; padding:1rem; border-radius:16px; background:var(--soft); }
.visitor-entry input { width:100%; margin:.5rem 0; font-size:1.1rem; text-transform:uppercase; }
.small-note { font-size:.9rem; opacity:.8; }
.prize-teaser,.prize-callout { margin-top:1.2rem; padding:1rem; border-radius:16px; background:#111827; color:#fff; display:grid; gap:.25rem; }
.completion-challenge { margin:1rem 0; padding:1.1rem; border-radius:18px; background:var(--soft); }
.referral-code-box { display:flex; gap:.75rem; align-items:center; flex-wrap:wrap; }
.referral-code-box strong { font-size:clamp(1.8rem,5vw,3rem); letter-spacing:.08em; }
.completion-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin-top:1rem; }
.completion-stats div { background:#fff; border-radius:14px; padding:1rem; display:grid; gap:.25rem; }
.completion-stats strong { font-size:1.5rem; }

@media (max-width:860px) {
  .landing-shell { grid-template-columns:1fr; }
  .landing-community { order:2; }
  .landing-copy { order:3; }
  .partner-logos { gap:.6rem; }
  .aa-logo { width:58%; }
  .ahcc-logo { width:32%; }
}
@media (max-width:560px) {
  .landing-screen { padding:.65rem; }
  .partner-logos { border-radius:16px; padding:.55rem; }
  .partner-mark { font-size:1.2rem; }
  .landing-copy { padding:1.2rem; }
  .mode-buttons>* { flex:1; }
  .completion-stats { grid-template-columns:1fr; }
}


/* Version 9 — African Alliance tablet kiosk interface */
body {
  background:
    radial-gradient(circle at 8% 5%, rgba(53,199,232,.12), transparent 24rem),
    radial-gradient(circle at 95% 90%, rgba(245,34,62,.09), transparent 28rem),
    var(--bg);
}

.site-header {
  padding-top: 1.15rem;
}

.card {
  border-top: 5px solid var(--accent);
}

.primary-btn {
  background: var(--accent);
  color: #fff;
  min-height: 48px;
  box-shadow: 0 8px 18px rgba(7,139,78,.20);
}

.primary-btn:hover,
.primary-btn:focus-visible {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.secondary-btn,
.complete-btn {
  background: var(--soft);
  color: var(--accent-2);
  min-height: 48px;
}

.ghost-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  min-height: 44px;
}

button,
a,
select,
input {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 4px solid rgba(53,199,232,.38);
  outline-offset: 2px;
}

.step-tab.active {
  background: var(--accent);
  border-color: var(--accent);
}

.step-tab.done {
  background: var(--black);
  border-color: var(--black);
}

.step-tab.done::after {
  content: " ✓";
  color: var(--cyan);
}

.progress-ring {
  background: conic-gradient(var(--red) var(--progress), #e4ece7 0);
}

.step-number {
  background: var(--black);
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--red);
}

.eyebrow {
  color: var(--accent);
}

.pill {
  background: var(--soft);
  color: var(--accent-2);
  border: 1px solid rgba(7,139,78,.16);
}

.prize-teaser,
.prize-callout {
  background:
    linear-gradient(120deg, var(--black) 0 72%, var(--red) 72% 86%, var(--accent) 86%);
  border-left: 8px solid var(--cyan);
}

.partner-logos {
  border-bottom: 5px solid var(--accent);
}

.landing-copy {
  border-top: 7px solid var(--red);
}

.landing-mode.secondary-btn {
  background: var(--black);
  color: #fff;
}

/* Full-screen Cell-to-Cure kiosk */
body.cell-kiosk-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.embedded-experience.kiosk-active {
  position: fixed;
  inset: 0;
  z-index: 9999;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) 74px;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

.embedded-toolbar {
  min-height: 58px;
  padding: .45rem .8rem;
  background: var(--black);
  color: #fff;
  border: 0;
}

.embedded-title-group,
.embedded-toolbar-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.embedded-title-group strong {
  font-size: 1rem;
}

.kiosk-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--red);
  box-shadow: 19px 0 0 var(--accent), 38px 0 0 var(--cyan);
  margin-right: 38px;
}

.landscape-note {
  font-size: .8rem;
  font-weight: 700;
  color: #cfeedd;
}

.embedded-toolbar .ghost-btn {
  min-height: 38px;
  padding: .45rem .75rem;
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.34);
}

.embedded-experience.kiosk-active iframe {
  display: block;
  width: 122%;
  height: 122%;
  min-height: 0;
  border: 0;
  background: #fff;
  transform: scale(.82);
  transform-origin: top left;
  overflow: hidden;
}

.kiosk-bottom-bar {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .65rem .85rem;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(17,17,17,.08);
}

.kiosk-help {
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
}

.kiosk-bottom-bar .complete-btn {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
  padding-inline: 1.2rem;
}

@media (orientation: portrait) and (max-width: 900px) {
  .embedded-experience.kiosk-active iframe {
    width: 132%;
    height: 132%;
    transform: scale(.758);
  }

  .landscape-note::after {
    content: " — rotate tablet for the best view";
    color: var(--pink);
  }
}

/* Target common 11-inch tablet landscape sizes */
@media (min-width: 900px) and (max-height: 900px) {
  .embedded-experience.kiosk-active {
    grid-template-rows: 52px minmax(0, 1fr) 64px;
  }

  .embedded-toolbar {
    min-height: 52px;
  }

  .kiosk-bottom-bar {
    min-height: 64px;
    padding-block: .45rem;
  }

  .embedded-experience.kiosk-active iframe {
    width: 128%;
    height: 128%;
    transform: scale(.78125);
  }
}

@media (max-width: 720px) {
  .embedded-experience.kiosk-active {
    grid-template-rows: 54px minmax(0, 1fr) 68px;
  }

  .landscape-note,
  .kiosk-help {
    display: none;
  }

  .embedded-toolbar-actions {
    gap: .35rem;
  }

  .embedded-toolbar .ghost-btn {
    padding-inline: .55rem;
  }

  .kiosk-bottom-bar {
    justify-content: flex-end;
  }

  .kiosk-bottom-bar .complete-btn {
    width: 100%;
  }
}


/* =========================================================
   VERSION 11 — HIV CUREiculum 2026 Booth Edition
   Visual language inspired by the Facilitator Guide artwork
   ========================================================= */
:root{
  --bg:#fffaf7;
  --card:#ffffff;
  --text:#2d2033;
  --muted:#685f6c;
  --accent:#b1121b;
  --accent-2:#8f0d18;
  --red:#e3133c;
  --cyan:#098eb8;
  --pink:#f5a08c;
  --black:#2d2033;
  --soft:#f7ece9;
  --border:#eadbd6;
  --line:#eadbd6;
  --success:#16815c;
  --gold:#9a9200;
  --plum:#392149;
  --shadow:0 18px 48px rgba(75,35,38,.13);
}
body{
  background:
    linear-gradient(rgba(255,250,247,.96),rgba(255,250,247,.96)),
    url("assets/cureiculum-pattern-top.jpg") center/480px auto repeat;
  padding-top:18px;
}
.brand-pattern-strip,.brand-pattern-footer{
  width:100%;
  height:18px;
  background:url("assets/cureiculum-pattern-top.jpg") center/auto 100% repeat-x;
  position:fixed;
  left:0;
  z-index:1200;
}
.brand-pattern-strip{top:0}
.brand-pattern-footer{bottom:0}
.site-header{
  margin-top:.7rem;
  padding:1.25rem 1.4rem;
  background:rgba(255,255,255,.96);
  border:1px solid var(--border);
  border-radius:0 0 24px 24px;
  box-shadow:var(--shadow);
}
.site-header h1,.landing-copy h1,.hero h2,.step-heading h2{
  color:var(--accent);
  letter-spacing:-.035em;
}
.eyebrow{color:var(--accent);font-weight:900}
.card{
  border:1px solid var(--border);
  border-top:5px solid var(--accent);
  border-radius:24px;
  box-shadow:var(--shadow);
}
.hero{
  overflow:hidden;
  position:relative;
}
.hero::after{
  content:"";
  position:absolute;
  right:-34px;
  bottom:-34px;
  width:150px;
  height:150px;
  opacity:.11;
  background:url("assets/cureiculum-pattern-top.jpg") center/cover;
  transform:rotate(14deg);
  border-radius:28px;
}
.pill,.challenge-flow span,.step-number{
  background:var(--soft);
  color:var(--accent);
}
.primary-btn{
  background:linear-gradient(135deg,var(--accent),#d21d36);
  box-shadow:0 10px 24px rgba(177,18,27,.22);
}
.primary-btn:hover{transform:translateY(-1px)}
.secondary-btn,.complete-btn{
  background:#fff0ec;
  color:var(--accent);
  border:1px solid #efc9c2;
}
.ghost-btn{
  background:#fff;
  border:1px solid #dfcbc5;
}
.step-nav{
  background:#fff;
  border:1px solid var(--border);
  padding:.55rem;
  border-radius:20px;
  box-shadow:var(--shadow);
}
.step-tab{
  min-height:54px;
  border-radius:14px;
}
.step-tab.active,.step-tab.done{
  background:linear-gradient(135deg,var(--accent),#cf2442);
}
.progress-ring{
  background:conic-gradient(var(--accent) var(--progress),#f0dfda 0);
}
.landing-screen{
  background:linear-gradient(145deg,#fffdfb,#f8ede9);
}
.landing-shell{
  max-width:1180px;
  grid-template-columns:minmax(330px,.9fr) minmax(400px,1.1fr);
  border:1px solid var(--border);
  overflow:hidden;
  box-shadow:0 28px 80px rgba(78,31,35,.2);
}
.landing-community.cureiculum-cover{
  background:#fff;
  padding:0;
  min-height:0;
}
.landing-community.cureiculum-cover img{
  width:100%;
  height:100%;
  max-height:82vh;
  object-fit:contain;
  object-position:center;
}
.landing-copy{
  position:relative;
  background:#fff;
}
.landing-copy::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:14px;
  background:url("assets/cureiculum-pattern-top.jpg") center/auto 100% repeat-x;
}
.edition-badge{
  display:inline-block;
  margin:0 0 .7rem;
  padding:.45rem .75rem;
  background:var(--accent);
  color:#fff;
  font-weight:900;
  border-radius:4px;
}
.partner-logos{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.prize-teaser{
  border-left:5px solid var(--accent);
  background:#fff3ef;
}
.embedded-experience{
  border:2px solid var(--accent);
  border-radius:22px;
  overflow:hidden;
}
.embedded-toolbar,.kiosk-bottom-bar{
  background:#fff8f5;
  border-color:#efd8d1;
}
.resource-box,.theme-content{
  background:#fffaf8;
}
input:focus,textarea:focus,select:focus{
  outline:3px solid rgba(177,18,27,.16);
  border-color:var(--accent);
}
@media(max-width:900px){
  .landing-shell{grid-template-columns:1fr}
  .landing-community.cureiculum-cover img{max-height:48vh}
  body{padding-bottom:18px}
}
@media(min-width:901px) and (max-height:820px){
  .landing-community.cureiculum-cover img{max-height:72vh}
  .landing-copy{padding:1.2rem}
}


/* Prize teaser text - black */
.prize-teaser,
.prize-teaser strong,
.prize-teaser span{
    color:#222222 !important;
}

/* Product showcase and library */
.product-showcase{position:relative;min-height:620px;background:linear-gradient(145deg,#fffaf7,#f3e8e4);overflow:hidden}
.product-art-card{position:absolute;width:46%;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 22px 50px rgba(65,31,34,.22);border:1px solid var(--border)}
.product-art-card img{display:block;width:100%;height:auto}
.participant-card{left:4%;top:7%;transform:rotate(-3deg);z-index:3}
.facilitator-card{right:4%;top:12%;transform:rotate(3deg);z-index:2}
.cop-card{left:20%;bottom:4%;width:60%;transform:rotate(-1deg);z-index:4}
.products-library{margin-top:1.25rem}
.products-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-end;margin-bottom:1.25rem}
.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.product-card{border:1px solid var(--border);border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-height:100%;box-shadow:0 14px 32px rgba(70,34,37,.08)}
.product-image{background:#f8efeb;aspect-ratio:4/3;overflow:hidden}
.product-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.product-copy{padding:1rem;display:flex;flex-direction:column;flex:1}
.product-copy h3{margin-bottom:.45rem;color:var(--accent)}
.product-copy p{color:var(--muted);margin-bottom:1rem}
.product-type{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:var(--accent);font-weight:900;margin-bottom:.4rem}
.product-action{margin-top:auto;width:100%}
.interactive-product{justify-content:center}
.product-icon{font-size:4rem;text-align:center;padding:1.6rem 1rem .6rem}
@media(max-width:900px){.product-showcase{min-height:520px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.product-showcase{position:static;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:.7rem;padding:.8rem}.product-art-card{position:static;width:auto;transform:none}.cop-card{grid-column:1/-1;width:auto}.products-grid{grid-template-columns:1fr}}


/* =========================================================
   VERSION 12 — OFFLINE TABLET KIOSK + PRIVACY-FIRST SIGN-UP
   ========================================================= */
.v12-kiosk{
  background:#fff;
  padding:0;
  overflow:auto;
}
.v12-panel{
  width:100%;
  min-height:100vh;
}
.welcome-panel{
  position:relative;
  display:grid;
  place-items:center;
  background:#fff;
}
.welcome-concept-image{
  width:100%;
  height:100vh;
  object-fit:contain;
  object-position:center;
  background:#fff;
}
.welcome-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.v12-start-button{
  position:absolute;
  right:4.2%;
  top:58%;
  width:36%;
  min-height:86px;
  border:0;
  border-radius:20px;
  background:transparent;
  color:transparent;
  cursor:pointer;
  pointer-events:auto;
}
.v12-start-button:focus{
  outline:5px solid rgba(255,255,255,.9);
  box-shadow:0 0 0 9px rgba(177,18,27,.65);
}
.v12-staff-link{
  position:absolute;
  right:2.5%;
  bottom:2.7%;
  pointer-events:auto;
  border:1px solid rgba(255,255,255,.8);
  background:rgba(0,0,0,.16);
  color:#fff;
  font-weight:800;
  padding:.55rem .8rem;
  border-radius:10px;
}
.registration-panel,.privacy-panel{
  background:
    linear-gradient(rgba(255,250,247,.95),rgba(255,250,247,.95)),
    url("assets/cureiculum-pattern-top.jpg") center/520px auto repeat;
  padding:3rem 1.25rem;
  display:grid;
  place-items:center;
}
.registration-shell{
  width:min(100%,980px);
  background:#fff;
  border:1px solid var(--border);
  border-top:14px solid var(--accent);
  border-radius:26px;
  padding:clamp(1.25rem,3vw,2.4rem);
  box-shadow:0 30px 80px rgba(67,30,33,.18);
}
.registration-brand{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:1.4rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--border);
}
.registration-brand img{
  max-height:58px;
  width:auto;
}
.registration-brand span{
  font-size:1.5rem;
  font-weight:900;
  color:var(--muted);
}
.registration-intro{
  font-size:1.08rem;
  color:var(--muted);
}
.v12-form{
  margin-top:1.5rem;
}
.v12-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.v12-form label{
  font-size:.95rem;
}
.optional{
  font-size:.8rem;
  font-weight:500;
  color:var(--muted);
}
.offline-notice{
  margin-top:1.25rem;
  padding:1rem 1.1rem;
  border-radius:16px;
  background:#f3f8f4;
  border-left:5px solid var(--success);
}
.offline-notice p{
  margin:.35rem 0 0;
  color:#35453c;
}
.v12-actions{
  display:flex;
  justify-content:flex-end;
  gap:.75rem;
  margin-top:1.3rem;
}
.form-error{
  min-height:1.2rem;
  color:#a10d18;
  font-weight:800;
  margin:.75rem 0 0;
}
.privacy-shell{
  max-width:1000px;
}
.privacy-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  margin:1.3rem 0;
}
.privacy-card{
  background:#fff9f6;
  border:1px solid var(--border);
  border-radius:18px;
  padding:1.15rem;
}
.privacy-card h2{
  color:var(--accent);
  font-size:1.2rem;
}
.privacy-card p:last-child{
  margin-bottom:0;
}
.privacy-consent{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:.8rem;
  padding:1rem;
  border:2px solid #e6c8c0;
  border-radius:16px;
  background:#fff;
}
.privacy-consent input{
  width:24px;
  height:24px;
  margin-top:.1rem;
}
.privacy-contact{
  margin-top:1rem;
  color:var(--muted);
}
.facilitator-login-shell{
  max-width:520px;
}
.offline-data-panel{
  margin-top:1.25rem;
  padding:1rem;
  background:#fff9f6;
  border:1px solid var(--border);
  border-radius:16px;
}
.danger-btn{
  color:#9f1119;
  border-color:#dfb5b5;
}
body.journey-started #landingScreen{
  display:none !important;
}
@media(max-width:900px){
  .welcome-concept-image{object-fit:cover}
  .v12-start-button{right:3%;top:57%;width:38%;min-height:72px}
}
@media(max-width:720px){
  .v12-form-grid,.privacy-grid{grid-template-columns:1fr}
  .registration-panel,.privacy-panel{padding:1rem}
  .registration-shell{border-radius:18px}
  .welcome-concept-image{object-fit:contain;height:auto;min-height:100vh}
  .v12-start-button{right:4%;top:58%;width:40%;min-height:64px}
}


/* Version 12.2 registration language control */
.registration-heading-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1.25rem;
}
.registration-heading-row > div{
  flex:1 1 auto;
}
.registration-language-picker{
  flex:0 0 210px;
  padding:.8rem;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff9f6;
  color:var(--accent);
  font-weight:900;
}
.registration-language-picker select{
  margin-top:.4rem;
  background:#fff;
  color:var(--text);
}
@media(max-width:720px){
  .registration-heading-row{
    flex-direction:column;
  }
  .registration-language-picker{
    width:100%;
    flex-basis:auto;
  }
}

/* AIDS 2026 production release v1.0.0 */
.surprise-gift-banner{grid-column:1/-1;background:#fff4cf;border:2px solid #e7bb3b;border-radius:18px;padding:1rem 1.2rem;margin-bottom:.25rem}
.surprise-gift-banner strong{display:block;font-size:1.2rem;color:#7a4b00}
.surprise-gift-banner p{margin:.3rem 0 0}
.email-use-note{grid-column:1/-1;margin:-.35rem 0 .25rem;font-size:.92rem;line-height:1.45;color:#594f4b;background:#f8f3f1;padding:.75rem .9rem;border-radius:12px}
.privacy-prize-note{background:#fff8e5;border-left:4px solid #d4a72c;padding:.9rem 1rem;border-radius:10px}
.version-badge{display:block;margin-top:.2rem;color:#6f5f59;font-weight:700}
.step-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.v12-start-button{box-sizing:border-box;aspect-ratio:auto;min-height:clamp(54px,7vw,76px);height:auto;padding:.8rem 1.2rem;font-size:clamp(1rem,1.8vw,1.35rem);white-space:normal}
@media(max-width:760px){.step-nav{grid-template-columns:1fr 1fr}.v12-form-grid{grid-template-columns:1fr}}


/* Version 1.0.3 Cell-to-Cure completion screen */
.cell-complete-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:1rem;background:rgba(32,18,15,.82);overflow:auto}
.cell-complete-overlay.hidden{display:none!important}
.cell-complete-card{width:min(720px,96vw);background:#fff;border-radius:28px;padding:clamp(1.4rem,4vw,2.6rem);box-shadow:0 24px 80px rgba(0,0,0,.35);text-align:center;border:3px solid #e7bb3b}
.cell-complete-icon{font-size:clamp(3rem,8vw,5rem);line-height:1}
.cell-complete-card h2{font-size:clamp(2rem,5vw,3.4rem);margin:.3rem 0 .8rem}
.cell-complete-card>p{font-size:1.08rem;line-height:1.55}
.cell-complete-highlights{margin:1.2rem auto;text-align:left;background:#fff8e5;border-radius:18px;padding:1rem 1.15rem;max-width:600px}
.cell-complete-highlights p{margin:.55rem 0;font-weight:700}
.cell-complete-actions{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-top:1.4rem}
.cell-complete-actions button{min-height:58px;font-size:1rem}
.cell-complete-reset-note{font-size:.88rem!important;color:#6f5f59;margin-bottom:0!important}
body.completion-open{overflow:hidden}
@media(max-width:640px){.cell-complete-actions{grid-template-columns:1fr}.cell-complete-card{border-radius:20px}}


/* Version 1.1.0 Visitor Flow Update */
.skip-btn{grid-column:1/-1;border:0;background:transparent;color:var(--accent);font-weight:900;text-decoration:underline;text-underline-offset:4px;padding:.7rem 1rem;cursor:pointer}
.floating-register{position:fixed;top:1rem;right:1rem;z-index:8500;border:2px solid #fff;background:var(--accent);color:#fff;border-radius:999px;padding:.75rem 1.05rem;font-weight:900;box-shadow:0 8px 28px rgba(0,0,0,.22);cursor:pointer}
.floating-register.hidden{display:none!important}
.late-registration-overlay{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;padding:1rem;background:rgba(32,18,15,.82)}
.late-registration-overlay.hidden{display:none!important}
.late-registration-card{width:min(680px,96vw);background:#fff;border-radius:26px;padding:clamp(1.4rem,4vw,2.5rem);box-shadow:0 24px 80px rgba(0,0,0,.35);text-align:center;border:3px solid #e7bb3b}
.late-registration-card h2{font-size:clamp(2rem,5vw,3rem);margin:.35rem 0 .8rem}
.late-registration-card p{font-size:1.05rem;line-height:1.6}
.late-registration-actions{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-top:1.4rem}
.late-registration-actions button{min-height:56px}
@media(max-width:640px){.late-registration-actions{grid-template-columns:1fr}.floating-register{top:.6rem;right:.6rem}}


/* v1.1.2: playful Cure Champion type reveal */
.champion-type-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:1rem;
  align-items:center;
  margin:1.2rem 0;
  padding:1.15rem;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(111,45,189,.12),rgba(0,160,145,.12));
  border:2px solid rgba(111,45,189,.18);
  box-shadow:0 12px 28px rgba(34,23,60,.08);
}
.champion-type-icon{
  width:72px;
  height:72px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:2.3rem;
  background:#fff;
  box-shadow:0 8px 20px rgba(34,23,60,.12);
}
.champion-type-kicker{
  margin:0 0 .2rem;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.72;
}
.champion-type-card h3{margin:.1rem 0 .35rem;font-size:1.35rem;}
.champion-type-card p{margin:.15rem 0;}
.champion-type-power{margin-top:.55rem!important;}
@media (max-width:560px){
  .champion-type-card{grid-template-columns:1fr;text-align:center;}
  .champion-type-icon{margin:auto;}
}

/* v2.0.0 Offline Booth Edition */
.champion-panel{position:relative;overflow:hidden;background:radial-gradient(circle at top right,#fff3c4 0,transparent 34%),linear-gradient(145deg,#fff,#fff8f8)}
.champion-type-card{animation:championPop .65s cubic-bezier(.2,.9,.25,1.2);box-shadow:0 18px 45px rgba(177,18,27,.16)}
@keyframes championPop{from{opacity:0;transform:scale(.82) translateY(22px)}to{opacity:1;transform:scale(1) translateY(0)}}
.champion-type-mission{margin:.7rem 0 0;padding:.75rem 1rem;border-radius:14px;background:rgba(255,255,255,.8)}
.champion-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.reset-countdown{font-weight:700;text-align:center;margin-top:12px;color:#6d1b1f}
.confetti-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti-piece{position:absolute;top:-24px;font-size:20px;animation:confettiFall 2.8s linear forwards}@keyframes confettiFall{to{transform:translateY(850px) rotate(720deg);opacity:.1}}
.facilitator-dashboard .metrics{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.champion-distribution{margin-top:18px;display:grid;gap:8px}.champion-bar{display:grid;grid-template-columns:minmax(150px,1fr) 3fr 40px;gap:10px;align-items:center}.champion-bar-track{height:12px;border-radius:999px;background:#eee;overflow:hidden}.champion-bar-fill{height:100%;background:linear-gradient(90deg,#b1121b,#f0a000);border-radius:999px}
@media(max-width:700px){.champion-actions>*{width:100%}.champion-bar{grid-template-columns:1fr 2fr 34px;font-size:.82rem}}
