:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: #111b31;
  background: #f3f6fa;
  --navy: #062b5b;
  --teal: #3978d4;
  --red: #ef5b52;
  --line: #d5deea;
  --muted: #64748b;
  --surface: #ffffff;
  --soft: #eaf0f6;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, .72fr);
  align-items: center;
  gap: 36px;
  width: min(1220px, calc(100% - 48px));
  margin: auto;
  padding: 40px 0;
}
.intro, .access-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgb(15 35 64 / 9%);
}
.intro { padding: clamp(28px, 4vw, 52px); }
.access-panel { padding: 24px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 42px; }
.brand-lockup img { width: 54px; height: 54px; }
.brand-lockup span { display: grid; gap: 2px; }
.brand-lockup strong { font-size: 18px; }
.brand-lockup small { color: var(--muted); }
.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.intro h1 {
  max-width: 680px;
  margin: 8px 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}
.intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.55; }
.experience-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.experience-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}
svg { width: 19px; height: 19px; flex: none; }
.showroom-state {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-left: 4px solid #8da0b6;
  background: var(--soft);
}
.showroom-state.ready { border-color: var(--teal); }
.showroom-state.error { border-color: var(--red); }
.showroom-state span { display: grid; gap: 3px; min-width: 0; }
.showroom-state small { color: var(--muted); line-height: 1.35; }
.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--soft);
  border-radius: 7px;
}
.mode-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font-weight: 750;
}
.mode-switch button.active { background: var(--surface); box-shadow: 0 1px 5px rgb(15 35 64 / 12%); color: var(--navy); }
.mode-panel { display: grid; gap: 18px; padding: 28px 8px 20px; }
.mode-panel[hidden] { display: none; }
h2 { margin: 5px 0 6px; font-size: 27px; letter-spacing: 0; }
.muted { margin: 0; color: var(--muted); line-height: 1.5; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(72px, auto);
  gap: 8px;
}
.metric-grid span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  align-content: center;
  column-gap: 7px;
  min-width: 0;
  min-height: 72px;
  padding: 10px 12px;
  background: var(--soft);
  border-radius: 6px;
}
.metric-grid svg { grid-row: 1 / 3; color: var(--navy); }
.metric-grid strong { min-width: 0; font-size: 19px; line-height: 1.1; }
.metric-grid small {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.primary-action:disabled { opacity: .55; cursor: wait; }
.retry-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: inherit;
  font-weight: 700;
}
.retry-action[hidden] { display: none; }
.retry-action:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; }
input, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: inherit;
  padding: 10px 11px;
}
input { min-height: 44px; }
textarea { resize: vertical; min-height: 84px; }
input:focus, textarea:focus { outline: 3px solid rgb(57 120 212 / 20%); border-color: var(--teal); }
.consent { grid-template-columns: 20px 1fr; align-items: start; font-weight: 500; line-height: 1.45; }
.consent input { width: 18px; min-height: 18px; margin: 1px 0; }
.status { min-height: 22px; margin: 0; color: var(--muted); }
.status.success { color: #087443; }
.status.error { color: #b42318; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
footer span { display: inline-flex; align-items: center; gap: 6px; }
footer a { color: var(--navy); font-weight: 750; text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; width: min(720px, calc(100% - 28px)); gap: 14px; padding: 14px 0; }
  .brand-lockup { margin-bottom: 28px; }
  .intro h1 { font-size: 40px; }
}
@media (max-width: 540px) {
  .intro, .access-panel { padding: 20px; }
  .mode-switch, .field-grid { grid-template-columns: 1fr; }
  .field-grid .full { grid-column: auto; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
  .metric-grid { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
  :root { color: #f2f5fb; background: #0e1420; --surface: #171f2d; --line: #344052; --muted: #b8c2d1; --soft: #222d3d; }
  .intro, .access-panel { box-shadow: none; }
  footer a, .mode-switch button.active { color: #b9d7ff; }
}
