:root {
  --ink: #fff2f4;
  --ink-muted: #c6afb5;
  --paper: #13070b;
  --paper-deep: #210a11;
  --white: #fff8f8;
  --solid: #230810;
  --blue: #b32649;
  --blue-dark: #7d1530;
  --coral: #e06a72;
  --mint: #d09aa5;
  --yellow: #d3a06c;
  --violet: #8d5066;
  --sky: #b96175;
  --line: rgba(255, 228, 233, 0.16);
  --line-strong: rgba(255, 228, 233, 0.3);
  --glass: rgba(58, 8, 23, 0.42);
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 26px 76px rgba(0, 0, 0, 0.4);
  --font-editorial: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-label: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: radial-gradient(circle at 9% -5%, rgba(155, 30, 59, .28), transparent 31rem), radial-gradient(circle at 92% 28%, rgba(105, 17, 42, .3), transparent 34rem), linear-gradient(145deg, #17070d 0%, #0d0508 48%, #1c080f 100%); background-attachment: fixed; font-family: var(--font-body); line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-editorial); }
::selection { color: var(--white); background: var(--blue); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 500; top: 10px; left: 10px; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section-space { padding-block: 110px; }
.page-grid { position: fixed; z-index: -3; inset: 0; opacity: 0.4; pointer-events: none; background-image: linear-gradient(rgba(255, 226, 232, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 226, 232, 0.035) 1px, transparent 1px); background-size: 32px 32px; }
.ambient { position: fixed; z-index: -2; width: 34rem; height: 34rem; border-radius: 50%; opacity: 0.2; filter: blur(110px); pointer-events: none; }
.ambient-left { top: -14rem; left: -16rem; background: #8f1736; }
.ambient-right { top: 16rem; right: -20rem; background: #581126; }

.site-header { position: fixed; z-index: 100; inset: 18px 0 auto; padding-inline: 24px; }
.glass-nav { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1120px, 100%); min-height: 68px; margin: auto; padding: 9px 11px 9px 20px; overflow: hidden; border: 1px solid rgba(255, 235, 239, 0.18); border-radius: 18px; background: rgba(31, 5, 13, 0.28); box-shadow: 0 14px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,.18); backdrop-filter: blur(25px) saturate(145%); -webkit-backdrop-filter: blur(25px) saturate(145%); transition: min-height 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.glass-nav::after { content: ""; position: absolute; top: -100%; left: -28%; width: 18%; height: 300%; background: linear-gradient(90deg, transparent, rgba(255,226,232,.2), transparent); transform: rotate(18deg); animation: glass-sweep 9s ease-in-out infinite; pointer-events: none; }
.site-header.scrolled .glass-nav { min-height: 60px; background: rgba(38, 5, 15, 0.46); box-shadow: 0 12px 38px rgba(0,0,0,.4); }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--font-editorial); font-size: 1.27rem; font-weight: 700; }
.brand-mark { display: flex; align-items: flex-end; gap: 2px; width: 26px; height: 26px; padding: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; background: rgba(77, 12, 31, .78); transform: rotate(-2deg); }
.brand-mark i { display: block; width: 4px; border-radius: 3px 3px 0 0; background: white; }
.brand-mark i:nth-child(1) { height: 7px; }.brand-mark i:nth-child(2) { height: 15px; background: var(--mint); }.brand-mark i:nth-child(3) { height: 11px; }
.nav-links { position: relative; z-index: 1; display: flex; gap: 2px; padding: 4px; border: 1px solid rgba(255,235,239,.08); border-radius: 12px; background: rgba(255,255,255,.025); }
.nav-links a { padding: 8px 12px; border-radius: 9px; color: var(--ink-muted); font-size: .8rem; font-weight: 500; transition: color 160ms ease, background 160ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: white; background: rgba(255,235,239,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.13); }
.profile-button { position: relative; z-index: 1; justify-self: end; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px; border: 1px solid rgba(255,228,233,.22); border-radius: 11px; color: white; background: rgba(78, 11, 31, .66); font-size: .77rem; font-weight: 600; }
.profile-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(142,216,200,.13); }
.menu-toggle { display: none; }

.section-label { margin: 0 0 18px; color: var(--blue); font-family: var(--font-label); font-size: .69rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; min-height: 810px; padding-top: 125px; }
.hero h1 { margin-bottom: 25px; font-size: clamp(4rem, 6.8vw, 7.15rem); line-height: .93; letter-spacing: -.064em; }
.hero h1 em { color: var(--blue); font-style: italic; font-weight: 600; }
.hero-summary { max-width: 620px; margin-bottom: 30px; color: var(--ink-muted); font-size: 1.08rem; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 600; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 10px 24px rgba(49,87,213,.23); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 30px rgba(49,87,213,.29); }
.button-secondary { border-color: var(--line-strong); background: var(--white); }
.quiet-link { display: inline-flex; gap: 10px; align-items: center; font-size: .86rem; font-weight: 600; }
.quiet-link span { transition: transform 160ms ease; }.quiet-link:hover span { transform: translateX(4px); }
.project-status { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; margin: 45px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-muted); font-family: var(--font-label); font-size: .65rem; line-height: 1.55; }
.project-status span { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 2px; border-radius: 50%; background: var(--coral); }

