/* maispo.eu, redesigned 2026-11-25 at Giuseppe's request: light only, wide like splabs.io (1320px), full-width bands,
   Source Serif 4 for titles, rounded buttons and pills, colour blocks, engraved plates with captions and a price
   ladder in the manner of agenticevals.dev. Palette: night blue and European gold on white. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-var.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); }
:root {
  --bg: #ffffff; --ink: #11141f; --ink-soft: #4b5164; --ink-dim: #8b91a3; --line: #e5e8ef; --line-2: #f1f3f8;
  --tint: #f4f6fb; --tint-2: #eaeef8;
  --brand: #1f3fbf; --brand-soft: #e7ecfb; --deep: #0d1a4f; --deep-2: #182d7a; --mid: #2a4ed0;
  --gold: #c9a227; --gold-deep: #7a600c; --gold-soft: #fbf3da;
  --dark: #0a0f2c; --red: #b42318; --green: #1f7a4d;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: clamp(16px, 3.4vw, 44px); padding-right: clamp(16px, 3.4vw, 44px); }
.serif, h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

/* Announcement bar */
.note-bar { background: var(--dark); color: #d9def2; font-size: 14px; }
.note-bar .wrap { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding-block: 9px; text-align: center; }
.note-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font: 650 21px/1 var(--sans); letter-spacing: -0.035em; }
.brand:hover { text-decoration: none; }
.brand .tld { color: var(--gold-deep); font-weight: 500; }
.mark { flex: none; }
.mark circle { fill: var(--ink); }
.mark .m-held { fill: var(--gold); }
.menu { display: flex; gap: 2px; flex-wrap: wrap; }
.menu a { color: var(--ink-soft); font-size: 14.5px; padding: 8px 12px; border-radius: 9px; white-space: nowrap; }
.menu a:hover { background: var(--line-2); color: var(--ink); text-decoration: none; }
.menu a.on { color: var(--ink); background: var(--line-2); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; font: 600 12.5px/1 var(--sans); letter-spacing: .04em; }
.langs a { color: var(--ink-dim); padding: 8px 9px; border-radius: 8px; }
.langs a.on { color: var(--ink); background: var(--line-2); }
.langs a:hover { text-decoration: none; color: var(--ink); }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--sans); padding: 15px 22px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn.pri { background: var(--brand); color: #fff; }
.btn.pri:hover { background: var(--deep-2); }
.btn.line { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn.line:hover { background: var(--tint); }
.btn.light { background: #fff; color: var(--deep); }
.btn.sm { padding: 10px 14px; font-size: 14px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--ink-soft); }
.pill b { color: var(--ink); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.2); flex: none; }
.pill .dot.b { background: var(--brand); box-shadow: 0 0 0 4px rgba(31,63,191,.15); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.kicker a { color: inherit; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 40em; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; color: var(--ink-soft); }

/* Bands */
.band { padding-block: 96px; }
.band.tint { background: var(--tint); }
.band.tight { padding-block: 64px; }
.band + .band:not(.tint):not(.dark) { border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.07; max-width: 17em; }
.band h2 + .lead { margin-top: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split.side { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 72px 64px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: 1.03; }
.hero h1 em { font-style: italic; color: var(--deep-2); }
.hero .lead { margin: 26px 0 34px; }
.hero .pills { margin-top: 38px; }

/* Plates (engraved drawings with captions) */
.plate { margin: 0; min-width: 0; }
.plate svg { display: block; width: 100%; height: auto; }
.plate figcaption { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.plate figcaption b { color: var(--ink); font-weight: 600; }
.ink { stroke: var(--ink); fill: none; stroke-width: 1.2; }
.ink text { fill: var(--ink); stroke: none; font-family: var(--sans); text-anchor: middle; }
.ink text.l { text-anchor: start; }
.ink .cap { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; }
.ink .sm { font-size: 13px; }
.ink .xs { font-size: 11px; fill: var(--ink-soft); }
.ink .b { font-weight: 600; }
.ink .num { font: 500 22px var(--serif); }
.ink .thin { stroke-width: .7; }
.ink .hl { stroke: var(--ink-dim); stroke-width: .8; }
.ink .gold { stroke: var(--gold); stroke-width: 2.2; }
.ink .goldf { fill: var(--gold); stroke: none; }
.ink .paper { fill: #fff; }
.ink .tintf { fill: var(--tint-2); }
.ink .fill { fill: var(--ink); stroke: none; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 24px 28px; border-right: 1px solid var(--line); color: var(--ink); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat:hover { text-decoration: none; background: var(--tint); }
.stat .n { display: block; font: 400 clamp(44px, 4.6vw, 64px)/1 var(--serif); }
.stat .l { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }

/* Problem grid: items with a top rule */
.probs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.prob { border-top: 2px solid var(--brand); padding-top: 18px; }
.prob b { display: block; font-size: 20px; font-weight: 600; line-height: 1.25; }
.prob span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

/* Steps (the roadmap) */
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 26px; display: flex; flex-direction: column; }
.band.tint .steps li { background: #fff; }
.steps .k { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-deep); }
.steps b { display: block; font: 500 26px/1.15 var(--serif); margin-top: 10px; }
.steps p { font-size: 15px; color: var(--ink-soft); margin: 10px 0 0; }
.steps .codes { margin-top: auto; padding-top: 14px; }

/* Colour blocks */
.blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.block { position: relative; overflow: hidden; color: #fff; padding: 30px 28px 28px; min-height: 340px; display: flex; flex-direction: column; border-radius: 4px; }
.block:hover { text-decoration: none; }
.block.k1 { background: var(--deep); } .block.k2 { background: var(--deep-2); } .block.k3 { background: var(--mid); }
.block .tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.block h3 { font: 500 clamp(24px, 2vw, 30px)/1.13 var(--serif); color: #fff; margin-bottom: 14px; }
.block p { font-size: 15px; color: rgba(255,255,255,.86); margin: 0; }
.block .go { margin-top: auto; padding-top: 26px; font-weight: 600; color: #fff; }
.block svg.deco { position: absolute; right: -30px; bottom: -40px; width: 58%; opacity: .22; pointer-events: none; }
.block:hover .go { text-decoration: underline; text-underline-offset: 4px; }

/* Rows (link list with an arrow) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 140px 28px; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.row:hover { text-decoration: none; background: linear-gradient(90deg, var(--tint), transparent); }
.row .d { font-weight: 600; font-size: 15px; }
.row b { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; }
.row .s { display: block; font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.row .r { font-size: 14px; color: var(--brand); }
.row i { font-style: normal; font-size: 20px; color: var(--ink-dim); }
.row.past { color: var(--ink-soft); }
.row.past b { font-weight: 500; }

/* Price ladder */
.ladder { width: 100%; border-collapse: collapse; margin-top: 44px; }
.ladder th, .ladder td { text-align: left; vertical-align: top; padding: 22px 24px 22px 0; border-top: 1px solid var(--line); }
.ladder tr:last-child th, .ladder tr:last-child td { border-bottom: 1px solid var(--line); }
.ladder th { font: 500 24px/1.2 var(--serif); width: 28%; }
.ladder th a { color: var(--ink); }
.ladder td.p { font-weight: 700; width: 18%; white-space: nowrap; }
.ladder td { color: var(--ink-soft); font-size: 15.5px; }
.ladder tr.hl th, .ladder tr.hl td.p { color: var(--brand); }

/* Principles and FAQ */
.princ { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.princ li { border-top: 1px solid var(--line); padding-top: 16px; font-size: 15px; color: var(--ink-soft); }
.princ b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--ink-dim); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); max-width: 52em; }

/* Closing band */
.end { background: var(--dark); color: #fff; text-align: center; padding-block: 104px 96px; position: relative; overflow: hidden; }
.end h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); max-width: 16em; margin: 0 auto 18px; }
.end p { color: #c9cfe6; max-width: 38em; margin: 0 auto 30px; font-size: 18px; }
.end .ctas { justify-content: center; }
.end .btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.end .btn.line:hover { background: rgba(255,255,255,.08); }
.end svg.stars { position: absolute; left: 50%; top: 50%; width: 760px; transform: translate(-50%, -50%); opacity: .12; pointer-events: none; }

/* Inner pages */
.page-head { padding-block: 64px 48px; border-bottom: 1px solid var(--line); background: var(--tint); }
.page-head h1 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.05; max-width: 18em; }
.page-head .lead { margin-top: 22px; }
.page-head .ref { font: 500 14px/1.4 var(--mono); color: var(--ink-soft); margin-top: 14px; }
.page-body { padding-block: 56px 96px; }
.page-body > * + * { margin-top: 56px; }
.page-body > section + section { margin-top: 72px; }
.page-body > * + .src { margin-top: 24px; }
.page-body > .src + .src { margin-top: 4px; }
.page-body h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; color: var(--ink); display: flex; flex-direction: column; }
a.card:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 10px 24px rgba(13,26,79,.07); }
.card h3 { font: 500 26px/1.15 var(--serif); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; }
.card .meta { margin-top: auto; padding-top: 10px; font-size: 13.5px; color: var(--ink-dim); }
.card .badge { align-self: flex-start; font: 700 11.5px/1 var(--mono); letter-spacing: .04em; color: var(--brand); background: var(--brand-soft); border-radius: 6px; padding: 6px 8px; margin-bottom: 14px; }
.card.tinted { background: var(--tint); border-color: var(--tint-2); }
.codes { font: 600 12px/1.8 var(--mono); color: var(--brand); }
.code { display: inline-block; font: 700 11.5px/1 var(--mono); color: var(--brand); background: var(--brand-soft); border-radius: 5px; padding: 5px 7px; }
.tag-gate { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--gold-deep); background: var(--gold-soft); border-radius: 5px; padding: 5px 7px; }
.src { font-size: 13.5px; color: var(--ink-dim); margin-top: 18px; }
.warn { border-left: 3px solid var(--red); padding: 14px 18px; background: #fdf3f2; border-radius: 0 8px 8px 0; max-width: 60em; }
.prose { max-width: 46em; }
.prose p { color: var(--ink-soft); }
.prose p strong { color: var(--ink); }
.obl { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
.obl .d { font-weight: 700; }
.obl .soon { display: block; color: var(--brand); font-weight: 600; font-size: 14px; margin-top: 4px; }
.obl h3 { margin-bottom: 8px; }
.obl p { color: var(--ink-soft); max-width: 52em; margin-bottom: 6px; }
.obl .who { font-size: 14px; color: var(--ink-dim); }
pre { background: var(--tint); border: 1px solid var(--line); padding: 20px; overflow-x: auto; font: 13.5px/1.6 var(--mono); border-radius: 10px; }
table.map { width: 100%; border-collapse: collapse; }
table.map th, table.map td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
table.map thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); border-top: 0; }

/* Controls and the self-check result */
.ctl { list-style: none; padding: 0; margin: 0; }
.ctl li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 52px minmax(0, 1fr) 140px; gap: 6px 14px; align-items: baseline; }
.ctl .st { font: 700 12px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .07em; text-align: right; }
.ctl li.gap .st { color: var(--red); } .ctl li.part .st { color: var(--gold-deep); } .ctl li.ok .st { color: var(--green); }
.ctl li.na { color: var(--ink-dim); }
.ctl .why { grid-column: 2 / 4; font-size: 14.5px; color: var(--ink-soft); }
.score { font: 400 clamp(64px, 8vw, 112px)/1 var(--serif); color: var(--deep-2); }

/* Forms */
form.check { max-width: 900px; }
form.check fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 28px 0; }
form.check legend { font: 500 24px/1.25 var(--serif); padding: 0 0 14px; }
.qn { font: 700 13px var(--mono); color: var(--gold-deep); margin-right: 8px; vertical-align: 3px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-size: 15px; background: #fff; }
.opts label:hover { border-color: var(--brand); }
.opts input { accent-color: var(--brand); margin-top: 4px; }
.opts label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.hp { position: absolute; left: -9999px; }
.leadf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; max-width: 900px; }
.leadf label { display: block; font-weight: 600; font-size: 14px; }
.leadf .full { grid-column: 1 / -1; }
.leadf input, .leadf select, .leadf textarea { display: block; width: 100%; margin-top: 6px; font: 15.5px var(--sans); padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; }
.leadf input:focus, .leadf select:focus, .leadf textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: 14.5px; color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.foot a { color: var(--ink-soft); }
.foot a:hover { color: var(--ink); }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-small { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-dim); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .princ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero .wrap, .split, .split.even, .split.side { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .probs, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .blocks, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .block { min-height: 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 120px minmax(0, 1fr) 24px; }
  .row .r { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .band { padding-block: 64px; }
  .hero .wrap { padding-block: 44px; }
  .menu { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; margin: 0 -8px 8px; }
  .top .btn { display: none; }
  .steps, .probs, .grid2, .princ, .opts, .leadf { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr) 20px; gap: 6px 12px; }
  .row .d { grid-column: 1 / -1; }
  .obl { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ladder th, .ladder td { display: block; width: auto; padding: 4px 0; border: 0; }
  .ladder tr { display: block; border-top: 1px solid var(--line); padding: 16px 0; }
  .ctl li { grid-template-columns: 48px minmax(0, 1fr); }
  .ctl .st { grid-column: 2; text-align: left; }
  .ctl .why { grid-column: 2; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
.ink text.r { text-anchor: end; }
.ink .mono { font: 12px var(--mono); }
/* fixes after the first look (2026-11-25) */
.hero .wrap { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.hero h1 { font-size: clamp(42px, 4.7vw, 72px); }
.plate .hl { stroke: var(--ink-dim); stroke-width: .8; }
.plate .fill { fill: var(--ink); stroke: none; }
.end svg.stars { opacity: .35; }
.card .badge { font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.split { align-items: start; }
.warn { margin: 0 0 28px; }
.ctl .code { justify-self: start; }
