:root {
  --bio-black: #02040a;
  --bio-ink: #07111d;
  --bio-panel: rgba(7, 17, 29, 0.78);
  --bio-panel-strong: rgba(8, 25, 38, 0.92);
  --bio-line: rgba(25, 230, 242, 0.22);
  --bio-cyan: #19e6f2;
  --bio-lime: #a7ff3c;
  --bio-text: #f7fbff;
  --bio-muted: #a7b4c8;
  --bio-soft: #d8eef5;
  --bio-radius: 8px;
  --bio-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bio-black);
  color: var(--bio-text);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(25, 230, 242, 0.2), transparent 34%),
    linear-gradient(160deg, #02040a 0%, #06111b 48%, #02040a 100%);
  color: var(--bio-text);
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(167, 255, 60, 0.85);
  outline-offset: 3px;
}

.bio-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.bio-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(25, 230, 242, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 230, 242, 0.07) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 16%, #000 0%, transparent 68%);
}

.bio-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid var(--bio-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8, 25, 38, 0.92), rgba(2, 4, 10, 0.94)),
    var(--bio-black);
  box-shadow: var(--bio-shadow);
}

.bio-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(25, 230, 242, 0.16);
  background: rgba(2, 4, 10, 0.82);
  padding: 14px 16px;
  backdrop-filter: blur(18px);
  min-width: 0;
}

.bio-topbar img {
  width: 136px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  min-width: 0;
}

.bio-topbar a {
  display: none;
  color: var(--bio-muted);
  font-size: 0.78rem;
  font-weight: 800;
  max-width: 46%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bio-profile {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 22px 18px;
  text-align: center;
  min-width: 0;
}

.bio-avatar {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border: 1px solid rgba(25, 230, 242, 0.28);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25, 230, 242, 0.16), rgba(167, 255, 60, 0.08));
  box-shadow: 0 18px 40px rgba(25, 230, 242, 0.12);
}

.bio-avatar img {
  width: 64px;
  height: 64px;
}

.bio-profile p,
.bio-profile h1,
.bio-profile span {
  margin: 0;
}

.bio-profile p {
  color: var(--bio-cyan);
  font-size: 0.88rem;
  font-weight: 900;
}

