
:root{
  --bg:#0f1214;--card:#fff;--ink:#111;--muted:#5b6570;--gold:#d4af37;--maxw:980px;--radius:16px
}
*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.7;color:var(--ink);background:linear-gradient(180deg,#0b0e10 0%,#14181c 100%)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1rem}
header.hero{padding:2.75rem 0 1.75rem;background:radial-gradient(1200px 400px at 50% -20%, rgba(212,175,55,.15), transparent 70%);border-bottom:1px solid rgba(255,255,255,.08);color:#fff}
.brand{display:flex;align-items:center;gap:1.2rem}
.brand img{width:210px;height:auto;border-radius:18px;box-shadow:0 8px 30px rgba(0,0,0,.35)}
.brand h1{margin:0;font-size:clamp(2rem, 2.6vw + 1rem, 3rem);line-height:1.1;letter-spacing:.4px}
.tagline{margin:.35rem 0 0;color:#e8e8e8;opacity:.9;font-weight:500}
.nav{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.5rem}
.nav a{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.3);padding:.45rem .75rem;border-radius:999px;transition:background .2s}
.nav a:hover{background:rgba(255,255,255,.08)}
.actions{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.75rem}
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  border:1px solid #000;
  background:#000;
  color:#fff;
  padding:.7rem 1rem;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  box-shadow:none;
}

.btn.secondary{
  border-color:#000;
  background:#000;
  color:#fff;
}
main{padding:2rem 0 4rem}
.card{background:var(--card);border-radius:var(--radius);border:1px solid #eee;box-shadow:0 6px 30px rgba(0,0,0,.08);overflow:hidden}
.card .body{padding:1.25rem}
h2{margin:0 0 .5rem;font-size:1.35rem}
p{margin:.6rem 0}ul,ol{margin:.6rem 0 .6rem 1.2rem}
.grid{display:grid;gap:1rem}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:800px){.grid.cols-2,.grid.cols-3{grid-template-columns:1fr}}
.tile{background:#fff;border:1px solid #eee;border-radius:14px;padding:1rem;display:flex;flex-direction:column;gap:.5rem;text-decoration:none;color:var(--ink);transition:transform .06s, box-shadow .2s}
.tile:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.1)}
.tile h3{margin:.2rem 0 .1rem;font-size:1.1rem}
.tile small{color:var(--muted)}
.badge{font-weight:700;color:#fff;background:var(--gold);border-radius:999px;padding:.1rem .55rem;font-size:.8rem;box-shadow:0 3px 10px rgba(212,175,55,.3)}
.step{padding:1rem;border:1px solid #f0f0f0;border-radius:12px;background:#fff}
.step h3{margin:0 0 .35rem;font-size:1.05rem;display:flex;gap:.5rem;align-items:center}
footer{color:#c9c9c9;padding:2rem 0;text-align:center;border-top:1px solid rgba(255,255,255,.08)}
footer small{color:#a7a7a7}
@media print{header.hero,.actions,footer{display:none !important}body{background:#fff}.card{box-shadow:none;border:none}}

/* Kickstarter homepage */
.home-wrap{max-width:1180px}
.kickstarter-card{overflow:hidden}
.kickstarter-hero{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  grid-template-areas:
    "intro cta"
    "details visual";
  gap:1.5rem 2.25rem;
  align-items:start;
  padding:2.25rem;
}
.kickstarter-intro{grid-area:intro;min-width:0;align-self:center}
.kickstarter-details{grid-area:details;min-width:0}
.kickstarter-cta{
  grid-area:cta;
  min-width:0;
  padding:1.25rem;
  border:1px solid #eadca7;
  border-radius:16px;
  background:linear-gradient(145deg,#fffdf4 0%,#f8f2dc 100%);
  box-shadow:0 12px 30px rgba(0,0,0,.07);
  text-align:center;
}
.kickstarter-visual{grid-area:visual;min-width:0;align-self:start}
.launch-label{display:inline-block;margin-bottom:.9rem;padding:.3rem .7rem;border-radius:999px;background:var(--gold);color:#111;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;line-height:1.4}
.kickstarter-intro h2{margin:0;font-size:clamp(2.2rem,3.7vw,3.6rem);line-height:1.06;letter-spacing:-.03em}
.kickstarter-intro h2 em{font-style:normal;color:#8a6a00}
.kickstarter-details .lead{margin-top:0;font-size:1.1rem;line-height:1.65;color:#252a2f}
.kickstarter-cta-kicker{margin-bottom:.8rem;color:#5c4b12;font-size:.9rem;font-weight:850;letter-spacing:.025em;text-transform:uppercase}
.kickstarter-btn-large{
  width:100%;
  min-height:116px;
  justify-content:center;
  gap:1rem;
  padding:1.2rem 1.5rem;
  border:2px solid #111;
  border-radius:18px;
  background:#111;
  color:#fff;
  font-size:clamp(1.55rem,2.3vw,2.35rem);
  line-height:1.12;
  text-align:center;
  box-shadow:0 12px 24px rgba(0,0,0,.18), inset 0 0 0 2px rgba(212,175,55,.2);
  transition:transform .08s ease,box-shadow .2s ease,background .2s ease;
}
.kickstarter-btn-large:hover{background:#1c1c1c;transform:translateY(-2px);box-shadow:0 16px 30px rgba(0,0,0,.24), inset 0 0 0 2px rgba(212,175,55,.45)}
.kickstarter-btn-large .cta-arrow{color:var(--gold);font-size:1.25em;line-height:1}
.kickstarter-cta-note{margin-top:.8rem;color:#4f4a3e;font-size:.9rem;line-height:1.45}
.kickstarter-btn:focus-visible,.nav a:focus-visible,.kickstarter-url:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.link-fallback{margin-top:1.35rem;padding:1rem;border:1px solid #e5e5e5;border-radius:12px;background:#f8f8f8;color:#414850;font-size:.9rem;line-height:1.5}
.link-fallback strong,.link-fallback span{display:block}
.kickstarter-url{display:block;margin-top:.45rem;color:#111;font-weight:650;text-decoration:underline;text-decoration-color:#b38c13;text-underline-offset:2px;overflow-wrap:anywhere;word-break:break-word;user-select:all}
.kickstarter-visual picture{display:block}
.kickstarter-visual img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid #eee;background:#fff}
.game-facts{display:flex;justify-content:center;flex-wrap:wrap;gap:.4rem 1.4rem;padding:1rem 1.5rem;border-top:1px solid #eee;background:#fafafa;color:#353b40;font-size:.92rem;font-weight:700;text-align:center}
.game-facts span:not(:last-child)::after{content:"•";margin-left:1.4rem;color:var(--gold)}

@media (max-width:850px){
  .kickstarter-hero{
    grid-template-columns:1fr;
    grid-template-areas:
      "intro"
      "cta"
      "visual"
      "details";
    padding:1.5rem;
    gap:1.35rem;
  }
  .kickstarter-intro h2{font-size:clamp(1.9rem,7vw,2.8rem)}
  .kickstarter-btn-large{min-height:92px;font-size:clamp(1.4rem,5.4vw,2rem)}
  .game-facts{gap:.55rem 1rem}
  .game-facts span:not(:last-child)::after{display:none}
}

@media (max-width:560px){
  header.hero{padding:1.5rem 0 1.25rem}
  .brand{align-items:flex-start;gap:.9rem}
  .brand img{width:120px;border-radius:12px}
  .brand h1{font-size:2rem}
  .tagline{font-size:.9rem}
  .nav{gap:.4rem}
  .nav a{padding:.38rem .6rem;font-size:.86rem}
  main{padding-top:1.25rem}
  .kickstarter-hero{padding:1.1rem}
  .launch-label{font-size:.7rem}
  .kickstarter-cta{padding:1rem}
  .kickstarter-btn-large{min-height:82px;border-radius:14px;padding:1rem;font-size:1.35rem}
  .kickstarter-cta-kicker{font-size:.78rem}
  .kickstarter-cta-note{font-size:.84rem}
  .kickstarter-details .lead{font-size:1rem}
}


/* Financial literacy resource library */
.resource-section{margin:2rem 0;padding:1.35rem;border:1px solid #e8dfbd;border-radius:14px;background:linear-gradient(180deg,#fffdf5 0%,#fff 100%)}
.resource-heading{margin-bottom:1rem}
.resource-heading .badge{display:inline-block;margin-bottom:.65rem}
.resource-heading h2,.concepts-heading h2{margin:0 0 .35rem;font-size:1.45rem}
.resource-heading p,.concepts-heading p{margin:.35rem 0;color:#49515a}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.resource-card{display:grid;grid-template-columns:auto 1fr;gap:1rem;padding:1.15rem;border:1px solid #e8e8e8;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.045)}
.resource-icon{display:flex;align-items:center;justify-content:center;width:48px;height:58px;border:2px solid var(--gold);border-radius:8px;color:#755b00;background:#fff9df;font-size:.72rem;font-weight:900;letter-spacing:.06em}
.resource-card h3{margin:0 0 .35rem;font-size:1.12rem;line-height:1.35}
.resource-card p{margin:.35rem 0;color:#343a40;line-height:1.6}
.resource-meta{margin-top:.7rem;color:var(--muted);font-size:.84rem;font-weight:650}
.resource-actions{align-items:center;margin-top:.9rem}
.resource-actions .btn{padding:.6rem .85rem;font-size:.9rem}
.resource-preview{color:#111;font-size:.9rem;font-weight:750;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
.resource-preview:hover{text-decoration-thickness:2px}
.resource-preview:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.resource-coming-soon{margin-top:1rem;padding:.9rem 1rem;border-left:4px solid var(--gold);border-radius:0 10px 10px 0;background:#f8f8f8;color:#3e454c}
.concepts-heading{margin:2rem 0 .25rem;padding-top:.25rem}

@media (max-width:800px){
  .resource-grid{grid-template-columns:1fr}
}

@media (max-width:520px){
  .resource-section{padding:1rem}
  .resource-card{grid-template-columns:1fr}
  .resource-icon{width:44px;height:52px}
  .resource-actions{align-items:flex-start;flex-direction:column}
}


/* About / origin story */
.about-wrap{max-width:1080px}
.about-card{overflow:hidden}
.about-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:2rem;align-items:center;padding:2rem 2.25rem 1.5rem}
.about-intro-copy h2{margin:.6rem 0 .7rem;font-size:clamp(2rem,4vw,3.3rem);line-height:1.08;letter-spacing:-.03em}
.about-lead{margin:0;font-size:1.15rem;line-height:1.65;color:#3e454c}
.about-hero-image,.about-wide-image,.story-image{margin:0}
.about-hero-image img{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:14px;background:#fafafa}
.about-wide-image{padding:0 2.25rem 2rem}
.about-wide-image img{display:block;width:100%;height:auto;border:1px solid #eee;border-radius:14px;background:#fff}
.about-story-body{max-width:840px;margin:0 auto;padding:0 2rem 2.5rem}
.story-section{padding:2.25rem 0;border-top:1px solid #ececec}
.story-section h2{margin:0 0 1.15rem;font-size:clamp(1.55rem,2.5vw,2.05rem);line-height:1.2}
.story-section p{margin:.95rem 0;font-size:1.02rem;line-height:1.78;color:#252a2f}
.story-image{margin:1rem 0 1.35rem}
.story-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;border-radius:13px;border:1px solid #ececec;background:#f7f7f7}
.story-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0 1.35rem}
.story-image-grid .story-image{margin:0;height:100%}
.story-image-grid .story-image img{height:100%;max-height:430px;object-fit:cover}
.story-image-grid-mixed{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
.story-kickstarter{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-top:.25rem;padding:1.5rem;border:1px solid #e8dfbd;border-radius:15px;background:linear-gradient(145deg,#fffdf4 0%,#f8f2dc 100%)}
.story-kickstarter h2{margin:.55rem 0 .6rem}
.story-kickstarter p{margin:0;max-width:620px}
.story-kickstarter-btn{flex:0 0 auto;justify-content:center;min-width:220px;border-radius:14px;padding:.9rem 1.15rem;text-align:center}

@media (max-width:800px){
  .about-intro{grid-template-columns:1fr;padding:1.5rem}
  .about-hero-image{max-width:520px;margin:0 auto}
  .about-wide-image{padding:0 1.5rem 1.5rem}
  .about-story-body{padding:0 1.5rem 2rem}
  .story-kickstarter{align-items:stretch;flex-direction:column}
  .story-kickstarter-btn{width:100%}
}
@media (max-width:620px){
  .about-intro{padding:1.15rem}
  .about-wide-image{padding:0 1.15rem 1.25rem}
  .about-story-body{padding:0 1.15rem 1.5rem}
  .story-section{padding:1.7rem 0}
  .story-image-grid,.story-image-grid-mixed{grid-template-columns:1fr}
  .story-image-grid .story-image img{height:auto;max-height:560px;object-fit:contain}
  .story-kickstarter{padding:1.15rem}
}
