/* journa.world's pages besides its home (Pages/Site/_SiteLayout.cshtml): white since 2026-12-03 (the owner: "No dark mode. White
   background"), under the same masthead as Explore (css/masthead.css), with readable pages and a footer of links. Mobile first. The
   variables keep their old names (ivory is the text, gold-soft the links) so every rule below reads them as before. */
@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/im-fell/im-fell-english.woff2") format("woff2"); }
@font-face { font-family: "IM Fell English"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/im-fell/im-fell-english-italic.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --midnight: #0a1424;
  --midnight-2: #0f1d33;
  --gold: #b8892f;
  --gold-soft: #8a6a24;
  --ivory: #1d1b18;
  --ivory-2: #45403a;
  --ivory-3: #6b655c;
  --line: #e4e1da;
  --display: "IM Fell English", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(1.1rem, 5vw, 2.5rem);
  --measure: 40rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: #fff; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
body.site { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #fff; color: var(--ivory); font: 400 1.0625rem/1.65 var(--serif); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--gold-soft); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--midnight); color: #fff; padding: .5rem 1rem; border-radius: 6px; z-index: 10; }
.skip:focus { left: .5rem; }

/* The header is the masthead (css/masthead.css), the same as Explore's. */

/* ----- Pages ----- */
.site-main { flex: 1; width: 100%; padding: 0 var(--pad) 4rem; }
.page, .hero, .band { max-width: var(--measure); margin: 0 auto; }
.page { padding-top: clamp(2rem, 6vw, 3.5rem); }
h1, h2, h3 { font-family: var(--display); font-weight: normal; line-height: 1.15; color: var(--ivory); }
h1 { font-size: clamp(2.3rem, 7.5vw, 3.6rem); margin: 0 0 .6rem; letter-spacing: .005em; }
h2 { font-size: clamp(1.55rem, 4.6vw, 2.1rem); margin: 2.6rem 0 .6rem; }
h3 { font-size: 1.35rem; margin: 1.8rem 0 .4rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--ivory); }
.quiet, .faint { color: var(--ivory-3); }
.faint { font-size: .92rem; }
.lines { font-family: var(--display); font-style: italic; font-size: 1.22rem; line-height: 1.6; color: var(--gold-soft); }
.ask-line { font-style: italic; color: var(--ivory-2); }
ul, ol { padding-left: 1.25rem; margin: 0 0 1.2rem; }
li { margin: 0 0 .55rem; }
li::marker { color: var(--gold); }
strong { color: var(--ivory); font-weight: 600; }
em { color: var(--ivory); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.btn { display: inline-block; font-family: var(--sans); font-size: 1rem; color: var(--midnight); text-decoration: none; border: 1px solid var(--midnight); border-radius: 999px; padding: .65rem 1.35rem; }
.btn:hover { background: var(--midnight); color: #fff; }
.btn.gold { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.btn.gold:hover { background: #000; border-color: #000; color: #fff; }
.more { font-family: var(--sans); font-size: .98rem; text-decoration: none; }
.more::after { content: " \2192"; }

/* ----- What is Journa·World: one band after another ----- */
.hero { padding: clamp(3rem, 12vw, 6rem) 0 clamp(2rem, 7vw, 3.5rem); text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 10vw, 4.6rem); }
.hero .lead { max-width: 32rem; margin-inline: auto; }
.hero .actions { justify-content: center; }
.hero .quiet { margin-top: 1.2rem; font-size: .95rem; }
.band { padding: 2.4rem 0 .6rem; border-top: 1px solid var(--line); }
.band h2 { margin-top: 0; }
.band.closing { text-align: center; padding-bottom: 2rem; }
.band.closing .actions { justify-content: center; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1rem; }
.chips li { margin: 0; font-family: var(--display); font-style: italic; color: var(--gold-soft); border: 1px solid rgba(184, 137, 47, .45); border-radius: 999px; padding: .2rem .85rem; }
.worlds { display: grid; gap: 0; margin: 1rem 0 1.2rem; }
.worlds div { display: grid; gap: .1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.worlds dt { font-family: var(--display); font-size: 1.3rem; color: var(--gold-soft); }
.worlds dd { margin: 0; color: var(--ivory-2); }
@media (min-width: 640px) { .worlds div { grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 1rem; } }

/* ----- Reading pages ----- */
.toc { font-family: var(--sans); font-size: .92rem; color: var(--ivory-3); margin: 1.4rem 0 0; }
.toc a { text-decoration: none; }
.steps { padding-left: 1.4rem; }
.steps li { padding-left: .2rem; }
.beliefs { list-style: none; padding: 0; }
.beliefs li { padding: .45rem 0 .45rem 1.1rem; border-left: 2px solid rgba(184, 137, 47, .55); margin-bottom: .7rem; }
.contact { list-style: none; padding: 0; }
.contact li { padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.3rem; padding: .7rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--gold); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ivory-2); }
.legal h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ivory-2); }
/* A society's page (Pages/Site/Invitation.cshtml): the prospective Expeditions prepared for it. */
.invite-for { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 .4rem; }
.invite-list { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: invite; }
.invite-item { border-top: 1px solid var(--line); padding: 1.3rem 0 .6rem; }
.invite-item h3 { margin-top: 0; }
.invite-meta { font-family: var(--sans); font-size: .9rem; color: var(--gold-soft); }
.invite-threads { margin-bottom: .8rem; }
.invite-threads li { color: var(--ivory-2); }
.invite-sources summary { cursor: pointer; font-family: var(--sans); font-size: .92rem; color: var(--ivory-2); }
.invite-sources ul { margin-top: .5rem; font-size: .95rem; }
.invite-sources a { word-break: break-word; }
/* What only Journa can still answer: easy to find, and to take out once answered. */
mark.ask { background: rgba(214, 181, 108, .2); color: var(--gold-soft); border-bottom: 1px dashed var(--gold); padding: 0 .2em; font-style: italic; }

/* The footer is css/site-footer.css: every page of Journa wears it, so it stands on its own. */

/* The Rules of the Road (the governance rules 18 to 20): the rules in force, then how claims read under them. */
.rules-of-the-road { padding-left: 1.2rem; }
.rules-of-the-road h3 { margin: 1rem 0 .25rem; }
.rules-examples div { margin: .6rem 0; }
.rules-examples dt { font-weight: 600; }
.rules-examples dd { margin: .15rem 0 0; }

/* A page of the app that wears this header and footer and fills the width itself (the Journa Legacy page, /download). */
.site-main.site-bleed { padding: 0; }
