/* ledger.css - ememocept.com, one sheet for the whole portal */
/* -- reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: #41206b; text-decoration-thickness: 1px; text-underline-offset: 2px; }
button { font: inherit; cursor: pointer; }

/* -- tokens -- */
:root {
  --paper: #faf9fc;
  --panel: #f2eff8;
  --card: #ffffff;
  --rule: #ddd6ea;
  --ink: #251740;
  --muted: #5b5170;
  --violet: #5b2d90;
  --deep: #41206b;
  --cta: #4a1f78;
  --cta-dark: #371457;
  --save: #157a4e;
  --star: #eba715;
  --wash: #fdf4e3;
}

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Onest', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}
body.line-on { padding-bottom: 78px; }
h1, h2, h3 { font-family: 'Hepta Slab', Georgia, serif; line-height: 1.18; color: var(--deep); }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.7vw, 1.9rem); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
p + p { margin-top: 12px; }

.led-wrap { max-width: 1096px; margin: 0 auto; padding: 0 22px; }
.led-narrow { max-width: 820px; }

.led-skip { position: absolute; left: -999px; top: 0; background: var(--deep); color: #fff; padding: 8px 14px; z-index: 60; }
.led-skip:focus { left: 8px; }

/* -- ribbon + masthead -- */
.led-ribbon { background: var(--deep); color: #efe7fb; text-align: center; font-size: .82rem; padding: 7px 14px; letter-spacing: .02em; }
.led-mast { background: var(--card); border-bottom: 3px double var(--rule); position: sticky; top: 0; z-index: 40; }
.led-mastrow { display: flex; align-items: center; gap: 22px; min-height: 66px; position: relative; }
.led-mark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.led-markname { font-family: 'Hepta Slab', serif; font-weight: 800; font-size: 1.32rem; color: var(--deep); letter-spacing: .01em; }
.led-markco { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.led-nav { display: flex; gap: 18px; margin-left: auto; }
.led-nav a { text-decoration: none; font-size: .93rem; font-weight: 600; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.led-nav a:hover, .led-nav a[aria-current] { border-bottom-color: var(--violet); color: var(--deep); }
.led-burger { display: none; background: none; border: 1px solid var(--rule); border-radius: 4px; width: 42px; height: 38px; padding: 8px 9px; }
.led-burger span { display: block; height: 2px; background: var(--deep); margin: 4px 0; }

/* -- buttons -- */
.led-btn { display: inline-block; background: var(--cta); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 24px; border-radius: 5px; text-align: center; }
.led-btn:hover { background: var(--cta-dark); }
.led-btn-head { padding: 10px 18px; font-size: .92rem; white-space: nowrap; }
.led-btn-ghost { background: none; color: var(--deep); border: 2px solid var(--deep); }
.led-btn-ghost:hover { background: var(--panel); }
.led-btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--star); outline-offset: 2px; }

/* -- hero -- */
.led-hero { background: linear-gradient(180deg, var(--card), var(--paper)); border-bottom: 1px solid var(--rule); padding: 44px 0 50px; }
.led-herogrid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 44px; align-items: center; }
.led-micro { font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; color: var(--violet); font-weight: 700; margin-bottom: 12px; }
.led-sub { font-size: 1.12rem; color: var(--muted); margin: 14px 0 10px; }
.led-canon { border-left: 4px solid var(--violet); background: var(--panel); padding: 13px 16px; font-size: .98rem; margin: 14px 0; }
.led-portal { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.led-heroacts { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.led-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; list-style: none; }
.led-badges li { font-size: .84rem; font-weight: 600; color: var(--muted); }
.led-badges li::before { content: "\2713"; color: var(--save); margin-right: 6px; font-weight: 700; }
.led-heroimg { justify-self: center; }

/* -- kicker + bands -- */
.led-band { padding: 52px 0; border-bottom: 1px solid var(--rule); }
.led-band-tint { background: var(--panel); }
.led-kick { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--violet); font-weight: 700; margin-bottom: 8px; }

/* -- summary + spec sheet -- */
.led-summary { font-size: 1.06rem; }
.led-sheet { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); font-size: .95rem; }
.led-sheet caption { caption-side: top; text-align: left; font-size: .8rem; color: var(--muted); padding: 8px 2px; }
.led-sheet th { text-align: left; width: 34%; font-weight: 700; color: var(--deep); }
.led-sheet th, .led-sheet td { padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.led-sheet tr:last-child th, .led-sheet tr:last-child td { border-bottom: 0; }
.led-tablewrap { overflow-x: auto; }

/* -- lot table -- */
.led-lot { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); font-size: .93rem; }
.led-lot th, .led-lot td { padding: 9px 14px; border-bottom: 1px solid var(--rule); text-align: left; }
.led-lot tr:last-child th, .led-lot tr:last-child td { border-bottom: 0; }

