:root {
  --blue: #07529b;
  --blue-dark: #063d73;
  --blue-bright: #1673c9;
  --blue-soft: #eaf4ff;
  --line: #c7d9eb;
  --ink: #172b43;
  --muted: #5d7188;
  --danger: #b42318;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: #edf4fa; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(22, 115, 201, .14), transparent 30%),
    linear-gradient(145deg, #f8fbff 0%, #edf5fc 55%, #dbeaf7 100%);
  color: var(--ink);
}
button, input, select, textarea { font: inherit; }
button, label, input[type="checkbox"], input[type="radio"] { -webkit-tap-highlight-color: transparent; }
::selection { background: #b9dcff; color: #052f59; }
[hidden] { display: none !important; }

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 32px 22px 56px;
}
.accent-rail {
  position: fixed;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: max(22px, calc((100vw - 1060px) / 2));
  background: linear-gradient(180deg, #1b68b6 0%, var(--blue) 58%, var(--blue-dark) 100%);
}
.accent-rail-left { left: 0; }
.accent-rail-right { right: 0; }
.form-card {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(99, 147, 191, .3);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(5, 56, 103, .16);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 48px 30px;
  border-bottom: 1px solid #bdd4ea;
  background: linear-gradient(135deg, #fff 0%, #fbfdff 72%, #eaf4fc 100%);
}
.brand-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 42px;
}
.brand-mark { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-main { color: #0b5599; font-size: 25px; font-weight: 900; font-style: italic; letter-spacing: -1.5px; }
.brand-sub { margin-top: 4px; color: #49657f; font-size: 7px; font-weight: 700; letter-spacing: 1.3px; }
.internal-badge {
  border: 1px solid #9bc1e4;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: #0a5598;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 7px 11px;
}
.hex-pattern {
  position: absolute;
  top: -32px;
  right: -40px;
  display: grid;
  grid-template-columns: repeat(4, 94px);
  gap: 7px;
  width: 400px;
  opacity: .34;
  transform: rotate(-2deg);
}
.hex-pattern span {
  width: 94px;
  height: 82px;
  border: 1px solid #b5c8da;
  background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(212,227,240,.46));
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
}
.hex-pattern span:nth-child(5) { grid-column-start: 2; }
.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #0c62ae;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #1b2b3f;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -2px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 585px;
  margin: 15px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.process-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8194a8;
  font-size: 11px;
  font-weight: 700;
}
.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 13px;
  left: 27px;
  right: 0;
  height: 1px;
  background: #cad9e7;
}
.process-steps li span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid #c1d1df;
  border-radius: 50%;
  background: #fff;
  color: #73879b;
}
.process-steps li.active, .process-steps li.done { color: var(--blue); }
.process-steps li.active span, .process-steps li.done span {
  border-color: #0b63b2;
  background: #0b63b2;
  color: #fff;
}
.process-steps li.done:not(:last-child)::after { background: #0b63b2; }
.request-form { background: linear-gradient(180deg, #edf6ff 0%, #dcecff 100%); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
fieldset {
  margin: 0;
  padding: 38px 48px 42px;
  border: 0;
  border-bottom: 1px solid #c0d8ee;
}
fieldset:nth-of-type(even) { background: rgba(255,255,255,.28); }
legend {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 700;
}
legend span { color: var(--blue-bright); font-size: 11px; letter-spacing: 1px; }
.legend-help { margin: 8px 0 20px 34px; color: #637990; font-size: 12px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; margin-top: 28px; }
.field, .subfield { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field > span, .field > .field-label, .priority-block > p {
  color: #084b87;
  font-size: 13px;
  font-weight: 700;
}
b { color: #cb3838; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  border: 1px solid #bdd0e2;
  border-radius: 8px;
  outline: none;
  background: rgba(255,255,255,.95);
  color: #18334d;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input[type="text"], input[type="email"], input[type="tel"], select { height: 46px; padding: 0 13px; }
select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5482a9 50%),
    linear-gradient(135deg, #5482a9 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
textarea { min-height: 150px; resize: vertical; padding: 13px; line-height: 1.55; }
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-bright);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(22,115,201,.13);
}
input::placeholder, textarea::placeholder { color: #9aabba; }
.subfield span, .field small { color: #607a93; font-size: 10px; font-weight: 400; }
.counter { align-self: flex-end; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.category-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 11px;
  padding: 8px 38px 8px 10px;
  border: 1px solid #bfd2e4;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  color: #2f506e;
  cursor: pointer;
  font-size: 13px;
  transition: .18s ease;
}
.category-option:hover { border-color: #6ba5d8; background: #fff; transform: translateY(-1px); }
.category-option.checked { border-color: var(--blue-bright); background: #f5faff; color: var(--blue); box-shadow: inset 3px 0 var(--blue-bright); }
.category-option input, .priority-option input { position: absolute; opacity: 0; pointer-events: none; }
.category-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: #e5f1fc;
  color: #1268b4;
  font-size: 16px;
  font-weight: 700;
}
.category-option i {
  position: absolute;
  right: 14px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #b7c9d9;
  border-radius: 3px;
  color: transparent;
  font-size: 11px;
  font-style: normal;
}
.category-option.checked i { border-color: var(--blue-bright); background: var(--blue-bright); color: #fff; }
.priority-block { margin-top: 24px; }
.priority-block > p { margin: 0 0 11px; }
.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.priority-option {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 2px 9px;
  padding: 13px;
  border: 1px solid #bed1e3;
  border-radius: 8px;
  background: rgba(255,255,255,.8);
  cursor: pointer;
}
.priority-option.checked { border-color: var(--blue-bright); background: #fff; box-shadow: 0 5px 16px rgba(12,82,145,.08); }
.radio-dot {
  grid-row: 1 / 3;
  width: 17px;
  height: 17px;
  border: 1px solid #9cb5cb;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
}
.priority-option.checked .radio-dot { border-color: var(--blue-bright); background: var(--blue-bright); }
.priority-option strong { color: #264865; font-size: 12px; }
.priority-option small { color: #73879b; font-size: 9px; }
.upload-field { margin-top: 24px; }
.upload-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px dashed #87afd2;
  border-radius: 9px;
  background: rgba(255,255,255,.68);
  color: #315776 !important;
  cursor: pointer;
}
.upload-box:hover { border-color: var(--blue-bright); background: #fff; }
.upload-box input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.upload-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #dceefe; color: var(--blue); font-size: 19px; }
.upload-box > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.upload-box strong { font-size: 12px; }
.upload-box small { color: #71879a; font-size: 9px; font-weight: 400; }
.error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 48px 0;
  padding: 13px 15px;
  border: 1px solid #e7b7b7;
  border-radius: 8px;
  background: #fff4f4;
  color: #8c2929;
  font-size: 13px;
}
.error-banner > span { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 auto; border-radius: 50%; background: #d64040; color: #fff; font-weight: 700; }
.error-banner p { margin: 0; }
.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px 34px;
  background: rgba(255,255,255,.45);
}
.submit-row p { max-width: 420px; margin: 0; color: #6b8094; font-size: 10px; line-height: 1.6; }
.submit-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0 22px;
  box-shadow: 0 8px 20px rgba(7,82,155,.2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.submit-button:hover, .secondary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(7,82,155,.25); }
.submit-button:disabled { cursor: wait; opacity: .7; transform: none; }
.submit-button.loading .button-arrow {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  font-size: 0;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
footer {
  display: flex;
  justify-content: space-between;
  padding: 17px 48px;
  background: var(--blue-dark);
  color: #d6e8f7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
}
footer a { color: #d6e8f7; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.success-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 48px 64px;
  background: linear-gradient(180deg, #edf6ff 0%, #deedfb 100%);
  text-align: center;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #0c68b8;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(7,82,155,.24);
}
.section-kicker { margin: 0 0 7px; color: var(--blue-bright); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.success-wrap h2 { margin: 0; color: #173650; font-size: 27px; }
.success-copy { margin: 10px 0 24px; color: #657b90; font-size: 13px; }
.ticket-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: min(100%, 390px);
  margin-bottom: 28px;
  padding: 18px 28px;
  border: 1px dashed #4d91ca;
  border-radius: 10px;
  background: rgba(255,255,255,.82);
  cursor: pointer;
  color: #536d84;
}
.ticket-card span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.ticket-card strong { margin: 5px 0 3px; color: var(--blue); font-size: 24px; letter-spacing: 1.4px; }
.ticket-card small { color: #7b8fa2; font-size: 9px; }
.summary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 620px);
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid #c3d7e9;
  border-radius: 10px;
  background: rgba(255,255,255,.58);
  text-align: left;
}
.summary-list div { padding: 15px 18px; border-bottom: 1px solid #d3e2ef; }
.summary-list div:nth-child(odd) { border-right: 1px solid #d3e2ef; }
.summary-list div:nth-last-child(-n+2) { border-bottom: 0; }
.summary-list dt { margin-bottom: 4px; color: #758a9e; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.summary-list dd { margin: 0; color: #24455f; font-size: 12px; font-weight: 700; }
.secondary-button { background: #fff; color: var(--blue); border: 1px solid #8bb8df; box-shadow: none; }

@media (max-width: 720px) {
  .site-shell { padding: 0; }
  .accent-rail { display: none; }
  .form-card { border: 0; border-radius: 0; box-shadow: none; }
  .hero { padding: 26px 22px 25px; }
  .brand-row { margin-bottom: 38px; }
  .hex-pattern { right: -170px; opacity: .26; }
  h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero-copy { font-size: 13px; }
  .process-steps { gap: 4px; }
  .process-steps li { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 9px; }
  .process-steps li:not(:last-child)::after { top: 13px; left: 27px; right: -4px; }
  fieldset { padding: 30px 22px 34px; }
  .field-grid, .name-grid, .category-grid, .priority-grid { grid-template-columns: 1fr; }
  .name-grid { gap: 17px; }
  .field-grid { gap: 23px; }
  .category-grid { gap: 9px; }
  .submit-row { flex-direction: column; align-items: stretch; padding: 24px 22px 30px; }
  .submit-button { width: 100%; }
  .error-banner { margin: 20px 22px 0; }
  footer { padding: 15px 22px; }
  .success-wrap { padding: 45px 22px 52px; }
  .summary-list { grid-template-columns: 1fr; }
  .summary-list div,
  .summary-list div:nth-child(odd),
  .summary-list div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #d3e2ef; }
  .summary-list div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
