/* Mini Rugby Semplice — public site.
   Brand direction C, the lace (design/brand/notes.md). Direction B (the posts) changes the
   typefaces only and switches in from the BRAND constant in build.mjs (html[data-brand]).
   Colour comes from a PALETTE (html[data-palette]); the four answer colours never change with it.
   The hero layout is HERO (html[data-hero]): 'stacked' or 'horizontal'. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/fraunces-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Product scale — identical in every palette. */
  --strength: #1b6ea8;
  --solid: #2d5e31;
  --weakness: #a65504;
  --notseen: #636a6e;
  --safety: #7a2e0f;
  --safety-soft: #fdf1e8;
  /* Palette "forest" is the default; the blocks below override it. */
  --hero-bg: #0f3326;
  --hero-ink: #ffffff;
  --hero-muted: #b4cbc0;
  --hero-line: #2a4f41;
  --hero-accent: #9fdcb9;
  --hero-accent-hover: #bfe9d1;
  --on-hero-accent: #0f3326;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #16211c;
  --muted: #5b6862;
  --line: #dfe4e0;
  --accent: #1a4d3a;
  --accent-soft: #e3ede7;
  --accent-hover: #123627;
  --on-accent-soft: #cfe0d6;   /* quieter text on the accent bands */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --w-display: 700;
  --headline-style: italic;
  --headline-weight: 400;
  --radius-screen: 10px;
  --radius-btn: 8px;
  --gutter: 16px;
  --measure: 58ch;
}
/* Palettes. Each sets the dark hero, the text on it, the accent used for the mark and the
   buttons on the dark, and the light page's accent, ink, muted and line. */
