/* Genius Learning Inc. company site. Shares the Prospectus palette with
   electivegenius.com so the family of products reads as one company. */

:root {
  --paper: #F6F1E7;
  --paper-2: #FBF8F1;
  --ink: #1C2230;
  --oxblood: #6B2B2A;
  --brass: #D4B483;
  --muted: #3A4254;
  --muted-2: #5A6172;
  --line: #D9CFBC;
  --tint: #EDE5D6;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--ink); }
a:hover { color: var(--oxblood); }
:where(a, button):focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
.dark :where(a, button):focus-visible { outline-color: var(--brass); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oxblood); }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; color: var(--paper); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1; border-radius: 2px; }
.btn:hover { background: var(--oxblood); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--brass); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

/* Hero */
.hero { padding: 112px 0 96px; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.025em; max-width: 15ch; margin-top: 22px; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 40em; margin-top: 28px; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }

/* Sections */
section { scroll-margin-top: 16px; }
.pad { padding: 104px 0; }
.rule { border-top: 1px solid var(--line); }
.h-section { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin-top: 14px; max-width: 20ch; }
.section-intro { margin-top: 20px; max-width: 38em; color: var(--muted); font-size: 18px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--ink); }
.product { display: flex; flex-direction: column; padding: 32px 32px 36px 0; border-right: 1px solid var(--line); }
.product + .product { padding-left: 32px; }
.product:last-child { border-right: 0; padding-right: 0; }
.product .who { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.product h3 { font-size: 34px; line-height: 1.1; letter-spacing: -.015em; margin-top: 14px; }
.product .url { font-size: 14px; color: var(--muted-2); margin-top: 6px; }
.product p.desc { margin-top: 20px; color: var(--muted); flex: 1; }
.product .link-arrow { margin-top: 28px; align-self: flex-start; }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -.015em; }
.story .body p + p { margin-top: 18px; }
.story .body { color: var(--muted); font-size: 18px; }

/* Newsletter: Chalk & Ledger, built around the wall chart */
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--brass); }
.dark a { color: var(--paper); }
.cl-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
@media (min-width: 1100px) { .cl-poster { margin-right: -72px; } }
.cl-h { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.02em; margin-top: 16px; }
.cl-lede { margin-top: 22px; font-size: 18px; color: #D6D0C4; max-width: 34em; }
.cl-lede em { font-family: var(--serif); font-size: 1.08em; color: var(--paper); }
.cl-label { margin-top: 36px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #B9B3A8; }
.cl-weeks { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid rgba(212,180,131,.35); }
.cl-weeks li { display: grid; grid-template-columns: 64px 96px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(246,241,231,.14); }
.cl-weeks .wk { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--brass); }
.cl-weeks .trk { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9F998E; }
.cl-weeks .what { font-size: 17px; color: var(--paper); }
.cl-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn-brass { background: var(--brass); color: var(--ink) !important; min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn-brass:hover { background: var(--paper); color: var(--ink); }
.cl-fine { font-size: 14px; line-height: 1.5; color: #B9B3A8; }

.cl-poster { position: relative; display: block; padding: 14px; background: #FBF8F1; transform: rotate(1.6deg); box-shadow: 0 2px 0 rgba(0,0,0,.25), 0 40px 70px -30px rgba(0,0,0,.85), 0 18px 30px -18px rgba(0,0,0,.6); transition: transform .3s ease; text-decoration: none; }
.cl-poster:hover { transform: rotate(.4deg) translateY(-4px); }
.cl-poster img { display: block; width: 100%; height: auto; }
.cl-poster .pin { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B5504E, var(--oxblood) 60%, #3E1716); box-shadow: 0 3px 4px rgba(0,0,0,.45); }
.cl-poster .cl-tag { position: absolute; left: 24px; bottom: -18px; background: var(--oxblood); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 9px 14px; transform: rotate(-1.6deg); }

.cl-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; border-top: 1px solid rgba(246,241,231,.25); border-bottom: 1px solid rgba(246,241,231,.25); }
.cl-facts > div { display: flex; align-items: baseline; gap: 16px; padding: 26px 24px; border-right: 1px solid rgba(246,241,231,.14); }
.cl-facts > div:first-child { padding-left: 0; }
.cl-facts > div:last-child { border-right: 0; }
.cl-facts .n { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--brass); }
.cl-facts .l { font-size: 15px; color: #D6D0C4; line-height: 1.4; }
.cl-issue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.cl-issue strong { display: block; font-weight: 600; color: var(--paper); }
.cl-issue p { margin-top: 6px; font-size: 15px; color: #B9B3A8; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.contact h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.contact p { margin-top: 10px; font-size: 18px; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted-2); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-row a { color: var(--muted-2); display: inline-flex; align-items: center; min-height: 44px; }

/* Prose pages (privacy, 404) */
.prose { max-width: 42em; padding: 88px 0 104px; }
.prose h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin-top: 14px; }
.prose h2 { font-size: 28px; margin-top: 48px; }
.prose p, .prose ul { margin-top: 16px; color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }

@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 72px 0 64px; }
  .pad { padding: 72px 0; }
  .products { grid-template-columns: 1fr; }
  .product, .product + .product { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .story, .cl-grid { grid-template-columns: 1fr; gap: 56px; }
  .cl-facts, .cl-issue { grid-template-columns: 1fr; gap: 0; }
  .cl-facts > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(246,241,231,.14); }
  .cl-facts > div:last-child { border-bottom: 0; }
  .cl-issue > div { padding: 14px 0; }
  .cl-facts { margin-top: 72px; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .cl-poster .tag-more { display: none; }
  .cl-poster .cl-tag { bottom: -14px; left: 14px; }
  .cl-weeks li { grid-template-columns: 52px 1fr; }
  .cl-weeks .trk { grid-column: 2; grid-row: 1; }
  .cl-weeks .what { grid-column: 2; }
  .cl-poster { transform: rotate(1deg); padding: 8px; }
  .nav { display: none; }
  .brand-name { font-size: 21px; }
}
