:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: #13171d;
  --panel-2: #191f27;
  --border: #2a323d;
  --text: #f4f7fb;
  --muted: #a6b0bf;
  --gold: #d9ad55;
  --gold-2: #f0ca78;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 173, 85, .12), transparent 34rem),
    linear-gradient(180deg, #0a0c0f 0%, #0d1116 100%);
  color: var(--text);
}
button, input, textarea { font: inherit; }
.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 36px;
}
.hero { margin-bottom: 28px; }
.brand-row { display: flex; gap: 16px; align-items: center; }
.brand-mark {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 15px;
  border: 1px solid rgba(217,173,85,.5);
  background: linear-gradient(145deg, rgba(217,173,85,.19), rgba(217,173,85,.05));
  color: var(--gold-2); font-weight: 800; letter-spacing: .04em;
}
.eyebrow, .step {
  margin: 0 0 4px; color: var(--gold-2);
  text-transform: uppercase; letter-spacing: .13em;
  font-size: .76rem; font-weight: 700;
}
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.02; }
h2 { margin: 0; font-size: 1.35rem; }
.hero-copy {
  max-width: 730px; margin: 22px 0 0;
  color: var(--muted); font-size: 1.08rem; line-height: 1.65;
}
.card {
  background: rgba(19, 23, 29, .94);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.form-card, .result-card { padding: clamp(22px, 5vw, 38px); }
.section-heading {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 18px; margin-bottom: 28px;
}
.status-pill {
  display: inline-flex; align-items: center; min-height: 30px;
  padding: 6px 11px; border-radius: 999px;
  color: var(--gold-2); background: rgba(217,173,85,.1);
  border: 1px solid rgba(217,173,85,.3);
  font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-bottom: 18px;
}
label > span, .summary-box > span, .result-item > span {
  display: block; margin-bottom: 8px;
  color: var(--muted); font-size: .84rem; font-weight: 650;
}
small { color: #717d8e; font-weight: 500; }
input, textarea {
  width: 100%; border: 1px solid var(--border);
  background: #0d1116; color: var(--text);
  border-radius: 12px; outline: none;
  padding: 13px 14px; transition: border-color .18s, box-shadow .18s;
}
textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
input:focus, textarea:focus {
  border-color: rgba(217,173,85,.75);
  box-shadow: 0 0 0 3px rgba(217,173,85,.11);
}
.message-label { display: block; }
.examples { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.example, .secondary {
  border: 1px solid var(--border); color: #d7dee8;
  background: var(--panel-2); border-radius: 10px;
  padding: 9px 12px; cursor: pointer;
}
.example:hover, .secondary:hover { border-color: #566273; }
.form-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 22px; margin-top: 28px;
}
.privacy-note {
  margin: 0; max-width: 610px; color: #788495;
  font-size: .82rem; line-height: 1.5;
}
.primary {
  min-width: 175px; border: 0; border-radius: 12px;
  padding: 13px 18px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #15120c; font-weight: 800;
  box-shadow: 0 7px 24px rgba(217,173,85,.16);
}
.primary:disabled { opacity: .62; cursor: wait; }
.spinner {
  display: none; width: 15px; height: 15px; margin-left: 8px;
  border: 2px solid rgba(0,0,0,.25); border-top-color: #16120b;
  border-radius: 50%; animation: spin .7s linear infinite;
}
.primary.loading .spinner { display: inline-block; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-box {
  margin-top: 18px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,135,135,.28);
  background: rgba(255,135,135,.07); color: #ffc0c0;
}
.result-card { margin-top: 22px; }
.result-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.result-item {
  min-height: 100px; padding: 16px; border-radius: 14px;
  border: 1px solid var(--border); background: #0e1217;
}
.result-item strong { display: block; font-size: 1.03rem; overflow-wrap: anywhere; }
.summary-box {
  margin-top: 14px; padding: 18px; border-radius: 14px;
  border: 1px solid var(--border); background: #0e1217;
}
.summary-box p { margin: 0; color: #d8dfe9; line-height: 1.6; }
.review-note {
  margin-top: 14px; padding: 13px 15px; border-radius: 12px;
  border: 1px solid rgba(217,173,85,.28);
  background: rgba(217,173,85,.07); color: #e8d2a5;
}
.result-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
footer {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 4px 0; color: #647081; font-size: .76rem;
}
.honeypot {
  position: absolute !important; left: -10000px !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
}
@media (max-width: 760px) {
  .shell { padding-top: 34px; }
  .contact-grid, .result-grid { grid-template-columns: 1fr; }
  .form-footer, footer { align-items: stretch; flex-direction: column; }
  .primary { width: 100%; }
}
