* { box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, sans-serif;
  margin: 0; padding: 0; background: #faf8f3; color: #222;
}

/* s177 b02 — de-gradiented to the staymulate_ds calm palette (flat warm
   #faf8f3 + charcoal ink + forest-on-cream chip), matching the b16 learn
   pages and the owner portal. No saturated green slab on a facing page. */
.hero {
  background: #faf8f3;
  color: #2b2b28; padding: 40px 20px 32px; text-align: center;
}
.hero .brand-label {
  display: inline-block; margin: 0 0 14px; padding: 4px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #eef3e9; color: #4a6b3f;
  border: 1px solid #d6e2cc; border-radius: 999px;
}
.hero h1 {
  margin: 0 0 8px; font-size: 26px; font-weight: 700; line-height: 1.3;
}
.hero .value-line {
  font-size: 13px; color: #6c6c64; margin: 0 0 14px; line-height: 1.5;
  font-style: italic;
}
.hero .tagline {
  font-size: 15px; color: #4a4a44; margin-bottom: 20px; line-height: 1.5;
}
.hero-bullets {
  text-align: left; max-width: 400px; margin: 0 auto; font-size: 14px;
  line-height: 1.8;
}
.hero-bullets li { margin-bottom: 4px; }

.trust-bar {
  background: #fff; padding: 12px 20px; text-align: center;
  font-size: 12px; color: #777; border-bottom: 1px solid #eee;
}
.trust-bar strong { color: #4a6b3f; }

.pricing-bar {
  background: #f3f7ee; padding: 10px 20px; text-align: center;
  font-size: 13px; color: #444; border-bottom: 1px solid #e7e9d8;
}
.pricing-bar .pricing-line-1 { line-height: 1.5; }
.pricing-bar .pricing-line-2 {
  font-size: 11px; color: #6a7355; margin-top: 2px;
}
.pricing-bar .pricing-line-roi {
  font-size: 11px; color: #4a7c2e; margin-top: 4px; font-style: italic;
}
.pricing-bar .pricing-label {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: #4a7c2e; margin-right: 8px;
}
.pricing-bar .pricing-value { font-weight: 600; color: #4a6b3f; }

main { padding: 20px; max-width: 500px; margin: 0 auto; }

.form-title {
  font-size: 18px; font-weight: 700; color: #4a6b3f; margin-bottom: 4px;
}
.form-subtitle {
  font-size: 13px; color: #777; margin-bottom: 20px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 600; color: #444;
  margin-bottom: 4px;
}
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: 8px;
  font-size: 15px; background: #fff;
}
.field input:focus, .field select:focus {
  outline: none; border-color: #4a6b3f; box-shadow: 0 0 0 2px rgba(43,43,40,0.15);
}

.fpmc-toggle {
  display: flex; gap: 8px; align-items: center; margin-top: 4px;
}
.fpmc-toggle button {
  padding: 8px 20px; border: 1px solid #ccc; border-radius: 8px;
  background: #fff; font-size: 14px; cursor: pointer; flex: 1;
}
.fpmc-toggle button.selected {
  background: #4a6b3f; color: #fff; border-color: #4a6b3f;
}

.fpmc-name-field { display: none; margin-top: 10px; }
.fpmc-name-field.show { display: block; }

.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 auto; width: 118px; }
.phone-row input { flex: 1; }

