/*
 * Letman and Topfloor — shared components.
 *
 * Loaded after application.css on the Letman and Topfloor sites only (Site#stylesheets),
 * then followed by the brand's own sheet (letman.css / topfloor.css), which sets the tokens
 * below and adds anything only that brand has. Blockman never loads this file.
 *
 * Why three sheets rather than one: application.css was written as Blockman's, and its
 * component rules (skyline footer, fixed transparent header, centred shadow cards) are
 * Blockman's look. Both newer sites follow Blockman's page conventions — the same header,
 * drawer navigation, Book-a-Demo modal, contact form, cookie banner and legal pages — so
 * they reuse those components and re-token them here. What the two new designs add on top
 * (icon tiles, mock screens, CTA panels, contents lists) is shared by both, so it lives
 * here once instead of twice.
 *
 * Tokens each brand sheet must define, in addition to application.css's own:
 *   --brand          primary brand colour (eyebrows, icons, filled buttons on light)
 *   --brand-tint     pale wash of the brand colour (icon tiles, chips)
 *   --ink-dark       darkest brand colour (hero, footer, header when scrolled)
 *   --text           body text      --text-muted   secondary text
 *   --line           hairline borders
 *   --radius-card / --radius-panel / --radius-button
 */

/* ------------------------------------------------------------ Base ---------- */
/* Both designs use a 1200px column, narrower than Blockman's 1400px. */
:root { --content-width: 120rem; }
body { color: var(--text); }
h1, h2, h3, h4 { color: var(--text); letter-spacing: -0.02em; }
.lede { font-size: 1.8rem; line-height: 1.6; color: var(--text-muted); max-width: 64ch; }
.muted { color: var(--text-muted); }
.section { padding-block: clamp(5.6rem, 3.6rem + 5vw, 9.6rem); }
.section--tight-top { padding-top: 0; }
.container--narrow { width: min(96rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .08em; font-size: 1.4rem; }
.section__head { max-width: 72rem; }
.section__head .lede { margin-inline: auto; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--left .lede { margin-inline: 0; }
.stack-m > * + * { margin-top: 1.6rem; }
.stack-l > * + * { margin-top: 2.4rem; }

/* ----------------------------------------------------------- Buttons -------- */
.button { min-height: 5.2rem; padding: 0 2.8rem; border-radius: var(--radius-button); font-weight: 600; border-width: 1px; }
.button--primary { background: var(--brand); border-color: var(--brand); color: var(--white); }
.button--primary:hover, .button--primary:focus-visible { background: var(--ink-dark); border-color: var(--ink-dark); color: var(--white); box-shadow: none; }
.button--outline { color: var(--text); border-color: var(--line-strong); background: transparent; }
.button--outline:hover { background: var(--text); border-color: var(--text); color: var(--white); }
.button--light { background: var(--white); border-color: var(--white); color: var(--ink-dark); }
.button--light:hover, .button--light:focus-visible { background: transparent; color: var(--white); }
.button--on-dark, .button--outline.button--on-dark { color: var(--white); border-color: rgba(255,255,255,.6); }
.button--outline.button--on-dark:hover { background: var(--white); border-color: var(--white); color: var(--ink-dark); }
.button--small { min-height: 4.4rem; padding: 0 2rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.text-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; color: var(--brand); }

/* ------------------------------------------------------- Header / nav ------- */
.site-header__logo :is(img, .wordmark) { display: block; width: auto; height: var(--logo-height); }
/* The wordmark is fill="currentColor"; set it explicitly so it never inherits a link colour
   (Letman's link green on its green header was near-invisible). */
.site-header__logo { color: var(--wordmark-color); }
@media (min-width: 48em) { .site-nav__link { font-size: 1.6rem; } }
.site-nav__cta .button { min-height: 4.4rem; padding: 0 2rem; }
.site-header__cta { min-height: 4rem; padding: 0 1.6rem; }

/* ------------------------------------------------------------ Heroes -------- */
/* Home hero: copy beside a media column. Interior pages use the same band, one column. */
.brand-hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg); color: var(--hero-text);
  padding-block: calc(var(--header-height) + clamp(3.2rem, 2rem + 3vw, 6.4rem)) clamp(5.6rem, 4rem + 4vw, 9.6rem);
}
.brand-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 5.6rem; align-items: center; }
.brand-hero--page .brand-hero__inner { grid-template-columns: minmax(0, 1fr); }
.brand-hero--page .brand-hero__copy { max-width: 84rem; }
.brand-hero__copy > * + * { margin-top: 2.4rem; }
.brand-hero h1 { color: inherit; font-size: clamp(3.6rem, 2.4rem + 3vw, 5.6rem); line-height: 1.07; letter-spacing: -0.03em; font-weight: 800; }
.brand-hero--page h1 { font-size: clamp(3.4rem, 2.4rem + 2.4vw, 5.2rem); }
.brand-hero__lede { font-size: clamp(1.7rem, 1.5rem + .4vw, 2rem); line-height: 1.55; color: var(--hero-muted); max-width: 36em; }
.brand-hero__badge {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px;
  background: var(--hero-badge-bg); font-size: 1.4rem; font-weight: 600;
}
.brand-hero .button-row { margin-top: 3.2rem; }
@media (max-width: 60em) { .brand-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 4rem; } }

