:root {
  color-scheme: dark;
  --bg: #060c15;
  --bg-soft: #0a1423;
  --panel: rgba(13, 24, 41, 0.9);
  --panel-strong: #0e1a2b;
  --line: rgba(151, 190, 255, 0.17);
  --line-strong: rgba(91, 188, 255, 0.42);
  --text: #f4f7fb;
  --muted: #a7b4c6;
  --blue: #5bbcff;
  --cyan: #58e3d4;
  --danger: #ff9f9f;
  --danger-bg: rgba(210, 64, 64, 0.14);
  --success: #78eadc;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(44, 130, 201, 0.2), transparent 30rem),
    radial-gradient(circle at 90% 42%, rgba(39, 190, 172, 0.12), transparent 34rem),
    linear-gradient(145deg, #060a12 0%, #091425 52%, #06101a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a { color: inherit; }

.site-header,
.site-footer,
main {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 50px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand-logo {
    height: 40px;
  }
}

.location {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5.25rem);
  padding: clamp(3.5rem, 8vw, 7rem) 0 5rem;
}

.hero-copy {
  position: sticky;
  top: 2rem;
  padding-top: 1rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, #fff 4%, #83d1ff 52%, #68ebdc);
  background-clip: text;
  -webkit-background-clip: text;
}

.lede {
  max-width: 600px;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3.5rem;
}

.trust-row span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cbd6e5;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  font-weight: 700;
}

.steps h2 {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.steps ol {
  display: grid;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  gap: 0.15rem;
  min-height: 42px;
  padding-left: 3.5rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(88, 227, 212, 0.07);
  font-weight: 900;
}

.steps strong { font-size: 0.96rem; }
.steps span { color: var(--muted); font-size: 0.9rem; }

.form-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0d192a;
  box-shadow: var(--shadow);
}

.form-heading,
.success {
  padding: clamp(1.8rem, 4vw, 2.8rem);
}

.form-heading {
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(91, 188, 255, 0.08), rgba(88, 227, 212, 0.025));
}

.form-heading h2,
.success h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.form-heading > p:last-child,
.success > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

form { padding: 0 clamp(1.4rem, 4vw, 2.8rem) clamp(1.8rem, 4vw, 2.8rem); }

fieldset {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
  margin: 0;
  padding: 2rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

legend {
  padding: 1rem 0 0;
  color: #dce6f4;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-grid {
  display: grid;
  gap: 1.15rem;
}

.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

label { display: grid; gap: 0.48rem; min-width: 0; }
label > span:first-child { font-size: 0.88rem; font-weight: 750; }
label small { color: var(--muted); font-weight: 500; }

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(160, 187, 222, 0.23);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: rgba(3, 10, 20, 0.58);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select { min-height: 48px; padding: 0.75rem 0.85rem; }
textarea { min-height: 108px; padding: 0.8rem 0.85rem; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: rgba(7, 17, 31, 0.9);
  box-shadow: 0 0 0 3px rgba(91, 188, 255, 0.13);
}

input::placeholder,
textarea::placeholder { color: #738197; }

select { color-scheme: dark; }

.upload-field {
  padding: 1rem;
  border: 1px dashed rgba(91, 188, 255, 0.4);
  border-radius: 14px;
  background: rgba(91, 188, 255, 0.045);
}

input[type="file"] {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.86rem;
}

input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: #dff5ff;
  background: rgba(91, 188, 255, 0.1);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.upload-help,
.file-status,
.contact-note,
.privacy-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-note { margin: -0.35rem 0 0; }

.consent {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  align-items: start;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.consent input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin: 0.18rem 0 0;
  accent-color: var(--cyan);
}

.consent span { color: var(--muted); font-size: 0.8rem; font-weight: 500; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(91, 188, 255, 0.45); outline-offset: 3px; }
.button:disabled { cursor: wait; opacity: 0.65; transform: none; }

.button.primary {
  width: 100%;
  margin-top: 1.5rem;
  color: #06111d;
  background: linear-gradient(110deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 30px rgba(61, 192, 222, 0.2);
}

.button.secondary {
  margin-top: 1.2rem;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(91, 188, 255, 0.08);
}

.privacy-note { margin: 0.9rem 0 0; text-align: center; }
.privacy-note a { color: #bcdfff; }

.error {
  margin: 1.5rem clamp(1.4rem, 4vw, 2.8rem) 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 159, 159, 0.3);
  border-radius: 10px;
  color: var(--danger);
  background: var(--danger-bg);
  font-size: 0.88rem;
}

.success { min-height: 470px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  color: #06131b;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 1.6rem;
  font-weight: 900;
}

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

.accepted {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}

.accepted-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.accepted-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.accepted-heading h2 span {
  color: transparent;
  background: linear-gradient(90deg, #94d8ff, #75ebdd);
  background-clip: text;
  -webkit-background-clip: text;
}

.accepted-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accepted-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.accepted-grid article {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(91, 188, 255, 0.045), transparent 55%),
    rgba(255, 255, 255, 0.025);
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-heading h3 {
  margin: 0;
  font-size: 1rem;
}

.category-mark {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(88, 227, 212, 0.06);
  font-size: 0.72rem;
  font-weight: 900;
}

.accepted-grid article p {
  margin: 1.3rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.condition-label {
  margin-top: auto;
  color: #89dcd3;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .accepted-heading {
    grid-template-columns: 1fr;
  }

  .accepted-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .accepted-grid {
    grid-template-columns: 1fr;
  }
}

.fine-print {
  padding: 0 0 3.5rem;
  color: #7e8da3;
  font-size: 0.78rem;
}

.fine-print p { max-width: 900px; margin-bottom: 0; }

.site-footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid var(--line);
  color: #7f8da2;
  font-size: 0.82rem;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { position: static; }
  .accepted-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  main { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 72px; }
  .location { display: none; }
  .hero { padding-top: 2.5rem; }
  .hero-copy { padding-top: 0; }
  .field-grid.two,
  .accepted-grid { grid-template-columns: 1fr; }
  .form-card { border-radius: 20px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 1.5rem 0; }
  .site-footer nav { gap: 0.8rem 1.1rem; }
}

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