:root {
  color-scheme: dark;
  --background: var(--ink);
  --surface: #111b27;
  --text: #f5f8fc;
  --muted: #b1c2d3;
  --line: #33475b;
  font-family: Inter, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-size: 16px; line-height: 1.5; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 0.23em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 4px; }
.frame { width: min(1280px, 88%); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; color: var(--background); background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.topbar { border-bottom: 1px solid #273544; }
.topbar-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { width: clamp(128px, 11.7vw, 178px); height: auto; display: block; }
.back { color: var(--muted); font-size: .9rem; text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; padding-block: 11px; }
.back:hover, address a:hover, .confirmation a:hover { color: var(--brand-light); }
.layout { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1fr); gap: clamp(36px,6vw,110px); align-items: start; padding-block: clamp(56px,6.8vw,110px) 80px; }
.intro { padding-top: 8px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: var(--brand-light); font-size: .76rem; }
.eyebrow span { width: 22px; height: 2px; background: var(--brand-light); }
h1 { margin: 0 0 25px; font-size: clamp(3.5rem,6vw,6.5rem); line-height: 1; letter-spacing: -.065em; font-weight: 560; }
h1 em { color: var(--brand-light); font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -.045em; }
.lead { margin: 0; max-width: 40ch; font-size: clamp(1rem,1.3vw,1.2rem); line-height: 1.65; color: var(--muted); }
address { margin-top: clamp(30px,4.6vw,68px); padding-top: 22px; border-top: 1px solid var(--line); font-style: normal; }
address p { margin: 0 0 19px; }
address p:last-child { margin-bottom: 0; }
address p > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .78rem; }
address a { text-decoration-color: #647d97; }
.panel { padding: clamp(22px,3.2vw,46px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(140deg, #172636, var(--surface) 54%); }
.panel h2 { margin: 0; font-size: clamp(1.7rem,2.5vw,2.5rem); line-height: 1.1; letter-spacing: -.05em; font-weight: 560; }
.hint { margin: 9px 0 0; color: var(--muted); font-size: .86rem; }
form { margin-top: 28px; display: grid; gap: 19px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
label { font-size: .87rem; font-weight: 570; }
label span { font-weight: 400; color: var(--muted); font-size: .8rem; }
input, textarea { width: 100%; border: 1px solid #5f7791; border-radius: 10px; min-height: 48px; padding: 11px 13px; color: var(--text); background: #0e1722; transition: border-color .18s; }
input:hover, textarea:hover { border-color: #829cb9; }
textarea { min-height: 125px; resize: vertical; }
textarea::placeholder { color: #a2b2c5; font-size: .9rem; }
.captcha-note { font-size: .78rem; }
.verify-button { border: 1px solid #637c96; padding: 9px 14px; border-radius: 8px; background: transparent; color: var(--text); font-size: .85rem; }
.verify-button:hover { border-color: var(--brand-light); }
.status, .notice { margin: 0; color: #c9e0ff; font-size: .88rem; line-height: 1.55; }
.status:empty { display: none; }
.send { justify-self: start; display: inline-flex; gap: 18px; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; border: 0; border-radius: 5px; background: var(--brand); color: #fff; font-weight: 650; font-size: .93rem; }
.local-contact { display: grid; gap: 18px; margin-top: 20px; }
.local-contact p { margin: 0; color: var(--muted); }
.local-contact .send { text-decoration: none; }
.local-contact .send:hover, .send:hover:enabled { background: var(--brand-hover); }
.send:disabled { background: #344961; color: #c0cfdf; cursor: default; }
.confirmation { margin-top: 28px; }
.success-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-light); color: var(--background); font-size: 1.2rem; }
.confirmation h3 { font-size: 1.4rem; margin: 15px 0 8px; }
.confirmation p { color: var(--muted); }
@media (max-width: 890px) and (min-width: 701px) { .pair { grid-template-columns: 1fr; gap: 19px; } }
@media (max-width: 700px) {
  .frame { width: 90%; }
  .topbar-inner { min-height: 68px; }
  .layout { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 55px; }
  .intro { display: contents; }
  .eyebrow { margin-bottom: -10px; }
  h1 { margin: 0; font-size: clamp(3.15rem,10.5vw,4.75rem); }
  h1 br { display: none; }
  .lead { margin-top: -10px; max-width: 48ch; }
  .panel { border-radius: 18px; }
  address { grid-row: 5; margin-top: 0; }
}
@media (max-width: 470px) {
  .pair { grid-template-columns: 1fr; gap: 19px; }
  .back { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