/* A row of ticked points in a hero (Letman Features). */
.hero-points { list-style: none; padding: 0; display: grid; gap: 1.2rem; font-size: 1.7rem; }
.hero-points li { display: flex; gap: 1.2rem; align-items: flex-start; }
.hero-points strong { color: inherit; }

/* ---------------------------------------------------- Icons and checks ------ */
.icon-tile {
  width: 5.2rem; height: 5.2rem; flex: none; border-radius: 1.4rem;
  background: var(--brand-tint); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-tile svg { width: 2.6rem; height: 2.6rem; }
.icon-tile--lg { width: 8.8rem; height: 8.8rem; border-radius: 2.4rem; background: var(--white); box-shadow: 0 .8rem 2rem rgba(16, 24, 20, .08); }
.icon-tile--lg svg { width: 4rem; height: 4rem; }
.check {
  width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%;
  background: var(--brand); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
.check svg { width: 1.3rem; height: 1.3rem; }
.check--lg { width: 3.2rem; height: 3.2rem; }
.check--lg svg { width: 1.6rem; height: 1.6rem; }
.check--on-dark { background: var(--accent); color: var(--ink-dark); }
.check-list { list-style: none; padding: 0; display: grid; gap: 1.4rem; font-size: 1.6rem; line-height: 1.55; }
.check-list li { display: flex; align-items: flex-start; gap: 1.2rem; }
.check-list--large { font-size: 1.7rem; font-weight: 500; gap: 1.6rem; }
.check-list--large li { align-items: center; gap: 1.4rem; }

/* ------------------------------------------------------- Layout blocks ------ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3.2rem, 2rem + 3vw, 5.6rem); align-items: center; }
.split--wide-copy { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.split--top { align-items: start; }
.split__copy > * + * { margin-top: 1.6rem; }
.split__copy .button-row { margin-top: 2.4rem; }
@media (max-width: 60em) {
  .split, .split--wide-copy { grid-template-columns: minmax(0, 1fr); }
  .split__media--first-on-mobile { order: -1; }
}

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: clamp(2.4rem, 1.6rem + 2vw, 4rem); }
.panel--surface { background: var(--color-surface); border: 0; }
.panel--raised { box-shadow: 0 2.4rem 4.8rem rgba(16, 24, 20, .08); }
.panel > * + * { margin-top: 1.6rem; }

/* Cards with a tinted header strip holding a large icon (Letman home features). */
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
@media (max-width: 64em) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40em) { .tile-grid { grid-template-columns: minmax(0, 1fr); } }
.tile-card { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.tile-card__media { height: 18rem; background: var(--color-surface); display: flex; align-items: center; justify-content: center; }
.tile-card__body { padding: 2.8rem; display: flex; flex-direction: column; gap: 1.2rem; flex: 1; }
.tile-card__body h3 { font-size: 2.4rem; }
.tile-card__body p { color: var(--text-muted); }
.tile-card__body p strong { color: var(--text); }
.tile-card__body .text-link { margin-top: auto; }

/* Icon + heading + text, in a grid of three (reasons to choose / benefits). */
.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem 3.2rem; }
@media (max-width: 64em) { .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40em) { .reason-grid { grid-template-columns: minmax(0, 1fr); } }
.reason { display: flex; flex-direction: column; gap: 1.2rem; }
.reason h3 { font-size: 2rem; }
.reason p { color: var(--text-muted); }

/* FAQ — Blockman's native <details> accordion, drawn as separate cards. */
.faq-cards { display: grid; gap: 1.2rem; }
.faq-cards .faq { background: var(--white); border: 1px solid var(--line); border-radius: 1.6rem; padding-inline: 2.4rem; }
.faq-cards .faq summary { min-height: 6.4rem; padding-block: 1.6rem; font-size: 1.8rem; font-weight: 700; color: var(--text); }
.faq-cards .faq summary::after { content: "+"; font-size: 2.4rem; color: var(--brand); transform: none; }
.faq-cards .faq[open] summary::after { content: "\2212"; transform: none; }
.faq-cards .faq__body { color: var(--text-muted); padding-bottom: 2.4rem; }
.faq-cards .faq__body > * + * { margin-top: 1.2rem; }

/* Facts: a big figure over a short caption. */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.4rem; }
.fact__value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.8rem, 2rem + 1.6vw, 4rem); line-height: 1.1; color: var(--brand); }
.fact__label { color: var(--text-muted); margin-top: .4rem; }

