:root {
  --ink: #10241e;
  --ink-soft: #263a33;
  --paper: #f4f0e5;
  --paper-deep: #e9e4d7;
  --panel: #fffdf7;
  --green: #d7ff73;
  --green-deep: #a9dc39;
  --mint: #d7f1dc;
  --coral: #ff8068;
  --blue: #dbe5ff;
  --yellow: #ffe596;
  --lavender: #e7ddff;
  --muted: #64736c;
  --line: #cbcfc3;
  --line-dark: rgba(16, 36, 30, .18);
  --shadow: 0 30px 90px rgba(16, 36, 30, .16);
  --shadow-soft: 0 16px 42px rgba(16, 36, 30, .09);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); }
body.locked { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
::selection { color: var(--ink); background: var(--green); }
:focus-visible { outline: 3px solid #5577e8; outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.preview-banner { min-height: 42px; padding: 9px clamp(20px, 5vw, 80px); display: flex; justify-content: center; gap: 12px; align-items: center; background: var(--yellow); border-bottom: 1px solid #d5b95f; font-size: 13px; }
.preview-banner strong { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 78px;
  padding: 0 clamp(18px, 4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(244, 240, 229, .88);
  backdrop-filter: blur(20px) saturate(1.2);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; padding: 10px 9px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-radius: 8px; background: var(--ink); transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--green); }
.brand-mark i { display: block; height: 2px; border-radius: 2px; background: var(--green); }
.brand-mark i:nth-child(2) { width: 72%; }
.brand-mark i:nth-child(3) { width: 45%; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 14px; line-height: 1; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-button { padding: 8px 0; border: 0; background: transparent; }
.header-button span { min-width: 24px; height: 24px; margin-left: 5px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; color: white; background: var(--ink); font-size: 10px; }
.header-button.active, .header-button.ready { color: #416a0f; font-weight: 800; }
.compare-header { padding-left: 20px; border-left: 1px solid var(--line); }

.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { margin-right: 9px; padding: 5px 8px; color: var(--ink); border: 1px solid var(--ink); border-radius: 99px; letter-spacing: .1em; }
.hero .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; line-height: 1.55; }
.hero .eyebrow span { flex: 0 0 auto; margin-right: 0; }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  padding: clamp(70px, 8vw, 120px) clamp(20px, 5vw, 82px) clamp(80px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, .72fr);
  align-items: center;
  gap: clamp(55px, 8vw, 130px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; z-index: -1; width: 42vw; height: 42vw; right: -17vw; top: -21vw; border: 1px solid rgba(16, 36, 30, .12); border-radius: 50%; box-shadow: 0 0 0 5vw rgba(215, 255, 115, .16), 0 0 0 10vw rgba(16, 36, 30, .025); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 1050px; margin: 0; font: 500 clamp(62px, 7vw, 112px)/.87 var(--serif); letter-spacing: -.064em; }
.hero-copy h1 em { color: #4c711b; font-weight: 500; }
.hero-lede { max-width: 770px; margin: 36px 0 0; color: #3c4c46; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; letter-spacing: -.01em; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; border: 1px solid var(--ink); border-radius: 8px; background: transparent; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button span { font-size: 17px; line-height: 1; }
.button:hover { transform: translateY(-2px); box-shadow: 5px 6px 0 rgba(16, 36, 30, .15); }
.button-primary { background: var(--green); }
.button-primary:hover { background: #c8f55d; box-shadow: 5px 6px 0 var(--ink); }
.button-secondary { background: rgba(255, 253, 247, .35); }
.button-dark { color: white; background: var(--ink); }
.hero-proof { max-width: 740px; margin-top: 50px; padding-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.hero-proof span { display: flex; gap: 9px; align-items: center; color: var(--ink-soft); font-size: 11px; }
.hero-proof b { color: #5b6a64; font-size: 9px; letter-spacing: .08em; }
.microcopy { margin: 18px 0 0; color: var(--muted); font-size: 11px; }

.vault-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.hero-card { position: relative; z-index: 3; width: min(100%, 430px); aspect-ratio: .76; padding: 30px; display: flex; flex-direction: column; overflow: hidden; color: white; border: 1px solid #0b1713; border-radius: 6px 18px 18px 6px; background: var(--ink); box-shadow: 0 45px 80px rgba(16, 36, 30, .25); transform: rotate(1.2deg); }
.hero-card::before { content: ""; position: absolute; width: 340px; height: 340px; right: -170px; top: 50px; border: 1px solid rgba(215, 255, 115, .38); border-radius: 50%; box-shadow: 0 0 0 38px rgba(215, 255, 115, .05), 0 0 0 78px rgba(215, 255, 115, .03); }
.hero-card::after { content: ""; position: absolute; inset: 8px auto 8px 9px; width: 1px; background: rgba(255, 255, 255, .14); }
.cover-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; color: #b9c6c1; font-size: 8px; line-height: 1.4; letter-spacing: .14em; text-align: right; text-transform: uppercase; }
.cover-monogram { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); background: var(--green); border-radius: 50%; font-size: 10px; font-weight: 900; }
.cover-title { position: relative; z-index: 1; margin: 75px 0 0; display: flex; gap: 14px; align-items: flex-start; }
.cover-title > span { margin-top: 8px; padding: 4px 6px; color: var(--ink); background: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .12em; transform: rotate(-4deg); }
.cover-title strong { font: 500 clamp(55px, 5vw, 72px)/.74 var(--serif); letter-spacing: -.065em; }
.hero-card > p { position: relative; z-index: 1; margin: 24px 0 0 58px; color: #c6d2cd; font-size: 13px; }
.cover-rule { position: relative; z-index: 1; height: 1px; margin-top: auto; background: rgba(255, 255, 255, .2); }
.hero-card-grid { position: relative; z-index: 1; margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-card-grid span { display: flex; flex-direction: column; color: #98aaa2; font-size: 8px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.hero-card-grid b { margin-bottom: 4px; color: var(--green); font: 500 23px/1 var(--serif); letter-spacing: -.03em; text-transform: none; }
.vault-shadow-card { position: absolute; z-index: 1; width: min(88%, 420px); aspect-ratio: .76; border: 1px solid var(--ink); border-radius: 8px 18px 18px 8px; background: var(--green); transform: translate(20px, 20px) rotate(6deg); }
.sample-slip { position: absolute; z-index: 5; right: -25px; bottom: 32px; width: min(330px, 74%); padding: 19px 20px; display: grid; gap: 10px; color: var(--ink); border: 1px solid var(--ink); background: var(--panel); box-shadow: 10px 14px 0 rgba(16, 36, 30, .15); transform: rotate(-3deg); }
.sample-slip span, .sample-slip small { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.sample-slip strong { font: 500 21px/1.03 var(--serif); letter-spacing: -.03em; }
.vault-orbit { position: absolute; z-index: 6; padding: 9px 12px; border: 1px solid var(--ink); border-radius: 99px; background: var(--paper); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.orbit-one { left: -24px; top: 90px; transform: rotate(-8deg); }
.orbit-two { right: -10px; top: 10px; background: var(--yellow); transform: rotate(5deg); }

.promise-strip { overflow: hidden; color: white; border-block: 1px solid var(--ink); background: var(--ink); }
.promise-strip > div { min-width: max-content; min-height: 54px; display: flex; align-items: center; gap: 46px; padding: 0 24px; animation: marquee 28s linear infinite; }
.promise-strip span { font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.promise-strip span::before { content: "✦"; margin-right: 46px; color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

.inside-section, .collections-section, .library-section, .method-section { padding: clamp(90px, 10vw, 155px) clamp(20px, 5vw, 82px); }
.inside-section { position: relative; background: var(--panel); }
.inside-heading { display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 70px; align-items: end; }
.inside-heading .eyebrow { grid-column: 1 / -1; }
.inside-heading h2, .section-heading h2, .library-intro h2, .method-section h2, .closing-cta h2, .modal h2 { margin: 0; font: 500 clamp(46px, 5.8vw, 84px)/.94 var(--serif); letter-spacing: -.055em; }
.inside-heading h2 em, .closing-cta h2 em { color: #557d1e; font-weight: 500; }
.inside-heading > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.inside-grid { margin-top: 70px; display: grid; grid-template-columns: 1.06fr .94fr .94fr; gap: 12px; }
.inside-card { min-height: 460px; padding: 27px; display: flex; flex-direction: column; border: 1px solid var(--ink); border-radius: 14px; }
.inside-card > span { font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.inside-card h3 { max-width: 370px; margin: auto 0 16px; font: 500 36px/1 var(--serif); letter-spacing: -.045em; }
.inside-card p { max-width: 420px; margin: 0; font-size: 13px; line-height: 1.65; }
.inside-card-dark { color: white; background: var(--ink); }
.inside-card-dark p { color: #c6d1cc; }
.inside-card-green { background: var(--green); }
.inside-card-paper { background: var(--paper); }
.mini-search { margin-top: 55px; padding: 16px; display: flex; justify-content: space-between; border-radius: 7px; color: var(--ink); background: white; font-size: 11px; box-shadow: 0 9px 25px rgba(0,0,0,.12); }
.mini-search b { font-size: 18px; }
.signal-demo { margin-top: 55px; display: flex; gap: 6px; }
.signal-demo b, .signal-demo i { padding: 7px 9px; border: 1px solid var(--ink); border-radius: 99px; font-size: 8px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.signal-demo b { color: white; background: var(--ink); }
.week-demo { margin-top: 55px; display: flex; gap: 4px; }
.week-demo i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 9px; font-style: normal; }
.week-demo i:first-child, .week-demo i:nth-child(2) { background: var(--coral); }
.inside-ticker { margin-top: 12px; padding: 24px 27px; display: grid; grid-template-columns: repeat(4, auto 1fr); align-items: baseline; gap: 8px 14px; color: white; border-radius: 14px; background: #5573d2; }
.inside-ticker strong { font: 500 32px/1 var(--serif); }
.inside-ticker span { color: #e8edff; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.collections-section { background: var(--paper); }
.section-heading { margin-bottom: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 460px); gap: 70px; align-items: end; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.collection-card { position: relative; min-height: 295px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; text-align: left; border: 1px solid var(--ink); border-radius: 12px; background: var(--panel); transition: transform .18s ease, box-shadow .18s ease; }
.collection-card::after { content: "↗"; position: absolute; right: 18px; top: 17px; font-size: 18px; transition: transform .2s ease; }
.collection-card:hover { z-index: 2; transform: translateY(-5px) rotate(-.5deg); box-shadow: 8px 10px 0 var(--ink); }
.collection-card:hover::after { transform: translate(3px, -3px); }
.collection-card > span { font-size: 9px; font-weight: 900; }
.collection-card strong { max-width: 240px; margin: 45px 0 14px; font: 500 29px/1 var(--serif); letter-spacing: -.04em; }
.collection-card small { max-width: 260px; color: #47564f; font-size: 12px; line-height: 1.55; }
.collection-card b { margin-top: auto; padding-top: 24px; font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.collection-0, .collection-5, .collection-10 { background: var(--green); }
.collection-1, .collection-6 { background: var(--blue); }
.collection-2, .collection-7 { background: var(--yellow); }
.collection-3, .collection-8 { background: var(--lavender); }
.collection-4, .collection-9 { color: white; background: var(--ink); }
.collection-4 small, .collection-9 small { color: #becbc5; }

.library-section { background: var(--paper-deep); border-top: 1px solid var(--line-dark); }
.library-intro { margin-bottom: 46px; display: grid; grid-template-columns: 1fr minmax(280px, 500px); gap: 60px; align-items: end; }
.library-intro > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.search-shell { position: relative; padding: 16px; border: 1px solid #07130f; border-radius: 14px; background: var(--ink); box-shadow: var(--shadow); }
.search-shell::before { content: "SEARCH THE VAULT"; position: absolute; right: 18px; top: -24px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.search-box { min-height: 70px; padding: 0 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border-radius: 8px; background: white; }
.search-box > span { font-size: 25px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search-box kbd { padding: 4px 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.filters { padding: 15px 1px 1px; display: flex; flex-wrap: wrap; gap: 9px; align-items: end; }
.filters label, .results-head label { display: grid; gap: 6px; color: #a9bab2; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.filters select, .results-head select { min-height: 40px; max-width: 190px; padding: 0 30px 0 10px; color: white; border: 1px solid #455851; border-radius: 7px; background: #21362f; font-size: 11px; }
.filter-clear { min-height: 40px; padding: 0 13px; color: white; border: 1px solid #455851; border-radius: 7px; background: transparent; font-size: 10px; }
.filter-clear:hover { color: var(--ink); background: var(--green); }
.active-filter { margin-top: 14px; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--ink); border-radius: 8px; background: var(--green); font-size: 12px; font-weight: 800; }
.active-filter button { border: 0; background: transparent; font-size: 10px; }
.active-filter-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.active-filter-actions button { padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.results-head { margin: 38px 0 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.results-head p { margin: 0; font: 500 28px/1 var(--serif); letter-spacing: -.03em; }
.results-head label { color: var(--muted); }
.results-head select { color: var(--ink); border-color: var(--line); background: var(--panel); }
.idea-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.idea-card { position: relative; min-height: 455px; padding: 22px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.idea-card::before { content: ""; position: absolute; width: 130px; height: 130px; right: -85px; top: -85px; border: 1px solid var(--line); border-radius: 50%; transition: transform .25s ease; }
.idea-card:hover { z-index: 2; border-color: var(--ink); box-shadow: 7px 8px 0 var(--ink); transform: translateY(-4px); }
.idea-card:hover::before { transform: scale(1.4); background: rgba(215, 255, 115, .32); }
.idea-card.signal-standout-play { border-top: 5px solid #83b729; }
.idea-card.signal-solid-play { border-top: 5px solid #5874d8; }
.idea-card.signal-niche-play { border-top: 5px solid #d0a82e; }
.idea-card.signal-reinvent-the-angle, .idea-card.signal-skip-this-version { border-top: 5px solid var(--coral); }
.card-kicker { position: relative; z-index: 1; min-height: 26px; display: flex; align-items: start; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.card-kicker > span { max-width: 78%; line-height: 1.45; }
.save-button { padding: 0; color: #7e8b85; border: 0; background: transparent; font-size: 22px; line-height: 1; }
.save-button:hover, .save-button[aria-pressed=true] { color: #e55f48; transform: scale(1.08); }
.card-main { padding: 0; text-align: left; border: 0; background: transparent; }
.card-main h3 { margin: 28px 0 14px; font: 500 31px/1 var(--serif); letter-spacing: -.045em; }
.card-main p { margin: 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.6; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.card-signals { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-signals span, .drawer-badges span { min-height: 26px; padding: 3px 9px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.signal.signal-standout-play { border-color: #a1c963; background: var(--green); }
.signal.signal-solid-play { background: var(--blue); }
.signal.signal-niche-play { background: var(--yellow); }
.signal.signal-reinvent-the-angle, .signal.signal-skip-this-version { border-color: #eea495; background: #ffddd6; }
.idea-card dl { margin: auto 0 0; padding-top: 19px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.idea-card dl div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.idea-card dt { color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.idea-card dd { margin: 5px 0 0; font-size: 11px; font-weight: 800; }
.card-footer { margin-top: 20px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.card-footer button { padding: 0; border: 0; background: transparent; font-size: 10px; font-weight: 800; }
.card-footer button:first-child { font-size: 11px; }
.card-footer button:first-child span { display: inline-block; transition: transform .18s ease; }
.card-footer button:first-child:hover span { transform: translate(3px, -3px); }
.card-footer .compare-toggle { padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.card-footer .compare-toggle[aria-pressed=true] { color: #4f731c; border-color: #4f731c; }
.load-more { margin: 32px auto 0; }
.empty-state { grid-column: 1 / -1; min-height: 310px; padding: 36px; display: grid; place-items: center; align-content: center; text-align: center; border: 1px dashed #87948e; border-radius: 12px; background: rgba(255,255,255,.35); }
.empty-state strong { font: 500 38px/1 var(--serif); }
.empty-state p { max-width: 480px; color: var(--muted); }

.method-section { color: white; border-top: 1px solid var(--ink); background: var(--ink); }
.method-section .eyebrow { color: #a8bab1; }
.method-section > div:first-child { max-width: 1000px; }
.method-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.method-grid article { padding-top: 18px; border-top: 1px solid #4b5d55; }
.method-grid article span { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.method-grid h3 { margin: 38px 0 14px; font: 500 31px/1 var(--serif); }
.method-grid p { max-width: 350px; color: #c1cec8; line-height: 1.6; }
.method-note { max-width: 870px; margin: 76px 0 0; padding: 22px 24px; color: #c7d4ce; border-left: 3px solid var(--green); background: rgba(255,255,255,.04); font-size: 12px; line-height: 1.7; }
.closing-cta { position: relative; padding: clamp(110px, 15vw, 210px) 20px; overflow: hidden; text-align: center; background: var(--green); }
.closing-cta::before, .closing-cta::after { content: ""; position: absolute; width: 310px; height: 310px; border: 1px solid rgba(16,36,30,.2); border-radius: 50%; }
.closing-cta::before { left: -160px; top: -140px; box-shadow: 0 0 0 50px rgba(16,36,30,.035); }
.closing-cta::after { right: -150px; bottom: -170px; box-shadow: 0 0 0 70px rgba(16,36,30,.035); }
.closing-cta h2 { position: relative; z-index: 1; font-size: clamp(55px, 8vw, 116px); }
.closing-cta h2 em { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 12px; }
.closing-cta .button { position: relative; z-index: 1; margin-top: 42px; background: var(--ink); color: white; }
.closing-cta > p:last-child { position: relative; z-index: 1; margin: 20px 0 0; font-size: 11px; }
.site-footer { min-height: 160px; padding: 38px clamp(18px, 4vw, 68px); display: flex; justify-content: space-between; align-items: center; gap: 30px; color: white; background: #08130f; }
.site-footer .brand-copy small { color: #9aaca4; }
.site-footer > p { color: #9aaca4; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer > a:last-child { font-size: 11px; text-decoration: none; }

.backdrop { position: fixed; z-index: 50; inset: 0; background: rgba(7, 17, 13, .68); backdrop-filter: blur(5px); animation: fade-in .16s ease both; }
.drawer { position: fixed; z-index: 51; inset: 0 0 0 auto; width: min(1040px, 96vw); overflow: auto; background: var(--panel); box-shadow: -35px 0 100px rgba(0,0,0,.28); animation: drawer-in .25s ease both; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes drawer-in { from { transform: translateX(50px); opacity: .6; } }
.drawer-rail { position: sticky; z-index: 5; top: 0; height: 68px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, .9); backdrop-filter: blur(16px); }
.icon-button { width: 41px; height: 41px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); font-size: 21px; }
.icon-button:hover { color: white; border-color: var(--ink); background: var(--ink); }
.drawer-hero, .drawer-section { padding: clamp(38px, 6vw, 78px); }
.drawer-hero { position: relative; padding-top: 60px; overflow: hidden; background: linear-gradient(135deg, var(--panel) 55%, #e8f8c1); }
.drawer-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -220px; top: -210px; border: 1px solid rgba(16,36,30,.15); border-radius: 50%; box-shadow: 0 0 0 45px rgba(16,36,30,.025), 0 0 0 90px rgba(16,36,30,.018); }
.drawer-hero h2 { position: relative; z-index: 1; max-width: 850px; margin: 0 0 28px; font: 500 clamp(50px, 6vw, 82px)/.92 var(--serif); letter-spacing: -.058em; }
.drawer-badges { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; }
.drawer-summary { position: relative; z-index: 1; max-width: 800px; margin: 32px 0; color: #33473e; font-size: clamp(18px, 2vw, 23px); line-height: 1.6; }
.drawer-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.drawer-section { border-top: 1px solid var(--line); }
.drawer-section h3 { margin: 0 0 23px; font: 500 clamp(34px, 4vw, 52px)/.98 var(--serif); letter-spacing: -.045em; }
.drawer-section p { line-height: 1.65; }
.opportunity-grid { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.opportunity-grid article { min-height: 285px; padding: 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opportunity-grid article:nth-child(even) { border-right: 0; }
.opportunity-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.opportunity-grid .highlight-card { background: var(--green); }
.section-number { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.opportunity-grid h3 { margin-top: 42px; font-size: 31px; }
.opportunity-grid p { color: #46574f; }
.verdict-section { display: grid; grid-template-columns: 1fr 280px; gap: 60px; background: var(--paper); }
.verdict-section aside { align-self: start; padding: 27px; color: white; border-radius: 11px; background: var(--ink); box-shadow: 7px 8px 0 var(--green); }
.verdict-section aside strong { color: var(--green); font: 500 30px/1 var(--serif); }
.verdict-section aside p { color: #c5d0cb; font-size: 12px; }
.score-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.score-grid div { padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.score-grid span { display: block; color: var(--muted); font-size: 9px; text-transform: capitalize; }
.score-grid strong { font: 500 28px/1 var(--serif); }
.score-grid i { height: 4px; margin-top: 10px; display: block; overflow: hidden; border-radius: 99px; background: #e0e3da; }
.score-grid i::before { content: ""; width: var(--score); height: 100%; display: block; background: #6ea22d; }
.large-copy { max-width: 820px; font-size: 21px; }
.detail-grid { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-grid > div { padding: 23px; border: 1px solid rgba(16,36,30,.08); border-radius: 9px; background: var(--paper); }
.detail-grid strong { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.detail-grid p { color: var(--muted); font-size: 12px; }
.spec-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.spec-grid > div { min-height: 108px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.spec-grid > div:nth-child(4) { border-right: 0; }
.spec-grid .spec-wide { grid-column: span 2; min-height: 96px; }
.spec-grid > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.spec-grid span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.spec-grid strong { font-size: 11px; line-height: 1.55; }
.week-section { color: white; background: var(--ink); }
.week-section .eyebrow { color: #9fb0a8; }
.week-list { margin-top: 38px; }
.week-list article { padding: 21px 0; display: grid; grid-template-columns: 90px 1fr; gap: 24px; border-top: 1px solid #41534b; }
.week-list article > b { color: var(--green); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.week-list strong { font: 500 24px/1 var(--serif); }
.week-list p { margin: 8px 0 0; color: #c3d0ca; }
.section-title-row { display: flex; justify-content: space-between; align-items: end; gap: 26px; }
.prompt-list { margin-top: 38px; border-top: 1px solid var(--line); }
.prompt-item { border-bottom: 1px solid var(--line); }
.prompt-item summary { padding: 22px 0; display: grid; grid-template-columns: 46px 1fr auto; gap: 15px; align-items: center; list-style: none; cursor: pointer; }
.prompt-item summary::-webkit-details-marker { display: none; }
.prompt-item summary span { color: var(--muted); font-size: 9px; }
.prompt-item summary strong { font: 500 22px/1.1 var(--serif); }
.prompt-item summary i { font-size: 22px; font-style: normal; transition: transform .18s ease; }
.prompt-item[open] summary i { transform: rotate(45deg); }
.prompt-item > div { padding: 0 0 26px 61px; }
.prompt-item pre { max-height: 440px; margin: 0; padding: 24px; overflow: auto; white-space: pre-wrap; color: #edf6f0; border-radius: 9px; background: #172b24; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-prompt { margin-top: 11px; padding: 9px 13px; border: 1px solid var(--ink); border-radius: 6px; background: var(--green); font-size: 10px; font-weight: 800; }
.friction-section { display: grid; grid-template-columns: 1fr 320px; gap: 50px; }
.friction-section ul { padding-left: 20px; line-height: 1.6; }
.friction-section li { margin: 12px 0; }
.friction-section aside { align-self: start; padding: 26px; border-radius: 10px; background: var(--green); }
.friction-section aside strong { font: 500 28px/1 var(--serif); }
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.risk-grid article { padding: 21px; border: 1px solid var(--line); border-radius: 9px; }
.risk-grid span { display: block; color: #d4503a; font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.risk-grid strong { display: block; margin: 9px 0; }
.risk-grid p { color: var(--muted); font-size: 12px; }
.related-section { background: var(--paper-deep); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.related-grid button { min-height: 180px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); transition: transform .18s ease, box-shadow .18s ease; }
.related-grid button:hover { border-color: var(--ink); box-shadow: 5px 6px 0 var(--ink); transform: translateY(-2px); }
.related-grid span { color: var(--muted); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.related-grid strong { margin: 18px 0; font: 500 22px/1.05 var(--serif); }
.related-grid small { margin-top: auto; }

.modal { position: fixed; z-index: 55; left: 50%; top: 50%; width: min(940px, 94vw); max-height: 92vh; padding: clamp(32px, 5vw, 62px); overflow: auto; border: 1px solid var(--ink); border-radius: 14px; background: var(--panel); box-shadow: 16px 18px 0 rgba(16,36,30,.32); transform: translate(-50%, -50%); animation: modal-in .2s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translate(-50%, -47%) scale(.98); } }
.modal-close { position: absolute; right: 20px; top: 20px; }
.modal > p:not(.eyebrow) { max-width: 680px; color: var(--muted); line-height: 1.6; }
.finder-form { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.finder-form label { display: grid; gap: 8px; font-size: 10px; font-weight: 800; }
.finder-form select { min-height: 53px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.finder-form .button { grid-column: 1 / -1; margin-top: 9px; }
.compare-modal { width: min(1120px, 96vw); overflow: auto; }
.compare-table { min-width: 790px; }
.compare-row { display: grid; grid-template-columns: 150px repeat(3, minmax(190px, 1fr)); border-top: 1px solid var(--line); }
.compare-row > b, .compare-row > p, .compare-row > div { margin: 0; padding: 16px; border-right: 1px solid var(--line); font-size: 12px; line-height: 1.55; }
.compare-row > b { color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.compare-names > div { position: relative; }
.compare-names strong { font: 500 21px/1.05 var(--serif); }
.compare-names button { position: absolute; right: 5px; top: 5px; border: 0; background: transparent; }
.export-row { margin-top: 25px; display: flex; justify-content: flex-end; gap: 9px; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 27px; padding: 13px 19px; color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 40px); transition: .2s; font-size: 11px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr minmax(360px, .75fr); gap: 55px; }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .idea-grid { grid-template-columns: repeat(2, 1fr); }
  .inside-grid { grid-template-columns: 1fr 1fr; }
  .inside-card:first-child { grid-column: 1 / -1; min-height: 400px; }
  .inside-ticker { grid-template-columns: repeat(2, auto 1fr); }
  .site-header nav > a { display: none; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .vault-stage { width: min(600px, 100%); margin: 10px auto 0; }
  .inside-heading, .library-intro { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { max-width: 650px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .site-header { min-height: 66px; padding: 0 14px; }
  .brand-copy small { display: none; }
  .site-header nav { gap: 10px; }
  .header-button { font-size: 10px; }
  .compare-header { padding-left: 9px; }
  .hero { min-height: auto; padding: 55px 18px 85px; }
  .hero-copy h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 10px; }
  .vault-stage { min-height: 510px; }
  .hero-card { width: 88%; padding: 25px; }
  .cover-title { margin-top: 55px; }
  .cover-title strong { font-size: 53px; }
  .hero-card-grid b { font-size: 19px; }
  .sample-slip { right: 0; bottom: 8px; }
  .orbit-one { left: 0; top: 40px; }
  .orbit-two { right: 0; }
  .inside-section, .collections-section, .library-section, .method-section { padding: 78px 16px; }
  .inside-heading h2, .section-heading h2, .library-intro h2, .method-section h2 { font-size: 48px; }
  .inside-grid, .collection-grid, .idea-grid { grid-template-columns: 1fr; }
  .inside-card:first-child { grid-column: auto; }
  .inside-card { min-height: 380px; }
  .inside-ticker { padding: 28px 24px; grid-template-columns: minmax(76px, 108px) minmax(0, 1fr); align-items: center; column-gap: 18px; row-gap: 18px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters label select { width: 100%; max-width: none; }
  .results-head { align-items: flex-start; flex-direction: column; }
  .idea-card { min-height: 420px; }
  .drawer { width: 100vw; }
  .drawer-hero, .drawer-section { padding: 38px 20px; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .opportunity-grid article { min-height: auto; padding: 34px 20px; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .verdict-section, .friction-section { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid, .risk-grid, .related-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid .spec-wide { grid-column: span 2; }
  .spec-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line) !important; }
  .spec-grid > div:nth-child(even) { border-right: 0; }
  .spec-grid > div:last-child { border-bottom: 0 !important; }
  .section-title-row { align-items: flex-start; flex-direction: column; }
  .prompt-item > div { padding-left: 0; }
  .week-list article { grid-template-columns: 58px 1fr; }
  .finder-form { grid-template-columns: 1fr; }
  .finder-form .button { grid-column: 1; }
  .modal { padding: 50px 18px 25px; border-radius: 9px; }
  .export-row { flex-wrap: wrap; justify-content: flex-start; }
  .closing-cta h2 { font-size: 56px; }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .filters { grid-template-columns: 1fr; }
  .hero-card { width: 94%; }
  .cover-title strong { font-size: 46px; }
  .hero-card-grid { gap: 11px; }
  .score-grid { grid-template-columns: 1fr; }
  .drawer-actions .button { width: 100%; }
  .active-filter { align-items: flex-start; flex-direction: column; }
  .active-filter-actions { justify-content: flex-start; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid .spec-wide { grid-column: auto; }
  .spec-grid > div { border-right: 0 !important; }
  .inside-ticker { padding: 24px 20px; grid-template-columns: minmax(68px, 88px) minmax(0, 1fr); gap: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .collection-card:hover, .idea-card:hover, .button:hover { transform: none; }
}

@media print {
  .site-header, .preview-banner, .hero, .promise-strip, .inside-section, .collections-section, .search-shell, .results-head, .load-more, .method-section, .closing-cta, .site-footer, .drawer, .modal, .backdrop, .toast { display: none !important; }
  .library-section { padding: 20px; background: white; }
  .idea-grid { grid-template-columns: 1fr 1fr; }
  .idea-card { break-inside: avoid; }
}

/* Hosted demo polish */
.demo-mode .preview-banner { min-height: 46px; background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-mode .preview-banner strong { color: var(--green); }
.demo-mode .preview-banner span { color: #d8e0dc; }
.demo-mode .hero { min-height: calc(100vh - 118px); }
.demo-mode .hero-card { background: linear-gradient(145deg, #10241e, #1d332b); }
.demo-mode .hero-card .scribble { background: var(--green); }
.library-note { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.demo-mode .closing-cta > p:not(.eyebrow) { max-width: 620px; margin: 24px auto 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.demo-mode :where(a, button, summary, input, select):focus-visible { outline: 3px solid #5577e8; outline-offset: 3px; }

@media (max-width: 760px) {
  .demo-mode .preview-banner { padding: 10px 16px; }
  .demo-mode .hero { min-height: auto; }
  .library-note { font-size: 15px; }
}
