/* Club Roster marketing site (site/public). Its own look, separate from the app's: ink and lime,
   Space Grotesk headings, Inter text, real product screenshots in simple device frames. Spacing,
   type and colour come only from the tokens below. */
:root {
  --ink: #111418;
  --ink-2: #1b2027;
  --ink-3: #2a313a;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #e3e3da;
  --line-dark: rgba(255, 255, 255, .14);
  --muted: #5b6168;
  --muted-dark: rgba(255, 255, 255, .7);
  --lime: #c6f25e;
  --lime-soft: #eefbc9;
  --lime-ink: #304700;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 1px 2px rgba(17, 20, 24, .06), 0 16px 40px rgba(17, 20, 24, .12);
  --shadow-lg: 0 2px 4px rgba(17, 20, 24, .08), 0 30px 70px rgba(17, 20, 24, .22);
  --wrap: 1160px;
  --head: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 6.2vw, 72px); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
h3 { font-size: 22px; }
h4 { font-size: 17px; letter-spacing: -.01em; }
p, li { max-width: 68ch; }
a { color: inherit; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible, body :focus-visible { outline-color: #7da91c; }
.dark :focus-visible { outline-color: var(--lime); }
.skip { position: absolute; left: var(--s4); top: -60px; z-index: 50; padding: var(--s2) var(--s4); border-radius: var(--r-sm); background: var(--lime); color: var(--ink); font-weight: 600; }
.skip:focus { top: var(--s4); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--s5)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons and chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font-family: var(--body); font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d4f77c; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(127, 127, 127, .1); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn .icon { width: 18px; height: 18px; }
.eyebrow { display: inline-flex; justify-self: start; align-items: center; gap: var(--s2); padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--lime-soft); color: var(--lime-ink); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #7da91c; }
.dark .eyebrow { background: rgba(198, 242, 94, .14); color: var(--lime); }
.dark .eyebrow::before { background: var(--lime); }
.kicker { color: #6b8f12; font-family: var(--head); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.dark .kicker { color: var(--lime); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(247, 247, 242, .92); border-bottom: 1px solid transparent; backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: border-color .2s ease; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: var(--s6); min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--head); font-size: 21px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.logo svg { width: 32px; height: 32px; flex: none; }
.dark .logo { color: var(--white); }
.nav { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:not(.btn):hover { background: rgba(17, 20, 24, .06); }
.nav a[aria-current="page"] { background: rgba(17, 20, 24, .08); font-weight: 600; }
.nav .btn { margin-left: var(--s3); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn .icon { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s3) var(--s5) var(--s5); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(17, 20, 24, .08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:not(.btn):hover { background: none; }
  .nav a[aria-current="page"] { background: none; font-weight: 700; }
  .nav .btn { margin: var(--s4) 0 0; min-height: 48px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s9) 0; }
.section.tight { padding: var(--s8) 0; }
.section.white { background: var(--white); }
.dark { background: var(--ink); color: var(--white); }
.dark .muted, .dark .lead { color: var(--muted-dark); }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; }
.head-block { display: grid; gap: var(--s4); max-width: 760px; margin-bottom: var(--s7); }
.head-block.center { margin-inline: auto; text-align: center; justify-items: center; }
.head-block.center p { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--s8) 0 var(--s9); background: var(--ink); color: var(--white); isolation: isolate; }
/* The signature: a faint roster grid, with a few shifts on it. */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image:
  linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 120px 48px; mask-image: linear-gradient(180deg, #000 30%, transparent 92%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--s7); }
.hero-in { display: grid; gap: var(--s5); justify-items: start; }
.hero h1 { color: var(--white); font-size: clamp(40px, 5.2vw, 66px); }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero .lead { max-width: 640px; color: var(--muted-dark); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s2); }
.small-note { color: var(--muted-dark); font-size: 14px; }
.hero-art { position: relative; padding: 0 0 var(--s5) var(--s7); }
.hero-art .laptop { width: 100%; }
.hero-art .phone { position: absolute; left: 0; bottom: -24px; width: 26%; min-width: 120px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin-top: var(--s4); }
}
@media (max-width: 600px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-art { padding-left: 0; }
  .hero-art .phone { position: relative; left: auto; bottom: auto; width: 52%; margin: -48px 0 0 var(--s4); }
}

/* ---------- Device frames (CSS only) ---------- */
.laptop { position: relative; }
.laptop .screen { overflow: hidden; border: 10px solid #20262e; border-bottom-width: 14px; border-radius: 18px 18px 6px 6px; background: #20262e; box-shadow: var(--shadow-lg); }
.laptop .screen img { width: 100%; border-radius: 4px; }
.laptop::after { content: ''; display: block; height: 16px; margin: 0 -6%; border-radius: 0 0 22px 22px; background: linear-gradient(#cfd2d6, #9da2a8); box-shadow: 0 18px 30px rgba(0, 0, 0, .25); }
.phone { position: relative; padding: 9px; border-radius: 40px; background: #16191e; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a4049; }
.phone img { width: 100%; border-radius: 31px; }
.phone::before { content: ''; position: absolute; top: 15px; left: 50%; width: 30%; height: 18px; border-radius: 999px; background: #16191e; transform: translateX(-50%); z-index: 1; }
.shot { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.shot img { width: 100%; }
.dark .shot { border-color: var(--line-dark); }

/* ---------- Built for strip ---------- */
.for-strip { padding: var(--s8) 0 var(--s7); }
.for-strip p { margin: 0 auto var(--s4); color: var(--muted); font-size: 15px; font-weight: 500; text-align: center; }
.for-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s3); padding: 0; list-style: none; }
.for-list li { display: inline-flex; align-items: center; gap: var(--s2); padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-family: var(--head); font-size: 16px; font-weight: 600; }
.for-list .icon { width: 20px; height: 20px; color: #6b8f12; }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: var(--s5); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { display: grid; align-content: start; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.paper .card, .section.white .card.soft { background: var(--paper); }
.dark .card { border-color: var(--line-dark); background: var(--ink-2); }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lime-soft); color: var(--lime-ink); }
.dark .icon-tile { background: rgba(198, 242, 94, .14); color: var(--lime); }
.card p { color: var(--muted); }
.dark .card p { color: var(--muted-dark); }
.card a.more, .type-card a.more { margin-top: auto; padding-top: var(--s2); color: inherit; font-weight: 600; text-decoration: none; }
.card a.more::after, .type-card a.more::after { content: ' →'; }
.card a.more:hover, .type-card a.more:hover { text-decoration: underline; }
.pillar { padding: var(--s6) var(--s6) var(--s5); }
.card .card-title { font-size: clamp(26px, 3vw, 34px); }
.pillar .num { color: #6b8f12; font-family: var(--head); font-size: 15px; font-weight: 700; }

/* ---------- Feature rows ---------- */
.rows { display: grid; gap: var(--s9); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--s8); }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .row-text { order: 2; }
.row-text { display: grid; gap: var(--s4); }
.row-art { position: relative; }
.ticks { display: grid; gap: var(--s3); padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23111418' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
/* A screenshot with a phone beside it, just overlapping its edge. */
.art-pair { display: grid; grid-template-columns: minmax(0, 1fr) 30%; align-items: center; }
.art-pair .phone { margin-left: -12%; }
.art-pair.narrow { max-width: 760px; margin-inline: auto; }
/* Two screenshots side by side, the wider one first, each its own height. */
.pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: var(--s5); }
.art-phones { display: flex; justify-content: center; gap: var(--s5); }
.art-phones .phone { width: min(270px, 46%); }
.art-phones .phone:nth-child(2) { margin-top: var(--s7); }
@media (max-width: 900px) {
  .rows { gap: var(--s8); }
  .row, .row.flip { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .row.flip .row-text { order: 0; }
  .pair { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Brand switcher ---------- */
.switcher { display: grid; gap: var(--s5); }
.switch-tabs { display: inline-flex; flex-wrap: wrap; gap: var(--s2); padding: 6px; border-radius: 999px; background: rgba(17, 20, 24, .06); justify-self: start; }
.dark .switch-tabs { background: rgba(255, 255, 255, .08); }
.switch-tabs button { display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: 600 15px var(--body); cursor: pointer; }
.switch-tabs button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
/* Each made-up brand's accent, as in its screenshots (scripts/site-shots.js). */
.swatch.s-yours { background: #6b8f12; } .swatch.s-summit { background: #1f9e83; } .swatch.s-harbour { background: #e8590c; } .swatch.s-nine { background: #db2777; }
.swatch.s-northside { background: #b45309; } .swatch.s-paper { background: #3b82f6; }
/* Inset, so the laptop's base (6% wider each side) stays inside the page. */
.switcher .laptop { margin-inline: 6%; }
.switch-caption { color: var(--muted); font-size: 15px; }
.dark .switch-caption { color: var(--muted-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s5); padding: 0; list-style: none; counter-reset: step; }
/* Four steps: in a row, two by two, or stacked; never three and one. */
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: minmax(0, 1fr); } }
.steps li { position: relative; display: grid; align-content: start; gap: var(--s2); padding: var(--s6); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s2); border-radius: 50%; background: var(--ink); color: var(--lime); font-family: var(--head); font-size: 18px; font-weight: 700; }
.steps li p { color: var(--muted); }

/* ---------- Plans (Get started) ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s5); }
.plan { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.plan.dark { border-color: var(--ink); background: var(--ink); }
.price { display: flex; align-items: baseline; gap: var(--s2); margin-top: var(--s3); font-family: var(--head); font-size: 52px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price small { color: var(--muted); font-family: var(--body); font-size: 16px; font-weight: 500; letter-spacing: 0; }
.dark .price { color: var(--lime); }
.dark .price small { color: var(--muted-dark); }
.plan .suits { margin-top: auto; padding-top: var(--s4); color: var(--muted); font-size: 16px; }
.dark .suits { color: var(--muted-dark); }
.plan-notes, .plan-extra { margin-top: var(--s6); }
/* Gyms' plans, then shops': a heading over each. */
.plans-for { margin: var(--s8) 0 var(--s5); font-size: clamp(24px, 2.6vw, 30px); }
.head-block + .plans-for { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s3); max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 20px 24px; font-family: var(--head); font-size: 18px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); font-size: 22px; font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Call to action band ---------- */
.cta-band { display: grid; gap: var(--s5); justify-items: center; padding: var(--s8) var(--s6); border-radius: 32px; background: var(--ink); color: var(--white); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 96px 40px; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
.cta-band h2 { max-width: 760px; }
.cta-band p { max-width: 560px; color: var(--muted-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: var(--s8) 0 var(--s7); }
.page-hero .head-block { margin-bottom: 0; }
.chip-nav { position: sticky; top: 72px; z-index: 30; padding: var(--s3) 0; background: rgba(247, 247, 242, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip-nav ul { display: flex; gap: var(--s2); overflow-x: auto; padding: 0; list-style: none; scrollbar-width: none; }
.chip-nav ul::-webkit-scrollbar { display: none; }
.chip-nav a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip-nav a:hover { border-color: var(--ink); }

/* ---------- Feature lists (Features page) ---------- */
.module { display: grid; gap: var(--s6); padding: var(--s8) 0; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; }
.module-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: var(--s6); }
.module-head .lead { font-size: 18px; }
@media (max-width: 900px) { .module-head { grid-template-columns: minmax(0, 1fr); gap: var(--s3); } }
.flist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s5) var(--s6); padding: 0; list-style: none; }
.flist li { display: grid; align-content: start; gap: var(--s1); padding-top: var(--s4); border-top: 2px solid var(--ink); }
.flist h3, .flist h4 { font-size: 18px; }
.flist p { color: var(--muted); font-size: 16px; }

/* Which customers have a feature, where only gyms or only shops do. */
.tag { display: inline-flex; align-items: center; gap: var(--s1); justify-self: start; padding: var(--s1) var(--s3); border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 13px; font-weight: 600; }
.tag .icon { width: 16px; height: 16px; }

/* Make it yours: the rules, then what they check. */
.rules-row { margin-top: var(--s8); }

/* ---------- Tables ---------- */
/* position: relative keeps the cells' screen-reader text inside the scroll box, not widening the page. */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
table.access { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
table.access th, table.access td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
table.access thead th { font-family: var(--head); font-size: 15px; font-weight: 700; white-space: nowrap; }
table.access tbody th { min-width: 200px; text-align: left; font-weight: 500; }
table.access tbody th, table.access thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); }
table.access tbody tr:last-child > * { border-bottom: 0; }
table.access .yes { color: #4d7a00; font-weight: 700; }
table.access .see { color: var(--muted); font-size: 14px; }
table.access .no { color: #b6b9bd; }
.access-note { margin-top: var(--s4); font-size: 15px; }

/* ---------- Setting cards (Make it yours) ---------- */
.set-card { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.set-card h3 { display: flex; align-items: center; gap: var(--s2); font-size: 18px; }
.set-card h3 .icon { width: 22px; height: 22px; color: #6b8f12; }
.set-card p { color: var(--muted); font-size: 16px; }
.set-card .default { margin-top: auto; padding-top: var(--s2); color: var(--muted); font-size: 14px; }
.set-card .default b { color: var(--ink); font-weight: 600; }

/* ---------- Club types and roles ---------- */
/* A column, so a link at the end of side-by-side cards lines up at the bottom. */
.type-card { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.type-card ul { display: grid; gap: var(--s2); padding-left: 20px; color: var(--muted); }
.type-card ul li::marker { color: #7da91c; }
.role { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s8); padding: var(--s7) 0; border-top: 1px solid var(--line); }
.role:first-of-type { border-top: 0; padding-top: 0; }
.role h3 { font-size: clamp(24px, 2.6vw, 30px); }
.role .phone { max-width: 290px; margin-inline: auto; }
@media (max-width: 900px) { .role { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s5); padding: var(--s6); border-radius: var(--r-lg); background: var(--lime); color: var(--ink); }
.contact > div { display: grid; justify-items: start; gap: var(--s2); }
.contact h2 { font-size: clamp(26px, 3vw, 34px); }
.contact p { color: #2c3a0a; }
.contact a.mail { font-family: var(--head); font-size: 20px; font-weight: 700; }
@media (max-width: 700px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; padding-bottom: var(--s8); }
.prose > h2 { margin: var(--s7) 0 var(--s3); font-size: clamp(24px, 2.6vw, 30px); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: var(--s3); }
.prose ul:not(.ticks) { display: grid; gap: var(--s2); padding-left: 22px; }
.prose ul:not(.ticks) li::marker { color: #7da91c; }
.prose .summary { margin-bottom: var(--s7); }
.prose .summary h2 { font-size: 22px; }
.prose .summary > p { font-size: 15px; }
/* A detail still to fill in, in amber so it can't be missed. */
mark.todo { padding: 0 4px; border-radius: 4px; background: #ffe7a3; color: inherit; }

/* ---------- Footer ---------- */
.site-foot { padding: var(--s8) 0 var(--s6); background: var(--ink); color: var(--muted-dark); font-size: 15px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--s6); padding-bottom: var(--s7); border-bottom: 1px solid var(--line-dark); }
.foot-top p { margin-top: var(--s3); max-width: 340px; }
.foot-top h2 { margin-bottom: var(--s3); color: var(--white); font-size: 15px; letter-spacing: 0; }
.foot-top ul { display: grid; gap: var(--s2); padding: 0; list-style: none; }
.foot-top a { color: var(--muted-dark); text-decoration: none; }
.foot-top a:hover { color: var(--white); text-decoration: underline; }
.site-foot .logo { color: var(--white); }
.foot-bottom a { color: var(--muted-dark); text-decoration: none; }
.foot-bottom a:hover { color: var(--white); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); padding-top: var(--s5); font-size: 14px; }
@media (max-width: 700px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: var(--s8) 0; }
  .card, .pillar { padding: var(--s5); }
  .wrap { width: min(var(--wrap), 100% - 2 * var(--s4)); }
}