/* Avatar initials + name + role. */
.person-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); gap: 1.6rem; }
.person-card { border: 1px solid var(--line); border-radius: 1.6rem; padding: 2.4rem; display: flex; align-items: center; gap: 1.6rem; text-decoration: none; color: var(--text); background: var(--white); }
a.person-card:hover { border-color: var(--brand); color: var(--text); }
.person-card__avatar {
  width: 5.6rem; height: 5.6rem; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--avatar-bg); color: var(--avatar-text);
  font-family: var(--font-heading); font-weight: 800; font-size: 1.8rem;
}
.person-card__name { font-weight: 700; font-size: 1.8rem; display: block; }
.person-card__role { color: var(--text-muted); font-size: 1.4rem; display: block; }
.person-card__link { margin-left: auto; color: var(--brand); display: inline-flex; }
.person-card__link svg { width: 2rem; height: 2rem; }

/* External press mentions. */
.press-list { display: grid; gap: 1.2rem; }
.press-link { display: grid; gap: .4rem; padding: 1.8rem 2.2rem; border-radius: 1.2rem; background: var(--color-surface); color: var(--text); text-decoration: none; }
.press-link:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.press-link__source { font-size: 1.3rem; font-weight: 600; color: var(--text-muted); }
.press-link__title { font-size: 1.6rem; font-weight: 500; }

/* Chips. */
.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.chip { display: inline-block; padding: .6rem 1.2rem; border-radius: 999px; background: var(--brand-tint); color: var(--text); font-size: 1.4rem; font-weight: 600; }

/* ---------------------------------------------------------- CTA panel ------- */
/* The closing "Speak to an expert" box on every page: shared/_brand_cta. */
.cta-panel {
  background: var(--cta-bg); color: var(--cta-text);
  border-radius: var(--radius-panel); padding: clamp(3.2rem, 2rem + 3vw, 5.6rem);
  display: flex; flex-wrap: wrap; gap: 3.2rem; align-items: center; justify-content: space-between;
}
.cta-panel__copy { flex: 1 1 44rem; min-width: 0; }
.cta-panel__copy > * + * { margin-top: 1.2rem; }
.cta-panel h2 { color: inherit; font-size: clamp(2.6rem, 2rem + 1.4vw, 3.6rem); line-height: 1.2; }
.cta-panel p { color: var(--cta-muted); font-size: 1.7rem; }
.cta-panel a:not(.button) { color: inherit; font-weight: 600; }

/* --------------------------------------------------------- Mock screens ----- */
/* Drawn product screens (decorative, role="img" with a label). Kept as HTML and CSS rather
   than images so they stay sharp, pick up the brand colours, and cost no requests. */
