:root {
  color-scheme: light;
  --navy: #0a1b2d;
  --blue: #163b61;
  --muted: #607083;
  --line: #dbe2e9;
  --mist: #eff4f8;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--mist); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -20%, rgba(22, 59, 97, .14), transparent 42rem),
    linear-gradient(180deg, #f8fafc 0%, var(--mist) 100%);
}

a { color: inherit; }

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.card {
  width: min(100%, 440px);
  overflow: hidden;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(10, 27, 45, .08);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(10, 27, 45, .14), 0 2px 8px rgba(10, 27, 45, .05);
}

.identity {
  position: relative;
  padding: 38px 30px 26px;
  text-align: center;
}

.identity::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), #315c84, var(--navy));
}

.brand-mark {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 4px;
}

.brand-mark img {
  position: absolute;
  top: -52px;
  left: 50%;
  width: 330px;
  height: 330px;
  max-width: none;
  object-fit: contain;
  transform: translateX(-50%);
}

.eyebrow {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 10vw, 3.05rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.role {
  margin: 15px 0 0;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.practice {
  max-width: 330px;
  margin: 12px auto 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
}

.practice span { padding: 0 .35em; color: #9ba7b3; }

.primary-actions {
  display: grid;
  gap: 10px;
  padding: 0 24px 24px;
}

.action {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--navy);
  border-radius: 14px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.action svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.action--primary { color: var(--white); background: var(--navy); }
.action--secondary { color: var(--navy); background: var(--white); }
.action:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10, 27, 45, .12); }
.action:focus-visible, .detail-row:focus-visible { outline: 3px solid #85acd0; outline-offset: 3px; }

.details { border-top: 1px solid var(--line); }

.detail-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .18s ease;
}

.detail-row:hover { background: #f7f9fb; }

.icon-wrap {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--mist);
  border-radius: 50%;
}

.icon-wrap svg { width: 19px; height: 19px; fill: currentColor; }
.detail-row span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.detail-row small { color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.detail-row strong { overflow-wrap: anywhere; font-size: .96rem; font-weight: 650; line-height: 1.35; }
.detail-row em { color: var(--muted); font-size: .83rem; font-style: normal; line-height: 1.35; }
.arrow { color: #9aa7b4; font-size: 1.45rem; font-weight: 300; }

footer { padding: 25px 30px 30px; text-align: center; }
.rule { display: block; width: 32px; height: 1px; margin: 0 auto 14px; background: var(--blue); }
footer p { max-width: 330px; margin: 0 auto; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: .91rem; font-style: italic; line-height: 1.55; }

@media (max-width: 390px) {
  .page-shell { padding: 0; place-items: start stretch; }
  .card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .identity { padding: 34px 22px 24px; }
  .primary-actions { padding-inline: 18px; }
  .detail-row { padding-inline: 18px; }
}

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