:root {
  --forest-950:#24352e;
  --forest-900:#2d4037;
  --forest-800:#3c5147;
  --forest-700:#53685d;
  --sage-500:#83958a;
  --mist-200:#d9e2dd;
  --mist-100:#e8eeea;
  --stone-100:#f3f0e9;
  --stone-200:#e6e0d5;
  --sand-300:#c9b48d;
  --text:#f7f7f3;
  --muted:#d8e0da;
  --card:#f7f4ed;
  --cardText:#243029;
  --line:rgba(255,255,255,.16);
  --shadow:0 24px 70px rgba(29,44,36,.20);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 76% 4%,rgba(235,222,194,.50),transparent 24%),
    linear-gradient(180deg,#dfe8e3 0%,#cdd9d2 25%,#879a8f 58%,#40544a 100%);
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:linear-gradient(115deg,rgba(255,255,255,.08) 0 1px,transparent 1px 14px);
}
a{color:inherit}
button,input{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,.card:focus-visible{outline:3px solid rgba(235,219,184,.92);outline-offset:3px}

.site-shell{position:relative;overflow:hidden;min-height:100vh}
.hero-scene{position:absolute;inset:0;pointer-events:none;overflow:hidden;opacity:.92}
.sun{
  position:absolute;
  top:-175px;
  right:5%;
  width:380px;
  height:380px;
  border-radius:50%;
  background:rgba(237,224,196,.62);
  filter:blur(22px);
}
.cloud{
  position:absolute;
  height:74px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
  filter:blur(24px);
}
.cloud:before,.cloud:after{display:none}
.cloud.one{width:420px;top:80px;left:-90px}
.cloud.two{width:520px;top:150px;right:-120px;opacity:.72}
.hills{
  position:absolute;
  left:-4%;
  right:-4%;
  bottom:0;
  height:47vh;
  background:linear-gradient(180deg,transparent 0 22%,rgba(98,119,104,.40) 23% 46%,rgba(67,88,75,.86) 47% 100%);
  clip-path:polygon(0 45%,10% 39%,20% 47%,31% 35%,42% 46%,55% 32%,66% 43%,78% 34%,89% 45%,100% 37%,100% 100%,0 100%);
}
.hills:before{
  content:"";
  position:absolute;
  inset:18% 0 0;
  background:linear-gradient(180deg,rgba(72,94,80,.38),rgba(43,61,51,.94));
  clip-path:polygon(0 51%,13% 42%,24% 55%,36% 43%,48% 57%,60% 40%,72% 53%,84% 39%,100% 50%,100% 100%,0 100%);
}
.road{
  position:absolute;
  left:50%;
  bottom:-3vh;
  transform:translateX(-50%);
  width:min(58vw,600px);
  height:44vh;
  background:linear-gradient(180deg,rgba(92,89,82,.48),rgba(62,60,56,.90));
  clip-path:polygon(47.7% 0,52.3% 0,100% 100%,0 100%);
  opacity:.72;
}
.road:before{
  content:"";
  position:absolute;
  left:50%;
  top:12%;
  bottom:7%;
  width:2px;
  transform:translateX(-50%);
  background:repeating-linear-gradient(180deg,rgba(229,215,183,.76) 0 13px,transparent 13px 34px);
}

.topbar{
  position:relative;
  z-index:3;
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1180px;
  margin:0 auto;
  padding:22px 24px;
}
.brand{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:13px;
  background:rgba(36,53,46,.38);
  backdrop-filter:blur(14px);
  color:#faf9f4;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  font-weight:700;
  letter-spacing:.015em;
  text-decoration:none;
}
.top-links{display:flex;gap:8px}
.top-links a{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:11px;
  background:rgba(36,53,46,.24);
  color:rgba(255,255,255,.88);
  font-size:14px;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease;
}
.top-links a:hover{background:rgba(36,53,46,.42);border-color:rgba(255,255,255,.25)}

main{position:relative;z-index:2;max-width:1100px;margin:0 auto;padding:10px 20px 64px}
.hero{display:grid;grid-template-columns:1.08fr .92fr;gap:38px;align-items:center;padding:32px 0 16px}
.kicker{
  display:inline-flex;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.19);
  border-radius:8px;
  background:rgba(44,64,54,.30);
  color:rgba(255,255,255,.88);
  font-size:11px;
  font-weight:750;
  letter-spacing:.13em;
  text-transform:uppercase;
}
h1{
  margin:18px 0 16px;
  color:#fbfaf6;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(46px,7vw,76px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.035em;
  text-shadow:0 8px 30px rgba(30,45,37,.18);
}
.lead{max-width:590px;margin:0;color:rgba(250,251,247,.91);font-size:18px;line-height:1.65}
.cta-row{display:flex;flex-wrap:wrap;gap:11px;margin-top:24px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  gap:8px;
  padding:13px 18px;
  border:1px solid transparent;
  border-radius:12px;
  font-weight:750;
  text-decoration:none;
  cursor:pointer;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:var(--stone-100);color:var(--forest-950);box-shadow:0 14px 34px rgba(35,49,41,.14)}
