/* Lead forms library (docs/lead-forms.md, public/js/gr-forms.js).
   Fallback colors: the nocodeverse palette of 2026-11-14 (black, grays,
   white, dark blue #2560C9 buttons and links, sky #6CABDD on black).
   Uses the page's design tokens when they exist (--r, --sans, --display,
   --surface, --line, --line-2, --ink, --body, --muted, --accent, --bad,
   --shadow, --dark-2, --dark-line, --on-dark...); every token has a
   fallback, so it also reads well on report pages, which bring their own
   styles. .grf-dark is for a dark section, .grf-light for a card on a light
   page. Buttons are the page's own .btn .btn-primary. */
.grf{margin-top:28px;border-radius:var(--r,16px);padding:22px 18px;text-align:left;font-family:var(--sans,"IBM Plex Sans","Helvetica Neue",Arial,sans-serif)}
.grf-dark{background:var(--dark-2,#18181B);border:1px solid var(--dark-line,#2E2E33);color:var(--on-dark,#F4F4F5)}
.grf-light{background:var(--surface,#fff);border:1px solid var(--line,#E4E4E7);color:var(--body,#27272A);box-shadow:var(--shadow,0 12px 32px -14px rgba(11,11,12,.22));max-width:760px;margin:34px auto 0}
.grf form{display:grid;gap:14px}
.grf button,.grf input,.grf select,.grf textarea{font-family:inherit}
.grf .grf-title{font-family:var(--display,"Bricolage Grotesque","Avenir Next",system-ui,sans-serif);font-weight:800;font-size:1.35rem;letter-spacing:-.02em;line-height:1.2;margin:0 0 4px;color:var(--ink,#0B0B0C)}
.grf-dark .grf-title{color:#fff}
.grf .grf-sub{margin:0;font-size:1rem}
.grf-dark .grf-sub{color:#E4E4E7}
.grf-light .grf-sub{color:var(--muted,#52525B)}
.grf-grid{display:grid;gap:14px}
.grf-field{display:block;font-size:.95rem;font-weight:600}
.grf-light .grf-field{color:var(--ink,#0B0B0C)}
.grf-field input,.grf-field select,.grf-field textarea{display:block;margin-top:6px}
.grf-opt{font-weight:400;opacity:.75}
.grf input[type=text],.grf input[type=email],.grf input[type=tel],.grf select,.grf textarea{width:100%;min-height:52px;padding:12px 14px;border-radius:10px;border:1.5px solid var(--line-2,#D4D4D8);background:#fff;color:var(--ink,#0B0B0C);font:inherit;font-size:1rem;font-weight:400;line-height:1.4}
.grf textarea{min-height:96px;resize:vertical}
.grf-dark input[type=text],.grf-dark input[type=email],.grf-dark input[type=tel],.grf-dark select{border-color:var(--dark-line,#2E2E33)}
.grf input:focus-visible,.grf select:focus-visible,.grf textarea:focus-visible{outline:3px solid var(--accent,#2560C9);outline-offset:1px;border-color:var(--accent,#2560C9)}
.grf-dark input:focus-visible,.grf-dark select:focus-visible{outline-color:var(--on-dark-accent,#6CABDD)}
.grf [aria-invalid=true]{border-color:var(--bad,#b42318)}
.grf-check{display:flex;gap:10px;align-items:flex-start;font-size:.95rem;font-weight:400;line-height:1.45;cursor:pointer}
.grf-check input{width:22px;height:22px;flex:none;margin:1px 0 0;accent-color:var(--accent,#2560C9)}
.grf-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.grf .grf-submit{width:100%;margin-top:4px}
.grf .grf-submit[disabled]{opacity:.7;cursor:progress;transform:none}
.grf-error{margin:0;min-height:0;font-weight:600;font-size:.95rem;color:var(--bad,#b42318)}
.grf-dark .grf-error{color:#ff8a7e}
.grf-error:empty{display:none}
.grf-fine{margin:0;font-size:.88rem;line-height:1.5}
.grf-dark .grf-fine{color:var(--on-dark-muted,#A1A1AA)}
.grf-light .grf-fine{color:var(--muted,#52525B)}
.grf-fine a{color:inherit;font-weight:600}
.grf-link{background:none;border:0;padding:6px 0;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px;color:inherit;cursor:pointer;justify-self:center}
.grf-done{display:grid;gap:8px}
.grf-done[hidden],.grf-step[hidden]{display:none}
@media (min-width:640px){
  .grf{padding:28px 30px}
  .grf-grid{grid-template-columns:1fr 1fr}
  .grf .grf-submit{width:auto;min-width:320px;justify-self:start}
}
/* Report pages (docs/report-pages.md): the block brings its own button
   style because reports do not load the site CSS. --grf-accent sets the
   button color (default: the --accent fallback); on a dark form the button is
   sky with black text (--grf-accent-on-dark), never white text on a light blue. */
.grf-report{max-width:760px;margin:40px auto;padding:0 16px;font-family:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif}
.grf-report .grf{margin-top:0}
.grf-report .btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:14px 26px;border-radius:999px;font-weight:600;font-size:1.05rem;border:2px solid var(--grf-accent,#2560C9);background:var(--grf-accent,#2560C9);color:#fff;cursor:pointer}
.grf-report .btn:hover{filter:brightness(.9)}
.grf-report .grf-dark .btn{background:var(--grf-accent-on-dark,#6CABDD);border-color:var(--grf-accent-on-dark,#6CABDD);color:#0B0B0C}
.grf-report-links{margin:14px 0 0;font-size:.95rem;text-align:center}
.grf-report-links a{color:inherit;font-weight:600}
/* Language switcher (docs/i18n-and-pricing.md): <nav data-gr-lang-switcher>
   filled by the middleware / factory with .grl-list links. Inherits the
   text color; the current language is bold and underlined, never by color
   alone. Touch targets of 44px. */
[data-gr-lang-switcher]{font-family:var(--sans,"IBM Plex Sans","Helvetica Neue",Arial,sans-serif)}
.grl-list{display:flex;flex-wrap:wrap;gap:4px 6px;list-style:none;margin:0;padding:0}
.grl-link{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:8px;color:inherit;text-decoration:none;font-size:.95rem}
.grl-link:hover{text-decoration:underline}
.grl-link:focus-visible{outline:3px solid var(--accent,#2560C9);outline-offset:2px}
.grl-link[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
/* Legal line (config/legal.js) added to a page without its own spot. */
.gr-legal-footer{padding:16px;text-align:center}
.gr-legal{margin:0;font-size:.85rem;opacity:.85}
/* Regional prices: the note under a price. */
.gr-price-note{font-size:.85rem;opacity:.8;margin:6px 0 0}
