:root {
  --bg: #050b0d;
  --surface: #0a1415;
  --surface-soft: #0f1c1d;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f8f7;
  --muted: #a9b4b3;
  --green: #9afc4b;
  --green-strong: #68e52e;
  --green-dark: #17390f;
  --font-copy: "Manrope", sans-serif;
  --font-display: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--text);
  font-family: var(--font-copy);
  background:
    radial-gradient(circle at 79% 78%, rgba(77, 191, 54, 0.13), transparent 28%),
    radial-gradient(circle at 12% 0%, rgba(30, 65, 94, 0.3), transparent 34%),
    linear-gradient(135deg, #080f18 0%, #050a0f 57%, #08120e 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(22px, 3.2vh, 38px) 0 18px;
  display: flex;
  flex-direction: column;
}

.identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.identity__avatar {
  display: block;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--green);
  box-shadow: 0 0 0 4px rgba(154, 252, 75, 0.12);
}

.identity__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  transform: scale(1.55);
}

.identity__name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 800;
}

.identity__role,
.availability {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity__role {
  margin-top: 3px;
  color: var(--green);
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
}

.availability__dot,
.timing-bar__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.timing-bar {
  min-height: 56px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-align: center;
  color: #c8d2d0;
  font-size: 12px;
  border: 1px solid rgba(104, 229, 46, 0.34);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(10, 37, 31, 0.88), rgba(7, 31, 23, 0.75));
}

.timing-bar strong {
  color: var(--green);
}

.timing-bar__pulse {
  position: relative;
  flex: 0 0 auto;
}

.timing-bar__pulse::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(50px, 7vw, 92px);
  align-items: center;
  padding: clamp(24px, 4vh, 42px) 0 24px;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 11px;
  color: #d7dedc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

h1 {
  max-width: 670px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(43px, 4.75vw, 67px);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--green);
  font-style: normal;
}

.hero__lead {
  max-width: 590px;
  margin: 19px 0 20px;
  color: #b8c3c2;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.65;
}

.telegram-cta {
  width: min(100%, 530px);
  min-height: 72px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 13px;
  color: #071005;
  text-align: left;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #adff62, #7aed3a);
  box-shadow: 0 14px 38px rgba(101, 227, 44, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.telegram-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 44px rgba(101, 227, 44, 0.27);
}

.telegram-cta:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.telegram-cta svg {
  width: 30px;
  fill: currentColor;
}

.telegram-cta strong,
.telegram-cta small {
  display: block;
}

.telegram-cta strong {
  font-size: 15px;
  font-weight: 800;
}

.telegram-cta small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.65;
}

.telegram-cta__arrow {
  font-size: 22px;
  font-weight: 800;
}

.proof-stats {
  max-width: 530px;
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.proof-stat {
  min-height: 62px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.proof-stat strong {
  color: var(--green);
  font-size: 16px;
  font-weight: 800;
}

.proof-stat span {
  margin-top: 2px;
  color: #aab4b3;
  font-size: 9px;
  line-height: 1.25;
}

.bio {
  max-width: 565px;
  margin: 14px 0 0;
  color: #929d9c;
  font-size: 10px;
  line-height: 1.55;
}

.hero__visual {
  position: relative;
  min-height: 430px;
}

.portrait-card {
  position: absolute;
  inset: 0 0 0 9%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 24px;
  background: #111;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.42);
}

.portrait-card::after {
  position: absolute;
  inset: 34% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(4, 9, 9, 0.92));
}

.portrait-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}

.portrait-card figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 58%;
}

