:root {
  --red: #f52934;
  --red-dark: #c71825;
  --ink: #343033;
  --muted: #6f686d;
  --paper: #fffaf8;
  --mint: #e6f6ef;
  --mint-strong: #1f8b62;
  --gold: #ffd166;
  --line: rgba(52, 48, 51, 0.12);
  --shadow: 0 24px 70px rgba(48, 35, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f7f1ee;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 209, 102, 0.34), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(31, 139, 98, 0.2), transparent 26rem),
    linear-gradient(145deg, #fffefd 0%, #f8ebe7 45%, #eef8f2 100%);
}

.bio-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.hero {
  width: min(100%, 510px);
  display: grid;
  gap: 18px;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 249, 0.86)),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--mint-strong));
}

.brand-panel::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -58px;
  width: 170px;
  height: 170px;
  border: 24px solid rgba(245, 41, 52, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.logo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.logo {
  width: min(100%, 330px);
  height: auto;
  display: block;
}

.profile-line {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.profile-line span,
.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.profile-line span {
  border: 1px solid rgba(52, 48, 51, 0.1);
  color: #5d565b;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: none;
  letter-spacing: 0.02em;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 9px;
  color: var(--ink);
  font-size: clamp(1.42rem, 4.5vw, 1.9rem);
  font-weight: 850;
  line-height: 1.12;
  text-align: center;
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin: 0 auto;
  color: #3f393e;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.48;
  text-align: center;
}

.delivery-note {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  margin: 10px auto 0;
  color: var(--red-dark);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.hero-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.hero-badges span {
  border: 1px solid rgba(52, 48, 51, 0.08);
  color: #4e484d;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(48, 35, 38, 0.06);
}

.link-stack {
  display: grid;
  gap: 12px;
}

.action-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(48, 35, 38, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.action-card:hover,
.action-card:focus-visible {
  border-color: rgba(245, 41, 52, 0.38);
  box-shadow: 0 18px 44px rgba(48, 35, 38, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.action-card > span:last-of-type {
  min-width: 0;
}

.action-card strong,
.action-card small {
  display: block;
}

.action-card strong {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.action-card small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--red);
  background: #fff1f2;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.primary small {
  color: rgba(255, 255, 255, 0.82);
}

.primary .icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.accent .icon {
  color: var(--mint-strong);
  background: var(--mint);
}

@media (max-width: 420px) {
  .bio-shell {
    padding: 16px;
    place-items: start center;
  }

  .brand-panel {
    padding: 25px 18px 22px;
    border-radius: 24px;
  }

  .logo-wrap {
    min-height: 60px;
    margin-bottom: 16px;
  }

  .logo {
    width: min(100%, 294px);
  }

  .profile-line {
    margin-bottom: 14px;
  }

  .intro {
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(1.34rem, 7vw, 1.68rem);
  }

  .delivery-note {
    font-size: 0.88rem;
  }

  .hero-badges {
    margin-top: 15px;
  }

  .action-card {
    grid-template-columns: 48px 1fr;
    min-height: 78px;
    padding: 13px 14px;
    border-radius: 18px;
  }

  .action-card strong {
    font-size: 0.96rem;
  }

  .action-card small {
    font-size: 0.79rem;
  }

  .icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

}
