    :root {
      --ink: #0f172a;
      --muted: #5b667a;
      --brand: #1d4ed8;
      --accent: #f59e0b;
      --card: #ffffff;
      --line: #e2e8f0;
      --bg: #f8fafc;
      --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Space Grotesk", system-ui, sans-serif;
      color: var(--ink);
      background:
        radial-gradient(1200px 500px at 10% -10%, rgba(29, 78, 216, 0.12), transparent 60%),
        radial-gradient(900px 400px at 90% 0%, rgba(245, 158, 11, 0.14), transparent 60%),
        var(--bg);
      min-height: 100vh;
    }

    .page {
      max-width: 920px;
      margin: 0 auto;
      padding: 48px 20px 72px;
    }

    .header {
      display: grid;
      gap: 12px;
      margin-bottom: 32px;
    }
    .dept-title h2 {
      margin: 0;
      font-size: clamp(18px, 3vw, 26px);
      font-weight: 700;
      color: var(--brand);
    }
    .brand-row {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 16px;
      padding: 12px 0 4px;
    }

    .logo-pair {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .brand-logo {
      width: 70px;
      height: 70px;
      object-fit: contain;
    }

    .dept-title {
      text-align: center;
    }

    .dept-title h2 {
      margin: 0;
      font-size: clamp(18px, 3vw, 26px);
      font-weight: 700;
      color: var(--brand);
    }

    .dept-title h3 {
      margin: 4px 0 0;
      font-size: clamp(14px, 2.5vw, 18px);
      font-weight: 600;
      color: var(--ink);
    }
    .dept-title h4 {
      margin: 4px 0 0;
      font-size: clamp(10px, 2.5vw, 12px);
      font-weight: 600;
      color: var(--ink);
    }

    .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.2em;
      font-size: 12px;
      color: var(--muted);
      font-weight: 600;
    }

    h1 {
      font-family: "Fraunces", serif;
      font-size: clamp(28px, 4vw, 44px);
      margin: 0;
    }

    .subtitle {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      max-width: 620px;
    }

    .card {
      background: var(--card);
      border-radius: 20px;
      padding: 28px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(148, 163, 184, 0.18);
    }

    .req-note {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 22px;
    }

    .errorlist {
      list-style: none;
      margin: 6px 0 0;
      padding: 0;
      color: #dc2626;
      font-size: 13px;
      font-weight: 600;
    }

    .grid {
      display: grid;
      gap: 20px;
    }

    .field {
      display: grid;
      gap: 10px;
    }

    label {
      font-weight: 600;
    }

    .required::after {
      content: " *";
      color: #dc2626;
      font-weight: 700;
    }

    input[type="text"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea {
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 15px;
      font-family: inherit;
      background: #fdfdfd;
    }

    textarea {
      min-height: 90px;
      resize: vertical;
    }

    select:disabled {
      background: #eef2f7;
      color: #6b7280;
    }

    .options {
      display: grid;
      gap: 10px;
      padding: 12px 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f8fafc;
    }

    .followup {
      margin-top: 10px;
    }

    .hidden {
      display: none;
    }

    .option {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
    }

    .option input {
      accent-color: var(--brand);
      width: 18px;
      height: 18px;
    }

    .actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 24px;
    }

    .submit {
      border: none;
      border-radius: 999px;
      padding: 12px 26px;
      font-size: 15px;
      font-weight: 600;
      background: linear-gradient(120deg, var(--brand), #0ea5e9);
      color: #fff;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(14, 165, 233, 0.25);
    }

    .submit:hover {
      filter: brightness(1.03);
    }

    .reset {
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 12px 22px;
      background: transparent;
      font-size: 14px;
      cursor: pointer;
    }

    .dialog-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
      padding: 20px;
      z-index: 10;
    }

    .dialog-backdrop.show {
      opacity: 1;
      pointer-events: auto;
    }

    .dialog {
      background: var(--card);
      border-radius: 20px;
      padding: 26px 26px 22px;
      text-align: center;
      max-width: 360px;
      width: 100%;
      box-shadow: var(--shadow);
      border: 1px solid rgba(148, 163, 184, 0.2);
    }

    .dialog-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 12px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: rgba(34, 197, 94, 0.15);
      color: #16a34a;
      font-size: 28px;
      font-weight: 700;
    }

    .dialog h5 {
      margin: 0 0 6px;
      font-size: 18px;
    }

    .dialog p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .dialog button {
      border: none;
      border-radius: 999px;
      padding: 10px 22px;
      font-size: 14px;
      font-weight: 600;
      background: linear-gradient(120deg, var(--brand), #0ea5e9);
      color: #fff;
      cursor: pointer;
      box-shadow: 0 10px 22px rgba(14, 165, 233, 0.2);
    }

    @media (max-width: 640px) {
      .brand-row {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .logo-pair {
        justify-content: center;
      }

      .brand-logo {
        margin: 0 auto;
      }

      .card {
        padding: 22px;
      }
    }