:root {
  color-scheme: dark;
  --navy: #07152f;
  --blue: #0b4da2;
  --cyan: #32c8ff;
  --text: #f6f9ff;
  --muted: #b6c5dc;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, #176cc655 0, transparent 35%),
    radial-gradient(circle at 85% 75%, #1ac4df33 0, transparent 32%),
    linear-gradient(135deg, #030914 0%, var(--navy) 52%, #071d42 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(#ffffff14 1px, transparent 1px),
    linear-gradient(90deg, #ffffff14 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(135deg, #000, transparent 70%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 58px);
  margin: auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding: 58px 0 34px;
}

.brand-panel { position: relative; }
.brand-glow {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  left: -120px;
  top: -90px;
  border-radius: 50%;
  background: #1479e844;
  filter: blur(70px);
}
.brand-logo {
  display: block;
  width: min(100%, 470px);
  height: auto;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.brand-panel h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(37px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}
.brand-panel > p {
  max-width: 520px;
  margin: 25px 0 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
}
.email-link { color: #82dfff; text-underline-offset: 5px; }

.contact-card {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid #ffffff2b;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff18, #ffffff0b);
  box-shadow: 0 30px 90px #0007, inset 0 1px #ffffff24;
  backdrop-filter: blur(18px);
}
.contact-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: #2cd9ff33;
  filter: blur(25px);
}
.eyebrow {
  margin: 0 0 12px;
  color: #68d8ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact-card h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.intro { margin: 14px 0 30px; color: var(--muted); line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; margin-bottom: 18px; color: #dce7f8; font-size: 13px; font-weight: 700; }
input, textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 14px 15px;
  border: 1px solid #ffffff2b;
  border-radius: 11px;
  outline: none;
  background: #021027a8;
  color: white;
  font: inherit;
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 128px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8395b0; }
input:focus, textarea:focus {
  border-color: var(--cyan);
  background: #061936;
  box-shadow: 0 0 0 4px #32c8ff1f;
}
button {
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: linear-gradient(105deg, #0964d6, #1aaadd);
  box-shadow: 0 12px 28px #0879d852;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
button span { margin-left: 8px; }
button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px #0879d86b; }
button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.form-note, .form-status { color: #93a7c4; font-size: 12px; line-height: 1.5; text-align: center; }
.form-status { min-height: 18px; margin-bottom: 0; color: #8fe5ff; }
footer { position: relative; z-index: 1; padding: 0 20px 22px; color: #8092ad; font-size: 12px; text-align: center; }

@media (max-width: 820px) {
  .page-shell { grid-template-columns: 1fr; padding-top: 40px; }
  .brand-panel { text-align: center; }
  .brand-logo { width: min(100%, 390px); margin-inline: auto; margin-bottom: 40px; }
  .brand-panel h1, .brand-panel > p { margin-inline: auto; }
}
@media (max-width: 520px) {
  .page-shell { width: min(100% - 26px, 1180px); gap: 34px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card { border-radius: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
