:root {
  --navy: #111631;
  --navy-2: #1d2445;
  --orange: #ef6c00;
  --orange-2: #ff8a1c;
  --bg: #f4f6fa;
  --line: #e3e7ef;
  --text: #202536;
  --muted: #6b7280;
  --white: #fff;
  --danger: #b42318;
  --success: #067647;
  --shadow: 0 18px 50px rgba(17, 22, 49, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(239,108,0,.09), transparent 28rem),
    linear-gradient(180deg, #fff 0, var(--bg) 420px);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  width: min(100% - 32px, 980px);
  margin: 38px auto 24px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(17,22,49,.06);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  background: linear-gradient(135deg, #fff 0%, #fff8f2 100%);
  border-bottom: 1px solid var(--line);
}

.logo {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--orange);
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.1;
}

.subtitle {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-section {
  padding: 32px 38px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.section-title > span {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.section-title h2 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 1.2rem;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.grid {
  display: grid;
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }

label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 750;
}

label b, .check b, .form-footer b { color: var(--orange); }

input, textarea {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

input { min-height: 48px; padding: 12px 14px; }
textarea { min-height: 105px; padding: 12px 14px; resize: vertical; line-height: 1.45; }

input:focus, textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(239,108,0,.10);
}

small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .78rem;
}

.notice {
  margin: 22px 38px 0;
  padding: 15px 17px;
  border-radius: 13px;
  line-height: 1.5;
  font-size: .9rem;
}

.notice.info {
  color: #303b64;
  background: #f2f5ff;
  border: 1px solid #dce4ff;
}

.notice.warning {
  margin: 0 0 20px;
  color: #6b4300;
  background: #fff7e6;
  border: 1px solid #ffe0a3;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  margin-bottom: 20px;
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.check input {
  width: 19px;
  height: 19px;
  min-height: 19px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.upload-field {
  padding: 17px;
  background: #fbfcfe;
  border: 1px dashed #cbd3e1;
  border-radius: 14px;
}

.upload-field input[type="file"] {
  padding: 8px;
  min-height: 48px;
}

.file-name {
  margin-top: 9px;
  color: var(--muted);
  font-size: .82rem;
}

.form-footer {
  padding: 27px 38px 34px;
  text-align: center;
}

.form-footer > p:first-child {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: .8rem;
  text-align: left;
}

button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(239,108,0,.22);
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(239,108,0,.27);
}

button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  vertical-align: -4px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.loading .spinner { display: inline-block; }
.loading .button-label { opacity: .85; }

@keyframes spin { to { transform: rotate(360deg); } }

.privacy {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}

.form-error {
  margin: 0 38px 24px;
  padding: 13px 15px;
  color: var(--danger);
  background: #fff1f0;
  border: 1px solid #ffc8c3;
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.45;
}

.site-footer {
  padding: 18px;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 720px) {
  .page { width: min(100% - 18px, 980px); margin-top: 10px; }
  .card { border-radius: 18px; }
  .brand {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 22px;
    text-align: center;
  }
  .logo { margin: 0 auto; max-width: 190px; }
  .form-section { padding: 27px 22px; }
  .notice { margin-left: 22px; margin-right: 22px; }
  .grid.two { grid-template-columns: 1fr; gap: 0; }
  .form-footer { padding: 24px 22px 28px; }
  .form-error { margin-left: 22px; margin-right: 22px; }
}