html[data-palette="forest"] {
  --hero-bg: #0f3326;
  --hero-ink: #ffffff;
  --hero-muted: #b4cbc0;
  --hero-line: #2a4f41;
  --hero-accent: #9fdcb9;
  --hero-accent-hover: #bfe9d1;
  --on-hero-accent: #0f3326;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #16211c;
  --muted: #5b6862;
  --line: #dfe4e0;
  --accent: #1a4d3a;
  --accent-soft: #e3ede7;
  --accent-hover: #123627;
  --on-accent-soft: #cfe0d6;
}
html[data-palette="navy-gold"] {
  --hero-bg: #0c1f3d;
  --hero-ink: #ffffff;
  --hero-muted: #b6c2d6;
  --hero-line: #27405f;
  --hero-accent: #e8bf4f;
  --hero-accent-hover: #f2cf6e;
  --on-hero-accent: #14213a;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #121a28;
  --muted: #596476;
  --line: #dde2ea;
  --accent: #0c1f3d;
  --accent-soft: #e7edf6;
  --accent-hover: #27405f;
  --on-accent-soft: #b6c2d6;
}
html[data-palette="red-yellow"] {
  --hero-bg: #7a1420;
  --hero-ink: #ffffff;
  --hero-muted: #f0c7cb;
  --hero-line: #9a3540;
  --hero-accent: #f6c945;
  --hero-accent-hover: #ffd966;
  --on-hero-accent: #3b0a11;
  --bg: #f8f6f4;
  --surface: #ffffff;
  --ink: #1e1416;
  --muted: #675357;
  --line: #e8dedf;
  --accent: #9a1b28;
  --accent-soft: #fbe9ea;
  --accent-hover: #7a1420;
  --on-accent-soft: #f3cfd3;
}
html[data-palette="charcoal-lime"] {
  --hero-bg: #1d2321;
  --hero-ink: #ffffff;
  --hero-muted: #b3bcb7;
  --hero-line: #38403d;
  --hero-accent: #c9ef5e;
  --hero-accent-hover: #d8f583;
  --on-hero-accent: #1a2210;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #181c1a;
  --muted: #5c6661;
  --line: #dfe3df;
  --accent: #466a14;
  --accent-soft: #eef5dc;
  --accent-hover: #364f0f;
  --on-accent-soft: #e0ecc6;
}
/* Direction B, the posts: one family, two weights. Colour comes from the palette. */
html[data-brand="B"] {
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --w-display: 800;
  --headline-style: normal;
  --headline-weight: 800;
}
html[data-brand="B"] .hero__name, html[data-brand="B"] .brand__name, html[data-brand="B"] .footer__logo { letter-spacing: -.04em; }
html[data-brand="B"] body { font-weight: 500; }
html[data-brand="B"] .founder__why, html[data-brand="B"] .rule__text { font-family: var(--font-body); font-weight: 500; }

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--strength); outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: var(--w-display); font-family: var(--font-display); overflow-wrap: anywhere; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.01em; }
h3 { font-size: clamp(22px, 2.6vw, 28px); }
h4 { font-size: 18px; font-family: var(--font-body); font-weight: 600; margin-bottom: .6em; }
p { margin: 0 0 1em; overflow-wrap: anywhere; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
dl { margin: 0; }
dd { margin: 0; }
.lead { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mark { width: 1em; height: 1em; flex: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
section { padding: 56px 0; }
@media (min-width: 760px) { section { padding: 88px 0; } }
.section-head { margin-bottom: 40px; }
.section-head .lead { margin-top: -.25em; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--accent); padding: 12px 16px; border-radius: var(--radius-btn); z-index: 10; }
.skip:focus { left: 8px; }

/* Header: sits on the hero's dark, so the top of the page is one block */
.site-header { background: var(--hero-bg); color: var(--hero-ink); border-bottom: 1px solid var(--hero-line); }
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--hero-ink); text-decoration: none; min-height: 44px; }
.brand .mark { width: 30px; height: 30px; color: var(--hero-accent); }
.brand__name { font-family: var(--font-display); font-weight: var(--w-display); font-size: 21px; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 0 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--hero-ink); text-decoration: none; font-size: 15px; border-radius: var(--radius-btn); }
.nav a:hover { background: rgba(255,255,255,.12); }
.nav .lang { color: var(--hero-accent); font-weight: 600; }
.site-header a:focus-visible { outline-color: var(--hero-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 24px; border-radius: var(--radius-btn);
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 600; text-decoration: none; font-size: 16px;
}
.btn:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn--primary { background: var(--hero-accent); border-color: var(--hero-accent); color: var(--on-hero-accent); }
.btn--primary:hover { background: var(--hero-accent-hover); border-color: var(--hero-accent-hover); color: var(--on-hero-accent); }
.link { font-weight: 600; display: inline-block; padding: 10px 0; line-height: 24px; }
.ctas { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 36px; }
.cta { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cta .btn { align-self: flex-start; min-width: 132px; }
.cta__help { color: var(--muted); font-size: 14px; max-width: 30ch; }

/* Hero: dark ground, the name, the idea, the two doors in, and one real screen.
   Two layouts from html[data-hero]: "stacked" (lace above the name on two lines) and
   "horizontal" (lace and name on one line as the first element). */
.hero { background: var(--hero-bg); color: var(--hero-ink); padding: 48px 0 0; overflow: hidden; }
@media (min-width: 760px) { .hero { padding-top: 80px; } }
.hero a:focus-visible { outline-color: var(--hero-ink); }
.hero__grid { display: grid; gap: 0; }
.hero__name {
  display: flex; flex-direction: column; gap: .08em; margin: 0 0 .35em;
  font-family: var(--font-display); font-weight: var(--w-display);
  font-size: clamp(50px, 8.2vw, 104px); line-height: .96; letter-spacing: -.025em;
  max-width: 9.2ch; color: var(--hero-ink);
}
.hero__name .mark { width: .78em; height: .78em; margin-left: -.1em; color: var(--hero-accent); }
.hero__headline {
  font-family: var(--font-display); font-style: var(--headline-style); font-weight: var(--headline-weight);
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.1; letter-spacing: -.01em;
  max-width: 14ch; margin: 0 0 .35em; color: var(--hero-accent);
}
.hero__line { font-size: clamp(19px, 2vw, 23px); line-height: 1.4; max-width: 24ch; color: var(--hero-ink); }
.hero .cta__help { color: var(--hero-muted); }
.hero .btn { border-color: var(--hero-ink); color: var(--hero-ink); }
.hero .btn:hover { background: rgba(255,255,255,.12); border-color: var(--hero-ink); color: var(--hero-ink); }
.hero .btn--primary { background: var(--hero-accent); border-color: var(--hero-accent); color: var(--on-hero-accent); }
.hero .btn--primary:hover { background: var(--hero-accent-hover); border-color: var(--hero-accent-hover); color: var(--on-hero-accent); }
.hero__screen { margin-top: 48px; }
@media (min-width: 760px) { .hero__screen { margin-top: 72px; } }
.screen--crop { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-screen) var(--radius-screen) 0 0; border: 1px solid var(--hero-line); border-bottom: 0; background: var(--bg); }
@media (min-width: 760px) { .screen--crop { aspect-ratio: 16 / 6.5; } }
.screen--crop img { border: 0; border-radius: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
/* Stacked, wide: the name on the left, the idea beside it on the same baseline, the screen under both. */
@media (min-width: 1000px) {
  html[data-hero="stacked"] .hero__grid { grid-template-columns: 7fr 5fr; gap: 0 48px; align-items: start; }
  html[data-hero="stacked"] .hero__name { margin-bottom: 0; }
  html[data-hero="stacked"] .hero__screen { grid-column: 1 / -1; }
  html[data-hero="stacked"] .ctas { margin-top: 28px; gap: 16px 24px; }
  html[data-hero="stacked"] .hero .cta__help { max-width: 20ch; }
}
/* Horizontal: the lace and the name on one line at the top; the idea takes the big type. */
html[data-hero="horizontal"] .hero__name {
  flex-direction: row; align-items: center; gap: .3em; max-width: none; white-space: nowrap;
  font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.02em; margin-bottom: 1.1em;
}
html[data-hero="horizontal"] .hero__name .mark { width: 1em; height: 1em; margin-left: -.08em; }
html[data-hero="horizontal"] .hero__headline { font-size: clamp(40px, 6.4vw, 84px); max-width: 11ch; line-height: 1.02; letter-spacing: -.02em; margin-bottom: .3em; }
html[data-hero="horizontal"] .hero__line { font-size: clamp(20px, 2.1vw, 25px); max-width: 26ch; }
@media (min-width: 1000px) {
  html[data-hero="horizontal"] .hero__grid { grid-template-columns: 11fr 9fr; gap: 0 56px; align-items: end; }
  html[data-hero="horizontal"] .hero__name { grid-column: 1 / -1; }
  html[data-hero="horizontal"] .hero__copy { padding-bottom: 56px; }
  html[data-hero="horizontal"] .ctas { margin-top: 32px; gap: 16px 28px; }
  html[data-hero="horizontal"] .hero .cta__help { max-width: 22ch; }
  html[data-hero="horizontal"] .hero__screen { margin-top: 0; align-self: end; }
  html[data-hero="horizontal"] .screen--crop { aspect-ratio: 5 / 4; }
  html[data-hero="horizontal"] .screen--crop img { width: 150%; height: auto; max-width: none; }
}

/* The chain: four steps on one lace */
.chain { background: var(--bg); border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0 0 0 32px; position: relative; }
.step { position: relative; display: grid; gap: 24px; padding: 0 0 56px; }
.step::before { content: ""; position: absolute; left: -32px; top: 10px; width: 16px; height: 4px; border-radius: 2px; background: var(--accent); }
.step::after { content: ""; position: absolute; left: -26px; top: 10px; bottom: -10px; width: 4px; border-radius: 2px; background: var(--accent); }
.step:first-child::before, .step--last::before { width: 10px; left: -29px; }
.step--last { padding-bottom: 0; }
.step--last::after { display: none; }
@media (min-width: 760px) {
  .steps { padding-left: 56px; }
  .step { grid-template-columns: minmax(240px, 5fr) 7fr; gap: 48px; align-items: start; padding-bottom: 88px; }
  .step::before { left: -56px; width: 24px; top: 16px; }
  .step::after { left: -46px; top: 16px; bottom: -16px; }
  .step:first-child::before, .step--last::before { width: 16px; left: -52px; }
  .step--last { padding-bottom: 0; }
}
.step h3 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: .45em; }
.step__text p { max-width: 42ch; }
.screen { margin: 0; }
.screen img { border: 1px solid var(--line); border-radius: var(--radius-screen); background: var(--surface); }
.screen figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.screen--phone { max-width: 290px; }
.screens-note { margin-top: 40px; max-width: 70ch; }

.answers__h { margin-top: 28px; }
.answers { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.answer { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-btn); color: #fff; font-weight: 600; font-size: 15px; }
.answer--strength { background: var(--strength); }
.answer--solid { background: var(--solid); }
.answer--weakness { background: var(--weakness); }
.answer--notseen { background: var(--notseen); }

.rule { margin-top: 72px; border-top: 1px solid var(--line); padding-top: 40px; display: grid; gap: 16px 48px; }
@media (min-width: 760px) { .rule { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; } .rule h3 { grid-column: 1; } .rule__text { grid-column: 2; grid-row: 1 / 3; } .rule__target { grid-column: 1; align-self: start; } }
.rule__text { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; max-width: 40ch; }
.rule__target { font-weight: 600; max-width: 34ch; }

.roles { margin-top: 72px; border-top: 1px solid var(--line); padding-top: 40px; }
.roles h3 { font-size: 22px; }
.roles__list { display: grid; gap: 20px 32px; margin-top: 24px; }
@media (min-width: 600px) { .roles__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .roles__list { grid-template-columns: repeat(4, 1fr); } }
.roles__list dt { font-weight: 600; margin-bottom: 4px; }
.roles__list dd { color: var(--muted); font-size: 16px; }

/* The line we hold: the one green band, in the founder's voice */
.line { background: var(--hero-bg); color: var(--hero-ink); }
.line .eyebrow, .line h2 em { color: var(--hero-accent); }
.line a { color: #fff; }
.line__h { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 22px; color: var(--on-accent-soft); margin-bottom: .8em; }
.line__text { font-family: var(--font-display); font-weight: var(--w-display); font-size: clamp(30px, 4.8vw, 60px); line-height: 1.06; letter-spacing: -.015em; max-width: 17ch; margin-bottom: .9em; }
.line__grid { display: grid; gap: 40px 64px; border-top: 1px solid rgba(255,255,255,.28); padding-top: 40px; }
@media (min-width: 760px) { .line__grid { grid-template-columns: 5fr 7fr; } }
.line h3 { font-size: 22px; margin-bottom: .5em; }
.line__flag p { font-size: 18px; max-width: 36ch; }
.fixed { display: grid; gap: 16px; }
.fixed dt { font-weight: 600; }
.fixed dd { color: var(--on-accent-soft); max-width: 56ch; }
.line__note { color: var(--on-accent-soft); margin-top: 24px; font-size: 15px; }

/* The record */
.record { background: var(--surface); }
.record__grid { display: grid; gap: 40px 64px; }
@media (min-width: 760px) { .record__grid { grid-template-columns: 5fr 7fr; } }
.record__data h3 { font-size: 22px; }
.held { display: grid; gap: 0; margin: 20px 0 24px; border-top: 1px solid var(--line); }
.held > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px 24px; }
@media (min-width: 600px) { .held > div { grid-template-columns: 130px 1fr; } }
.held dt { font-weight: 600; }
.held__yes dt { color: var(--accent); }
.held__no dt { color: var(--muted); }
.held dd { font-size: 18px; max-width: 50ch; }
.held__yes dd { font-family: var(--font-display); font-weight: var(--w-display); font-size: 22px; line-height: 1.3; }

/* Who it is for, what it costs */
.pricing { background: var(--bg); border-top: 1px solid var(--line); }
.pricing__grid { display: grid; gap: 48px 64px; }
@media (min-width: 760px) { .pricing__grid { grid-template-columns: 4fr 8fr; } }
.bands { list-style: none; margin: 36px 0 32px; padding: 0; display: grid; gap: 20px; }
@media (min-width: 600px) { .bands { grid-template-columns: repeat(3, 1fr); gap: 0 32px; } }
.band { display: grid; gap: 2px; border-top: 3px solid var(--accent); padding-top: 14px; }
.band__label { font-weight: 600; font-size: 15px; }
.band__price { font-family: var(--font-display); font-weight: var(--w-display); font-size: clamp(40px, 4.8vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-top: 4px; }
.band__unit { color: var(--muted); font-size: 15px; }

/* Pilots and the founder */
.where { background: var(--surface); border-top: 1px solid var(--line); }
.countries { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px 40px; }
@media (min-width: 720px) { .countries { grid-template-columns: repeat(3, 1fr); } }
.country { border-top: 1px solid var(--line); padding-top: 20px; }
.country h3 { font-size: 24px; margin-bottom: .1em; }
.country__when { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: .8em; }
.country p:last-child { color: var(--muted); font-size: 16px; }
.where__unions { margin-top: 32px; max-width: 64ch; }
.founder { margin-top: 88px; border-top: 1px solid var(--line); padding-top: 40px; display: grid; gap: 24px 64px; }
@media (min-width: 760px) { .founder { grid-template-columns: 5fr 7fr; } }
.founder__name { font-family: var(--font-display); font-weight: var(--w-display); font-size: 26px; margin-bottom: .4em; }
.founder__who .muted { font-size: 16px; max-width: 40ch; }
.founder__why { font-family: var(--font-display); font-weight: 400; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; max-width: 52ch; }

/* Closing: try it, ask us */
.close { background: var(--accent-soft); }
.close__grid { display: grid; gap: 40px 64px; }
@media (min-width: 760px) { .close__grid { grid-template-columns: 7fr 5fr; } }
.close h2 { font-size: clamp(26px, 3vw, 34px); }
.close p { max-width: 50ch; }
.close .btn { margin-top: 8px; }
.email { font-size: 18px; }

/* Footer: the stacked logo, the operator line, the documents */
.site-footer { background: var(--hero-bg); color: var(--hero-muted); padding: 56px 0 48px; font-size: 15px; }
.footer__grid { display: grid; gap: 40px 64px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 5fr 7fr; } }
.footer__logo { display: flex; flex-direction: column; gap: .1em; margin: 0; color: #fff; font-family: var(--font-display); font-weight: var(--w-display); font-size: clamp(36px, 4vw, 48px); line-height: 1; letter-spacing: -.02em; max-width: 9ch; }
.footer__logo .mark { width: 1.1em; height: 1.1em; margin-left: -.12em; color: var(--hero-accent); }
.site-footer a { color: #fff; }
.operator { color: #fff; font-weight: 600; font-size: 16px; }
.footer-links { list-style: none; padding: 0; margin: 8px 0 16px -8px; display: flex; flex-wrap: wrap; gap: 0 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.site-footer .small { font-size: 14px; }

/* The home page is the hero alone: it fills the screen, the footer sits on the same dark. */
.main--home { background: var(--hero-bg); }
.main--home .hero { min-height: calc(100vh - 64px); display: flex; align-items: center; padding: 56px 0 72px; }
.main--home .hero__grid { width: 100%; }
/* On the home page the footer is one quiet line on the dark. */
.site-footer--home { background: var(--hero-bg); color: var(--hero-muted); border-top: 1px solid var(--hero-line); padding: 8px 0; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.site-footer--home .operator { color: var(--hero-muted); font-weight: 500; font-size: 14px; margin: 0; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer--home .footer-links { margin: 0 0 0 -8px; }
.site-footer--home a { color: var(--hero-ink); font-size: 14px; }

/* ---- Inner pages (how it works, for clubs, privacy, try, ask us) ---- */
/* The menu names the page you are on. */
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--hero-accent); border-radius: var(--radius-btn) var(--radius-btn) 0 0; }

/* Page head: the page's name and its one-sentence lead, on white under the navy header. */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 48px 0 48px; }
@media (min-width: 760px) { .page-head { padding: 72px 0 64px; } }
.page-head__grid { display: grid; gap: 16px 64px; align-items: start; }
@media (min-width: 900px) { .page-head__grid { grid-template-columns: 5fr 7fr; } }
.page-head h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.02em; margin: 0; max-width: 12ch; }
.page-head h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--hero-accent); margin-top: 22px; }
.page-head__lead { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; max-width: 44ch; margin: 0; }
@media (min-width: 900px) { .page-head__lead { padding-top: .4em; } }

/* How it works: the squad picture after the four steps, then the answers on their own. */
.outcome { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); display: grid; gap: 24px; }
@media (min-width: 760px) { .outcome { margin-top: 72px; padding-top: 64px; grid-template-columns: minmax(240px, 5fr) 7fr; gap: 48px; align-items: start; } }
.outcome h3 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: .45em; }
.answers-block { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 40px; }
.answers-block h3 { font-size: 22px; }
.answers-block .answers { margin-top: 20px; }
.answers-block .muted { max-width: 48ch; }

