/*
 * cfsite.css — the curlforge.com marketing pages, and nothing else.
 * ============================================================================
 *
 * Loaded by exactly two templates: pages/platform-home.php and
 * pages/getstarted.php. It is deliberately standalone — these pages do NOT
 * load theme.css, layout.css or components.css, so everything they need is
 * here, including the small reset at the top.
 *
 * Why standalone rather than built on the club chrome: the club stylesheets
 * carry the per-club --cf-* token layer, which exists so a club can set its own
 * colours. The marketing site is not a club and has one fixed palette; sharing
 * the sheet would mean the marketing page's appearance depended on tokens whose
 * whole purpose is to vary. Keeping them apart also means a change here cannot
 * reach a club site, an admin screen or an auth page.
 *
 * The --site-* prefix is load-bearing for the same reason: it cannot collide
 * with --cf-*, so if these sheets are ever loaded together neither wins by
 * accident.
 *
 * Source of truth for the design is the approved reference pair
 * (reference-home.html, reference-getstarted.html), which is written with
 * inline styles for review. Production carries no inline styles, so every
 * value below is that reference's value moved into a class.
 *
 * Fonts are self-hosted from /fonts/ — see public/fonts/readme.txt for the
 * package versions and why not Google Fonts.
 */

/* ---------------------------------------------------------------------------
 * Fonts. Latin subset only; the unicode-range matches what is installed, so a
 * browser never requests a subset that is not in public/fonts/.
 * font-display: swap — the copy is readable in the fallback immediately rather
 * than invisible while a webfont loads.
 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------------------------------------------------------------------------
 * The brand, as tokens. The ten in the brief are named first and marked; the
 * rest are the remaining literals the reference uses, kept here so no colour is
 * written twice and none is written inline.
 */
:root {
  /* the ten named in the brief */
  --site-iron: #2B3036;        /* body text, header text */
  --site-anvil: #23272E;       /* hero and CTA background */
  --site-footer: #1B1E23;      /* footer background */
  --site-ash: #F1F2F4;         /* tinted section background */
  --site-line: #E2E5E9;        /* hairline borders */
  --site-muted: #4A5057;       /* secondary body text */
  --site-logored: #D9481F;     /* the mark's lower core, the wordmark */
  --site-actionred: #C2401B;   /* buttons and links */
  --site-gold: #E0A21B;        /* the yellow stone */
  --site-redtint: #FBEAE4;     /* feature icon tiles */

  /* supporting values, all from the reference */
  --site-white: #FFFFFF;
  --site-dim: #5C636A;         /* small-caps labels, de-emphasised text */
  --site-onanvil: #C9CDD2;     /* body text on the dark sections */
  --site-onfooter: #BDC1C6;    /* footer text, dark-card labels */
  --site-eyebrowdark: #F0A07F; /* hero eyebrow, on anvil */
  --site-eyebrowlight: #A8340F;/* get-started eyebrow, on ash */
  --site-card: #2F343B;        /* "coming up" card on the hero */
  --site-cardline: #424850;
  --site-ghostline: #5C636A;   /* outline button on anvil */
  --site-open: #F2B84B;        /* "Open" */
  --site-inputline: #C3C9D0;
  --site-rule: #D5DBE1;
  --site-mockline: #D5DBE1;
  --site-mockfoot: #F7F8F9;

  /* The white-label mock shows a DIFFERENT club's branding on purpose: the
   * section's point is that the club's colours win and CurlForge recedes. This
   * navy is that imaginary club, not a CurlForge brand colour. */
  --site-mockclub: #1D3557;
  --site-mockclubsoft: #C8D3E3;

  /* Fluid scale. Every clamp resolves to the reference's exact value at
   * 1440px, so the desktop design is reproduced rather than approximated; the
   * lower bound is what keeps 390px from being cramped. The reference itself
   * uses clamp() for the form padding, so this is its own idiom. */
  --site-shell: 1200px;
  --site-gutter: 24px;
  --site-sectiony: clamp(56px, 7vw, 88px);
  --site-colgap: clamp(32px, 4vw, 56px);
}