.btn.primary:hover{background:#fffdf8;box-shadow:0 16px 38px rgba(35,49,41,.19)}
.btn.secondary{background:rgba(39,57,48,.28);color:var(--text);border-color:rgba(255,255,255,.17)}
.btn.secondary:hover{background:rgba(39,57,48,.43);border-color:rgba(255,255,255,.25)}
.micro{margin-top:14px;color:rgba(244,247,242,.76);font-size:14px;line-height:1.5}

.mock-card{
  position:relative;
  padding:30px;
  border:1px solid rgba(255,255,255,.58);
  border-radius:22px;
  background:rgba(247,244,237,.91);
  color:var(--cardText);
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}
.mock-card:before{
  content:"";
  position:absolute;
  inset:10px;
  pointer-events:none;
  border:1px solid rgba(65,83,71,.10);
  border-radius:15px;
}
.mock-card .pill,.pill{
  display:inline-flex;
  padding:6px 9px;
  border:1px solid rgba(54,76,62,.13);
  border-radius:7px;
  background:#e2e8e1;
  color:#345043;
  font-size:11px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.mock-card h3{position:relative;margin:22px 0;font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:500;line-height:1.22}
.mock-card .chip,.chip{
  display:inline-flex;
  padding:7px 10px;
  border-radius:7px;
  background:#e9e1d2;
  color:#3d493f;
  font-size:12px;
  font-weight:750;
}
.notice{
  max-width:620px;
  margin:26px 0 0;
  padding:15px 17px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:13px;
  background:rgba(39,57,48,.30);
  color:rgba(247,249,245,.83);
  font-size:14px;
  line-height:1.55;
}
.notice strong{color:#fbf7eb}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:34px 0}
.panel{
  padding:21px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:17px;
  background:rgba(38,57,47,.34);
  backdrop-filter:blur(14px);
  box-shadow:0 14px 40px rgba(31,46,38,.09);
}
.panel h3,.panel h2{margin-top:0;font-family:Georgia,"Times New Roman",serif;font-weight:500}
.panel p{line-height:1.6;color:rgba(247,249,245,.80)}

.screen{display:none}.screen.active{display:block}
.controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:20px 0 28px}
label{display:block;margin:15px 0 8px;color:rgba(255,255,255,.88);font-size:14px;font-weight:700}
input[type=text]{
  width:100%;
  padding:13px 14px;
  border:1px solid rgba(61,83,69,.20);
  border-radius:10px;
  background:rgba(250,249,245,.96);
  color:#27362e;
  font-size:16px;
}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.category-option{
  min-height:48px;
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.88);
  cursor:pointer;
  font-weight:650;
  text-align:left;
}
.category-option:hover{background:rgba(255,255,255,.12)}
.category-option.active{border-color:rgba(226,218,197,.56);background:rgba(231,226,211,.18);color:#fff}
.segmented{display:flex;gap:9px;flex-wrap:wrap}
.segmented button{
  min-height:42px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.88);
  cursor:pointer;
  font-weight:700;
}
.segmented button.active{border-color:#ede6d8;background:#ede9df;color:#314239}

.game-wrap{max-width:760px;margin:0 auto;padding-top:12px}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.progress{height:5px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.14)}
.progress span{display:block;height:100%;background:linear-gradient(90deg,#d7c6a4,#aebcad);transition:width .22s ease}
.card{
  position:relative;
  display:flex;
  min-height:320px;
  margin-top:20px;
  padding:32px;
  overflow:hidden;
  align-items:flex-start;
  justify-content:center;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.58);
  border-radius:22px;
  background:rgba(248,246,240,.97);
  color:var(--cardText);
  box-shadow:var(--shadow);
}
.card .content{position:relative;z-index:1;width:100%;visibility:visible;opacity:1;transition:opacity .18s ease}
.card.covered .content{visibility:hidden;opacity:0}
.cover{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:28px;
  border-radius:inherit;
  background:
    linear-gradient(150deg,rgba(39,57,48,.97),rgba(72,91,79,.95)),
    radial-gradient(circle at 70% 20%,rgba(213,205,183,.14),transparent 35%);
  color:#f8f7f1;
  text-align:center;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .2s ease,visibility 0s linear 0s;
}
.cover strong{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500}
.cover small{max-width:420px;color:rgba(255,255,255,.72);font-size:13px;line-height:1.5}
.card:not(.covered) .cover{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility 0s linear .2s;
}
.card h2{margin:22px 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,4.5vw,44px);font-weight:500;line-height:1.18;letter-spacing:-.02em}
.actions{display:flex;gap:11px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.small{font-size:13px;line-height:1.5;color:#607167}

footer{position:relative;z-index:2;padding:42px 20px 58px;color:rgba(244,247,243,.66);text-align:center;font-size:13px}
.article-hero{padding:34px 0 24px}
.article{
  max-width:860px;
  margin:0 auto;
  padding:clamp(26px,5vw,52px);
  border:1px solid rgba(255,255,255,.56);
  border-radius:22px;
  background:rgba(248,246,240,.95);
  color:#26342c;
  box-shadow:var(--shadow);
}
.article h1{margin-top:18px;color:#263b30;font-size:clamp(38px,5.5vw,58px);text-shadow:none}
.article h2{margin-top:38px;color:#31463a;font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500}
.article p,.article li{font-size:17px;line-height:1.75}
.article .cta-box{margin:38px 0 0;padding:24px;border:1px solid rgba(75,96,80,.11);border-radius:14px;background:#eae6dc}
.article .question-list li,.article .game-list li{margin-bottom:12px}
.article .btn.primary{background:#334c3f;color:#f8f5ed}
.tagline{color:#5b7164;font-weight:600}
.hidden{display:none!important}
hr{border:0;border-top:1px solid rgba(255,255,255,.14);margin:24px 0}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;gap:28px;padding-top:16px}
  .grid,.controls{grid-template-columns:1fr}
  .category-grid{grid-template-columns:1fr}
  .top-links{display:none}
  .road{width:92vw}
  .mock-card{max-width:680px}
}
@media (max-width:560px){
  .topbar{padding:16px}
  main{padding:4px 14px 50px}
  h1{font-size:49px}
  .lead{font-size:16px}
  .card{min-height:300px;padding:24px;border-radius:18px}
  .card h2{font-size:33px}
  .toolbar{align-items:stretch;flex-wrap:wrap}
  .toolbar .btn{min-height:42px;padding:10px 12px}
  .btn{width:100%}
  .toolbar .btn,.actions .btn{width:auto;flex:1}
  .panel{padding:18px}
  .article{padding:25px 20px;border-radius:18px}
}
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
