:root {
  color-scheme: light;
  --navy: #002d6e;
  --navy-deep: #001b49;
  --blue: #0752a1;
  --lime: #d2eb3a;
  --ink: #0d1a2b;
  --muted: #526174;
  --white: #ffffff;
  --line: #dce3ec;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, #1263b7 0, transparent 40%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
}

button, input, select { font: inherit; }
a { color: inherit; }

.page-shell {
  width: min(100%, 500px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px 20px;
}

.profile-header { text-align: center; }

.brand-mark {
  width: 74px;
  height: 56px;
  margin: 0 auto 8px;
  color: #fff;
}

.brand-mark svg { width: 100%; height: 100%; }
.brand-mark text { fill: currentColor; font: 10px system-ui, sans-serif; }

h1 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.profile-header p {
  margin: 7px 0 2px;
  font-size: 0.89rem;
  line-height: 1.45;
}

.site-address {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.social-shortcuts {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 22px;
}

.social-shortcuts a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}

.social-shortcuts a:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.social-shortcuts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-shortcuts svg .fill { fill: currentColor; stroke: none; }

.link-list { display: grid; gap: 9px; }

.link-button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 5px 14px rgba(0,15,45,.17);
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.link-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,15,45,.25); }
.link-button:focus-visible, .icon-button:focus-visible, .submit-button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #81b9ff; outline-offset: 2px; }
.link-icon { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.brand-letter { font-family: Arial, sans-serif; }
.brand-letter.small { font-size: 1rem; }
.play-icon { font-size: .9rem; }
.arrow { color: #7f8a99; font-size: 1.35rem; }

.recruitment-button {
  min-height: 62px;
  border-color: var(--lime);
  background: var(--lime);
  color: #08224a;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.25;
}

footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
}

footer a { text-underline-offset: 3px; }

dialog {
  width: min(calc(100% - 28px), 520px);
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,18,52,.45);
}

dialog::backdrop { background: rgba(0,18,52,.75); backdrop-filter: blur(4px); }

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 22px 16px;
  color: #fff;
  background: var(--navy);
}

.eyebrow { font-size: .75rem; font-weight: 750; text-transform: uppercase; }
.dialog-header h2 { margin: 4px 0 0; font-size: 1.45rem; }

.icon-button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

form { display: grid; gap: 14px; padding: 20px 22px 24px; }
label { display: grid; gap: 6px; color: #27374b; font-size: .88rem; font-weight: 700; }

.phone-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.phone-fieldset legend {
  margin-bottom: 6px;
  padding: 0;
  color: #27374b;
  font-size: .88rem;
  font-weight: 700;
}

.phone-fields {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
}

input, select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b9c5d4;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
}

.phone-fields select { padding-inline: 9px 28px; }

.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note, .form-status { margin: 0; font-size: .8rem; line-height: 1.45; }
.privacy-note { color: var(--muted); }
.form-status { min-height: 1.2em; color: #075a2c; font-weight: 700; }
.form-status.error { color: #a12121; }

.submit-button {
  min-height: 50px;
  padding: 10px 18px;
  border: 0;
  border-radius: 5px;
  color: #071a36;
  background: var(--lime);
  font-weight: 850;
  cursor: pointer;
}

.submit-button:disabled { opacity: .55; cursor: not-allowed; }

@media (min-width: 720px) {
  .page-shell { padding-top: 34px; }
  .link-button { min-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