/* ---------------------------------------------------------------------------
 * Reset. Small, and only what these two pages need.
 */
*,
*::before,
*::after { box-sizing: border-box; }

body { margin: 0; }

.cfsite {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--site-iron);
  background: var(--site-white);
  /* Belt for the no-horizontal-scroll rule at 390px. Nothing should overflow,
   * and the suite checks that it does not; this keeps a future long word from
   * turning a wrap bug into a sideways-scrolling page. */
  overflow-x: hidden;
}

.cfsite a { color: var(--site-actionred); }
.cfsite a:hover { color: var(--site-iron); }

.cfsite h1,
.cfsite h2,
.cfsite h3,
.cfsite p { margin: 0; }

/* The shell every band's content sits in. */
.cfshell {
  max-width: var(--site-shell);
  margin: 0 auto;
  padding: 0 var(--site-gutter);
  width: 100%;
}

/* Screen-reader-only, for the skip link. */
.cfvisuallyhidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.cfskiplink:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  background: var(--site-white);
  color: var(--site-iron);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* ===========================================================================
 * Header
 */
.cfhdr {
  background: var(--site-white);
  border-bottom: 1px solid var(--site-line);
}

.cfhdrinner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.cfhdrlogo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--site-iron);
}
.cfsite .cfhdrlogo:hover { color: var(--site-iron); }

.cfwordmark {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.cfwordmarkforge { color: var(--site-logored); }

.cfnav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
}

.cfsite .cfnavlink {
  color: var(--site-iron);
  text-decoration: none;
}
.cfsite .cfnavlink:hover { color: var(--site-actionred); }

.cfsite .cfnavcta {
  background: var(--site-actionred);
  color: var(--site-white);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
}
.cfsite .cfnavcta:hover {
  background: var(--site-logored);
  color: var(--site-white);
}

/* The same slot on the page it links to: present, named, not a link. */
.cfnavcurrent {
  background: var(--site-ash);
  color: var(--site-iron);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
}

/* ===========================================================================
 * Buttons
 */
.cfsite .cfbtnprimary {
  background: var(--site-actionred);
  color: var(--site-white);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}
.cfsite .cfbtnprimary:hover {
  background: var(--site-logored);
  color: var(--site-white);
}

.cfsite .cfbtnghost {
  border: 1px solid var(--site-ghostline);
  color: var(--site-white);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}
.cfsite .cfbtnghost:hover {
  color: var(--site-white);
  border-color: var(--site-white);
}

/* The CTA band's button carries slightly wider padding in the reference. */
.cfsite .cfbtnwide { padding: 15px 28px; }

/* ===========================================================================
 * Hero
 */
.cfhero {
  background: var(--site-anvil);
  color: var(--site-white);
}

.cfheroinner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--site-colgap);
  padding-top: var(--site-sectiony);
  padding-bottom: clamp(64px, 7.5vw, 96px);
}

.cfherotext {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.cfeyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--site-eyebrowdark);
}

.cfh1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.05;
}

.cflede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--site-onanvil);
  max-width: 560px;
}

.cfherobtns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

/* --- the illustrative cards beside the hero copy.
 * Static markup on purpose: these are a picture of the product, not a live
 * read of anybody's club. */
.cfherocards {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
  min-width: 0;
}

.cfscorecard {
  background: var(--site-white);
  color: var(--site-iron);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cfscorehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cfscorelabel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--site-dim);
}

