/* Copyright Robert Mozden. Shared visual language; public showcase styles. */
:root {
  color-scheme: light;
  --ink: #1c2f3e; --muted: #526475; --accent: #176b66;
  --paper: #f4f7f8; --line: #dbe3e8;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #c4810d; outline-offset: 4px; }
.shell { width: min(1104px, calc(100% - 56px)); margin: auto; }
.draft { padding: 8px 20px; background: #162e40; color: white; text-align: center; font-size: .875rem; }
/* Same readable header, wrapping navigation and active-page treatment as Drupal. */
.masthead.shell { width: 100%; min-height: 78px; padding: 14px max(28px, calc((100vw - 1104px)/2)); background: #162e40; color: white; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.masthead a { color: white; text-decoration: none; }
.brand { font-size: 1.35rem; font-weight: 780; letter-spacing: .08em; padding: 7px 0; }
.brand span { display: block; color: #d7e4ed; font-size: .75rem; font-weight: 400; letter-spacing: .02em; }
.masthead nav { display: flex; gap: 4px; flex-wrap: wrap; font-size: .95rem; }
.masthead nav a { display: inline-block; padding: 10px 14px; border-radius: 8px; }
.masthead nav a:hover, .masthead nav a[aria-current="page"] { background: #2c485b; }
.masthead nav a[aria-current="page"] { box-shadow: inset 0 -3px #72d1c0; font-weight: 650; }
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; padding: 48px 0 56px; }
.hero > *, .cards > * { min-width: 0; }
h1, .hero h1, .reading h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 20px; }
h2, .reading h2 { font-size: 1.5rem; line-height: 1.35; margin: 0 0 20px; }
h3 { font-size: 1.15rem; line-height: 1.4; margin: 0 0 12px; }
p { margin: 0 0 20px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 65ch; }
.eyebrow, .number { font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow { margin-bottom: 14px; }
.quiet { color: var(--muted); font-size: .875rem; max-width: 65ch; }
.button { display: inline-flex; gap: 24px; padding: 12px 22px; margin: 8px 0 20px; min-height: 48px; max-width: 100%; border-radius: 8px; background: var(--accent); color: white; text-decoration: none; font-weight: 650; }
.button:hover { background: #0d514d; }
.principle { background: #e4f0ed; padding: 30px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.principle p { font-size: 1.65rem; line-height: 1.35; font-weight: 600; margin: 0; }
.principle > span:last-child { font-size: .9rem; }
.rule { height: 1px; background: #91b5ae; margin-bottom: 20px; }
.section { padding-top: 40px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.section-intro, .reading, .download-details, .steps { max-width: 75ch; }
.cards, .tool-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards article { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 14px; padding: 26px; }
.cards p { color: var(--muted); }
.cards .status { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.approach { background: #edf3f6; }
figure { margin: 24px 0 0; }
figure img { display: block; width: 100%; height: auto; }
figcaption { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.album-cover { max-width: 300px; }
.progress { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.update-list { display: grid; gap: 20px; }
.update { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.update h3 { margin-top: 12px; }
footer { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 35px; font-size: .875rem; color: var(--muted); }
.skip { position: fixed; top: -80px; left: 16px; background: white; padding: 12px; z-index: 10; }
.skip:focus { top: 8px; }
.security-points, .method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin: 24px 0; }
.security-points p, .method-grid article { border-top: 1px solid var(--line); padding-top: 20px; }
.download-details { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
summary { cursor: pointer; font-weight: 650; padding: 8px 0; }
.checksum { display: block; font-size: .875rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .875rem; }
.steps { padding-left: 24px; }
.steps li { padding: 8px 0 8px 8px; }
.story { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
.story .lead { margin-top: 10px; }
.reading li { margin: 12px 0; }
.project-feature { padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--line); }
.project-feature > div { max-width: 75ch; }
.project-feature h3 { font-size: 1.3rem; max-width: 38ch; }
.project-feature figure { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.project-feature figcaption { padding: 8px 10px; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .masthead.shell { padding: 12px 20px; gap: 8px 20px; }
  .masthead nav { width: 100%; gap: 2px; }
  .masthead nav a { padding: 9px 11px; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 40px; }
  .principle { padding: 26px; }
  .cards, .tool-cards, .progress, .story, .security-points, .method-grid { grid-template-columns: 1fr; }
  .progress, .story { gap: 20px; }
  .section { padding-top: 32px; padding-bottom: 40px; }
  footer { display: block; }
}
