:root {
  color-scheme: dark;
  --bg: #090d14;
  --surface: #101720;
  --surface-2: #141e2b;
  --text: #f2f4f8;
  --muted: #a3adbd;
  --gold: #edc777;
  --gold-light: #ffe6aa;
  --cyan: #91e2da;
  --line: rgba(210, 225, 245, .13);
  --radius: 22px;
  --max: 1200px;
  --shadow: 0 25px 70px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
img { display: block; max-width: 100%; }
h1, h2, h3, .brand {
  font-family: Outfit, Inter, sans-serif;
  line-height: 1.1;
  letter-spacing: -.045em;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.7rem, 5.2vw, 4.6rem); font-weight: 600; margin-bottom: 24px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.35rem); font-weight: 500; margin-bottom: 22px; }
h3 { font-size: 1.55rem; font-weight: 500; }
p { margin-bottom: 20px; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
::selection { background: var(--gold); color: var(--bg); }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 90px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.tiny { font-size: .75rem; }
.lead { font-size: 1.06rem; color: var(--muted); }
.eyebrow { font-size: .67rem; font-weight: 700; letter-spacing: .18em; }
.text-gradient {
  color: #9440dd;
  background: linear-gradient(135deg, #9440dd 0%, #ff1fa9 35%, #ff751f 70%, #1fff93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .85rem;
  line-height: 1.4;
  font-weight: 600;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-gold { background: #9440dd; color: #ffffff; box-shadow: none; }
.button-gold:hover { background: #7027b3; }
.button-ghost { background: #ffffff03; color: var(--text); border-color: var(--line); }
.button-ghost:hover { border-color: #edc77777; background: #ffffff08; }
.button-small { font-size: .75rem; padding: 11px 15px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.centered { justify-content: center; }
.full-width { width: 100%; }
.reader-link, .text-button {
  border: 0;
  padding: 0;
  color: var(--text);
  background: none;
  font-size: .8rem;
}
.reader-link:hover, .text-button:hover { color: var(--gold); }
.text-button { display: block; margin: 18px auto 0; text-decoration: underline; }
.skip-link { position: fixed; top: -80px; left: 15px; z-index: 100; padding: 10px; background: var(--gold); color: #111; }
.skip-link:focus { top: 10px; }

/* Navegación */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 13, 20, .9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; flex-shrink: 0; }
.brand strong { font-weight: 600; }
.brand-symbol {
  display: grid; place-items: center; position: relative;
  width: 40px; height: 40px; border: 1px solid #edc77777;
  border-radius: 11px; color: var(--gold); font-size: 1.2rem;
}
.brand-symbol span { position: absolute; bottom: 4px; right: 6px; font-size: .7rem; }
.main-nav { display: flex; gap: 19px; }
.main-nav > a { font-size: .73rem; color: var(--muted); white-space: nowrap; }
.main-nav > a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle, .mobile-ctas { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 80px 65px; }
.hero::before {
  content: ""; position: absolute; width: 700px; height: 700px;
  right: -150px; top: -100px;
  background: radial-gradient(circle, #20585633, transparent 65%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(#ffffff05 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .3; pointer-events: none;
}
.hero-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 50px; position: relative; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.status-dot { height: 6px; width: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 15px #91e2da70; flex-shrink: 0; }
.hero-subtitle { font-family: Outfit, sans-serif; font-size: 1.35rem; letter-spacing: -.02em; }
.hero-copy .lead { max-width: 560px; font-size: .95rem; margin-bottom: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: var(--muted); font-size: .72rem; }
.hero-facts span::before { content: "✓"; margin-right: 7px; color: var(--gold); }
.hero-art { position: relative; min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.edition-badge {
  position: relative; z-index: 3; border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 8px; background: #111922dd;
  color: var(--gold); font-size: .73rem; text-align: center;
}
.edition-badge span { display: block; color: var(--muted); font-size: .62rem; }
.orbit { position: absolute; border: 1px solid #edc77716; border-radius: 50%; width: 430px; height: 430px; transform: rotateX(55deg) rotateZ(-25deg); pointer-events: none; }
.orbit-two { width: 550px; height: 550px; border-color: #91e2da10; transform: rotateX(55deg) rotateZ(30deg); }
.book-stage { position: relative; width: 310px; height: 425px; perspective: 1500px; margin-top: 16px; animation: float 7s ease-in-out infinite; }
.book { --rx: 3deg; --ry: -17deg; position: relative; width: 282px; height: 398px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(-4deg); transition: transform .35s ease; }
.book-front, .catalog-cover {
  position: relative; width: 100%; height: 100%;
  background: #071521; border: 1px solid #ffffff23; overflow: hidden;
}
.book-front { box-shadow: 15px 20px 45px #0009, inset 8px 0 12px #0008; border-radius: 3px 9px 9px 3px; z-index: 2; }
.book-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #0009, transparent 6%, #ffffff13 9%, transparent 14%); pointer-events: none; }
.book img, .catalog-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-pages { position: absolute; right: -23px; top: 4px; width: 26px; height: 390px; transform: rotateY(90deg); transform-origin: left; background: repeating-linear-gradient(to right, #d5d4ca 0 1px, #f5f0de 1px 3px); border-radius: 0 5px 5px 0; }
.book-shadow { position: absolute; bottom: 0; left: 15px; width: 290px; height: 32px; background: #0009; filter: blur(17px); transform: rotate(-8deg); z-index: -1; }
.book-reflection { position: absolute; left: 16px; bottom: -30px; width: 280px; height: 70px; background: linear-gradient(#d8b97019, transparent); filter: blur(13px); transform: skewX(-12deg); z-index: -2; }
.cover-fallback { height: 100%; display: flex; flex-direction: column; padding: 26px; background: radial-gradient(ellipse at 65% 58%, #287f7966, transparent 50%), linear-gradient(145deg, #102337, #081018); }
.cover-kicker { color: var(--gold); font-size: .48rem; letter-spacing: .2em; }
.cover-title { font-family: Outfit, sans-serif; font-size: 2.4rem; line-height: 1.02; letter-spacing: -.055em; margin-top: 25px; }
.cover-title > span { color: var(--gold); }
.cover-orb { font-size: 6.4rem; line-height: 1.4; color: var(--cyan); text-align: center; text-shadow: 0 0 50px #91e2da44; }
.cover-subtitle { font-size: .65rem; line-height: 1.5; color: #d3dce6; }
.cover-author { margin-top: auto; font-size: .58rem; letter-spacing: .16em; color: var(--gold); }
.floating-note { display: flex; align-items: center; gap: 12px; position: absolute; z-index: 4; bottom: 45px; right: -5px; background: #16202be8; backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 12px; padding: 14px 19px; box-shadow: var(--shadow); }
.floating-note strong, .floating-note span:not(.note-icon) { display: block; font-size: .72rem; }
.floating-note span:not(.note-icon) { color: var(--muted); font-size: .65rem; }
.note-icon { font-size: 1.5rem; color: var(--gold); }
.asset-caption { font-size: .61rem; color: var(--muted); margin-top: 24px; text-align: center; }

/* Autoridad y pilares */
.tech-band { padding: 32px 0 20px; border-block: 1px solid var(--line); text-align: center; background: #ffffff02; }
.tech-band .eyebrow { color: var(--muted); font-size: .58rem; }
.tech-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin: 22px 0; }
.tech-list span { font-family: Outfit, sans-serif; font-size: 1.3rem; color: #c4cbd6; letter-spacing: -.03em; }
.section-heading { max-width: 670px; margin-bottom: 38px; }
.section-heading > p:last-child { color: var(--muted); }
.learning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { padding: 26px 23px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(140deg, #16202b99, #10151d88); display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.feature-card:hover { border-color: #edc77766; transform: translateY(-5px); }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 35px; font-size: .54rem; color: var(--muted); letter-spacing: .09em; }
.feature-icon { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #edc77733; border-radius: 9px; color: var(--gold); font-size: 1.3rem; }
.feature-card p { font-size: .8rem; color: var(--muted); }
.card-tag { font-size: .61rem; color: var(--gold); margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.manifesto { display: grid; grid-template-columns: 1fr 240px; gap: 55px; padding: 45px; margin-top: 35px; background: radial-gradient(at right, #29444344, transparent 60%), #101720; border: 1px solid var(--line); border-radius: var(--radius); }
blockquote { margin: 0 0 16px; font-family: Outfit, sans-serif; font-size: 1.55rem; line-height: 1.5; letter-spacing: -.025em; }
.productivity { text-align: center; border-left: 1px solid var(--line); padding-left: 35px; align-self: center; }
.productivity > span { font-size: .6rem; letter-spacing: .15em; color: var(--gold); }
.productivity strong { display: block; font: 600 5.5rem/.95 Outfit, sans-serif; color: var(--gold); margin-block: 12px; }
.productivity p { font-size: .85rem; margin-bottom: 8px; }
.productivity small { display: block; font-size: .65rem; color: var(--muted); }

/* Ficha editorial */
.purchase-section { background: #10151d; border-block: 1px solid var(--line); }
.purchase-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.catalog-art { text-align: center; }
.catalog-art > .eyebrow { color: var(--muted); }
.catalog-cover { width: 285px; height: 405px; margin: 35px auto 0; box-shadow: -12px 14px 0 #05080c, 0 28px 70px #0007; transform: rotate(-3deg); border-radius: 4px; }
.catalog-caption { font-family: Outfit, sans-serif; margin-top: 35px; font-size: 1.3rem; color: #c6ced8; }
.purchase-copy h2 { margin-bottom: 10px; }
.editorial-subtitle { font-family: Outfit, sans-serif; font-size: 1.2rem; margin-bottom: 7px; }
.author-byline { color: var(--gold); font-size: .74rem; margin-bottom: 26px; }
.purchase-copy > p:not(.eyebrow):not(.editorial-subtitle):not(.author-byline) { font-size: .85rem; }
.book-specs { display: grid; grid-template-columns: 1fr 1fr; padding-block: 20px; margin-block: 25px; border-block: 1px solid var(--line); gap: 15px 22px; font-size: .76rem; }
.book-specs div:last-child { grid-column: 1 / -1; }
.book-specs dt { color: var(--muted); font-size: .65rem; }
.book-specs dd { margin: 2px 0 0; }
.purchase-options { display: grid; gap: 12px; }
.purchase-option { display: grid; grid-template-columns: 35px 1fr 15px; align-items: center; gap: 14px; padding: 19px; border: 1px solid #edc77766; border-radius: 10px; background: #edc77708; transition: background .2s; }
.purchase-option[href]:hover { background: #edc77715; }
.purchase-option[aria-disabled="true"] { cursor: not-allowed; border-color: var(--line); }
.purchase-option strong { display: block; color: var(--gold); font-size: .84rem; }
.purchase-option small { display: block; font-size: .68rem; color: var(--muted); margin-top: 3px; }
.format-symbol { color: var(--gold); font-size: 1.8rem; line-height: 1; }
.link-status { display: block; font-size: .62rem; font-style: normal; color: var(--muted); margin-top: 8px; }
.security-note { color: var(--muted); font-size: .7rem !important; margin: 17px 0 5px; }

/* Autor, FAQ, footer */
.author-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.author-photo { position: relative; aspect-ratio: 4 / 4.5; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: radial-gradient(at top right, #385e5a55, transparent), #151e2a; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.author-placeholder > span { font: 500 8rem/1 Outfit, sans-serif; letter-spacing: -.08em; color: #edc777aa; }
.author-placeholder small { letter-spacing: .2em; font-size: .65rem; margin-top: 20px; }
.author-placeholder p { font-size: .7rem; color: var(--muted); margin-top: 10px; }
.location-tag { position: absolute; bottom: 20px; left: 20px; right: 20px; width: fit-content; border-radius: 6px; padding: 8px 12px; background: #090d14cc; font-size: .65rem; }
.author-copy > p:not(.eyebrow):not(.lead):not(.typographic-signature) { color: var(--muted); font-size: .9rem; }
.typographic-signature { font-family: Georgia, serif; font-style: italic; font-size: 1.8rem; color: var(--gold); margin-top: 25px; }
.faq-section { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 28px 22px 0; cursor: pointer; font-size: .9rem; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; color: var(--gold); font-size: 1.3rem; top: 17px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); font-size: .85rem; padding-right: 20px; }
.final-cta { text-align: center; background: radial-gradient(ellipse at bottom, #2c4d4340, transparent 65%); padding-top: 45px; }
.final-cta h2 { margin-bottom: 30px; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-layout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 25px; }
.footer-layout p { margin: 0; font-size: .65rem; color: var(--muted); }
.footer-layout nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: .7rem; color: var(--muted); }
.footer-layout .reader-link { font-size: .7rem; }

/* Formularios y acceso */
dialog { width: min(510px, calc(100% - 28px)); padding: 0; border: 1px solid #edc77744; border-radius: 22px; background: #111923; color: var(--text); box-shadow: 0 25px 100px #000a; max-height: calc(100dvh - 24px); overflow: hidden; }
dialog::backdrop { background: #03060bce; backdrop-filter: blur(8px); }
.dialog-content { padding: 24px 26px; position: relative; }
.dialog-content > .eyebrow { padding-right: 25px; font-size: .55rem; margin-top: 0; margin-bottom: 4px; }
.dialog-content h2 { font-size: 1.65rem; margin-bottom: 4px; line-height: 1.2; }
.dialog-content > p.muted { font-size: .8rem; margin-bottom: 0; }
.dialog-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
.access-steps { display: flex; gap: 16px; list-style: none; padding: 0; margin: 14px 0; font-size: .68rem; color: var(--muted); }
.access-steps li { display: flex; align-items: center; gap: 7px; }
.access-steps span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; }
.access-steps [aria-current] { color: var(--gold); }
.access-steps [aria-current] span { background: var(--gold); color: #fff; }
label { display: block; font-size: .78rem; margin-bottom: 4px; }
input:not([type="checkbox"]), select, textarea {
  width: 100%; min-width: 0; border: 1px solid #c8d3e133;
  border-radius: 8px; background: #080e16; color: var(--text);
  padding: 10px 12px; font-size: .95rem; margin-bottom: 8px;
}
input::placeholder { color: #8090a5; }
#book-code, #email-code { letter-spacing: .12em; }
.field-hint { color: var(--muted); font-size: .68rem; margin-top: -2px; margin-bottom: 12px; }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: .68rem; color: var(--muted); margin: 4px 0 14px; }
.checkbox-label input { margin-top: 3px; flex-shrink: 0; accent-color: var(--gold); }
.checkbox-label a { color: var(--gold); text-decoration: underline; }
.success-panel { color: var(--cyan); background: #91e2da08; padding: 8px 11px; border: 1px solid #91e2da22; border-radius: 8px; font-size: .75rem; margin-bottom: 8px; }
.form-status { font-size: .75rem; margin: 8px 0 0; color: var(--cyan); min-height: 0; line-height: 1.35; }
.form-status.error { color: #d9534f; }
.noscript-message { position: fixed; bottom: 0; padding: 15px; background: #512323; width: 100%; z-index: 80; }

/* Campo de contraseña con botón de visibilidad */
.password-field { position: relative; }
.password-field input { padding-right: 44px !important; margin-bottom: 0; }
.password-toggle {
  position: absolute; right: 8px; top: 8px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 0; border-radius: 6px; padding: 0;
  background: transparent; color: #8090a5;
  font-size: .95rem; line-height: 1; cursor: pointer;
}
.password-toggle:hover { color: var(--gold); }
.password-toggle[aria-pressed="true"] { color: var(--gold); }
.password-field + label { margin-top: 10px; }

/* Portal */
.portal-header { padding-block: 55px 30px; }
.portal-header h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.portal-header .lead { max-width: 670px; }
.portal-nav { display: flex; flex-wrap: wrap; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; font-size: .8rem; }
.portal-nav a { color: var(--muted); }
.portal-nav a:hover { color: var(--gold); }
.notice { border: 1px solid #edc77744; background: #edc77708; color: #dacda9; border-radius: 10px; padding: 16px 20px; font-size: .78rem; }
.portal-section { padding-block: 45px; }
.portal-section h2 { font-size: 2.1rem; }
.filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 15px; }
.model-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 3px 20px; }
.filter-pill { padding: 8px 15px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); font-size: .75rem; }
.filter-pill[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #17140d; }
.prompt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prompt-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 25px; min-width: 0; }
.prompt-meta { color: var(--gold); font-size: .65rem; margin-bottom: 14px; }
.prompt-card h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.prompt-text { white-space: pre-wrap; overflow-wrap: anywhere; font: .78rem/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; color: #c8d3df; background: #090f18; border-radius: 8px; padding: 16px; max-height: 310px; overflow: auto; }
.prompt-text mark { background: #edc77715; color: var(--gold); padding: 1px 3px; border-radius: 3px; }
.variables { margin-block: 18px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; }
.variables summary { cursor: pointer; font-size: .72rem; color: var(--cyan); }
.variables > div { padding-top: 16px; }
.variables label { font-size: .65rem; color: var(--muted); }
.variables input { font-size: .8rem; padding: 9px 10px; }
.copy-button { width: 100%; }
.copy-button.copied { border-color: #72dcb4; color: #72dcb4; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.tools-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.tool-panel { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 25px; min-width: 0; }
.tool-panel h3 { font-size: 1.4rem; }
.checklist { list-style: none; padding: 0; }
.checklist label { display: flex; align-items: flex-start; gap: 12px; font-size: .8rem; color: #c5ceda; padding-block: 10px; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist input { margin-top: 5px; accent-color: var(--gold); }
.checklist label:has(input:checked) { color: var(--muted); }
.checklist input:checked + span { text-decoration: line-through; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .75rem; }
th { text-align: left; color: var(--gold); font-weight: 500; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td { color: #bec8d5; }
.resource-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.resource-link { display: flex; flex-direction: column; gap: 7px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.resource-link:hover { border-color: #edc77766; }
.resource-link small { color: var(--gold); font-size: .65rem; }
.resource-link strong { font-family: Outfit, sans-serif; font-size: 1.2rem; }
.resource-link p { font-size: .78rem; color: var(--muted); margin: 0 0 12px; }
.resource-link > span { color: var(--gold); margin-top: auto; font-size: .72rem; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; border: 1px solid #72dcb466; background: #142b24; color: #9de8c8; border-radius: 10px; padding: 12px 22px; box-shadow: var(--shadow); font-size: .85rem; max-width: calc(100% - 30px); }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.8rem; margin-top: 40px; }
.legal-content p, .legal-content li { color: var(--muted); }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
  .reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1120px) {
  .nav-actions .reader-link { display: none; }
  .main-nav { gap: 12px; }
  .hero-layout { gap: 25px; }
  .learning-grid { grid-template-columns: 1fr 1fr; }
  .purchase-grid, .author-grid, .faq-grid { gap: 45px; }
  .floating-note { right: 0; }
}
@media (max-width: 860px) {
  .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 25px; background: #0d141e; border-bottom: 1px solid var(--line); flex-direction: column; gap: 20px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { font-size: .9rem; }
  .mobile-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 650px; }
  .hero-art { min-height: 570px; max-width: 470px; width: 100%; margin: auto; }
  .hero { padding-top: 55px; }
  .tech-list { justify-content: center; gap: 20px 35px; }
  .purchase-grid, .author-grid, .faq-grid { grid-template-columns: 1fr; }
  .purchase-copy { max-width: 650px; margin: auto; }
  .author-photo { width: min(100%, 420px); margin: auto; }
  .author-copy { max-width: 650px; }
  .faq-grid { gap: 0; }
  .manifesto { grid-template-columns: 1fr; gap: 25px; padding: 30px; }
  .productivity { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
  .productivity small { max-width: 300px; margin: auto; }
  .tools-grid { grid-template-columns: 1fr; }
  .resource-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .section { padding-block: 65px; }
  .nav-shell { min-height: 74px; }
  .hero { padding-top: 38px; }
  .hero-copy .eyebrow { font-size: .55rem; letter-spacing: .1em; }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1.16rem; }
  .hero-facts { gap: 12px; font-size: .66rem; }
  .hero-art { min-height: 540px; }
  .book-stage { scale: .92; margin-top: 0; }
  .floating-note { bottom: 34px; right: 0; padding: 12px; }
  .hero-art .asset-caption { margin-top: 10px; }
  .learning-grid, .prompt-grid, .resource-links { grid-template-columns: 1fr; }
  .feature-card { padding: 25px; }
  .card-top { margin-bottom: 23px; }
  .manifesto { padding: 25px; }
  blockquote { font-size: 1.25rem; }
  .book-specs { gap: 15px; }
  .purchase-option { padding: 15px 12px; gap: 10px; grid-template-columns: 28px 1fr 12px; }
  .purchase-option strong { font-size: .78rem; }
  .purchase-option small { font-size: .64rem; }
  .dialog-content { padding: 28px 22px; }
  .access-steps { gap: 12px; font-size: .62rem; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters > div:first-child { grid-column: 1 / -1; }
  .filters input, .filters select { font-size: .85rem; }
  .footer-layout { flex-direction: column; align-items: flex-start; }
  .portal-section { padding-block: 30px; }
  .prompt-card, .tool-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