.field-hint { font-size: 11px; color: #888; margin-top: 4px; line-height: 1.4; }

.consent {
  font-size: 12px; color: #777; margin: 16px 0; line-height: 1.6;
}
.consent a { color: #4a6b3f; }

.ai-disclosure {
  font-size: 11px; color: #999; margin: 12px 0; line-height: 1.5;
  padding: 8px 12px; background: #f5f5f5; border-radius: 6px;
}

.submit-btn {
  width: 100%; padding: 14px; background: #4a6b3f; color: #fff;
  border: none; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.3px;
}
.submit-btn:active { background: #1f3a10; }
.submit-btn:disabled { background: #999; cursor: not-allowed; }

.success-msg {
  text-align: center; padding: 40px 20px;
}
.success-msg h2 { color: #4a6b3f; font-size: 22px; margin-bottom: 8px; }
.success-msg p { color: #555; font-size: 14px; line-height: 1.6; }
.success-msg .next-step {
  display: inline-block; margin-top: 16px; padding: 12px 24px;
  background: #4a6b3f; color: #fff; text-decoration: none;
  border-radius: 8px; font-weight: 600; font-size: 14px;
}

.error-toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #b71c1c; color: #fff; padding: 10px 20px; border-radius: 8px;
  font-size: 13px; display: none; z-index: 100; max-width: 90%;
}
.error-toast.show { display: block; }

footer {
  text-align: center; padding: 20px; font-size: 11px; color: #aaa;
  border-top: 1px solid #eee; margin-top: 30px;
}

/* AU phone format hint applies dynamically when +61 is selected */
.phone-au-hint { display: none; }
.phone-au-hint.show { display: block; }

/* Form / success section toggle (replaces inline style="display:none") */
.section-hidden { display: none; }

/* Onboarding-link helper text inside success message */
.success-msg .onboard-helper { font-size: 13px; color: #777; margin-top: 12px; }

/* Tooltip glyph next to FPMC label */
.field-tooltip {
  display: inline-block;
  width: 16px; height: 16px; line-height: 16px; text-align: center;
  font-size: 11px; color: #fff; background: #4a6b3f; border-radius: 50%;
  margin-left: 4px; cursor: help;
}

.consent a { color: #4a6b3f; text-decoration: underline; }
#consent-jurisdiction { display: block; margin-top: 6px; font-size: 11px; color: #999; }

  /* Extracted utility classes (previously inline styles). */
  ._si1 { position:absolute;top:-40px;left:8px;background:#1f2937;color:#fff;padding:8px 14px;border-radius:0 0 8px 8px;font-size:13px;font-weight:600;z-index:9999;text-decoration:none; }
  ._si2 { margin: 18px 0; padding: 14px 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; }
  ._si3 { font-size: 13px; font-weight: 600; color: #1f2937; margin-bottom: 8px; }
  ._si4 { font-size: 11px; color: #595959; margin: 0 0 12px; line-height: 1.5; }
  ._si5 { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; cursor: pointer; font-size: 12px; }
  ._si6 { margin-top: 3px; flex-shrink: 0; }
  ._si7 { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 4px; cursor: pointer; font-size: 12px; }
  ._si8 { font-size: 10px; color: #94a3b8; margin: 10px 0 0; line-height: 1.5; }

  /* Extracted utility classes (previously inline styles). */

  /* s129 b13 — Existing OTA listings capture. Public URLs only, no PII per
     panel-validated bring-your-own architecture (foundation/ota_bring_your_
     own_architecture_s129_b13.md). */
  .ota-listings-textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
  }
  .ota-listings-help {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
  }

  /* s130 b10 — Language switcher (en / fr / hi / id) per TC v4-redo
     i18n cluster. Compact horizontal nav under skip-link. */
  .lang-switcher {
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
  }
  .lang-switcher a {
    color: #4a6b3f;
    text-decoration: none;
    margin: 0 4px;
  }
  .lang-switcher a:hover { text-decoration: underline; }
  /* s203 (founder) — language selector is now a single dropdown (was a row of
     links). Matches the guest-surface switcher; lists only server-supported
     languages (en/fr/hi/id per _ENROLL_I18N). */
  .lang-switcher .stm-lang-globe { margin-right: 6px; font-size: 15px; vertical-align: middle; }
  .lang-switcher select {
    font-family: inherit;
    font-size: 14px;
    padding: 7px 10px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    background: #fff;
    color: #2d5016;
    font-weight: 600;
    cursor: pointer;
    max-width: 240px;
    vertical-align: middle;
  }

/* s169 (founder) — Select all / Deselect all toggle for the optional data-use consents */
.consent-toggle-btn {
  background: #fff; border: 1px solid #cfe0d6; border-radius: 6px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; color: #2c7a52;
  cursor: pointer; margin: 2px 0 10px;
}
.consent-toggle-btn:hover { background: #eef5f0; }
