:root {
  --sand: #f7efe4;
  --sand-deep: #eee1d2;
  --paper: #fffaf4;
  --ink: #132c56;
  --ink-soft: #5c6d86;
  --cobalt: #1458c7;
  --orange: #e05220;
  --wine: #83263c;
  --line: rgba(19, 44, 86, .18);
  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--sand); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .055; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 100; padding: .65rem .9rem; background: var(--ink); color: var(--sand); }
.skip-link:focus { top: 1rem; }
.notes-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 1.1rem var(--pad); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(9.5rem, 15vw, 15rem); height: auto; }
.notes-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.6rem); font-size: .77rem; font-weight: 600; }
.notes-header nav a:hover { color: var(--orange); }
.nav-cta { display: inline-flex; align-items: center; gap: .65rem; padding: .68rem 1.2rem; border-radius: 999px; background: var(--orange); color: var(--paper) !important; }
.nav-cta:hover { background: var(--wine); }
.notes-hero { display: grid; grid-template-columns: minmax(20rem, .95fr) minmax(20rem, 1.05fr); align-items: center; gap: clamp(2rem, 8vw, 9rem); max-width: var(--max); min-height: 63vh; margin: 0 auto; padding: 3rem var(--pad) 6rem; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 1rem; color: var(--wine); font-size: .63rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.notes-hero h1, .section-heading h2, .resource-note h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 500; letter-spacing: -.075em; line-height: .91; }
.notes-hero h1 { font-size: clamp(3.6rem, 7vw, 7.6rem); }
h1 em, h2 span { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 31rem; margin: 1.5rem 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 3.15rem; padding: .85rem 1.15rem; border-radius: 999px; font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s var(--ease), background .2s ease; }
.button:hover, .request-button:hover { transform: translateY(-3px); }
.button-primary { background: var(--orange); color: var(--paper); }
.button-primary:hover { background: var(--wine); }
.text-link { display: inline-flex; gap: .55rem; padding-bottom: .3rem; border-bottom: 1px solid var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link:hover { color: var(--orange); border-color: var(--orange); }
.hero-ledger { position: relative; display: flex; min-height: 20rem; flex-direction: column; justify-content: center; overflow: hidden; padding: 3rem; background: var(--ink); color: var(--paper); }
.hero-ledger::before, .hero-ledger::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.hero-ledger::before { inset: 13% 10%; transform: rotate(-18deg); }
.hero-ledger::after { inset: 25% 18%; border-color: rgba(242,131,57,.7); transform: rotate(18deg); }
.ledger-label, .ledger-caption { position: relative; z-index: 1; font-size: .63rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-ledger strong { position: relative; z-index: 1; margin: .7rem 0 1rem; color: #ffb08d; font-family: "Space Grotesk", sans-serif; font-size: clamp(5rem, 13vw, 10rem); font-weight: 500; line-height: .75; letter-spacing: -.1em; }
.ledger-rule { position: relative; z-index: 1; width: 70%; height: 1px; margin: 0 0 1.25rem; background: rgba(255,255,255,.35); }
.ledger-caption { color: #c6d6e9; line-height: 1.5; }
.ledger-orbit { position: absolute; z-index: 1; width: .8rem; height: .8rem; border-radius: 50%; background: var(--orange); }
.orbit-a { top: 22%; right: 20%; } .orbit-b { bottom: 20%; left: 15%; background: #7ea9ef; }
.resource-section, .resource-note { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 8vw, 8rem) var(--pad); }
.section-index { display: flex; align-items: center; gap: .7rem; margin-bottom: 2rem; color: var(--wine); font-size: .63rem; font-weight: 700; letter-spacing: .2em; }
.index-line { width: 3rem; height: 1px; background: currentColor; }
.section-heading { display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(20rem, 1.3fr); align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(3rem, 5.3vw, 5.8rem); }
.section-heading p { max-width: 35rem; margin: 0; color: var(--ink-soft); font-size: 1rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; }
.resource-card { position: relative; display: flex; min-height: 18rem; flex-direction: column; padding: 1.65rem; border-top: 5px solid var(--cobalt); background: rgba(255,250,244,.75); box-shadow: 0 1px 0 rgba(19,44,86,.08); transition: transform .3s var(--ease), box-shadow .3s ease; }
.resource-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(19,44,86,.1); }
.accent-orange { border-color: var(--orange); } .accent-wine { border-color: var(--wine); }
.resource-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.resource-number { color: var(--ink-soft); font-size: .63rem; font-weight: 700; letter-spacing: .16em; }
.price { color: var(--orange); font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 700; text-align: right; }
.resource-card h3 { max-width: 16rem; margin: 2.2rem 0 .55rem; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.55rem, 2.2vw, 2.1rem); line-height: .98; letter-spacing: -.05em; }
.resource-card p { max-width: 18rem; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.request-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; width: fit-content; margin-top: auto; padding: .8rem 1rem; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s var(--ease), background .2s ease, color .2s ease; }
.request-button:hover { background: var(--ink); color: var(--paper); }
.questions-section { padding: clamp(5rem, 8vw, 8rem) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--ink); color: var(--paper); }
.section-index.light, .section-heading.light .eyebrow { color: #ffb08d; }
.section-heading.light p { color: #c6d6e9; }
.question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; max-width: var(--max); margin: 0 auto; }
.question-card { display: flex; min-height: 23rem; flex-direction: column; padding: 1.65rem; border: 1px solid rgba(255,250,244,.18); background: #1d3a67; }
.question-level { color: #ffb08d; font-size: .63rem; font-weight: 700; letter-spacing: .2em; }
.question-card strong { margin-top: 3.2rem; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.4rem); line-height: .98; letter-spacing: -.055em; }
.question-card p { margin: .7rem 0; color: #d6e2f1; font-size: .9rem; }
.question-price { margin-top: auto; color: #ffb08d; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; }
.light-button { margin-top: 1rem; border-color: rgba(255,250,244,.55); color: var(--paper); }
.light-button:hover { background: var(--paper); color: var(--ink); }
.resource-note { border-bottom: 1px solid var(--line); }
.resource-note h2 { font-size: clamp(3rem, 5vw, 5.5rem); }
.resource-note p:not(.eyebrow) { max-width: 35rem; margin: 1.3rem 0 0; color: var(--ink-soft); }
.resource-note .button { margin-top: 1.5rem; }
.notes-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--pad); color: var(--ink-soft); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.notes-footer a:first-child { color: var(--ink); font-weight: 700; }
.notes-footer a:hover { color: var(--orange); }
@media (max-width: 820px) {
  .notes-header nav a:not(.nav-cta) { display: none; }
  .notes-hero { display: block; padding-top: 3rem; }
  .hero-ledger { min-height: 16rem; margin-top: 3rem; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1.5rem; }
  .resource-grid, .question-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .notes-header { padding-top: .9rem; }
  .brand img { width: 9.3rem; }
  .nav-cta { padding: .6rem .8rem; font-size: .62rem; }
  .notes-hero { min-height: auto; padding-top: 3.2rem; padding-bottom: 4.5rem; }
  .notes-hero h1 { font-size: clamp(3.55rem, 16vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .resource-grid, .question-grid { display: block; }
  .resource-card, .question-card { min-height: 16rem; margin-bottom: .85rem; }
  .question-card { min-height: 20rem; }
  .resource-note h2 { font-size: 3.4rem; }
  .notes-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-ledger, .resource-card, .question-card { animation: rise .65s var(--ease) both; }
  .hero-ledger { animation-delay: .1s; }
  .resource-card:nth-child(2), .question-card:nth-child(2) { animation-delay: .06s; }
  .resource-card:nth-child(3), .question-card:nth-child(3) { animation-delay: .12s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
