
  :root {
    --navy: #0a2a52;
    --navy-light: #123b6e;
    --focus-ring: rgba(18,59,110,0.12);
    --bg: #f4f6f9;
    --card: #ffffff;
    --border: #e1e6ec;
    --text: #1f2937;
    --muted: #6b7280;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    padding: 32px 16px 64px;
  }
  .page-logo {
    display: block;
    margin: 0 auto 18px;
    max-width: 320px;
    width: 100%;
    height: auto;
  }
  h1 {
    text-align: center;
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 4px;
  }
  p.subtitle {
    text-align: center;
    color: var(--muted);
    margin-top: 0;
    margin-bottom: 32px;
    font-size: 14px;
  }
  .wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  @media (max-width: 860px) {
    .wrap { grid-template-columns: 1fr; }
  }
  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .card h2 {
    margin-top: 0;
    font-size: 16px;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 18px;
  }
  label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
    margin-top: 14px;
  }
  label:first-of-type { margin-top: 0; }
  input[type="text"], input[type="tel"], input[type="email"], select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
  }
  input:focus, select:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px var(--focus-ring);
  }
  .hint {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 4px;
  }
  .row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
  }
  .row > div { flex: 1; }
  .checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
  }
  .checkbox-row input { width: auto; }
  .checkbox-row label { margin: 0; font-weight: 500; font-size: 13px; }

  #signature-preview-outer {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    overflow-x: auto;
  }

  .actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
  }
  button {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
  }
  .btn-primary {
    background: var(--navy);
    color: #fff;
  }
  .btn-primary:hover { background: var(--navy-light); }
  .btn-secondary {
    background: #eef1f5;
    color: var(--navy);
  }
  .btn-secondary:hover { background: #e2e7ee; }
  #copy-status {
    font-size: 12.5px;
    color: #1a7f37;
    margin-left: 4px;
    align-self: center;
    display: none;
  }
  .instructions {
    background: #eef4fb;
    border: 1px solid #d6e6f7;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 12.5px;
    color: #2c4a68;
    margin-top: 18px;
    line-height: 1.5;
  }
  .instructions strong { color: var(--navy); }

  /* Brand switcher */
  .switcher {
    display: flex;
    justify-content: center;
    margin: 0 auto 28px;
  }
  .switcher-track {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
  }
  .switcher a {
    display: block;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
  }
  .switcher a:hover { color: var(--text); background: #f1f3f6; }
  .switcher a[aria-current="page"] { background: var(--navy); color: #fff; }
  .switcher a:focus-visible { outline: 2px solid var(--navy-light); outline-offset: 2px; }
  @media (max-width: 420px) {
    .switcher a { padding: 8px 12px; font-size: 12.5px; }
  }
  .instructions a { color: var(--navy); font-weight: 600; }

  /* Hide the example text as soon as someone clicks into a field. */
  input:focus::placeholder { color: transparent; }
  input:focus::-webkit-input-placeholder { color: transparent; }
  input:focus::-moz-placeholder { color: transparent; opacity: 0; }
  input:focus:-ms-input-placeholder { color: transparent; }