.bio-profile h1 {
  width: 100%;
  max-width: 340px;
  font-size: 2.05rem;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.bio-profile span {
  max-width: 340px;
  color: var(--bio-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.bio-links {
  display: grid;
  gap: 10px;
  padding: 8px 16px 16px;
}

.bio-primary-link,
.bio-link-card {
  display: grid;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(25, 230, 242, 0.22);
  border-radius: var(--bio-radius);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.bio-primary-link {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 72px;
  padding: 16px;
  background: linear-gradient(135deg, var(--bio-cyan), var(--bio-lime));
  color: #021017;
  font-weight: 900;
}

.bio-primary-link i {
  width: 22px;
  height: 22px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

.bio-link-card {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.bio-primary-link:hover,
.bio-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 255, 60, 0.45);
}

.bio-primary-link strong,
.bio-primary-link small,
.bio-link-card strong,
.bio-link-card small {
  display: block;
}

.bio-primary-link small {
  margin-top: 4px;
  color: rgba(2, 16, 23, 0.72);
}

.bio-link-card strong {
  color: var(--bio-text);
}

.bio-link-card small {
  margin-top: 4px;
  color: var(--bio-muted);
  line-height: 1.35;
}

.bio-link-icon {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(25, 230, 242, 0.2);
  border-radius: var(--bio-radius);
  color: var(--bio-cyan);
  background: rgba(25, 230, 242, 0.08);
}

.bio-link-icon::before,
.bio-link-icon::after {
  position: absolute;
  content: "";
}

.bio-icon-mail::before {
  width: 22px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.bio-icon-mail::after {
  width: 13px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}

.bio-icon-instagram::before {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.bio-icon-instagram::after {
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.bio-icon-offers::before {
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor;
}

.bio-icon-offers::after {
  right: 10px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.bio-proof,
.bio-capture,
.bio-offers {
  margin: 0 16px 16px;
  border: 1px solid var(--bio-line);
  border-radius: var(--bio-radius);
  background: rgba(255, 255, 255, 0.035);
}

.bio-proof {
  padding: 16px;
}

.bio-proof strong,
.bio-proof span {
  display: block;
}

.bio-proof strong {
  color: var(--bio-lime);
  font-size: 1.2rem;
}

.bio-proof span {
  margin-top: 4px;
  color: var(--bio-muted);
}

.bio-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--bio-line);
}

.bio-offers article {
  display: grid;
  min-height: 112px;
  align-content: start;
  gap: 7px;
  padding: 14px;
  background: var(--bio-panel-strong);
}

.bio-offers span {
  color: var(--bio-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-offers strong {
  line-height: 1.15;
}

.bio-offers small {
  color: var(--bio-muted);
}

.bio-capture {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.bio-capture > div strong,
.bio-capture > div span {
  display: block;
}

.bio-capture > div span {
  margin-top: 4px;
  color: var(--bio-muted);
  line-height: 1.45;
}

.bio-lead-form {
  display: grid;
  gap: 10px;
}

.bio-lead-form label {
  display: grid;
  gap: 6px;
  color: var(--bio-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-lead-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(25, 230, 242, 0.2);
  border-radius: var(--bio-radius);
  background: rgba(2, 4, 10, 0.72);
  color: var(--bio-text);
  outline: none;
  padding: 0 13px;
}

.bio-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bio-lead-form .bio-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  text-transform: none;
  line-height: 1.4;
}

.bio-consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--bio-lime);
}

.bio-consent span {
  color: var(--bio-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.bio-lead-form button {
  min-height: 50px;
  border: 0;
  border-radius: var(--bio-radius);
  background: var(--bio-lime);
  color: #021017;
  cursor: pointer;
  font-weight: 950;
}

.bio-lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.bio-form-note {
  min-height: 24px;
  margin: 0;
  color: var(--bio-muted);
  font-size: 0.86rem;
}

.bio-form-note.is-success {
  color: var(--bio-lime);
}

.bio-form-note.is-error {
  color: #ff8a8a;
}

.bio-footer {
  display: grid;
  gap: 8px;
  padding: 4px 16px 22px;
  text-align: center;
}

.bio-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bio-cyan);
  font-weight: 900;
}

.bio-footer span {
  color: var(--bio-muted);
  font-size: 0.84rem;
}

@media (min-width: 900px) {
  .bio-page {
    padding: 34px;
  }

  .bio-shell {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    max-height: calc(100dvh - 68px);
  }

  .bio-topbar,
  .bio-profile,
  .bio-links,
  .bio-proof,
  .bio-footer {
    grid-column: 1;
  }

  .bio-topbar {
    border-right: 1px solid rgba(25, 230, 242, 0.16);
  }

  .bio-topbar a {
    display: block;
  }

  .bio-capture,
  .bio-offers {
    grid-column: 2;
    margin-top: 16px;
  }

  .bio-capture {
    align-self: start;
    min-height: 0;
    margin-right: 16px;
  }

  .bio-offers {
    margin-right: 16px;
  }

  .bio-footer {
    align-self: end;
  }

  .bio-profile h1 {
    max-width: 380px;
    font-size: 2.7rem;
  }
}

@media (max-width: 460px) {
  .bio-page {
    padding: 0;
  }

  .bio-shell {
    width: 100%;
    min-height: 100dvh;
    max-height: none;
    border-width: 0;
    border-radius: 0;
  }

  .bio-topbar {
    justify-content: center;
  }

  .bio-profile {
    padding: 28px 18px 18px;
  }

  .bio-profile h1 {
    font-size: 1.9rem;
  }

  .bio-offers {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