.app-mock { background: var(--white); color: var(--text); border-radius: 2rem; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2.4rem 4.8rem rgba(16, 24, 20, .14); }
.app-mock--hero { border: 0; box-shadow: 0 3rem 6rem rgba(0, 0, 0, .25); }
.app-mock__bar { display: flex; gap: .6rem; padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--line); }
.app-mock__bar span { width: .9rem; height: .9rem; border-radius: 50%; background: #d5dce5; }
.app-mock__frame { display: flex; }
.app-mock__side { flex: 0 0 15rem; padding: 2rem 1.6rem; background: var(--color-surface); display: grid; align-content: start; gap: .6rem; font-size: 1.3rem; font-weight: 500; color: var(--text-muted); }
.app-mock__side span { padding: .8rem 1rem; }
.app-mock__side .is-current { border-radius: .8rem; background: var(--white); color: var(--brand); font-weight: 600; }
.app-mock__body { flex: 1 1 auto; min-width: 0; padding: 2.2rem; display: grid; gap: 1.6rem; }
.app-mock__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; }
.app-mock__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.app-mock__box { border: 1px solid var(--line); border-radius: 1.2rem; padding: 1.4rem; display: grid; gap: 1rem; font-size: 1.3rem; }
.app-mock__label { font-size: 1.3rem; color: var(--text-muted); }
.app-mock__meter { display: block; height: 1rem; border-radius: .6rem; background: var(--brand); }
.app-mock__meter--soft { opacity: .6; }
.app-mock__meter--accent { background: var(--accent); }
.app-mock__meter--grey { background: #94a3b8; }
.app-mock__line { display: block; height: .8rem; border-radius: .6rem; background: var(--line); }
.app-mock__rows > div { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--line); font-size: 1.4rem; }
.app-mock__status { flex: none; padding: .4rem 1rem; border-radius: 999px; background: var(--brand-tint); font-size: 1.2rem; font-weight: 600; }
.app-mock__status--on { background: var(--brand); color: var(--white); }
.app-mock__file { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem; border-radius: 1.2rem; background: var(--color-surface); }
.app-mock__file svg { width: 1.8rem; height: 1.8rem; color: var(--brand); flex: none; }
.app-mock__file-text { flex: 1 1 auto; display: grid; gap: .2rem; font-size: 1.4rem; font-weight: 600; }
.app-mock__file-text small { font-size: 1.2rem; font-weight: 400; color: var(--text-muted); }
@media (max-width: 40em) {
  .app-mock__side, .app-mock__optional { display: none; }
}

