:root {
  color-scheme: light;
  --ink: #2a1d26;
  --muted: #6d5663;
  --paper: #fff8fa;
  --accent: #a90845;
  --line: #ecdce3;
  font-family: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.shell {
  width: min(100% - 2 * clamp(.75rem, 3.1vw, 3.25rem), 100rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fffcfd;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 4.75rem;
  align-items: center;
  gap: .4rem 1rem;
  padding-block: .65rem;
}

.brand {
  display: inline-flex;
  justify-self: start;
  min-height: 2.75rem;
  align-items: center;
  gap: .55rem;
  font-weight: 760;
  letter-spacing: -.025em;
}

.brand img {
  display: block;
  object-fit: contain;
}

.site-nav { display: flex; gap: .2rem; }

.site-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border-radius: .75rem;
  padding-inline: .85rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 650;
}

.site-nav a:hover { background: #fff0f6; }

.site-nav [aria-current] {
  color: var(--accent);
  background: #ffe8f1;
}

.app-page { padding-block: clamp(.8rem, 2.5vw, 1.9rem); }

.simulator {
  display: block;
  width: 100%;
  height: clamp(52rem, calc(100dvh - 7rem), 76rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  box-shadow: 0 .6rem 2.2rem #84365714;
}

.team-page {
  padding-block: clamp(2.4rem, 7vw, 6rem);
  text-align: center;
}

.team-page h1 {
  margin: 0 0 1.25rem;
  font: 400 clamp(2.5rem, 7vw, 5rem)/1.05 Georgia, serif;
  letter-spacing: -.04em;
}

.team-page p { color: var(--muted); line-height: 1.6; }

.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  max-width: 54rem;
  margin-inline: auto;
  padding: 0;
  list-style: none;
  text-align: start;
}

.team-list li {
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.team-list h2 { margin: 0; font-size: 1.125rem; }
.team-list p { margin: .35rem 0 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 35rem) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-inner .brand { justify-self: center; }
  .app-page.shell { width: 100%; padding: 0; }
  .simulator { height: 74rem; border: 0; border-radius: 0; box-shadow: none; }
  .site-nav a { padding-inline: .6rem; }
}