.question-index { position: relative; padding: 20px; border: 1px solid rgba(255,255,255,.86); border-radius: 24px; background: var(--glass); box-shadow: var(--shadow-soft), inset 0 1px 0 white; backdrop-filter: blur(18px); }
.question-index::before { content: ""; position: absolute; z-index: -1; inset: 10px -8px -9px 10px; border: 1px solid var(--line); border-radius: 24px; background: rgba(233,230,221,.7); transform: rotate(1.2deg); }
.index-heading { display: flex; justify-content: space-between; align-items: flex-start; padding: 6px 7px 18px; border-bottom: 1px solid var(--line); }
.index-heading .section-label { margin: 0; }.index-heading > span { color: var(--ink-muted); font-family: var(--font-label); font-size: .61rem; }
.index-list { display: grid; }
.index-list button { display: grid; grid-template-columns: 1fr auto 30px; align-items: center; gap: 15px; min-height: 79px; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: transparent; transition: padding 180ms ease, background 180ms ease; }
.index-list button:hover { padding-inline: 15px; background: rgba(255,255,255,.55); }
.index-list button > span { font-family: var(--font-editorial); font-size: 1.08rem; font-weight: 600; }
.index-list small { color: var(--ink-muted); font-family: var(--font-label); font-size: .58rem; text-transform: uppercase; }
.index-list i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: white; background: var(--ink); font-family: var(--font-label); font-size: .56rem; font-style: normal; }
.index-list button:nth-child(2) i { background: var(--coral); }.index-list button:nth-child(3) i { color: var(--ink); background: var(--yellow); }.index-list button:nth-child(4) i { background: var(--blue); }
.index-note { margin: 16px 7px 2px; color: var(--ink-muted); font-size: .72rem; }