/* The framework, in one breath */
.breath { background: var(--surface); border-top: 1px solid var(--line); }
.breath__list { display: grid; gap: 24px 32px; margin-top: 32px; }
@media (min-width: 600px) { .breath__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .breath__list { grid-template-columns: repeat(4, 1fr); } }
.breath__list > div { border-top: 3px solid var(--accent); padding-top: 14px; }
.breath__list dt { font-family: var(--font-display); font-weight: var(--w-display); font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.breath__list dd { color: var(--muted); font-size: 16px; }
.breath__note { margin-top: 32px; max-width: 60ch; }
.breath .roles { margin-top: 64px; }

/* The line, with the way into the platform's own page */
.line__app { margin-top: 8px; }
.line__app .link { color: #fff; }

/* For clubs: the administrator's hour */
.hour { background: var(--bg); }
.hour__grid { display: grid; gap: 32px 64px; }
@media (min-width: 900px) { .hour__grid { grid-template-columns: 5fr 7fr; } }
.hour__list { list-style: none; margin: 0; padding: 0; counter-reset: hour; display: grid; gap: 0; border-top: 1px solid var(--line); }
.hour__list li { counter-increment: hour; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hour__list li::before { content: counter(hour); grid-row: 1 / 3; font-family: var(--font-display); font-weight: var(--w-display); font-size: 40px; line-height: 1; color: var(--accent); }
.hour__list h3 { font-size: 22px; margin-bottom: 2px; }
.hour__list p { color: var(--muted); font-size: 16px; max-width: 52ch; }

/* The two meetings */
.meetings { background: var(--surface); border-top: 1px solid var(--line); }
.meet__grid { display: grid; gap: 28px 40px; margin-top: 32px; }
@media (min-width: 720px) { .meet__grid { grid-template-columns: 1fr 1fr; } }
.meet { border-top: 1px solid var(--line); padding-top: 20px; }
.meet__when { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: .6em; }
.meet h3 { font-size: 24px; }
.meet p:last-child { color: var(--muted); font-size: 16px; max-width: 46ch; }
.meetings .roles { margin-top: 64px; }

/* The founder and the clubs on the platform */
.founder-section { background: var(--surface); border-top: 1px solid var(--line); }
.founder-section .founder { margin-top: 0; border-top: 0; padding-top: 0; }
.wall { margin-top: 88px; border-top: 1px solid var(--line); padding-top: 40px; }
.wall h2 { font-size: clamp(26px, 3vw, 34px); }
.wall__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 600px) { .wall__list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.club { display: grid; grid-template-columns: 72px 1fr; gap: 2px 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-screen); padding: 20px; background: var(--bg); }
/* The logo's spot. Empty until the club's file arrives: a quiet lace on the ground, no broken image. */
.club-logo { grid-row: 1 / 3; margin: 0; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.club-logo img { width: 100%; height: 100%; object-fit: contain; }
.club-logo:empty::before { content: ""; width: 4px; height: 36px; border-radius: 2px; background: var(--on-accent-soft); }
.club__name { font-family: var(--font-display); font-weight: var(--w-display); font-size: 22px; margin: 0; align-self: end; }
.club__since { color: var(--muted); font-size: 15px; margin: 0; align-self: start; }

/* Privacy: the plain lists */
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 64ch; }
.facts li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 17px; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 14px; height: 4px; border-radius: 2px; background: var(--accent); }
.kept { background: var(--bg); }
.rights { background: var(--surface); border-top: 1px solid var(--line); }
.rights__grid, .docs__grid { display: grid; gap: 32px 64px; }
@media (min-width: 900px) { .rights__grid, .docs__grid { grid-template-columns: 5fr 7fr; } }
.rights__list { list-style: none; margin: 0; padding: 0; counter-reset: right; display: grid; gap: 0; border-top: 1px solid var(--line); }
.rights__list li { counter-increment: right; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
.rights__list li::before { content: counter(right); font-weight: var(--w-display); font-size: 32px; color: var(--accent); }
.docs { background: var(--bg); border-top: 1px solid var(--line); }
.docs__links p { max-width: 50ch; }
.operator-line { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; }

/* Try it: the facts, then the one big door */
.tryit { background: var(--bg); }
.tryit__grid { display: grid; gap: 40px 64px; }
@media (min-width: 900px) { .tryit__grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.tryit__text .facts { margin-bottom: 28px; }
.tryit__note { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.tryit__go { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-screen); padding: 32px 28px; }
@media (min-width: 900px) { .tryit__go { position: sticky; top: 24px; } }
.btn--big { min-height: 64px; font-size: 20px; padding: 14px 32px; width: 100%; }
.tryit__go .cta__help { max-width: none; width: 100%; }
.tryit__signin { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Ask us */
.contact { background: var(--bg); }
.contact__grid { display: grid; gap: 40px 64px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 7fr 5fr; } }
.contact__email h2 { font-size: 22px; font-family: var(--font-body); font-weight: 600; color: var(--muted); }
.email--big { font-size: clamp(22px, 3vw, 34px); margin-bottom: 20px; }
.email--big .link { font-family: var(--font-display); font-weight: var(--w-display); letter-spacing: -.01em; line-height: 1.2; }
.contact__what h3 { font-size: 22px; }
.contact__what .facts { margin-top: 20px; }
.ctas--contact { margin-top: 32px; }