/* A phone outline around a mock portal screen. */
.phone-mock { max-width: 30rem; margin-inline: auto; border: .8rem solid var(--ink-dark); border-radius: 3.4rem; background: var(--white); overflow: hidden; box-shadow: 0 2.4rem 4.8rem rgba(16, 24, 20, .18); color: var(--text); }
.phone-mock__top { padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); }
.phone-mock__logo { padding: .6rem 1rem; border: 1px dashed #94a3b8; border-radius: .6rem; font-size: 1.1rem; }
.phone-mock__body { padding: 1.8rem; display: grid; gap: 1.2rem; }
.phone-mock__tabs { display: flex; gap: .6rem; }
.phone-mock__tabs span { padding: .6rem 1.2rem; border-radius: 999px; background: var(--brand-tint); font-size: 1.2rem; font-weight: 600; }
.phone-mock__tabs .is-current { background: var(--brand); color: var(--white); }
.phone-mock__doc { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.phone-mock__doc > svg { width: 1.8rem; height: 1.8rem; flex: none; color: var(--brand); }
.phone-mock__doc > svg:last-child { color: var(--text-muted); }
.phone-mock__doc div { flex: 1 1 auto; display: grid; gap: .6rem; font-size: 1.3rem; font-weight: 600; }
.phone-mock__note { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; border-radius: 1.2rem; background: var(--color-surface); font-size: 1.3rem; font-weight: 600; }
.phone-mock__note svg { width: 1.8rem; height: 1.8rem; color: var(--brand); }

/* ------------------------------------------------------------- Pricing ------ */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
@media (max-width: 64em) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40em) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 3.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.plan-card__name { font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.plan-card h3 { font-size: 2.2rem; }
.plan-card__price { display: flex; align-items: baseline; gap: .8rem; padding-block: 1.6rem; margin-top: auto; border-top: 1px solid var(--line); }
.plan-card__amount { font-family: var(--font-heading); font-weight: 800; font-size: 4.4rem; line-height: 1; color: var(--text); }
.plan-card__amount--words { font-size: 2.8rem; }
.plan-card__per { color: var(--text-muted); }
.plan-card .button { align-self: stretch; }
.price-callout { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.price-callout__figure { flex: 1 1 20rem; min-width: 0; }
.price-callout__amount { font-family: var(--font-heading); font-weight: 800; font-size: 4.4rem; line-height: 1.1; color: var(--brand); }
.include-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
@media (max-width: 60em) { .include-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ Webcasts ------ */
.webcast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.2rem; }
@media (max-width: 52em) { .webcast-grid { grid-template-columns: minmax(0, 1fr); } }
.webcast-card { display: flex; flex-direction: column; gap: 1.2rem; }
.webcast-card__thumb { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; background: var(--ink-dark); aspect-ratio: 16 / 9; }
.webcast-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.webcast-card__play {
  position: absolute; inset: 0; margin: auto; width: 6.4rem; height: 6.4rem; border-radius: 50%;
  background: var(--white); color: var(--ink-dark); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, .25);
}
.webcast-card__play svg { width: 2.2rem; height: 2.2rem; margin-left: .3rem; }
.webcast-card__series { position: absolute; left: 1.6rem; top: 1.6rem; padding: .6rem 1.2rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink-dark); font-size: 1.3rem; font-weight: 600; }
.webcast-card h3 { font-size: 2.4rem; }
.webcast-card__meta { color: var(--text-muted); font-size: 1.4rem; }
.webcast-card p { color: var(--text-muted); }
/* "Recorded in 2021…" on a webcast whose content has since been overtaken. */
.webcast-card .webcast-notice, .webcast-notice { padding: 1rem 1.4rem; border-left: .4rem solid var(--brand); border-radius: .6rem; background: var(--brand-tint); color: var(--text); font-size: 1.4rem; font-weight: 600; }
.webcast-player video { width: 100%; border-radius: var(--radius-card); background: #000; box-shadow: 0 2.4rem 4.8rem rgba(16, 24, 20, .18); }

/* ------------------------------------------------------------- Contact ------ */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4.8rem; align-items: start; }
@media (max-width: 60em) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-layout .panel h2 { font-size: 2.2rem; }
.contact-info { display: grid; gap: 2.8rem; }
.contact-info__item { display: flex; gap: 1.6rem; }
.contact-info__item .icon-tile { width: 4.8rem; height: 4.8rem; }
.contact-info__item .icon-tile svg { width: 2.2rem; height: 2.2rem; }
.contact-info__label { font-size: 1.4rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-info__value { display: grid; gap: .4rem; }
.contact-info__value a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-info__value a:hover { color: var(--brand); text-decoration: underline; }
.contact-info address { font-style: normal; line-height: 1.6; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 52em) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.contact-card { border: 1px solid var(--line); border-radius: 1.6rem; padding: 2.4rem; display: grid; gap: .8rem; }
.contact-card h3 { font-size: 1.8rem; }
/* The shared form inside a brand panel: bordered fields rather than Blockman's underlines. */
.panel .contact-form .form-field label { color: var(--text); font-size: 1.4rem; font-weight: 600; }
.panel .contact-form input:not([type=submit]):not([type=checkbox]),
.panel .contact-form textarea { min-height: 4.8rem; padding: 1rem 1.4rem; border: 1px solid #cbd5e1; border-radius: 1rem; background: var(--white); }
.panel .contact-form input:not([type=submit]):not([type=checkbox]):focus,
.panel .contact-form textarea:focus { border-color: var(--brand); outline: 2px solid var(--brand-tint); }
.panel .contact-form .form-field { margin-bottom: 2rem; }
.contact-form .form-consent input { accent-color: var(--brand); }
.contact-form .form-consent label { color: var(--text-muted); }
.contact-form .form-submit { width: auto; }
.modal .contact-form .form-submit { width: 100%; }
.modal .contact-form .form-field label { color: var(--text); }
.modal__dialog { border-radius: var(--radius-card); }

/* ------------------------------------------------------------- Careers ------ */
.vacancy-list { display: grid; gap: 1.6rem; }
.vacancy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2.4rem; padding: 2.4rem 2.8rem; background: var(--white); border: 1px solid var(--line); border-radius: 1.6rem; }
.vacancy h3 { font-size: 2.2rem; }
.vacancy__meta { color: var(--text-muted); font-size: 1.5rem; }
.step-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; counter-reset: step; }
@media (max-width: 64em) { .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40em) { .step-list { grid-template-columns: minmax(0, 1fr); } }
.step-list li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 1.6rem; padding: 2.4rem; display: grid; gap: .8rem; align-content: start; }
.step-list li::before { content: counter(step); width: 3.6rem; height: 3.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-tint); color: var(--brand); font-weight: 800; }
.step-list h3 { font-size: 1.8rem; }
.step-list p { color: var(--text-muted); font-size: 1.5rem; }

