/* ==========================================================================
   Public org website ("front door") — Cub Scout "trail badge" design system.

   Brand basis: org_types/cub_scout_pack/brand_guidelines.md
     Foundation (used heavily): Cub Scouts Blue #003F87 + Gold #FDC116.
     Accents (sparing): SA Red #CE1126, Tan #D6CEBD, Gray #515354.
     Type: Montserrat (official free alternate for Proxima Nova).
   Design language: badge/patch "stitching" (dashed gold details), deep blue
   grounds, parchment-canvas content bands, trail-marker numbered steps.
   Mobile-first; the design must hold with zero photos.
   ========================================================================== */

:root {
  --cs-blue: #003F87;
  --cs-blue-dark: #002a5c;          /* derived from SA Dark Blue #003366 family */
  --cs-blue-pale: #9AB3D5;
  --cs-gold: #FDC116;
  --cs-gold-deep: #e0a800;
  --cs-red: #CE1126;                 /* sparing accent; never tinted */
  --cs-tan: #D6CEBD;
  --cs-tan-light: #E9E9E4;
  --cs-gray: #515354;
  --cs-gray-dark: #232528;
  --cs-canvas: #f8f6f0;              /* warm paper band */
  --cs-white: #ffffff;
  --tenant-accent: var(--cs-gold);   /* overridden per tenant inline */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 2px 6px rgba(0, 42, 92, 0.10), 0 12px 32px rgba(0, 42, 92, 0.12);
  --stitch: 2px dashed rgba(253, 193, 22, 0.55);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body.cs-site {
  margin: 0;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cs-gray-dark);
  background: var(--cs-canvas);
  -webkit-font-smoothing: antialiased;
}

.cs-site h1, .cs-site h2, .cs-site h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--cs-blue);
  text-wrap: balance;
}

.cs-site p { margin: 0 0 1em; }
.cs-site a { color: var(--cs-blue); }
.cs-site img { max-width: 100%; display: block; }

