:root {
  --contact-max: 1240px;
  --panel: #181020;
  --panel-raised: #1f162c;
  --control: #241a33;
  --text-strong: #f7f4fc;
  --success: #5bbf8a;
  --danger: #e0606a;
  --radius-sm: 4px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(6, 4, 10, 0.42);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; color-scheme: dark; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 88% 14%, rgba(123, 63, 228, 0.22), transparent 34rem),
    radial-gradient(circle at 10% 90%, rgba(230, 142, 10, 0.08), transparent 26rem),
    var(--bg);
}
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--royal-bright); }
.sr-only, .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--text-strong);
  background: var(--royal);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 3px;
}
.site-header, .site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--contact-max));
  margin-inline: auto;
}
.site-header { min-height: 82px; }
.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 600;
  text-decoration: none;
}
.language-control {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(24, 16, 32, 0.84);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.language-control svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.language-control select {
  min-height: 40px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: transparent;
  border: 0;
}
main { position: relative; padding: 28px 20px 64px; }
.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(160, 107, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 107, 255, 0.11) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 60% at 60% 40%, black, transparent);
}
.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(540px, 1.35fr);
  width: min(100%, var(--contact-max));
  min-height: 700px;
  margin-inline: auto;
  overflow: hidden;
  background: rgba(18, 14, 26, 0.84);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.context-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px 46px 42px;
  background:
    linear-gradient(155deg, rgba(123, 63, 228, 0.25), transparent 52%),
    linear-gradient(180deg, rgba(36, 26, 51, 0.95), rgba(18, 14, 26, 0.98));
  border-right: 1px solid var(--line-strong);
}
.kicker {
  margin: 0 0 16px;
  color: var(--orange-bright);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.intent-label {
  display: inline-flex;
  width: fit-content;
  margin: 6px 0 20px;
  padding: 7px 10px;
  color: var(--royal-bright);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(123, 63, 228, 0.12);
  border: 1px solid rgba(160, 107, 255, 0.3);
  border-radius: 999px;
}
.context-panel h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.intro { max-width: 38ch; margin: 26px 0 0; color: var(--text-muted); line-height: 1.65; }
.readiness-prompt {
  margin-top: 42px;
  padding: 22px 22px 24px;
  background: rgba(123, 63, 228, 0.1);
  border: 1px solid rgba(160, 107, 255, 0.28);
  border-left: 3px solid var(--orange-bright);
  border-radius: var(--radius-sm);
}
.readiness-eyebrow { margin: 0 0 10px; color: var(--orange-bright); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.readiness-prompt h2 { margin: 0; color: var(--text-strong); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.readiness-prompt > p:not(.readiness-eyebrow) { margin: 12px 0 18px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }
.readiness-button { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 10px 15px; color: #fff; background: var(--royal); border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.readiness-button:hover { color: #fff; background: var(--royal-bright); }
.process-list { display: grid; gap: 0; margin: 48px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 38px 1fr; align-items: center; border-top: 1px solid var(--line); }
.process-list span { color: var(--orange-bright); font-family: var(--font-mono); font-size: 0.68rem; }
.process-list p { margin: 13px 0; color: var(--text-muted); font-size: 0.88rem; }
.form-panel { padding: clamp(34px, 5vw, 64px); }
.intent-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 34px;
  padding: 4px;
  background: var(--control);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.intent-switch button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
}
.intent-switch button[aria-pressed="true"] { color: white; background: var(--royal); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; color: var(--text); font-size: 0.84rem; font-weight: 600; }
.field small { color: var(--text-faint); font-size: 0.74rem; font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  color: var(--text-strong);
  background: var(--control);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input { min-height: 48px; padding: 0 13px; }
.field textarea { min-height: 150px; padding: 13px; line-height: 1.55; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(160, 107, 255, 0.56); }
.field input:focus, .field textarea:focus { border-color: var(--royal-bright); box-shadow: 0 0 0 3px rgba(123, 63, 228, 0.15); outline: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-wide { margin-top: 24px; }
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--royal); }
.form-error { margin: 20px 0 0; padding: 12px 14px; color: #ffd7db; background: rgba(224, 96, 106, 0.12); border: 1px solid rgba(224, 96, 106, 0.38); border-radius: 4px; }
.submit-row { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.submit-row p { max-width: 27ch; margin: 0; color: var(--text-faint); font-size: 0.72rem; line-height: 1.5; }
.primary-button, .secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: white;
  font-weight: 700;
  text-decoration: none;
  background: var(--royal);
  border: 0;
  border-radius: var(--radius-sm);
}
.primary-button:hover, .secondary-button:hover { background: var(--royal-bright); }
.primary-button:disabled { cursor: wait; opacity: 0.64; }
.success-view { max-width: 560px; padding: clamp(34px, 5vw, 62px) 0; }
.success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 28px;
  color: #0c0910;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--success);
  border-radius: 50%;
}
.success-view h2 { margin: 0; color: var(--text-strong); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; }
.success-view > p:not(.kicker) { margin: 22px 0 30px; color: var(--text-muted); font-size: 1.05rem; line-height: 1.65; }
.site-footer { min-height: 84px; flex-wrap: wrap; gap: 8px 18px; color: var(--text-faint); font-family: var(--font-mono); font-size: 0.72rem; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text-muted); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--text-strong); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }

@media (max-width: 900px) {
  .contact-shell { grid-template-columns: 1fr; }
  .context-panel { padding: 40px 34px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .context-panel h1 { max-width: 18ch; }
  .process-list { display: none; }
  .readiness-prompt { margin-top: 30px; }
}
@media (max-width: 620px) {
  .site-header, .site-footer { width: min(100% - 28px, var(--contact-max)); }
  main { padding: 14px 14px 44px; }
  .contact-shell { border-radius: 6px; }
  .context-panel, .form-panel { padding: 30px 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 18px; }
  .intent-switch { display: grid; width: 100%; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .submit-row p { max-width: none; }
  .primary-button { width: 100%; }
  .brand span { font-size: 1rem; }
}