.cflivebadge {
  font-size: 12px;
  font-weight: 600;
  color: var(--site-white);
  background: var(--site-actionred);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.cfscorerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cfscoreside {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cfstonedot {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  flex: 0 0 auto;
}
.cfstonered { background: var(--site-logored); }
.cfstoneyellow { background: var(--site-gold); }

.cfsidename {
  font-size: 18px;
  font-weight: 600;
}

.cfscorenum {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.cfnextcard {
  background: var(--site-card);
  border: 1px solid var(--site-cardline);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cfnextlabel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--site-onfooter);
}

.cfnextrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.cfnexttime { color: var(--site-onfooter); }

.cfnextopen {
  color: var(--site-open);
  font-weight: 600;
}

/* ===========================================================================
 * "One login instead of" strip
 */
.cfstrip {
  background: var(--site-ash);
  border-bottom: 1px solid var(--site-line);
}

.cfstripinner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.cfstriplead {
  font-size: 15px;
  font-weight: 600;
  color: var(--site-muted);
}

.cfstrikeitem {
  font-size: 15px;
  color: var(--site-dim);
  text-decoration: line-through;
  text-decoration-color: var(--site-logored);
}

/* ===========================================================================
 * Section scaffolding, shared by features / white-label / CTA
 */
.cfsectionwhite { background: var(--site-white); }
.cfsectionash { background: var(--site-ash); }

.cfsectioninner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: var(--site-sectiony);
  padding-bottom: var(--site-sectiony);
}

.cfsectionhead {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.cfh2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.cfsectionlede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--site-muted);
}

/* ===========================================================================
 * Feature cards
 */
.cfcardgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cffeaturecard {
  flex: 1 1 320px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cficonbox {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--site-redtint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* The feature glyphs are stroked, not filled. Set here rather than on each
 * svg so the markup carries no presentation. */
.cficonbox svg {
  fill: none;
  stroke: var(--site-actionred);
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cfcardtitle {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.cfcardtext {
  font-size: 16px;
  line-height: 1.55;
  color: var(--site-muted);
}

/* ===========================================================================
 * White-label band
 */
.cfwlinner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--site-colgap);
  padding-top: var(--site-sectiony);
  padding-bottom: var(--site-sectiony);
}

.cfwltext {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.cfwlpoints {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.cfwlpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.cfdiamond {
  width: 8px;
  height: 8px;
  background: var(--site-logored);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* --- the mock club site. Every colour in here is the imaginary club's. */
.cfwlmock {
  flex: 1 1 440px;
  background: var(--site-white);
  border-radius: 14px;
  border: 1px solid var(--site-mockline);
  overflow: hidden;
  min-width: 0;
}

.cfmockhdr {
  background: var(--site-mockclub);
  color: var(--site-white);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cfmockclub {
  font-weight: 600;
  font-size: 17px;
}

.cfmocknav {
  font-size: 13px;
  color: var(--site-mockclubsoft);
}

.cfmockbody {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cfmockheadline {
  font-size: 22px;
  font-weight: 600;
  color: var(--site-mockclub);
}

.cfmocktext {
  font-size: 15px;
  color: var(--site-muted);
  line-height: 1.5;
}

.cfmockbtn {
  align-self: flex-start;
  background: var(--site-mockclub);
  color: var(--site-white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
}

.cfmockfoot {
  background: var(--site-mockfoot);
  border-top: 1px solid var(--site-line);
  padding: 12px 22px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.cfpoweredby {
  font-size: 12px;
  color: var(--site-dim);
}

.cfpoweredmark {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--site-iron);
}

/* ===========================================================================
 * Closing CTA
 */
.cfcta {
  background: var(--site-anvil);
  color: var(--site-white);
}

.cfctainner {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--site-sectiony) var(--site-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  width: 100%;
}

.cfctalede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--site-onanvil);
}

.cfctabtn { margin-top: 8px; }

/* ===========================================================================
 * Footer
 */
.cffoot {
  background: var(--site-footer);
  color: var(--site-onfooter);
}

.cffootinner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 14px;
}

.cffootbrand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===========================================================================
 * /get-started
 */
.cfgs { background: var(--site-ash); }

.cfgsinner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--site-colgap);
  align-items: flex-start;
  padding-top: clamp(52px, 6.5vw, 80px);
  padding-bottom: clamp(64px, 7.5vw, 96px);
}

.cfgstext {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
  min-width: 0;
}

.cfgseyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--site-eyebrowlight);
}

.cfgsh1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(34px, 7vw, 48px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.05;
}

.cfgslede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--site-muted);
}