.cs-container { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

/* --- The "stitch" motif: dashed gold rule, like patch embroidery --------- */
.cs-stitch {
  border: 0; border-top: var(--stitch);
  margin: 0 auto; width: 72px;
}

/* Eyebrow label: mono-spaced-feeling uppercase tracker above headings */
.cs-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cs-blue);
  margin-bottom: 0.6rem;
}
.cs-on-blue .cs-eyebrow { color: var(--cs-gold); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.cs-header {
  background: var(--cs-blue);
  color: var(--cs-white);
  border-bottom: 4px solid var(--cs-gold);
  position: sticky; top: 0; z-index: 50;
}
/* Branding-only header for the embedded form: no nav, and not sticky (the embed
   is served standalone on the tenant's domain, where a sticky bar is unwanted). */
.cs-embed-header { position: static; }
.cs-header-inner {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.65rem 0;
}
.cs-site .cs-brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--cs-white);
  min-width: 0;
}
.cs-brand img { height: 42px; width: auto; }
.cs-brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--cs-gold); color: var(--cs-blue);
  font-weight: 800; font-size: 1.05rem;
  border-radius: 50%;
  outline: var(--stitch); outline-offset: -5px;
}
.cs-brand-name {
  font-weight: 800; font-size: 1.02rem; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cs-brand-sub {
  /* Wrap (don't inherit the name's nowrap/clip) so a long "Chartered by ..."
     line shows in full on narrow screens instead of getting cut off. */
  display: block; white-space: normal; font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3;
  color: var(--cs-blue-pale);
}

.cs-nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.cs-site .cs-nav a {
  color: var(--cs-white); text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  padding: 0.45rem 0.7rem; border-radius: 8px;
}
.cs-nav a:hover { background: rgba(255, 255, 255, 0.12); }
.cs-nav a[aria-current="page"] {
  color: var(--cs-gold);
  box-shadow: inset 0 -3px 0 var(--cs-gold);
  border-radius: 8px 8px 0 0;
}
.cs-nav .cs-btn { margin-left: 0.4rem; }

/* Mobile nav: collapses to a details popover, no JS required */
.cs-nav-toggle { display: none; }
@media (max-width: 720px) {
  .cs-nav { display: none; }
  .cs-nav-toggle { display: block; margin-left: auto; position: relative; }
  .cs-nav-toggle > summary {
    list-style: none; cursor: pointer;
    color: var(--cs-white); font-weight: 700; font-size: 0.9rem;
    padding: 0.5rem 0.8rem; border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: 8px;
  }
  .cs-nav-toggle > summary::-webkit-details-marker { display: none; }
  .cs-nav-toggle[open] > summary { background: rgba(255,255,255,0.12); }
  .cs-nav-toggle-menu {
    position: absolute; right: 0; top: calc(100% + 8px);
    min-width: 220px; padding: 0.5rem;
    background: var(--cs-blue-dark);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px; box-shadow: var(--shadow-card);
    display: grid; gap: 0.15rem;
  }
  .cs-site .cs-nav-toggle-menu a {
    color: var(--cs-white); text-decoration: none; font-weight: 600;
    padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.95rem;
  }
  .cs-nav-toggle-menu a:hover { background: rgba(255,255,255,0.1); }
  .cs-nav-toggle-menu a[aria-current="page"] { color: var(--cs-gold); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cs-btn {
  display: inline-block;
  font-family: inherit; font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.02em; text-decoration: none; text-align: center;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  border: 0; cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.cs-btn:hover { transform: translateY(-2px); }
.cs-btn:active { transform: translateY(0); }
/* `.cs-site a` (below) outranks single-class button colors on <a> buttons,
   so button color rules carry the .cs-site prefix to win specificity. */
.cs-site .cs-btn-gold, .cs-btn-gold {
  background: var(--cs-gold); color: var(--cs-blue);
  outline: var(--stitch); outline-offset: -6px;
  box-shadow: 0 6px 18px rgba(253, 193, 22, 0.35);
}
.cs-btn-gold:hover { box-shadow: 0 10px 26px rgba(253, 193, 22, 0.45); }
.cs-site .cs-btn-ghost, .cs-btn-ghost {
  background: transparent; color: var(--cs-white);
  border: 2px solid rgba(255, 255, 255, 0.65);
}
.cs-site .cs-btn-ghost:hover { border-color: var(--cs-gold); color: var(--cs-gold); }
.cs-site .cs-btn-blue, .cs-btn-blue {
  background: var(--cs-blue); color: var(--cs-white);
  box-shadow: 0 6px 18px rgba(0, 63, 135, 0.3);
}

/* Keyboard focus: explicit ring everywhere; the gold button's decorative
   stitch uses `outline`, so focus there switches to a blue ring. */
.cs-site :focus-visible {
  outline: 3px solid var(--cs-gold);
  outline-offset: 2px;
}
.cs-site .cs-btn-gold:focus-visible,
.cs-site .cs-cta-panel a:focus-visible {
  outline: 3px solid var(--cs-blue);
  outline-offset: 2px;
}

/* Screen-reader-only text (calendar dates for the visual date chip). */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.cs-hero {
  position: relative;
  background: var(--cs-blue-dark);
  color: var(--cs-white);
  overflow: hidden;
}
.cs-hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  /* blue duotone: keeps any photo on-brand and the headline readable */
  filter: saturate(0.75);
  opacity: 0.5;
}
.cs-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    175deg,
    rgba(0, 42, 92, 0.55) 0%,
    rgba(0, 42, 92, 0.78) 60%,
    var(--cs-blue-dark) 100%
  );
}
.cs-hero-inner {
  position: relative; z-index: 2;
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(4.5rem, 12vw, 8rem);
  max-width: 760px;
}
.cs-hero h1 {
  color: var(--cs-white);
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.cs-hero h1 .cs-underline {
  /* gold stitch under the last words of the tagline */
  border-bottom: 4px solid var(--cs-gold);
  padding-bottom: 0.06em;
}
.cs-hero-sub {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  font-weight: 500;
  color: var(--cs-tan-light);
  max-width: 56ch;
}
.cs-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* staggered load reveal (hero only; respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .cs-hero .cs-reveal {
    opacity: 0; transform: translateY(14px);
    animation: cs-rise 0.7s var(--ease-out) forwards;
  }
  .cs-hero .cs-reveal:nth-child(2) { animation-delay: 0.12s; }
  .cs-hero .cs-reveal:nth-child(3) { animation-delay: 0.24s; }
  .cs-hero .cs-reveal:nth-child(4) { animation-delay: 0.36s; }
}
@keyframes cs-rise { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Content bands + badge cards
   ========================================================================== */
.cs-band { padding: clamp(2.8rem, 7vw, 4.5rem) 0; }
.cs-band-blue { background: var(--cs-blue); color: var(--cs-white); }
.cs-band-blue h2, .cs-band-blue h3 { color: var(--cs-white); }
.cs-band-tan { background: var(--cs-tan-light); }

.cs-section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.cs-section-head h1, .cs-section-head h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); text-transform: uppercase; }

.cs-card {
  background: var(--cs-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.5rem;
  position: relative;
}
.cs-card::after {
  /* inner stitched border = patch */
  content: ""; position: absolute; inset: 7px;
  border: var(--stitch); border-radius: 11px;
  pointer-events: none; opacity: 0.45;
}

.cs-split {
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 880px) {
  .cs-split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .cs-split > .cs-split-photo { order: var(--photo-order, 0); }
}
.cs-split-photo img {
  width: 100%; height: 100%; max-height: 420px; object-fit: cover;
  border-radius: 18px; box-shadow: var(--shadow-card);
}
.cs-split-photo { position: relative; align-self: start; }
@media (min-width: 880px) {
  .cs-band-blue .cs-split-photo { position: sticky; top: 90px; }
}
.cs-split-photo::before {
  /* offset gold frame behind the photo */
  content: ""; position: absolute; inset: 14px -10px -10px 14px;
  border: 3px solid var(--cs-gold); border-radius: 18px; z-index: -1;
}

/* prose width for static/markdown blocks */
.cs-prose { max-width: 68ch; }
.cs-prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.cs-prose ul { padding-left: 1.2rem; }
/* Verbatim recitations (Scout Oath / Law) get a gold accent bar so they read
   as distinct quotations, not body copy — also breaks up the text wall. */
.cs-prose blockquote {
  margin: 0.5em 0 1.1em;
  padding: 0.15em 0 0.15em 1rem;
  border-left: 3px solid var(--cs-gold);
  font-weight: 500;
}
.cs-prose blockquote p { margin: 0; }

/* ==========================================================================
   CTA panel (gold) — express interest
   ========================================================================== */
.cs-cta-panel {
  background: var(--cs-gold);
  color: var(--cs-blue);
  border-radius: 20px;
  padding: clamp(1.8rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
}
.cs-cta-panel::after {
  content: ""; position: absolute; inset: 9px;
  border: 2px dashed rgba(0, 63, 135, 0.4); border-radius: 14px;
  pointer-events: none;
}
.cs-cta-panel h2 { color: var(--cs-blue); text-transform: uppercase; }
.cs-cta-panel p { max-width: 52ch; margin-inline: auto; font-weight: 500; }
.cs-cta-panel .cs-btn { position: relative; z-index: 1; }

/* ==========================================================================
   Trail-marker steps (Getting Started)
   ========================================================================== */
.cs-steps { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.cs-step {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem;
  position: relative; padding-bottom: 1.9rem;
}
.cs-step:not(:last-child)::before {
  /* the trail: dashed connector between markers */
  content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px;
  border-left: var(--stitch);
}
.cs-step-num {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  background: var(--cs-blue); color: var(--cs-gold);
  font-weight: 800; font-size: 1.25rem;
  border-radius: 50%;
  outline: var(--stitch); outline-offset: -6px;
}
.cs-step h3 { font-size: 1.08rem; margin-bottom: 0.25em; }
.cs-step p { margin-bottom: 0.4em; color: var(--cs-gray); }
.cs-step a { font-weight: 700; }

/* ==========================================================================
   Calendar
   ========================================================================== */
.cs-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.4rem;
}
.cs-cal-head h2 { margin: 0; text-transform: uppercase; }
.cs-cal-nav { display: flex; gap: 0.5rem; }
.cs-cal-nav a, .cs-cal-nav span {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cs-white); color: var(--cs-blue);
  border: 2px solid var(--cs-blue);
  font-weight: 800; text-decoration: none; font-size: 1.1rem;
}
.cs-cal-nav span { opacity: 0.25; border-color: var(--cs-gray); color: var(--cs-gray); }

.cs-cal-grid { display: none; }
@media (min-width: 880px) {
  .cs-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }
  .cs-cal-dow {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--cs-gray);
    padding: 0.3rem 0.5rem;
  }
  .cs-cal-cell {
    min-height: 108px; background: var(--cs-white);
    border-radius: 10px; padding: 0.4rem 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 42, 92, 0.08);
  }
  .cs-cal-cell.is-empty { background: transparent; box-shadow: none; }
  .cs-cal-cell.is-today { outline: 2px solid var(--cs-gold); }
  .cs-cal-daynum { font-size: 0.8rem; font-weight: 700; color: var(--cs-gray); }
  .cs-cal-cell.is-today .cs-cal-daynum {
    background: var(--cs-gold); color: var(--cs-blue);
    padding: 1px 7px; border-radius: 999px; display: inline-block;
  }
  .cs-cal-event {
    display: block; margin-top: 0.3rem; padding: 0.25rem 0.45rem;
    background: var(--cs-blue); color: var(--cs-white);
    border-left: 3px solid var(--cs-gold);
    border-radius: 6px;
    font-size: 0.74rem; font-weight: 600; line-height: 1.3;
    text-decoration: none; overflow-wrap: anywhere;
  }
}