/* -- packs -- */
.led-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.led-pack { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--violet); padding: 22px 20px 24px; position: relative; display: flex; flex-direction: column; }
.led-pack-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--deep); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.led-pack-best { border-top-color: var(--star); background: linear-gradient(180deg, var(--wash), var(--card) 55%); }
.led-packname { font-family: 'Hepta Slab', serif; font-weight: 800; font-size: 1.14rem; color: var(--deep); }
.led-packsupply { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.led-packshot { margin: 4px auto 10px; }
.led-per { font-family: 'Hepta Slab', serif; font-size: 2.1rem; font-weight: 800; color: var(--deep); }
.led-per small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.led-was { font-size: .9rem; color: var(--muted); margin: 2px 0 8px; }
.led-save { display: inline-block; background: var(--save); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; }
.led-packrows { list-style: none; padding: 0; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.led-packrows li { padding: 3px 0; border-bottom: 1px dashed var(--rule); }
.led-pack .led-btn { margin-top: auto; }

/* -- reviews -- */
.led-stars { color: var(--star); letter-spacing: 2px; }
.led-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.led-quote { background: var(--card); border: 1px solid var(--rule); padding: 18px; font-size: .94rem; }
.led-quotewho { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.led-vbadge { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--save); border: 1px solid var(--save); border-radius: 3px; padding: 1px 6px; margin-left: 8px; }

/* -- stat ledger (reviews page) -- */
.led-statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0; }
.led-stat { background: var(--card); border: 1px solid var(--rule); padding: 14px; text-align: center; }
.led-statnum { font-family: 'Hepta Slab', serif; font-weight: 800; font-size: 1.5rem; color: var(--deep); display: block; }
.led-statlab { font-size: .78rem; color: var(--muted); }
.led-bar { background: var(--panel); border: 1px solid var(--rule); height: 14px; position: relative; }
.led-bar span { position: absolute; inset: 0 auto 0 0; background: var(--violet); }
.led-barrow { display: grid; grid-template-columns: 150px 1fr 52px; gap: 10px; align-items: center; font-size: .88rem; padding: 4px 0; }

/* -- Q&A -- */
.led-qa h3 { margin-top: 22px; }
.led-qa h3:first-of-type { margin-top: 0; }
details.led-fold { border: 1px solid var(--rule); background: var(--card); margin-bottom: 10px; }
details.led-fold summary { padding: 13px 16px; font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 40px; }
details.led-fold summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.3rem; color: var(--violet); }
details.led-fold[open] summary::after { content: "\2212"; }
details.led-fold div { padding: 0 16px 14px; }

