:root {
  --bg: #f4f2ed;
  --paper: #fffdf9;
  --ink: #101010;
  --muted: #66635d;
  --line: rgba(16,16,16,.12);
  --blue: #158fca;
  --green: #9acb31;
  --yellow: #f0d31a;
  --shadow: 0 30px 70px rgba(0,0,0,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(244,242,237,.86); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 8px; font-weight: 900; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: #45423d; }
.nav a:hover { color: #000; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: white; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.15); }
.button-small { min-height: 42px; padding: 0 17px; }
.button-light { background: white; color: var(--ink); }
.text-link { font-weight: 800; text-underline-offset: 4px; }
.hero { overflow: hidden; background: linear-gradient(135deg, #fbfaf7 0%, #efede6 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; line-height: 1.4; font-weight: 900; margin-bottom: 16px; }
h1,h2,h3 { font-family: Manrope, Inter, sans-serif; letter-spacing: -.045em; margin: 0; }
h1 { max-width: 760px; font-size: clamp(54px, 7vw, 96px); line-height: .94; font-weight: 800; }
.hero-lede { max-width: 650px; font-size: 20px; line-height: 1.6; color: #514f49; margin: 28px 0 0; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 52px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 28px; }
.hero-stats span { margin-top: 4px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.hero-art { min-height: 560px; position: relative; }
.glow { position: absolute; inset: 12% 6% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(21,143,202,.22), rgba(154,203,49,.10) 42%, transparent 70%); filter: blur(12px); }
.book { position: absolute; filter: drop-shadow(0 30px 28px rgba(0,0,0,.22)); transform-origin: 50% 100%; }
.book-front { width: 43%; left: 30%; bottom: 3%; z-index: 3; transform: rotate(-1deg) scale(1.08); }
.book-mid { width: 38%; left: 7%; bottom: 15%; z-index: 2; transform: rotate(-9deg); }
.book-back { width: 37%; right: 1%; bottom: 19%; z-index: 1; transform: rotate(8deg); }
.marquee { overflow: hidden; background: var(--ink); color: white; border-top: 1px solid #000; border-bottom: 1px solid #000; }
.marquee-track { width: max-content; min-width: 100%; display: flex; justify-content: center; gap: 48px; padding: 15px 24px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.section { padding-top: 110px; padding-bottom: 110px; }
.section-heading { margin-bottom: 50px; }
.section-heading.narrow { max-width: 770px; }
.section-heading h2, .split-copy h2, .final-cta h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1; }
.section-heading p, .split-copy p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; }
.feature-card { min-height: 300px; padding: 34px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.feature-card h3 { font-size: 32px; line-height: 1.05; margin: 14px 0; }
.feature-card p { line-height: 1.7; color: #5a5751; }
.card-number { font-size: 12px; font-weight: 900; letter-spacing: .12em; opacity: .65; }
.feature-large { grid-row: span 2; display: grid; grid-template-columns: .82fr 1.18fr; gap: 30px; align-items: center; min-height: 620px; }
.feature-image-wrap { align-self: stretch; border-radius: 20px; overflow: hidden; display: grid; place-items: center; padding: 28px; }
.paper-bg { background: linear-gradient(145deg,#e7e2d8,#f7f4ee); }
.feature-image-wrap img { max-height: 500px; box-shadow: 0 24px 44px rgba(0,0,0,.18); }
.dark-card { background: #111; color: white; border-color: #111; }
.dark-card p { color: #c8c6c1; }
.blue-card { background: var(--blue); color: white; border-color: var(--blue); }
.blue-card p { color: rgba(255,255,255,.86); }
.split-section { background: #e8e5de; }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.scoresheet-frame { background: #d9d5cc; border-radius: 32px; padding: 42px; display: grid; place-items: center; }
.scoresheet-frame img { width: min(100%, 430px); box-shadow: var(--shadow); }
.split-copy { max-width: 600px; }
.split-copy p:first-of-type { margin-top: 28px; }
.product-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; }
.product-heading p { margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 24px; display: flex; flex-direction: column; align-items: center; min-height: 430px; transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.product-card img { height: 285px; width: auto; object-fit: contain; margin: 0 auto 22px; border-radius: 18px; }
.product-card div { width: 100%; margin-top: auto; }
.product-card h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 10px; }
.product-card a { font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.pocket-section {
  background: linear-gradient(180deg, #f0ede6 0%, #e8e4db 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.section-intro-kicker {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #4d4a44;
}
.pocket-heading {
  margin-bottom: 42px;
}
.pocket-heading p { color: var(--muted); }
.pocket-grid .product-card {
  background: #171717;
  border-color: #2d2d2d;
  color: white;
}
.pocket-grid .product-card a { color: white; }
.pocket-grid .product-card img { height: 270px; }
.comparison { text-align: center; }
.comparison .section-heading { margin-left: auto; margin-right: auto; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.compare-card { min-height: 360px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); padding: 42px; display: flex; flex-direction: column; align-items: flex-start; }
.compare-card h3 { font-size: 48px; }
.compare-card p { max-width: 460px; color: var(--muted); line-height: 1.7; font-size: 17px; }
.compare-card .button { margin-top: auto; }
.compare-card.accent { background: var(--blue); color: white; border-color: var(--blue); }
.compare-card.accent p { color: rgba(255,255,255,.88); }
.final-cta { background: var(--yellow); padding: 80px 0; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { max-width: 720px; }
.footer { background: #090909; color: white; padding: 55px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; }
.footer p { color: #a9a7a2; margin: 8px 0 0; }
.fine-print { font-size: 12px; }

@media (max-width: 920px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 90px; }
  .hero-art { min-height: 520px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large { grid-row: auto; grid-template-columns: 1fr 1fr; min-height: 540px; }
  .split-grid { grid-template-columns: 1fr; gap: 50px; }
  .product-heading { grid-template-columns: 1fr; gap: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 26px, 1180px); }
  .site-header .button-small { display: none; }
  .hero-grid { padding-top: 60px; }
  h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .hero-art { min-height: 390px; }
  .book-front { width: 48%; left: 27%; }
  .book-mid { width: 43%; }
  .book-back { width: 42%; }
  .marquee-track { justify-content: flex-start; gap: 28px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-heading h2, .split-copy h2, .final-cta h2 { font-size: 42px; }
  .feature-large { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 400px; }
  .compare-grid { grid-template-columns: 1fr; }
  .final-cta-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
}

/* Version 2 refinements: focused bestseller hero and softer editorial imagery */
.hero-featured-note {
  margin-top: 30px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5b5852;
}
.hero-featured-note + .hero-actions { margin-top: 12px; }
.hero-range {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 600;
}
.hero-art-single {
  min-height: 610px;
  display: grid;
  place-items: center;
}
.glow-single {
  display: none;
}
.hero-bestseller-book {
  position: relative;
  z-index: 2;
  width: min(82%, 560px);
  max-height: 590px;
  object-fit: contain;
  display: block;
  transform: rotate(0deg);
  border-radius: 0;
}
.feature-image-wrap img,
.scoresheet-frame img {
  border-radius: 14px;
}
@media (max-width: 920px) {
  .hero-art-single { min-height: 560px; }
  .hero-bestseller-book { width: min(72%, 520px); }
}
@media (max-width: 640px) {
  .hero-art-single { min-height: 430px; }
  .hero-bestseller-book { width: min(88%, 430px); }
}


/* Version 3 refinements: upright hero image and rounded mockup/image canvases */


/* Version 4 refinements: Precision Chess branding and explicit rounded hero mockup */


/* Version 6: hero uses only the original image canvas with rounded outer corners. No added frame or drop shadow. */


/* Version 7: hero now uses the cutout book image on the tan page background, with no grey box and no added glow card. */


/* Version 8: hero uses the corrected transparent cutout based on the original upscaled source image. */


/* Version 9: hero uses a less aggressive transparent cutout that preserves the full bottom edge and subtle reflection for the 3D look. */


/* Version 13: move the hero book about another quarter inch left toward the copy on desktop. */
.hero-bestseller-book { transform: translateX(-60px); }
@media (max-width: 920px) { .hero-bestseller-book { transform: translateX(0); } }


/* Version 12: lighter Pocket section to avoid the false-footer effect while keeping dark Pocket product cards. */