.portrait-card__tag {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.portrait-card figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.portrait-card figcaption small {
  margin-top: 5px;
  color: #c5cecc;
  font-size: 10px;
}

.results-card {
  position: absolute;
  z-index: 2;
  left: -8%;
  bottom: 15px;
  width: 58%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(154, 252, 75, 0.36);
  border-radius: 15px;
  background: rgba(6, 15, 13, 0.96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.results-card__head {
  padding: 9px 10px 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #dce4e2;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.results-card__head span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.results-card__head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.results-card__head strong {
  color: var(--green);
  font-size: 6px;
}

.results-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2.3 / 1;
  object-fit: cover;
  object-position: top;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-card figcaption {
  padding: 7px 10px 8px;
  color: #86908f;
  font-size: 6px;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  color: #6f7a79;
  font-size: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.toast {
  position: fixed;
  z-index: 10;
  right: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
  padding: 13px 16px;
  color: #061005;
  font-size: 12px;
  font-weight: 800;
  border-radius: 11px;
  background: var(--green);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% { transform: scale(0.65); opacity: 0.8; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 28px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(42px, 10vw, 62px);
  }

  .hero__visual {
    min-height: 470px;
    margin-bottom: 14px;
  }

  .portrait-card {
    inset-left: 8%;
  }

  .results-card {
    left: 0;
    width: 56%;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 26px);
    min-height: 100svh;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .identity-bar {
    gap: 10px;
    margin-bottom: 9px;
  }

  .availability {
    max-width: 96px;
    gap: 6px;
    font-size: 7px;
    line-height: 1.35;
  }

  .identity__avatar {
    width: 40px;
    height: 40px;
  }

  .identity__name {
    font-size: 12px;
  }

  .identity__role {
    font-size: 7px;
  }

  .timing-bar {
    min-height: 42px;
    padding: 7px 10px;
    gap: 8px;
    font-size: 8px;
    line-height: 1.4;
    border-radius: 12px;
  }

  .hero {
    gap: 15px;
    padding: 17px 0 10px;
  }

  .eyebrow {
    margin-bottom: 10px;
    padding: 6px 9px;
    font-size: 8px;
  }

  h1 {
    font-size: clamp(36px, 11.8vw, 50px);
    line-height: 0.94;
  }

  .hero__lead {
    margin: 12px 0 14px;
    font-size: 10px;
    line-height: 1.5;
  }

  .telegram-cta {
    min-height: 64px;
    grid-template-columns: 26px 1fr auto;
    padding: 9px 13px;
    gap: 10px;
    border-radius: 13px;
  }

  .telegram-cta svg {
    width: 26px;
  }

  .telegram-cta strong {
    font-size: 11px;
  }

  .telegram-cta small {
    font-size: 8px;
  }

  .proof-stats {
    margin-top: 8px;
    gap: 5px;
  }

  .proof-stat {
    min-height: 49px;
    padding: 6px 7px;
    border-radius: 9px;
  }

  .proof-stat strong {
    font-size: 12px;
  }

  .proof-stat span {
    font-size: 7px;
  }

  .bio {
    display: none;
  }

  .hero__visual {
    min-height: 540px;
    display: grid;
    grid-template-rows: 246px auto;
    gap: 8px;
  }

  .portrait-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: 246px;
    border-radius: 16px;
  }

  .results-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  }

  .results-card__head {
    padding: 6px 7px;
    font-size: 5px;
  }

  .results-card img {
    height: auto;
    aspect-ratio: auto;
    object-position: top center;
  }

  .results-card figcaption {
    display: none;
  }

  .portrait-card figcaption {
    right: 13px;
    bottom: 13px;
    left: 55%;
  }

  .portrait-card figcaption strong {
    font-size: 16px;
  }

  .portrait-card figcaption small {
    font-size: 7px;
  }

  footer {
    flex-direction: column;
    gap: 3px;
    padding: 7px 0 3px;
    font-size: 6px;
  }
}

@media (max-width: 370px) {
  .page-shell {
    width: calc(100% - 20px);
  }

  .availability {
    display: none;
  }

  h1 {
    font-size: 35px;
  }

  .hero__visual {
    min-height: 520px;
    grid-template-rows: 226px auto;
  }

  .portrait-card {
    height: 226px;
  }

  .portrait-card figcaption {
    left: 60%;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .page-shell {
    padding-top: 18px;
  }

  .timing-bar {
    min-height: 46px;
  }

  .hero {
    padding: 18px 0 14px;
  }

  h1 {
    font-size: 51px;
  }

  .hero__lead {
    margin: 14px 0;
  }

  .telegram-cta {
    min-height: 64px;
  }

  .proof-stat {
    min-height: 54px;
  }

  .bio {
    margin-top: 10px;
  }

  .hero__visual {
    min-height: 390px;
  }
}

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