/* Dream Aspect Play — brand fonts + palette
   Titles: Nohemi Medium
   Body: Red Hat Display
   Core: #FFFFFF #000000 #9DC9F5 #D8E9FB #FAFAFA #D9D9D9
   Inspired by https://www.dreamaspect.co/
*/

@font-face {
  font-family: "Nohemi";
  src: url("fonts/Nohemi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nohemi";
  src: url("fonts/Nohemi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/RedHatDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/RedHatDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/RedHatDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --blue: #9dc9f5;
  --blue-soft: #d8e9fb;
  --paper: #fafafa;
  --gray: #d9d9d9;
  --ink: #000000;
  --muted: #6b6b6b;
  --accent: #9dc9f5;
  --accent-deep: #6ba8e0;
  --card: #ffffff;
  --edge: #d9d9d9;
  --font-title: "Nohemi", "Red Hat Display", system-ui, sans-serif;
  --font-body: "Red Hat Display", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(157, 201, 245, 0.35), transparent 42%),
    radial-gradient(ellipse at 88% 8%, rgba(216, 233, 251, 0.7), transparent 46%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.hero h1,
.shortcut h2,
.card h2,
.book article h1,
.book h2,
.soon h1,
.edu-card strong {
  font-family: var(--font-title);
  font-weight: 500; /* Medium */
  letter-spacing: -0.02em;
}

.shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.brand-mark {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 13px;
}

.brand-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.progress {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.1;
}

.lede {
  margin: 0 0 12px;
  max-width: 38rem;
  font-size: 17px;
  line-height: 1.45;
  color: var(--muted);
}

.lede a {
  color: var(--ink);
  font-weight: 600;
}

.shortcut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 45%, #243445 100%);
  color: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(157, 201, 245, 0.25);
}

.shortcut-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.shortcut h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.shortcut-copy p:last-child {
  margin: 0;
  max-width: 28rem;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.btn-shortcut {
  flex: 0 0 auto;
  background: var(--blue);
  border-color: var(--blue);
  color: var(--black);
  white-space: nowrap;
}

.btn-shortcut:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
}

.section-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-gift {
  margin: 0 !important;
  flex: 0 0 auto !important;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--accent-deep) !important;
}

.edu-strip {
  margin-top: 36px;
  padding-top: 8px;
}

.edu-lede {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 15px;
  max-width: 36rem;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.edu-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--edge);
  text-decoration: none;
  color: inherit;
}

.edu-card:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.edu-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}

.edu-card strong {
  font-size: 16px;
}

.edu-card span:last-child {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.edu-all {
  margin: 14px 0 0;
  font-size: 14px;
}

.edu-all a {
  color: var(--ink);
  font-weight: 600;
}

.book {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.book .top {
  margin-bottom: 20px;
}

.book article h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
}

.book .deck {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--muted);
}

.book h2 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.book p,
.book li {
  font-size: 16px;
  line-height: 1.55;
  color: #1a1a1a;
}

.book ul {
  padding-left: 1.2em;
}

.book .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.book nav.chapters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.book nav.chapters a {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--edge);
  text-decoration: none;
  color: inherit;
}

.book nav.chapters a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.prize {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.card.is-locked {
  opacity: 0.72;
  background: #fafafa;
}

.card-emoji {
  font-size: 28px;
  line-height: 1;
}

.card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.card h2 {
  margin: 0;
  font-size: 22px;
}

.card p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.card-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.card.is-locked .card-status {
  color: var(--muted);
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: #222;
  border-color: #222;
  color: var(--white);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.foot {
  margin-top: 36px;
  font-size: 12px;
  color: var(--muted);
}

.foot a {
  color: var(--ink);
}

.soon {
  max-width: 480px;
  margin: 12vh auto;
  text-align: center;
  padding: 24px;
}

.soon h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.soon p {
  color: var(--muted);
  line-height: 1.45;
}

.soon a {
  color: var(--accent-deep);
  font-weight: 600;
}
