:root{
  --bg:#101a14;
  --panel:#16261d;
  --panel2:#1a2c22;
  --text:#eff7ef;
  --muted:#b9c7bb;
  --line:#2c4034;
  --accent:#8dd68a;
  --accent2:#6bbd63;
  --shadow:0 18px 40px rgba(0,0,0,.28);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'DM Sans',sans-serif;
  background:
    radial-gradient(circle at top, rgba(117,176,110,.10), transparent 28%),
    linear-gradient(180deg,#0f1712 0%, #131d17 100%);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}

.wrap{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(14px);
  background:rgba(12,18,14,.76);
  border-bottom:1px solid rgba(141,214,138,.12);
}

.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 0;
}

.brandline{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-logo{
  width:54px;
  height:54px;
  object-fit:contain;
}
.brandline h1{
  margin:0;
  font-size:1.3rem;
  letter-spacing:.02em;
}

.header-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.back-btn,.info-btn,.btn,.primary{
  border:0;
  border-radius:999px;
  padding:12px 18px;
  cursor:pointer;
  transition:.2s ease;
  font-weight:700;
}

.back-btn,.info-btn,.btn-secondary{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid rgba(255,255,255,.08);
}

.info-btn,.primary,.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#102014;
}

.hero{
  position:relative;
  min-height:380px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(9,15,11,.18), rgba(9,15,11,.75)),
    url('hero-1.jpg') center/cover no-repeat;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(6,10,8,.78) 0%, rgba(6,10,8,.28) 55%, rgba(6,10,8,.70) 100%);
}
.hero-inner{
  position:relative;
  padding:54px 0;
}
.hero-copy{
  max-width:640px;
}
.eyebrow{
  margin:0 0 10px;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.82rem;
  font-weight:700;
}
.hero h2{
  margin:0;
  font-size:clamp(2.3rem, 5vw, 4.4rem);
  line-height:.98;
}
.hero-text{
  margin:14px 0 0;
  font-size:1.1rem;
  color:#e4efe3;
  max-width:520px;
}
.hero-actions{
  margin-top:24px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.intro,.stepcard,.resultcard{
  background:linear-gradient(180deg, rgba(23,38,29,.94), rgba(18,29,22,.94));
  border:1px solid rgba(141,214,138,.10);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.intro{
  margin:24px 0;
  padding:22px;
}
.intro h3,.stephead h3{
  margin:0 0 6px;
  font-size:1.35rem;
}
.intro p,.stephead p,.hint{
  margin:0;
  color:var(--muted);
}

.choices{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin:18px 0 24px;
}
.choice{
  display:flex;
  gap:14px;
  align-items:flex-start;
  text-align:left;
  padding:18px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  color:var(--text);
}
.choice.active{
  border-color:rgba(141,214,138,.50);
  background:rgba(141,214,138,.10);
}
.choice strong,.choice span{display:block}
.choice span{color:var(--muted);margin-top:3px}
.icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(141,214,138,.12);
  color:var(--accent);
  flex:0 0 auto;
}
.icon svg{width:24px;height:24px}

.stepcard,.resultcard{
  padding:22px;
  margin:0 0 18px;
}
.stepform{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.stepform input{
  border:1px solid rgba(255,255,255,.10);
  background:#0e1712;
  color:var(--text);
  border-radius:14px;
  padding:12px 14px;
  min-width:240px;
}
.stepform input::placeholder{color:#7f9384}

.pill,.chip{
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-radius:999px;
  padding:10px 14px;
  cursor:pointer;
}
.pill.active,.chip:hover{
  background:rgba(141,214,138,.15);
  border-color:rgba(141,214,138,.35);
}

.resultbox{
  margin-top:18px;
  background:#0f1813;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  padding:18px;
  color:var(--text);
}

.recipe-title,.menu-title{
  margin:0 0 10px;
}
.recipe-desc{
  color:var(--muted);
}

.menu-gang{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  background:rgba(141,214,138,.07);
  border:1px solid rgba(141,214,138,.12);
}
.gang-title{margin:0 0 8px}
.recipe-section{
  margin:18px 0 8px;
  color:var(--accent);
}
ul,ol{
  margin:0;
  padding-left:20px;
}
li{margin:6px 0}

#popup,#infoPopup{
  position:fixed;
  inset:0;
  background:rgba(5,8,6,.72);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:50;
}
#popup.open,#infoPopup.open{display:flex}
.popup-box{
  width:min(920px,100%);
  max-height:90vh;
  overflow:auto;
  background:linear-gradient(180deg,#18271f,#111b15);
  border:1px solid rgba(141,214,138,.16);
  border-radius:26px;
  padding:22px;
  box-shadow:var(--shadow);
  position:relative;
}
.popup-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:0;
  cursor:pointer;
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-size:1.3rem;
}
.popup-actions,.info-options{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.info-text{color:var(--text);line-height:1.55}

@media (max-width: 860px){
  .choices{grid-template-columns:1fr}
  .header{align-items:flex-start;flex-direction:column}
  .hero{min-height:320px}
}
@media print{
  body{background:#fff;color:#000}
  .topbar,.hero,.choices,.stepcard,.popup-close,.popup-actions,.info-options,#infoPopup{display:none!important}
  .resultcard{box-shadow:none;border:0;background:#fff}
}