/* upcoming list (mobile always; desktop under the grid) */
.cs-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.cs-event-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 1rem;
  background: var(--cs-white); border-radius: 14px;
  padding: 0.9rem 1rem; box-shadow: 0 1px 4px rgba(0, 42, 92, 0.10);
  align-items: center;
}
.cs-event-date {
  text-align: center; background: var(--cs-blue); color: var(--cs-white);
  border-radius: 10px; padding: 0.45rem 0.2rem; line-height: 1.1;
}
.cs-event-date b { display: block; font-size: 1.3rem; color: var(--cs-gold); }
.cs-event-date small {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cs-event-item h3 { font-size: 1rem; margin: 0 0 0.15em; }
.cs-event-meta { font-size: 0.85rem; color: var(--cs-gray); margin: 0; }
.cs-event-dens { margin: 0.3em 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.cs-den-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--cs-blue);
  background: rgba(0, 63, 135, 0.10); border-radius: 999px;
  padding: 0.12rem 0.55rem; white-space: nowrap;
}
@media (min-width: 880px) {
  .cs-cal-listwrap { margin-top: 2.2rem; }
}

.cs-empty {
  text-align: center; padding: 2.5rem 1rem; color: var(--cs-gray);
  background: var(--cs-white); border-radius: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cs-footer {
  background: var(--cs-blue-dark);
  color: var(--cs-blue-pale);
  margin-top: clamp(2.5rem, 7vw, 4rem);
  border-top: 4px solid var(--cs-gold);
  font-size: 0.88rem;
}
.cs-site .cs-footer a { color: var(--cs-white); }
.cs-footer-grid {
  display: grid; gap: 1.6rem;
  padding: 2.2rem 0 1.4rem;
}
@media (min-width: 720px) {
  .cs-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.cs-footer h4 {
  color: var(--cs-gold); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 0.6rem;
}
.cs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.cs-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.1rem 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.9rem 1.6rem;
  align-items: center; justify-content: space-between;
  font-size: 0.78rem;
}
.cs-attribution { max-width: 52ch; opacity: 0.8; }

/* legal pages */
.cs-legal-wrap { max-width: 72ch; margin-inline: auto; padding: 2.5rem 0; }
.cs-legal-wrap h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); text-transform: uppercase; }

