:root { background: #f6f1e7; }
* { box-sizing: border-box; }
.site {
  --theme-text: #17352c;
  --theme-background: #f6f1e7;
  --theme-glow: #e0eee5;
  --theme-surface: #fffcf6;
  --theme-border: #cdd6cf;
  --theme-accent: #a64622;
  --theme-muted: #52655e;
  --theme-footer: #173d32;
  --theme-footer-text: #e7eee9;
  --theme-footer-muted: #b9ccc3;
  --theme-focus: #c4562a;
  --theme-body-font: Inter, ui-sans-serif, system-ui, sans-serif;
  --theme-heading-font: Georgia, serif;
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  color: var(--theme-text);
  background: radial-gradient(circle at 80% 0, var(--theme-glow) 0, transparent 30rem), var(--theme-background);
  font-family: var(--theme-body-font);
}
.theme-palette--ocean { --theme-text: #122f45; --theme-background: #edf5f8; --theme-glow: #cde5ee; --theme-surface: #fafdff; --theme-border: #b8d2dc; --theme-accent: #9b3f18; --theme-muted: #405f70; --theme-footer: #173b57; --theme-footer-text: #edf7fb; --theme-footer-muted: #bad4df; --theme-focus: #b74617; }
.theme-palette--plum { --theme-text: #3b2137; --theme-background: #f8f0f5; --theme-glow: #ead7e5; --theme-surface: #fffafd; --theme-border: #dac5d4; --theme-accent: #8b3d1f; --theme-muted: #695064; --theme-footer: #492844; --theme-footer-text: #fff3fb; --theme-footer-muted: #dfc4d8; --theme-focus: #a34824; }
.theme-palette--seven-knots { --theme-text: #2b1719; --theme-background: #fbf5ec; --theme-glow: #ecd8c4; --theme-surface: #fffaf3; --theme-border: #dfcbb9; --theme-accent: #9b2440; --theme-muted: #715b55; --theme-footer: #3a171e; --theme-footer-text: #fff6eb; --theme-footer-muted: #dec4b8; --theme-focus: #b52849; }
.theme-type--editorial { --theme-body-font: Georgia, 'Times New Roman', serif; --theme-heading-font: Georgia, 'Times New Roman', serif; }
.theme-type--system { --theme-body-font: ui-sans-serif, system-ui, sans-serif; --theme-heading-font: ui-sans-serif, system-ui, sans-serif; }
.theme-type--seven-knots { --theme-body-font: Inter, ui-sans-serif, system-ui, sans-serif; --theme-heading-font: Georgia, 'Times New Roman', serif; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--theme-focus); outline-offset: 3px; }
.preview-bar { min-height: 2.75rem; padding: .55rem clamp(1rem, 4vw, 4rem); display: flex; align-items: center; gap: 1rem; color: #fff8ec; background: #963f20; font-size: .84rem; }
.preview-bar span { flex: 1; color: #ffdbc7; }
.preview-bar a { font-weight: 750; }
.site-header { min-height: 5rem; padding: 1rem clamp(1rem, 6vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--theme-border); background: color-mix(in srgb, var(--theme-surface) 92%, transparent); backdrop-filter: blur(10px); }
.site-header.sticky { position: sticky; top: 0; z-index: 1; }
.site-brand { font-family: var(--theme-heading-font); font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.site-brand img { display: block; width: auto; max-width: min(14rem, 45vw); height: auto; max-height: 3.5rem; object-fit: contain; }
nav ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; list-style: none; }
nav a { font-weight: 680; }
main { width: min(72rem, calc(100% - 2rem)); min-height: 56vh; margin: 0 auto; padding: clamp(4rem, 10vw, 9rem) 0; }
.site-intro, .legal-page, .basic-page { max-width: 47rem; overflow-wrap: anywhere; }
.eyebrow { margin: 0 0 1rem; color: var(--theme-accent); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 12ch; margin: 0; font-family: var(--theme-heading-font); font-size: clamp(3.2rem, 10vw, 7.5rem); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.legal-page h1, .basic-page h1 { max-width: 18ch; font-size: clamp(2.8rem, 8vw, 5.5rem); }
.basic-page--highlighted { padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--theme-border); border-radius: 1.5rem; background: var(--theme-surface); box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--theme-footer) 8%, transparent); }
main p:not(.eyebrow) { max-width: 48rem; margin: 1.5rem 0 0; color: var(--theme-muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.8; }
.landing-page { display: grid; gap: clamp(5rem, 12vw, 10rem); }
.landing-block { scroll-margin-top: 7rem; overflow-wrap: anywhere; }
.landing-block h2 { max-width: 18ch; margin: 0; font-family: var(--theme-heading-font); font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 520; letter-spacing: -.04em; line-height: 1; }
.landing-block h3 { margin: 0; font-family: var(--theme-heading-font); font-size: clamp(1.3rem, 3vw, 1.8rem); }
.landing-hero { min-height: min(42rem, 75vh); display: grid; align-content: center; }
.landing-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.landing-actions a { padding: .8rem 1.1rem; border: 2px solid var(--theme-accent); border-radius: .45rem; color: var(--theme-surface); background: var(--theme-accent); font-weight: 780; text-decoration: none; }
.landing-actions a + a { color: var(--theme-accent); background: transparent; }
.landing-features ul, .landing-steps ol { margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; counter-reset: landing-step; }
.landing-features li, .landing-steps li { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--theme-border); border-radius: 1rem; background: var(--theme-surface); }
.landing-steps li { counter-increment: landing-step; }
.landing-steps li::before { content: counter(landing-step, decimal-leading-zero); display: block; margin-bottom: 2rem; color: var(--theme-accent); font-weight: 800; }
.landing-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.landing-media img { width: 100%; height: auto; border-radius: 1.25rem; object-fit: contain; }
.landing-media--start img { grid-column: 1; grid-row: 1; }
.landing-media--start div { grid-column: 2; }
.landing-faq { max-width: 54rem; }
.landing-faq details { padding: 1.25rem 0; border-bottom: 1px solid var(--theme-border); }
.landing-faq summary { cursor: pointer; font-size: 1.15rem; font-weight: 750; }
.landing-cta { padding: clamp(2rem, 7vw, 5rem); border-radius: 1.5rem; color: var(--theme-footer-text); background: var(--theme-footer); }
.landing-cta p { color: var(--theme-footer-muted) !important; }
.landing-cta .landing-actions a { border-color: var(--theme-footer-text); color: var(--theme-footer); background: var(--theme-footer-text); }
.editorial-page { display: grid; gap: clamp(4rem, 10vw, 8rem); overflow-wrap: anywhere; }
.interactive-quiz { display: grid; gap: 1.5rem; max-width: 54rem; margin-inline: auto; }
.quiz-header, .quiz-question, .quiz-results { border: 1px solid var(--theme-border); border-radius: 1rem; padding: clamp(1rem, 3vw, 2rem); background: var(--theme-surface); }
.quiz-question { min-inline-size: 0; }
.quiz-question legend { max-width: 100%; padding-inline: .35rem; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
.quiz-choices { display: grid; gap: .75rem; margin-block: 1rem; }
.quiz-choice, .quiz-actions button, .quiz-results button { min-height: 2.75rem; border: 2px solid var(--theme-border); border-radius: .75rem; padding: .7rem 1rem; color: var(--theme-text); background: var(--theme-surface); font: inherit; text-align: start; cursor: pointer; }
.quiz-choice:hover, .quiz-choice:focus-visible, .quiz-actions button:focus-visible, .quiz-results button:focus-visible { border-color: var(--theme-accent); outline: 3px solid color-mix(in srgb, var(--theme-accent) 35%, transparent); outline-offset: 2px; }
.quiz-choice.correct { border-color: #197044; background: #e1f5e9; color: #123c28; }
.quiz-choice.wrong { border-color: #a62929; background: #fce8e8; color: #641919; }
.quiz-choice:disabled { cursor: default; opacity: 1; }
.quiz-feedback { min-height: 1.5rem; font-weight: 700; }
.quiz-feedback.correct { color: #155b37; }
.quiz-feedback.wrong { color: #8b2020; }
.quiz-progress { font-weight: 700; }
.quiz-actions { display: flex; justify-content: flex-end; }
.quiz-actions button, .quiz-results button { border-color: var(--theme-accent); background: var(--theme-accent); color: var(--theme-surface); font-weight: 700; }
.quiz-fallback-solution { margin-top: 1rem; }
.editorial-header { max-width: 52rem; }
.editorial-header h1 { max-width: 15ch; }
.editorial-summary { color: var(--theme-text) !important; font-family: var(--theme-heading-font); font-size: clamp(1.25rem, 2.5vw, 1.7rem) !important; }
.editorial-block { scroll-margin-top: 7rem; }
.editorial-block > h2, .editorial-block > div > h2 { max-width: 20ch; margin: 0; font-family: var(--theme-heading-font); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 520; line-height: 1; }
.editorial-block h3 { margin: 0; font-family: var(--theme-heading-font); font-size: clamp(1.25rem, 3vw, 1.8rem); }
.editorial-provenance { max-width: 48rem; margin-top: 1.25rem; padding-top: 1rem; display: grid; gap: .35rem; border-top: 1px solid var(--theme-border); color: var(--theme-muted); font-size: .88rem; }
.editorial-provenance strong { color: var(--theme-text); }
.editorial-chronology ol { max-width: 58rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.editorial-chronology li { display: grid; grid-template-columns: minmax(5rem, .25fr) 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--theme-border); }
.editorial-chronology time, .editorial-date { color: var(--theme-accent) !important; font-weight: 800; }
.editorial-chronology li div > span { color: var(--theme-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.editorial-quotation { max-width: 52rem; }
.editorial-quotation blockquote { margin: 2rem 0 0; padding: clamp(1.5rem, 5vw, 3.5rem); border-left: .35rem solid var(--theme-accent); background: var(--theme-surface); }
.editorial-quotation blockquote p { margin: 0 !important; color: var(--theme-text) !important; font-family: var(--theme-heading-font); font-size: clamp(1.25rem, 3vw, 2rem) !important; }
.editorial-quotation blockquote footer { margin-top: 1.5rem; color: var(--theme-muted); }
.editorial-collection ul, .editorial-prompts ol, .editorial-bibliography ul { margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.editorial-collection li, .editorial-prompts li, .editorial-bibliography li { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--theme-border); border-radius: 1rem; background: var(--theme-surface); }
.editorial-source-meta { color: var(--theme-muted) !important; font-size: .85rem !important; }
.editorial-prompts ol { counter-reset: editorial-prompt; }
.editorial-prompts li { counter-increment: editorial-prompt; }
.editorial-prompts li::before { content: counter(editorial-prompt, decimal-leading-zero); display: block; margin-bottom: 1rem; color: var(--theme-accent); font-weight: 800; }
.editorial-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.editorial-media figure { margin: 0; }
.editorial-media img { display: block; width: 100%; height: auto; border-radius: 1rem; object-fit: contain; }
.editorial-media figcaption { margin-top: .75rem; color: var(--theme-muted); font-size: .9rem; }
.editorial-rights { max-width: 58rem; padding: clamp(1.5rem, 5vw, 3rem); color: var(--theme-footer-text); background: var(--theme-footer); }
.editorial-rights p, .editorial-rights .editorial-provenance { color: var(--theme-footer-muted) !important; }
.editorial-rights .editorial-provenance { border-color: var(--theme-footer-muted); }
.editorial-rights .editorial-provenance strong { color: var(--theme-footer-text); }
.theme-package--7nudos .site-header { border-bottom-width: 2px; }
.theme-package--7nudos .site-brand { color: var(--theme-accent); letter-spacing: .025em; }
.theme-package--7nudos .landing-hero h1 { max-width: 14ch; }
.theme-package--7nudos .landing-features li { border-top: .3rem solid var(--theme-accent); }
.theme-package--7nudos .landing-cta { background: linear-gradient(135deg, var(--theme-footer), #6d2032); }
[data-theme-package="@7nudos/theme@0.6.0"] .site {
  --theme-text: #211816;
  --theme-background: #f7f2ea;
  --theme-glow: #efe0d3;
  --theme-surface: #fffaf2;
  --theme-border: rgba(33, 24, 22, .14);
  --theme-accent: #b11225;
  --theme-muted: #6d5d58;
  --theme-footer: #211816;
  --theme-footer-text: #fffaf2;
  --theme-footer-muted: #d9cbc3;
  --theme-focus: #7d0916;
  --theme-body-font: Georgia, 'Times New Roman', serif;
  --theme-heading-font: Georgia, 'Times New Roman', serif;
  background:
    linear-gradient(110deg, rgba(177, 18, 37, .1), transparent 34%),
    linear-gradient(250deg, rgba(53, 93, 80, .14), transparent 38%),
    linear-gradient(180deg, #fffaf2, #f7f2ea);
}
[data-theme-package="@7nudos/theme@0.6.0"] .site-header,
[data-theme-package="@7nudos/theme@0.6.0"] main { width: min(73.75rem, calc(100% - 2.25rem)); margin-inline: auto; }
[data-theme-package="@7nudos/theme@0.6.0"] .site-header { min-height: 0; padding: 1.25rem 0; border: 0; background: color-mix(in srgb, #fffaf2 92%, transparent); }
[data-theme-package="@7nudos/theme@0.6.0"] .site-brand,
[data-theme-package="@7nudos/theme@0.6.0"] nav,
[data-theme-package="@7nudos/theme@0.6.0"] .landing-actions,
[data-theme-package="@7nudos/theme@0.6.0"] summary { font-family: 'Trebuchet MS', Verdana, sans-serif; }
[data-theme-package="@7nudos/theme@0.6.0"] .site-brand { color: var(--theme-text); font-size: .98rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
[data-theme-package="@7nudos/theme@0.6.0"] nav a { color: var(--theme-muted); font-size: .9rem; font-weight: 800; text-decoration: none; }
[data-theme-package="@7nudos/theme@0.6.0"] nav a:hover { color: #7d0916; }
[data-theme-package="@7nudos/theme@0.6.0"] main { padding: clamp(2.5rem, 7vw, 5rem) 0; }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-page { gap: clamp(3.5rem, 8vw, 6rem); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-hero { min-height: min(42rem, calc(100svh - 7rem)); padding-block: clamp(2rem, 5vw, 4rem); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-hero h1 { max-width: 12ch; font-size: clamp(3.2rem, 7.6vw, 6.9rem); font-weight: 700; letter-spacing: 0; line-height: .88; }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-block h2 { font-size: clamp(2.15rem, 4.9vw, 4.6rem); font-weight: 700; letter-spacing: 0; line-height: .96; }
[data-theme-package="@7nudos/theme@0.6.0"] main p:not(.eyebrow) { color: var(--theme-muted); line-height: 1.62; }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-actions a { min-height: 3.25rem; display: inline-flex; align-items: center; padding: 0 1.4rem; border: 1px solid var(--theme-accent); border-radius: 999px; background: linear-gradient(135deg, #b11225, #7d0916); box-shadow: 0 1rem 2.25rem rgba(177, 18, 37, .24); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-actions a + a { color: var(--theme-text); border-color: var(--theme-border); background: rgba(255,255,255,.64); box-shadow: none; }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-media { gap: clamp(2rem, 6vw, 4.75rem); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-media img { max-height: 34rem; border-radius: .5rem; object-fit: contain; box-shadow: 0 1.5rem 4.4rem rgba(54, 34, 25, .16); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-features ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .875rem; }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-features li,
[data-theme-package="@7nudos/theme@0.6.0"] .landing-steps li { border-radius: .5rem; background: rgba(255,255,255,.58); box-shadow: 0 .9rem 2.75rem rgba(54, 34, 25, .08); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-features li { min-height: 13.75rem; border-top: 1px solid var(--theme-border); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-steps li::before { color: #b11225; }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-faq details { padding-inline: 1.25rem; border: 1px solid var(--theme-border); border-radius: .5rem; background: rgba(255,255,255,.58); }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-faq details + details { margin-top: .625rem; }
[data-theme-package="@7nudos/theme@0.6.0"] .landing-cta { border-radius: .5rem; background: linear-gradient(135deg, #211816, #7d0916); }
[data-theme-package="@7nudos/theme@0.6.0"] .legal-page { max-width: 52rem; }
[data-theme-package="@7nudos/theme@0.6.0"] .legal-page > section { padding-block: 1.5rem; border-top: 1px solid var(--theme-border); }
[data-theme-package="@7nudos/theme@0.6.0"] .legal-page h2 { margin: 0; font-family: var(--theme-heading-font); font-size: clamp(1.6rem, 4vw, 2.4rem); }
[data-theme-package="@7nudos/theme@0.6.0"] .legal-updated { font-size: .95rem !important; }
[data-theme-package="@7nudos/theme@0.6.0"] .legal-summary { color: var(--theme-text) !important; font-size: clamp(1.15rem, 2vw, 1.4rem) !important; }
.site-footer { padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 6vw, 5.5rem); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; color: var(--theme-footer-text); background: var(--theme-footer); }
.site-footer .site-brand { color: var(--theme-footer-text); }
.site-footer p { color: var(--theme-footer-muted); }
.site-footer nav ul { display: grid; }
.high-contrast { --theme-text: #000; --theme-background: #fff; --theme-glow: #fff; --theme-surface: #fff; --theme-border: #000; --theme-accent: #000; --theme-muted: #000; --theme-footer: #000; --theme-footer-text: #fff; --theme-footer-muted: #fff; --theme-focus: #000; color: #000; background: #fff; }
.high-contrast .site-header { border-color: #000; background: #fff; }
.high-contrast .basic-page--highlighted { border: 3px solid #000; background: #fff; box-shadow: none; }
.high-contrast .site-footer { color: #fff; background: #000; }
@media (max-width: 42rem) {
  .preview-bar, .site-header { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .preview-bar span { display: none; }
  .site-footer { grid-template-columns: 1fr; }
  .landing-features ul, .landing-steps ol, .landing-media { grid-template-columns: 1fr; }
  .landing-media--start img, .landing-media--start div { grid-column: 1; grid-row: auto; }
  .editorial-chronology li, .editorial-media { grid-template-columns: 1fr; }
  .editorial-collection ul, .editorial-prompts ol, .editorial-bibliography ul { grid-template-columns: 1fr; }
}
@media (max-width: 56rem) {
  [data-theme-package="@7nudos/theme@0.6.0"] .site-header,
  [data-theme-package="@7nudos/theme@0.6.0"] main { width: min(100% - 1.75rem, 42.5rem); }
  [data-theme-package="@7nudos/theme@0.6.0"] .landing-features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 35rem) {
  [data-theme-package="@7nudos/theme@0.6.0"] .site-header,
  [data-theme-package="@7nudos/theme@0.6.0"] main { width: min(100% - 1.5rem, 32.5rem); }
  [data-theme-package="@7nudos/theme@0.6.0"] .landing-features ul { grid-template-columns: 1fr; }
  [data-theme-package="@7nudos/theme@0.6.0"] .landing-actions,
  [data-theme-package="@7nudos/theme@0.6.0"] .landing-actions a { width: 100%; }
  [data-theme-package="@7nudos/theme@0.6.0"] .landing-actions a { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
.consent-banner { position: fixed; z-index: 10; right: 1rem; bottom: 1rem; width: min(34rem, calc(100% - 2rem)); padding: 1.25rem; border: 1px solid var(--theme-border); border-radius: 1rem; background: var(--theme-surface); box-shadow: 0 1rem 4rem #0003; }
.consent-banner[hidden], .consent-banner [hidden] { display: none; }
.consent-banner h2 { margin: 0; font-family: var(--theme-heading-font); font-size: 1.5rem; }
.consent-banner p { margin: .75rem 0; color: var(--theme-muted); line-height: 1.5; }
.consent-banner .consent-preview-note { padding: .5rem .65rem; border-left: .25rem solid var(--theme-accent); color: var(--theme-text); background: var(--theme-background); font-weight: 700; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-banner button { min-height: 2.75rem; padding: .6rem .9rem; border: 2px solid var(--theme-accent); border-radius: .4rem; color: var(--theme-text); background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.consent-banner [data-consent-accept], .consent-banner [data-consent-save] { color: var(--theme-surface); background: var(--theme-accent); }
.consent-manage { position: fixed; z-index: 9; left: 1rem; bottom: 1rem; min-height: 2.75rem; padding: .6rem .9rem; border: 2px solid var(--theme-footer-text); border-radius: .4rem; color: var(--theme-footer-text); background: var(--theme-footer); font: inherit; font-weight: 750; cursor: pointer; }
.consent-manage[hidden] { display: none; }
