/* Apply the navy theme to the public site and sign-in screens. */
body:not(:has(#dashboard:not(.hidden))) {
  --bg: #0b1220;
  --panel: #172438;
  --line: #324764;
  --muted: #bbcbe0;
  --accent: #4da3ff;
  --ink: #f4f7fb;
  background: radial-gradient(ellipse at 85% 0, #172c4a 0, transparent 54%), var(--bg);
}

body:not(:has(#dashboard:not(.hidden))) header .brand span,
body:not(:has(#dashboard:not(.hidden))) header .tag,
#publicWebsite .eyebrow,
#publicWebsite .access-steps li::marker {
  color: var(--accent);
}

body:not(:has(#dashboard:not(.hidden))) header .tag {
  border-color: #355f90;
}

#publicWebsite .public-nav a,
#publicWebsite :is(label, .auth p) {
  color: var(--muted);
}

#publicWebsite .public-nav a[aria-current="page"] {
  color: var(--ink);
  background: #1a3453;
  border-color: #416c9d;
}

#publicWebsite .summary-tiles > div {
  background: var(--panel);
}

#publicWebsite :is(.card, .coach-story) {
  background: linear-gradient(145deg, #1b2b42, var(--panel));
  border-color: var(--line);
}

#publicWebsite :is(.button, button) {
  color: var(--bg);
}

#publicWebsite .secondary {
  color: var(--ink);
}

#publicWebsite input {
  background: var(--bg);
  border-color: var(--line);
}

#publicWebsite :is(a, button, input):focus-visible {
  outline-color: var(--accent);
}

#publicWebsite #public-about {
  max-width: 1040px;
}

.about-coach-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 38px);
}

.about-coach-photo {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

@media (max-width: 700px) {
  .about-coach-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-coach-photo {
    max-width: 430px;
  }
}