.library { border-block: 1px solid rgba(29,42,59,.08); background: rgba(255,255,255,.25); }
.section-intro { display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 60px; margin-bottom: 42px; }
.section-intro h2, .research-copy h2, .about-heading h2, .feedback-panel h2 { margin-bottom: 0; font-size: clamp(2.8rem, 4.7vw, 5.2rem); line-height: .98; letter-spacing: -.047em; }
.section-intro > p { margin-bottom: 4px; color: var(--ink-muted); }
.catalogue-controls { display: grid; grid-template-columns: minmax(280px, 580px) 1fr; align-items: center; gap: 22px; margin-bottom: 17px; }
.search-field { display: flex; align-items: center; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,254,250,.75); box-shadow: inset 0 1px 0 white; }
.search-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,87,213,.1); }
.search-field svg { width: 19px; margin-right: 11px; fill: none; stroke: var(--ink-muted); stroke-width: 1.7; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.search-field kbd { padding: 2px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-muted); background: var(--paper); font-family: var(--font-label); font-size: .67rem; }
.catalogue-meta { justify-self: end; display: flex; align-items: center; gap: 16px; color: var(--ink-muted); font-family: var(--font-label); font-size: .65rem; }
.saved-filter { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.55); font-family: inherit; font-size: inherit; }
.saved-filter strong { display: grid; place-items: center; min-width: 19px; height: 19px; border-radius: 5px; color: white; background: var(--ink); font-size: .57rem; }
.saved-filter[aria-pressed="true"] { color: white; border-color: var(--ink); background: var(--ink); }.saved-filter[aria-pressed="true"] strong { color: var(--ink); background: var(--mint); }
.filter-row { display: flex; gap: 7px; margin-bottom: 27px; overflow-x: auto; scrollbar-width: none; }
.filter { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-muted); background: transparent; font-size: .74rem; }
.filter.active { color: white; border-color: var(--ink); background: var(--ink); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { position: relative; display: flex; min-height: 418px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,254,250,.72); box-shadow: 0 9px 26px rgba(42,50,72,.06); transition: transform 200ms ease, box-shadow 200ms ease; }
.resource-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(29,42,59,.05); border-radius: 10px; pointer-events: none; }
.resource-card:hover { z-index: 1; transform: translateY(-5px) rotate(-.25deg); box-shadow: var(--shadow-lift); }
.resource-card[hidden] { display: none; }
.resource-tab { position: absolute; top: -1px; right: 23px; padding: 6px 11px 7px; border-radius: 0 0 7px 7px; color: var(--ink); font-family: var(--font-label); font-size: .58rem; text-transform: uppercase; }
.tab-blue { color: white; background: var(--blue); }.tab-coral { color: white; background: var(--coral); }.tab-mint { background: var(--mint); }.tab-yellow { background: var(--yellow); }.tab-violet { color: white; background: var(--violet); }.tab-sky { background: var(--sky); }
.card-meta { display: flex; justify-content: space-between; margin-bottom: 24px; padding-right: 82px; color: var(--ink-muted); font-family: var(--font-label); font-size: .59rem; text-transform: uppercase; }
.card-symbol { position: relative; display: grid; place-items: center; width: 100%; height: 137px; margin-bottom: 24px; overflow: hidden; border: 1px solid rgba(29,42,59,.1); border-radius: 10px; background: var(--paper-deep); }
.card-symbol b { z-index: 2; font-family: var(--font-editorial); font-size: 3.2rem; }
.symbol-radar { color: white; background: #dfe6ff; }.symbol-radar b { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--blue); font-family: var(--font-label); font-size: 1.25rem; }.symbol-radar i { position: absolute; width: 100px; height: 100px; border: 1px solid rgba(49,87,213,.35); border-radius: 50%; }.symbol-radar i:nth-child(2) { width: 150px; height: 150px; }
.symbol-brand { color: white; background: var(--ink); }.symbol-brand b { z-index: 2; }.symbol-brand i { position: absolute; width: 90px; height: 90px; border: 18px solid var(--coral); border-radius: 50% 50% 7px 50%; transform: rotate(36deg); }
.symbol-ai { background: #d9eee9; }.symbol-ai b { font-family: var(--font-label); }.symbol-ai i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }.symbol-ai i:nth-of-type(1) { top: 20px; left: 25px; }.symbol-ai i:nth-of-type(2) { right: 24px; bottom: 19px; width: 27px; height: 27px; background: var(--violet); }
.symbol-question { background: #f7e4aa; }.symbol-question b { font-size: 4.6rem; font-style: italic; }.symbol-question i { position: absolute; width: 94px; height: 94px; border-radius: 36% 64% 58% 42%; background: rgba(255,255,255,.65); transform: rotate(20deg); }
.symbol-calendar { background: #e7e2f5; }.symbol-calendar i { position: absolute; inset: 14px; opacity: .3; background-image: linear-gradient(var(--violet) 1px, transparent 1px), linear-gradient(90deg,var(--violet) 1px,transparent 1px); background-size: 25% 50%; }
.symbol-choice { background: #dcecf7; }.symbol-choice i { position: absolute; width: 126px; height: 72px; border: 2px solid var(--blue); border-radius: 50%; transform: rotate(-8deg); }
.resource-card h3 { margin-bottom: 10px; font-size: 1.38rem; line-height: 1.18; letter-spacing: -.025em; }
.resource-card > p { margin-bottom: 23px; color: var(--ink-muted); font-size: .81rem; }
.card-actions { z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.open-resource { display: inline-flex; gap: 9px; align-items: center; padding: 0; border: 0; background: transparent; font-size: .75rem; font-weight: 600; }
.open-resource span { transition: transform 160ms ease; }.open-resource:hover span { transform: translateX(4px); }
.save-resource { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
.save-resource svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }.save-resource[aria-pressed="true"] { color: white; border-color: var(--blue); background: var(--blue); }.save-resource[aria-pressed="true"] svg { fill: currentColor; }
.catalogue-empty { padding: 70px 24px; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; background: rgba(255,255,255,.32); }.catalogue-empty > span { font-family: var(--font-editorial); font-size: 3rem; }.catalogue-empty h3 { margin: 7px 0; font-size: 1.55rem; }.catalogue-empty p { color: var(--ink-muted); }.catalogue-empty .button { margin-top: 8px; }

.study-paths { background: var(--paper-deep); }
.path-table { border-top: 1px solid var(--line-strong); }
.path-row { display: grid; grid-template-columns: 44px 1.1fr .9fr 130px 104px; align-items: center; gap: 28px; min-height: 132px; border-bottom: 1px solid var(--line); }
.path-index { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--font-label); font-size: .65rem; }
.path-title p { margin-bottom: 4px; color: var(--blue); font-family: var(--font-label); font-size: .6rem; text-transform: uppercase; }.path-title h3 { margin: 0; font-size: 1.4rem; }.path-row > p { margin: 0; color: var(--ink-muted); font-size: .81rem; }
.path-progress { display: grid; gap: 7px; color: var(--ink-muted); font-family: var(--font-label); font-size: .58rem; }.path-progress i { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(29,42,59,.13); }.path-progress b { display: block; height: 100%; border-radius: inherit; background: var(--blue); transition: width 220ms ease; }
.open-path { padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: transparent; font-size: .71rem; font-weight: 600; }.open-path:hover { color: white; background: var(--ink); }

.research-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.research-copy > p:last-child { max-width: 530px; margin-top: 26px; color: var(--ink-muted); font-size: .96rem; }
.empty-shelf { display: grid; grid-template-columns: 130px 1fr; gap: 32px; min-height: 300px; padding: 34px; border: 1px solid white; border-radius: 20px; background: var(--glass); box-shadow: var(--shadow-soft); backdrop-filter: blur(16px); }
.shelf-lines { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding-bottom: 20px; border-bottom: 5px solid var(--ink); }.shelf-lines i { width: 20px; height: 136px; border: 1px solid var(--line-strong); border-radius: 3px 3px 0 0; background: var(--paper-deep); transform: rotate(-4deg); }.shelf-lines i:nth-child(2) { height: 95px; background: var(--mint); transform: rotate(3deg); }.shelf-lines i:nth-child(3) { height: 118px; background: var(--coral); transform: rotate(-1deg); }
.empty-shelf > div:last-child { align-self: center; }.empty-shelf span { color: var(--blue); font-family: var(--font-label); font-size: .59rem; }.empty-shelf h3 { margin: 16px 0 9px; font-size: 1.75rem; line-height: 1.1; }.empty-shelf p { margin: 0; color: var(--ink-muted); font-size: .82rem; }

.about { color: white; background: var(--ink); }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }.section-label-light { color: var(--mint); }.about-body { padding-left: 45px; border-left: 1px solid rgba(255,255,255,.17); }.about-body > p { color: #cad0d9; font-size: 1rem; }.about-body dl { margin: 35px 0 0; border-top: 1px solid rgba(255,255,255,.17); }.about-body dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.13); }.about-body dt { font-size: .8rem; }.about-body dd { margin: 0; color: var(--mint); font-family: var(--font-label); font-size: .61rem; text-align: right; text-transform: uppercase; }

.feedback-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding: 42px; border: 1px solid white; border-radius: 20px; background: var(--glass); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }.feedback-panel > div > p:last-child { margin-top: 22px; color: var(--ink-muted); }.feedback-form { display: grid; gap: 10px; }.feedback-form fieldset { padding: 0; border: 0; }.feedback-form legend, .feedback-form > label, #profile-form label { display: block; margin-bottom: 9px; color: var(--ink-muted); font-size: .72rem; font-weight: 600; }.rating-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 13px; }.rating-options input { position: absolute; opacity: 0; pointer-events: none; }.rating-options span { display: grid; place-items: center; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.5); font-size: .74rem; cursor: pointer; }.rating-options input:checked + span { color: white; border-color: var(--blue); background: var(--blue); }.feedback-form textarea, #profile-form input { width: 100%; border: 1px solid var(--line); border-radius: 9px; outline: none; background: rgba(255,255,255,.7); }.feedback-form textarea { min-height: 130px; padding: 14px; resize: vertical; }.feedback-form textarea:focus, #profile-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,87,213,.1); }.form-footer { display: flex; align-items: center; justify-content: space-between; }.form-footer > span { color: var(--ink-muted); font-family: var(--font-label); font-size: .62rem; }.form-status { min-height: 20px; margin: 0; color: var(--blue-dark); font-size: .72rem; }

.site-footer { padding: 65px 0 30px; color: #bfc7d2; background: #121d2d; }.footer-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }.footer-brand { color: white; }.footer-layout > div:first-child > p { margin: 13px 0 0; color: #8792a2; font-size: .79rem; }.footer-layout nav { display: flex; justify-content: flex-end; gap: 24px; font-size: .77rem; }.footer-layout nav a:hover { color: white; }.footer-end { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #778397; font-family: var(--font-label); font-size: .58rem; }

.site-dialog { width: min(650px, calc(100% - 30px)); max-height: min(780px, calc(100vh - 30px)); padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; color: var(--ink); background: rgba(250,249,245,.96); box-shadow: 0 30px 90px rgba(23,33,50,.3); }.site-dialog::backdrop { background: rgba(22,31,48,.57); backdrop-filter: blur(9px); }.site-dialog[open] { animation: dialog-in 220ms ease both; }.dialog-bar { position: sticky; z-index: 3; top: 0; display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 15px 0 20px; border-bottom: 1px solid var(--line); background: rgba(255,254,250,.85); backdrop-filter: blur(12px); font-family: var(--font-label); font-size: .6rem; letter-spacing: .07em; }.dialog-bar button { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.1rem; }.dialog-body { padding: 38px; }.dialog-category { margin-bottom: 11px; color: var(--blue); font-family: var(--font-label); font-size: .63rem; text-transform: uppercase; }.dialog-body h2 { margin-bottom: 14px; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.04em; }.dialog-summary { color: var(--ink-muted); }.dialog-body h3 { margin: 32px 0 12px; font-size: 1.1rem; }.outline-list { margin: 0; padding: 0; list-style: none; counter-reset: outline; border-top: 1px solid var(--line); }.outline-list li { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); counter-increment: outline; }.outline-list li::before { content: counter(outline, decimal-leading-zero); color: var(--blue); font-family: var(--font-label); font-size: .61rem; }.dialog-notice { margin: 26px 0 18px; padding: 13px; border-left: 3px solid var(--coral); color: var(--ink-muted); background: rgba(240,108,95,.08); font-size: .73rem; }.module-list { display: grid; margin-top: 27px; border-top: 1px solid var(--line); }.module-item { display: flex; align-items: flex-start; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }.module-item input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--blue); }.module-item label { cursor: pointer; }.module-item strong { display: block; font-family: var(--font-editorial); font-size: 1rem; }.module-item span { color: var(--ink-muted); font-size: .72rem; }.profile-dialog { width: min(520px, calc(100% - 30px)); }.profile-dialog .dialog-body { padding-top: 32px; }#profile-form { display: grid; margin-top: 25px; }#profile-form input { height: 48px; padding: 0 13px; margin-bottom: 13px; }.text-button { margin-top: 25px; padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; color: #9b423b; background: transparent; font-size: .72rem; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 22px; padding: 11px 16px; visibility: hidden; opacity: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: white; background: var(--ink); box-shadow: var(--shadow-lift); font-size: .75rem; transform: translate(-50%, 15px); transition: 180ms ease; }.toast.show { visibility: visible; opacity: 1; transform: translate(-50%,0); }
.reveal { opacity: 0; transform: translateY(19px); transition: opacity 550ms ease, transform 550ms cubic-bezier(.2,.7,.2,1); }.reveal.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(224,106,114,.5); outline-offset: 3px; }

/* Dark-red material pass: every surface is derived from the same smoked glass. */
.question-index,
.empty-shelf,
.feedback-panel { border-color: rgba(255,235,239,.18); background: linear-gradient(145deg, rgba(77,11,31,.48), rgba(27,5,12,.54)); box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.1); }
.question-index::before { border-color: rgba(255,228,233,.12); background: rgba(58,8,23,.55); }
.index-list button:hover { background: rgba(255,230,235,.065); }
.index-list i,
.saved-filter strong,
.filter.active,
.open-path:hover { color: white; border-color: #6e1730; background: #6e1730; }
.index-list button:nth-child(2) i { background: #9c2945; }
.index-list button:nth-child(3) i { color: white; background: #7b3446; }
.index-list button:nth-child(4) i { background: #b32649; }
.library { border-color: rgba(255,228,233,.09); background: rgba(77,11,31,.12); }
.search-field,
.saved-filter { border-color: var(--line); background: rgba(64,9,24,.38); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.search-field input { color: var(--ink); }
.search-field input::placeholder { color: #a88f96; }
.search-field kbd { background: rgba(17,3,8,.5); }
.filter { background: rgba(41,5,15,.25); }
.resource-card { border-color: rgba(255,228,233,.17); background: linear-gradient(155deg, rgba(63,9,24,.64), rgba(25,4,11,.68)); box-shadow: 0 12px 34px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.06); }
.resource-card::after { border-color: rgba(255,228,233,.055); }
.tab-blue { background: #a71f42; }.tab-coral { background: #8f2f43; }.tab-mint { color: white; background: #75505c; }.tab-yellow { color: white; background: #805039; }.tab-violet { background: #704053; }.tab-sky { color: white; background: #8b4053; }
.card-symbol { border-color: rgba(255,228,233,.1); }
.symbol-radar { background: #35101c; }.symbol-radar b { background: #a71f42; }.symbol-radar i { border-color: rgba(224,106,114,.38); }
.symbol-brand { background: #16060b; }.symbol-brand i { border-color: #a82d49; }
.symbol-ai { background: #2c1018; }.symbol-ai i { background: #bd3b59; }.symbol-ai i:nth-of-type(2) { background: #7e4c5d; }
.symbol-question { background: #3a1417; }.symbol-question i { background: rgba(224,106,114,.17); }
.symbol-calendar { background: #29101f; }.symbol-calendar i { background-image: linear-gradient(rgba(220,155,170,.22) 1px, transparent 1px), linear-gradient(90deg,rgba(220,155,170,.22) 1px,transparent 1px); }
.symbol-choice { background: #321119; }.symbol-choice i { border-color: #c3425d; }
.save-resource { background: rgba(255,255,255,.025); }.save-resource[aria-pressed="true"] { border-color: #b32649; background: #b32649; }
.catalogue-empty { background: rgba(64,9,24,.23); }
.study-paths { background: linear-gradient(180deg, rgba(45,6,17,.86), rgba(25,4,10,.92)); }
.path-progress i { background: rgba(255,228,233,.12); }.path-progress b { background: #c13a57; }
.research { background: rgba(33,4,12,.2); }
.about { background: linear-gradient(135deg, #0c0306, #20070f 58%, #310a17); }
.feedback-form textarea,
#profile-form input { color: var(--ink); border-color: var(--line); background: rgba(255,238,241,.075); }
.feedback-form textarea::placeholder,
#profile-form input::placeholder { color: #a78b93; }
.rating-options span { background: rgba(255,255,255,.035); }.rating-options input:checked + span { border-color: #b32649; background: #b32649; }
.site-footer { background: #090205; }
.site-dialog { border-color: rgba(255,235,239,.2); color: var(--ink); background: linear-gradient(145deg, rgba(54,7,20,.97), rgba(17,3,8,.98)); box-shadow: 0 35px 100px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08); }
.site-dialog::backdrop { background: rgba(7,1,3,.72); backdrop-filter: blur(15px) saturate(120%); }
.dialog-bar { border-color: var(--line); background: rgba(35,5,14,.84); }
.dialog-bar button { color: white; background: rgba(255,255,255,.07); }
.dialog-notice { border-left-color: #d25069; background: rgba(179,38,73,.12); }
.toast { background: #5e1027; }
.dialog-category,
.outline-list li::before { color: var(--coral); }
.module-item input { accent-color: var(--coral); }
.profile-dialog { width: min(540px, calc(100% - 30px)); }
.profile-dialog .dialog-body { padding-top: 34px; }
.login-emblem { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 28px; border: 1px solid rgba(255,235,239,.18); border-radius: 16px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.login-emblem .brand-mark { width: 30px; height: 30px; }
.text-button { color: #dc8793; }

@keyframes glass-sweep { 0%, 76% { left: -28%; } 100% { left: 125%; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 170px; padding-bottom: 100px; }.hero-copy { max-width: 760px; }.question-index { max-width: 720px; }
  .resource-grid { grid-template-columns: repeat(2,1fr); }.path-row { grid-template-columns: 40px 1fr 120px 100px; gap: 18px; }.path-row > p { grid-column: 2 / -1; grid-row: 2; margin-top: -30px; max-width: 400px; }.research-layout { gap: 45px; }.feedback-panel { gap: 50px; }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 30px, 620px); }.section-space { padding-block: 78px; }.site-header { inset: 11px 0 auto; padding-inline: 14px; }.glass-nav { display: flex; min-height: 59px; justify-content: space-between; overflow: visible; padding: 8px 9px 8px 14px; border-radius: 15px; }.menu-toggle { display: grid; gap: 5px; place-content: center; width: 41px; height: 41px; margin-left: auto; margin-right: 6px; border: 1px solid rgba(255,235,239,.2); border-radius: 9px; background: rgba(91,14,35,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }.menu-toggle span { width: 18px; height: 2px; background: white; transition: 160ms ease; }.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }.nav-links { position: absolute; top: 67px; left: 0; right: 0; display: grid; visibility: hidden; opacity: 0; padding: 9px; border: 1px solid rgba(255,235,239,.18); background: rgba(38,5,15,.88); box-shadow: var(--shadow-soft); backdrop-filter: blur(20px); transform: translateY(-6px); transition: 160ms ease; }.nav-links.open { visibility: visible; opacity: 1; transform: none; }.nav-links a { padding: 10px 12px; }.profile-button { min-height: 41px; padding: 0 11px; }.profile-label { display: none; }
  .hero { min-height: auto; padding-top: 140px; padding-bottom: 80px; }.hero h1 { font-size: clamp(3.65rem,17vw,5.5rem); }.hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }.index-list button { grid-template-columns: 1fr 30px; }.index-list small { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }.section-intro > p { max-width: 520px; }.catalogue-controls { grid-template-columns: 1fr; }.catalogue-meta { justify-self: stretch; justify-content: space-between; }.resource-grid { grid-template-columns: 1fr; }.resource-card { min-height: 405px; }
  .path-row { grid-template-columns: 38px 1fr 90px; padding-block: 23px; }.path-row > p { grid-column: 2 / -1; grid-row: 2; margin: 0; }.open-path { grid-column: 2; grid-row: 3; justify-self: start; }.path-progress { grid-column: 3; grid-row: 1; }
  .research-layout, .about-layout, .feedback-panel { grid-template-columns: 1fr; }.empty-shelf { grid-template-columns: 90px 1fr; padding: 25px; }.shelf-lines i { width: 15px; }.about-layout { gap: 42px; }.about-body { padding: 0; border: 0; }.feedback-panel { gap: 38px; padding: 27px; }.footer-layout { grid-template-columns: 1fr; }.footer-layout nav { justify-content: flex-start; flex-wrap: wrap; }.footer-end { margin-top: 5px; }.dialog-body { padding: 28px 22px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 3.65rem; }.question-index { padding: 14px; }.index-list button > span { font-size: .98rem; }.empty-shelf { grid-template-columns: 1fr; }.shelf-lines { height: 130px; }.feedback-panel { padding: 22px; }.rating-options { grid-template-columns: 1fr; }.form-footer { align-items: flex-end; gap: 15px; }.form-footer .button { padding-inline: 13px; }.footer-layout nav { gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }*,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }.reveal { opacity: 1; transform: none; }
}