/* --------------------------------------------------------------- Legal ------ */
/* The shared policy text (shared/legal/*) beside an "On this page" list. */
.legal-layout { display: grid; grid-template-columns: 26rem minmax(0, 1fr); gap: 4.8rem; align-items: start; }
@media (max-width: 60em) { .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 3.2rem; } }
.legal-toc { position: sticky; top: calc(var(--header-height) + 2.4rem); padding: 2.4rem; border-radius: 1.6rem; background: var(--color-surface); }
@media (max-width: 60em) { .legal-toc { position: static; } }
.legal-toc__title { font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.2rem; }
.legal-toc ol { padding-left: 2rem; display: grid; gap: .8rem; font-size: 1.5rem; }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--brand); text-decoration: underline; }
.legal-section { scroll-margin-top: calc(var(--header-height) + 2.4rem); }
.legal-section h2 { color: var(--text); }
.legal-section a { color: var(--brand); }
.legal-list > li::marker { color: var(--text); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: .8rem; }
.legal-tabs a { padding: .8rem 1.6rem; border-radius: 999px; border: 1px solid var(--hero-tab-border); color: inherit; text-decoration: none; font-weight: 600; font-size: 1.5rem; }
.legal-tabs a[aria-current="page"] { background: var(--hero-text); color: var(--hero-bg-solid); border-color: var(--hero-text); }

/* -------------------------------------------------------------- Footer ------ */
.site-footer { padding-block: 6.4rem 3.2rem; background: var(--ink-dark); color: rgba(255,255,255,.86); }
.site-footer::after { content: none; }
.site-footer__grid { grid-template-columns: 2fr repeat(var(--footer-nav-columns), 1fr); gap: 4rem; }
@media (max-width: 60em) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
.site-footer__brand :is(img, .wordmark) { display: block; width: auto; height: var(--footer-logo-height); }
.site-footer__brand .wordmark { color: var(--white); }
.site-footer__brand p { margin-top: 1.4rem; font-size: 1.5rem; line-height: 1.6; max-width: 26em; color: rgba(255,255,255,.86); }
.site-footer__col h2 { opacity: 1; color: var(--white); font-size: 1.5rem; text-transform: none; letter-spacing: 0; font-weight: 700; margin-bottom: 1.6rem; }
.site-footer__col ul { gap: 1rem; }
.site-footer a, .site-footer__linkbtn { font-weight: 400; font-size: 1.5rem; text-decoration: none; color: rgba(255,255,255,.86); }
.site-footer a:hover, .site-footer__linkbtn:hover { color: var(--white); text-decoration: underline; opacity: 1; }
.site-footer__bottom { margin-top: 4.8rem; justify-content: space-between; }
.site-footer__social-link { width: 4.4rem; height: 4.4rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); align-items: center; justify-content: center; }
.site-footer__social-link svg { width: 1.8rem; height: 1.8rem; }
.product-dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; margin-right: .8rem; vertical-align: middle; }