.cfgsalt {
  border-top: 1px solid var(--site-rule);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cfgsaltlabel {
  font-size: 14px;
  color: var(--site-muted);
}

.cfgsaltmail {
  font-size: 17px;
  font-weight: 600;
}

/* --- the form */
.cfgsform {
  flex: 1 1 460px;
  background: var(--site-white);
  border: 1px solid var(--site-line);
  border-radius: 14px;
  padding: clamp(20px, 5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cfgsrow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cfgsfield {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cfgsfieldwide {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cfgslabel {
  font-size: 14px;
  font-weight: 600;
}

.cfgsoptional {
  font-weight: 400;
  color: var(--site-dim);
}

.cfgsinput,
.cfgstextarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--site-inputline);
  border-radius: 8px;
  color: var(--site-iron);
  background: var(--site-white);
  width: 100%;
}

.cfgstextarea { resize: vertical; }

.cfgsinput:focus,
.cfgstextarea:focus {
  outline: 2px solid var(--site-actionred);
  outline-offset: 1px;
  border-color: var(--site-actionred);
}

.cfgsbtn {
  align-self: flex-start;
  font: inherit;
  background: var(--site-actionred);
  color: var(--site-white);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.cfgsbtn:hover { background: var(--site-logored); }

/* --- validation feedback. Field values survive a refusal, so the message
 * names what to fix rather than restating the whole form. */
.cfgsinvalid { border-color: var(--site-actionred); }

.cfgsfielderror {
  font-size: 13px;
  font-weight: 500;
  color: var(--site-actionred);
}

.cfgsformerror {
  background: var(--site-redtint);
  border: 1px solid var(--site-actionred);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #8E2E13;
}

/* --- the thank-you state, in the form's place */
.cfgsthanks {
  flex: 1 1 460px;
  background: var(--site-white);
  border: 1px solid var(--site-line);
  border-radius: 14px;
  padding: clamp(24px, 5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.cfgsthankstitle {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.cfgsthankstext {
  font-size: 16px;
  line-height: 1.55;
  color: var(--site-muted);
}

.cfgsthanksmark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--site-redtint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cfgsthanksmark svg {
  fill: none;
  stroke: var(--site-actionred);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*
 * The Turnstile widget comes from templates/components/turnstile.php, which is
 * shared with /register, /forgot-password, /login and /club/contact. That
 * partial wraps the widget in `.form-group` and carries an inline
 * `margin: 1rem 0` for the club chrome's form rhythm.
 *
 * This form is a flex column with a 20px gap, and a flex item's margin ADDS to
 * the gap rather than collapsing into it — so unoverridden the widget would sit
 * 36px from its neighbours where the reference has 20px. The partial is not
 * this pass's to edit (four other forms render it), so the margin is
 * neutralised here instead, scoped to this form. `!important` is the only thing
 * that beats an inline style from a stylesheet.
 */
.cfgsform .form-group {
  margin: 0 !important;
}

/* Keep the widget inside a 390px viewport. Cloudflare renders it at a fixed
 * 300px, which already fits; this stops a wider future default from being the
 * thing that introduces a sideways scroll. */
.cfgsform .cf-turnstile {
  max-width: 100%;
  overflow: hidden;
}

/* ===========================================================================
 * Reduced motion. Nothing here animates today; the hover colour changes are
 * instant. Declared so a future addition inherits the courtesy.
 */
@media (prefers-reduced-motion: reduce) {
  .cfsite *,
  .cfsite *::before,
  .cfsite *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