/* ==========================================================================
   Public forms (interest list / RSVP) — parchment cards on the trail band
   ========================================================================== */
.cs-form { max-width: 620px; margin-inline: auto; }
.cs-form-intro { color: var(--cs-gray); margin: 0 auto 1.6rem; max-width: 60ch; }

/* Each logical group (parent / children / questions) is a parchment card. */
.cs-form-card {
  background: var(--cs-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.3rem;
}
.cs-form-card > h3 {
  font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.01em;
  margin: 0 0 0.9rem;
}
/* Success headline: a warm sentence-case h1, not the uppercase section style. */
.cs-form-success-title { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0.4rem 0 0.6rem; }

/* "(optional)" marker — quiet, lowercase, never competes with the field label. */
.cs-optional { font-weight: 400; font-size: 0.85em; color: var(--cs-gray); }

/* Field label + control. Labels are blocks; checkboxes use .cs-check instead. */
.cs-field {
  display: block; margin: 0 0 0.9rem;
  font-weight: 700; font-size: 0.92rem; color: var(--cs-gray-dark);
}
.cs-field:last-child { margin-bottom: 0; }

.cs-form input[type="text"],
.cs-form input[type="email"],
.cs-form input[type="tel"],
.cs-form select,
.cs-form textarea {
  width: 100%; margin-top: 0.4rem;
  font-family: inherit; font-size: 1rem; font-weight: 400;
  color: var(--cs-gray-dark);
  background: var(--cs-white);
  padding: 0.68rem 0.8rem;
  border: 1.5px solid var(--cs-tan);
  border-radius: 10px;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}
.cs-form textarea { resize: vertical; min-height: 5.5rem; }
.cs-form input:focus, .cs-form select:focus, .cs-form textarea:focus {
  outline: none;
  border-color: var(--cs-blue);
  box-shadow: 0 0 0 3px rgba(0, 63, 135, 0.15);
}
.cs-form input::placeholder, .cs-form textarea::placeholder { color: var(--cs-gray); opacity: 0.7; }

.cs-help { color: var(--cs-gray); font-size: 0.85rem; margin-top: 0.45rem; line-height: 1.45; }

/* Checkbox rows: box left, wrapping label right, comfortable tap target. */
.cs-check {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-top: 0.9rem; font-weight: 500; font-size: 0.95rem; cursor: pointer;
}
.cs-check input[type="checkbox"] {
  flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem;
  accent-color: var(--cs-blue);
}

/* Child name + grade on one row, stacking on the narrowest phones. */
.cs-child-row { display: flex; gap: 0.6rem; margin-bottom: 0.6rem; }
.cs-child-row input[type="text"] { flex: 1 1 auto; margin-top: 0; }
.cs-child-row select { flex: 0 0 7rem; margin-top: 0; }
@media (max-width: 380px) {
  .cs-child-row { flex-wrap: wrap; }
  .cs-child-row select { flex-basis: 100%; }
}

/* "Add another child" — a quiet ghost button, not a primary action. */
.cs-add-row {
  margin-top: 0.4rem;
  font-family: inherit; font-weight: 700; font-size: 0.85rem;
  color: var(--cs-blue); background: transparent;
  border: 1.5px dashed var(--cs-blue-pale); border-radius: 999px;
  padding: 0.5rem 1.1rem; cursor: pointer;
  transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}
.cs-add-row:hover { border-color: var(--cs-blue); background: rgba(0, 63, 135, 0.05); }

.cs-form-errors {
  background: #fbe9e7; border: 1.5px solid var(--cs-red);
  color: #8a0c1a; border-radius: 12px;
  padding: 0.9rem 1.1rem; margin-bottom: 1.3rem;
}
.cs-form-errors strong { display: block; margin-bottom: 0.3rem; }
.cs-form-errors ul { margin: 0; padding-left: 1.2rem; }

.cs-legal-note { color: var(--cs-gray); font-size: 0.82rem; line-height: 1.5; margin: 1.2rem 0; }

.cs-form-submit { width: 100%; margin-top: 0.4rem; }
@media (min-width: 520px) { .cs-form-submit { width: auto; min-width: 14rem; } }

/* Honeypot: off-screen, never shown to humans. */
.cs-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