/* The flash band behind a fixed header uses the brand's dark colour. */
.flash-band { background: var(--ink-dark); }

/* Decorative vertical bars along the bottom of a band — the motif both logos share. */
.bars { position: absolute; left: 0; right: 0; bottom: 0; height: 10rem; display: flex; align-items: flex-end; gap: .8rem; padding-inline: .8rem; pointer-events: none; }
.bars span { flex: 1 1 0; background: currentColor; }
@media (max-width: 40em) { .bars { height: 7rem; gap: .4rem; } .bars span:nth-child(n+15) { display: none; } }

/* CTA panel buttons: light-on-brand by default; topfloor.css inverts them for its amber panel. */
.cta-panel__primary { background: var(--white); border-color: var(--white); color: var(--ink-dark); }
.cta-panel__primary:hover, .cta-panel__primary:focus-visible { background: transparent; color: var(--white); }
.cta-panel__secondary { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.cta-panel__secondary:hover, .cta-panel__secondary:focus-visible { background: var(--white); color: var(--ink-dark); }

/* ------------------------------------------------- Page-specific helpers ---- */
/* "Watch" launcher under the home hero copy. */
.hero-watch {
  display: inline-flex; align-items: center; gap: 1.4rem; margin-top: 3.2rem;
  padding: 1rem 2rem 1rem 1rem; min-height: 5.6rem; border-radius: 999px;
  background: rgba(255,255,255,.1); color: var(--hero-text); font-weight: 600; text-decoration: none;
}
.hero-watch:hover { color: var(--hero-text); background: rgba(255,255,255,.18); }
.hero-watch__icon { width: 4rem; height: 4rem; border-radius: 50%; background: var(--white); color: var(--ink-dark); display: inline-flex; align-items: center; justify-content: center; }
.hero-watch__icon svg { margin-left: .2rem; }
/* Hero ticks shown as a translucent panel beside the copy. */
.hero-points--panel { padding: 3.2rem; border-radius: var(--radius-card); background: rgba(255,255,255,.08); }
/* A white panel with no border, on a tinted section. */
.panel--plain { border: 0; padding: clamp(2.4rem, 1.6rem + 3vw, 5.6rem); }
.split__illustration { width: 100%; max-width: 52rem; height: auto; margin-inline: auto; }
.faq-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 60em) { .faq-split { grid-template-columns: minmax(0, 1fr); } }
/* Zero-size target for an old page's fragment (#administration_features), so links into the
   replaced site still scroll to the right section. */
.anchor-alias { display: block; position: relative; top: calc(-1 * var(--header-height)); visibility: hidden; }
@media (min-width: 60.01em) { .split__media--first-on-wide { order: -1; } }
.app-mock__stat { display: grid; gap: .8rem; }
/* The closing CTA sits flush under a white section, but needs its own space after a tinted one. */
.section--surface + .section--tight-top { padding-top: clamp(5.6rem, 3.6rem + 5vw, 9.6rem); }
.pricing-terms { margin-top: 2.4rem; text-align: center; }
.fact-stack > div + div { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.fact-stack .fact__value { font-size: clamp(3.2rem, 2.4rem + 1.6vw, 4.4rem); }
/* "One family" product cards with a colour swatch per product family. */
.family-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); gap: 2rem; }
.family-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 2.8rem; display: grid; gap: 1.2rem; align-content: start; }
.family-card__name { display: flex; align-items: center; gap: 1rem; font-family: var(--font-heading); font-weight: 800; font-size: 2.2rem; color: var(--family-color); }
.family-card__swatch { width: 1.4rem; height: 1.4rem; border-radius: .4rem; background: var(--family-color); flex: none; }
.family-card--letman { --family-color: #09734f; }
.family-card--blockman { --family-color: #275baa; }
.vacancy { text-decoration: none; color: var(--text); }
.vacancy:hover { border-color: var(--brand); color: var(--text); }
.form-turnstile__status { font-size: 1.4rem; }
