:root {
  --page-bg: #f2f3f3;
  --panel-bg: #ffffff;
  --border: #d7d9da;
  --border-soft: #e6e8e9;
  --ink: #131313;
  --ink-muted: #5f6365;
  --accent: #8f1f1f;
  --accent-dark: #6f1717;
  --accent-soft: #f8eeee;
  --accent-ring: rgba(143, 31, 31, 0.16);
  --action-primary-bg: #1f2326;
  --action-primary-border: #1f2326;
  --action-primary-hover: #161a1d;
  --action-primary-ring: rgba(31, 35, 38, 0.2);
  --radius: 4px;
  --font-ui: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-ui);
}

a {
  color: inherit;
}

.app_shell {
  min-height: 100vh;
}

.app_controls {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.brand_mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.brand_icon {
  width: 52px;
  height: 34px;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--action-primary-bg);
}

.brand_icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.app_actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.app_actions a,
.primary_link,
.secondary_link,
.candidate_form button {
  font: inherit;
  font-size: 13px;
  border-radius: var(--radius);
  padding: 9px 11px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.app_actions a,
.secondary_link {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
}

.app_actions a:hover,
.secondary_link:hover {
  border-color: #d8b8b8;
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px var(--accent-ring);
}

.primary_link,
.candidate_form button {
  border: 1px solid var(--action-primary-border);
  background: var(--action-primary-bg);
  color: #ffffff;
  font-weight: 700;
}

.primary_link:hover,
.candidate_form button:hover {
  border-color: var(--action-primary-hover);
  background: var(--action-primary-hover);
  box-shadow: 0 0 0 2px var(--action-primary-ring);
}

.app_actions a:focus-visible,
.primary_link:focus-visible,
.secondary_link:focus-visible,
.candidate_form button:focus-visible,
.candidate_form input:focus-visible,
.brand_mark:focus-visible {
  outline: 2px solid rgba(143, 31, 31, 0.42);
  outline-offset: 2px;
}

.hero_band {
  position: relative;
  min-height: min(680px, calc(100vh - 59px));
  overflow: hidden;
  background: #d8dcde;
}

.hero_media,
.hero_overlay {
  position: absolute;
  inset: 0;
}

.hero_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero_overlay {
  background:
    linear-gradient(90deg, rgba(242, 243, 243, 0.98) 0%, rgba(242, 243, 243, 0.88) 34%, rgba(242, 243, 243, 0.2) 66%),
    linear-gradient(0deg, rgba(19, 19, 19, 0.22), rgba(19, 19, 19, 0.02));
}

.hero_content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 8vw, 86px) 14px 34px;
  min-height: inherit;
  display: flex;
  align-items: center;
}

.hero_grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  gap: 18px;
  align-items: center;
}

.hero_copy {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
}

.section_label,
.field_label {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero_copy h1,
.thanks_panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.metro_location {
  width: min(560px, 100%);
  display: grid;
  gap: 7px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}

.metro_location span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.metro_location strong {
  max-width: 620px;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}

.hero_copy p,
.thanks_panel p {
  margin: 0;
  max-width: 520px;
  color: #313538;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
}

.hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.app_workspace {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 34px;
  display: grid;
  gap: 14px;
}

.panel {
  background: var(--panel-bg);
  border: 0;
  border-radius: var(--radius);
  padding: 14px;
}

.panel_header {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.panel_intro {
  margin: 2px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.4;
}

.candidate_form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.candidate_form label {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.candidate_form label:first-of-type {
  grid-column: 1 / -1;
}

.candidate_form label:focus-within {
  border-color: #d8b8b8;
  box-shadow: 0 0 0 2px var(--accent-ring);
}

.candidate_form input {
  width: 100%;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 32px;
}

.candidate_form input:focus {
  outline: 0;
}

.candidate_form input::placeholder {
  color: #8d9295;
  font-weight: 600;
}

.candidate_form button {
  grid-column: 1 / -1;
  min-height: 46px;
}

.status_text {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.4;
}

.status_text a {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.honey_field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.process_list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.process_list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius);
  background: #fafafa;
}

.process_number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
}

.process_list h3,
.info_block h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.process_intro,
.process_list p,
.info_block p,
.dropdown_body p {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.45;
}

.process_intro {
  max-width: 720px;
}

.experience_note {
  margin-top: 10px;
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 500;
}

.experience_note em {
  font-style: italic;
}

.dropdown_body .travel_note {
  color: var(--ink);
  font-weight: 500;
}

.travel_note strong {
  font-weight: 700;
}

.detail_stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-soft);
}

.info_dropdown {
  border-bottom: 1px solid var(--border-soft);
}

.info_dropdown summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.info_dropdown summary::-webkit-details-marker {
  display: none;
}

.info_dropdown summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 140ms ease,
    border-color 140ms ease;
}

.info_dropdown[open] summary::after {
  content: "-";
  border-color: #d8b8b8;
  background: var(--accent-soft);
}

.info_dropdown summary:hover::after,
.info_dropdown summary:focus-visible::after {
  border-color: #d8b8b8;
  background: var(--accent-soft);
}

.info_dropdown summary:focus-visible {
  outline: 2px solid rgba(143, 31, 31, 0.42);
  outline-offset: -2px;
}

.info_dropdown summary span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.info_dropdown summary small {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
}

.dropdown_body {
  padding: 0 14px 14px;
}

.info_block {
  min-width: 0;
  padding: 14px;
  border-bottom: 1px solid var(--border-soft);
}

.dropdown_body ul {
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.dropdown_body ul + p {
  margin-top: 16px;
}

.dropdown_body li {
  position: relative;
  padding-left: 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.dropdown_body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.exit_note {
  background: var(--accent-soft);
  border-bottom: 0;
}

.exit_note h3 {
  color: var(--accent-dark);
}

.thanks_workspace {
  min-height: calc(100vh - 59px);
  place-items: center;
}

.thanks_panel {
  width: min(760px, 100%);
  display: grid;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero_band {
    min-height: auto;
  }

  .hero_content {
    min-height: 560px;
    align-items: end;
  }

  .hero_overlay {
    background:
      linear-gradient(0deg, rgba(242, 243, 243, 0.98) 0%, rgba(242, 243, 243, 0.92) 46%, rgba(242, 243, 243, 0.18) 100%),
      linear-gradient(0deg, rgba(19, 19, 19, 0.28), rgba(19, 19, 19, 0.02));
  }

  .hero_grid {
    grid-template-columns: 1fr;
  }

  .hero_copy {
    width: 100%;
  }

  .application_panel {
    width: min(520px, 100%);
  }

  .process_list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .app_controls {
    align-items: stretch;
    flex-direction: column;
  }

  .app_actions {
    width: 100%;
  }

  .app_actions a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero_content {
    min-height: 500px;
    padding: 34px 10px 24px;
  }

  .hero_copy {
    gap: 13px;
  }

  .hero_copy h1,
  .thanks_panel h1 {
    font-size: 40px;
  }

  .hero_copy p,
  .thanks_panel p {
    font-size: 17px;
  }

  .app_workspace {
    padding: 10px 10px 24px;
  }

  .candidate_form {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 12px;
  }

  .panel h2 {
    font-size: 21px;
  }

  .info_dropdown summary {
    gap: 8px;
  }

  .info_dropdown summary small {
    display: none;
  }
}
