:root {
  color-scheme: light;
  --bio-ink: #1f2023;
  --bio-muted: #6d6e73;
  --bio-paper: #f5f3ef;
  --bio-white: #fff;
  --bio-line: #d9d6d0;
  --bio-red: #df3038;
  --bio-red-dark: #be2028;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bio-paper);
}

body.bio-page {
  margin: 0;
  background: var(--bio-paper);
  color: var(--bio-ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bio-page a {
  color: inherit;
  text-decoration: none;
}

.bio-shell {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 18px 36px;
  overflow: hidden;
}

.bio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bio-line);
}

.bio-brand {
  display: inline-flex;
  align-items: center;
}

.bio-brand img {
  display: block;
  width: 146px;
  height: auto;
}

.bio-header > span {
  color: var(--bio-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bio-intro {
  padding: 42px 0 30px;
}

.bio-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--bio-red-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bio-kicker::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.bio-intro h1,
.bio-visit h2 {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: -0.045em;
}

.bio-intro h1 {
  max-width: 470px;
  font-size: clamp(42px, 11vw, 62px);
  font-weight: 800;
  line-height: 0.98;
}

.bio-intro > p:not(.bio-kicker) {
  max-width: 455px;
  margin: 22px 0 26px;
  color: var(--bio-muted);
  font-size: 16px;
  line-height: 1.58;
}

.bio-actions {
  background: var(--bio-ink);
  color: var(--bio-white);
}

.bio-action {
  display: grid;
  min-height: 92px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 17px 19px;
  border-bottom: 1px solid #404145;
  transition: background-color 160ms ease;
}

.bio-action:last-child {
  border-bottom: 0;
}

.bio-action:hover {
  background: #2b2c30;
}

.bio-action--contact {
  background: #27282b;
}

.bio-action--stock {
  background: var(--bio-red);
}

.bio-action--stock:hover {
  background: var(--bio-red-dark);
}

.bio-action--stock small,
.bio-action--stock > b {
  color: var(--bio-white);
}

.bio-action > span:first-child {
  display: grid;
  gap: 4px;
}

.bio-action strong {
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.bio-action small {
  color: #b8b9bd;
  font-size: 12px;
  line-height: 1.35;
}

.bio-action > b {
  color: var(--bio-red);
  font-size: 21px;
  font-weight: 500;
}

.bio-visit h2 {
  font-size: 27px;
  line-height: 1.06;
}

.bio-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0 54px;
  padding: 18px 0;
  border-top: 1px solid var(--bio-line);
  border-bottom: 1px solid var(--bio-line);
}

.bio-trust > span {
  color: var(--bio-red);
  font-size: 16px;
  letter-spacing: 0.07em;
}

.bio-trust > div {
  display: grid;
  gap: 2px;
}

.bio-trust strong {
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
}

.bio-trust small {
  color: var(--bio-muted);
  font-size: 11px;
}

.bio-visit {
  display: grid;
  gap: 24px;
  padding: 28px;
  background: var(--bio-white);
  border-top: 4px solid var(--bio-red);
}

.bio-visit p:not(.bio-kicker) {
  margin: 16px 0 8px;
  color: var(--bio-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bio-visit small {
  color: var(--bio-muted);
  font-size: 11px;
}

.bio-visit > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--bio-line);
  font-size: 13px;
  font-weight: 800;
}

.bio-visit > a span {
  color: var(--bio-red);
  font-size: 18px;
}

.bio-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 20px;
  padding: 30px 2px 0;
  color: var(--bio-muted);
  font-size: 11px;
}

.bio-footer a {
  border-bottom: 1px solid #aaa7a1;
  font-weight: 700;
}

.bio-footer span {
  width: 100%;
  padding-top: 5px;
  color: #96938e;
}

.bio-page a:focus-visible {
  outline: 3px solid var(--bio-red);
  outline-offset: 4px;
}

@media (max-width: 380px) {
  .bio-shell {
    padding-inline: 14px;
  }

  .bio-header > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-page *,
  .bio-page *::before,
  .bio-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