/* -- takeaways + close -- */
.led-keep ul { list-style: none; padding: 0; }
.led-keep li { padding: 9px 0 9px 26px; border-bottom: 1px dashed var(--rule); position: relative; }
.led-keep li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px; background: var(--violet); transform: rotate(45deg); }
.led-close { background: var(--deep); color: #e9e1f6; padding: 58px 0; }
.led-close h2 { color: #fff; }
.led-close .led-btn { background: var(--star); color: var(--ink); }
.led-close .led-btn:hover { background: #d99408; }

/* -- references -- */
.led-refs ol { padding-left: 22px; font-size: .9rem; color: var(--muted); }
.led-refs li { margin-bottom: 8px; }
.led-cite { font-size: .75rem; vertical-align: super; color: var(--violet); font-weight: 700; text-decoration: none; }

/* -- commitments -- */
.led-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.led-promise { background: var(--card); border: 1px solid var(--rule); padding: 18px; }
.led-promisenum { font-family: 'Hepta Slab', serif; font-weight: 800; color: var(--violet); font-size: 1.3rem; display: block; margin-bottom: 6px; }

/* -- generic content pages -- */
.led-crumb { font-size: .84rem; color: var(--muted); padding: 14px 0 0; }
.led-crumb a { color: var(--muted); }
.led-byline { font-size: .84rem; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 20px; }
.led-updated { font-size: .84rem; color: var(--muted); }
.led-prose h2 { margin-top: 34px; }
.led-prose ul, .led-prose ol { padding-left: 24px; margin: 10px 0; }
.led-prose li { margin-bottom: 6px; }
.led-note { background: var(--wash); border: 1px solid #ecd9b4; padding: 13px 16px; font-size: .92rem; margin: 18px 0; }
.led-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* -- offer line (sticky bottom) -- */
.led-line { position: fixed; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 3px solid var(--violet); z-index: 50; box-shadow: 0 -4px 18px rgba(37, 23, 64, .12); }
.led-linerow { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.led-linechip { background: #b3261e; color: #fff; font-weight: 800; font-size: .82rem; padding: 5px 10px; border-radius: 3px; white-space: nowrap; }
.led-linemsg { font-size: .9rem; flex: 1; }
.led-btn-line { padding: 10px 18px; font-size: .9rem; white-space: nowrap; }
.led-linex { background: none; border: 1px solid var(--rule); border-radius: 50%; width: 30px; height: 30px; line-height: 1; color: var(--muted); }

/* -- footer -- */
.led-foot { background: var(--card); border-top: 3px double var(--rule); padding: 46px 0 26px; font-size: .9rem; }
.led-footgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.led-footbrand { font-family: 'Hepta Slab', serif; font-weight: 800; font-size: 1.2rem; color: var(--deep); margin-bottom: 8px; }
.led-footco p { color: var(--muted); margin-bottom: 10px; }
.led-foothead { font-weight: 700; text-transform: uppercase; font-size: .76rem; letter-spacing: .14em; color: var(--violet); margin-bottom: 10px; }
.led-footcol a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; }
.led-footcol a:hover { color: var(--violet); text-decoration: underline; }
.led-footlegal { border-top: 1px solid var(--rule); margin-top: 34px; padding-top: 18px; color: var(--muted); font-size: .82rem; }
.led-footlegal p { margin-bottom: 8px; }

/* -- 404 -- */
.led-lost { text-align: center; padding: 90px 22px; }

/* -- responsive -- */
@media (max-width: 960px) {
  .led-herogrid, .led-twocol { grid-template-columns: 1fr; }
  .led-heroimg img { width: min(74vw, 360px); }
  .led-packs { grid-template-columns: 1fr; }
  .led-quotes { grid-template-columns: 1fr; }
  .led-statgrid { grid-template-columns: repeat(2, 1fr); }
  .led-promises { grid-template-columns: 1fr; }
  .led-footgrid { grid-template-columns: 1fr 1fr; }
  .led-btn-head { display: none; }
  .led-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 2px solid var(--rule); flex-direction: column; gap: 0; padding: 8px 22px 14px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s linear .2s; }
  .led-nav.open { visibility: visible; opacity: 1; transition: opacity .2s, visibility 0s; }
  .led-nav a { padding: 11px 0; border-bottom: 1px solid var(--rule); }
  .led-burger { display: block; margin-left: auto; }
  .led-linemsg { display: none; }
  body.line-on { padding-bottom: 70px; }
}
@media (max-width: 560px) {
  .led-footgrid { grid-template-columns: 1fr; }
  .led-heroacts .led-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
