:root {
  --navy: #071a3d;
  --navy-soft: #0e2b62;
  --blue: #1457ff;
  --blue-bright: #2875ff;
  --yellow: #ffd84a;
  --coral: #ff725e;
  --ice: #edf4ff;
  --paper: #f7f9fd;
  --white: #ffffff;
  --ink: #081a3c;
  --muted: #5d6b83;
  --line: rgba(8, 26, 60, 0.12);
  --shadow: 0 28px 80px rgba(9, 39, 96, 0.14);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-shell { overflow: clip; }

.site-header {
  width: min(calc(100% - 48px), var(--container));
  height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 13px 13px 13px 4px;
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(20, 87, 255, 0.25);
}

.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; }
.brand-name strong { color: var(--blue); }

.header-nav { display: flex; align-items: center; gap: 34px; }
.header-nav a { color: #43526c; font-size: 14px; font-weight: 700; transition: color 180ms ease; }
.header-nav a:hover { color: var(--blue); }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta:hover { transform: translateY(-2px); border-color: rgba(20,87,255,.35); background: #fff; }
.header-cta svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero {
  width: min(calc(100% - 48px), var(--container));
  min-height: calc(100svh - 130px);
  margin: 0 auto;
  padding: 58px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 13px 8px 10px;
  color: var(--blue);
  background: #e7efff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pulse { position: relative; width: 10px; height: 10px; background: var(--blue); border-radius: 50%; }
.pulse::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--blue); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 28px;
  color: var(--navy);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(46px, 5.25vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

h1 span { color: var(--blue); }

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  padding: 0 25px;
  color: var(--white);
  background: var(--blue);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 35px rgba(20, 87, 255, .26);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover { transform: translateY(-3px); background: #0646e8; box-shadow: 0 20px 42px rgba(20,87,255,.34); }
.primary-button svg { width: 21px; fill: currentColor; }

.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 800; }
.text-link span { color: var(--blue); font-size: 18px; transition: transform 180ms ease; }
.text-link:hover span { transform: translateY(3px); }

.trust-line { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.trust-line p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.trust-line strong { color: var(--ink); font-size: 14px; }

.avatar-stack { display: flex; padding-left: 10px; }
.avatar-stack span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -10px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 11px;
  font-weight: 800;
}
.avatar-stack span:nth-child(2) { background: var(--coral); }
.avatar-stack span:nth-child(3) { color: var(--navy); background: var(--yellow); }

.hero-visual { position: relative; }
.visual-frame {
  position: relative;
  max-width: 540px;
  margin-left: auto;
  border: 10px solid var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.visual-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  top: -38px;
  right: -36px;
  border-radius: 50%;
  background: var(--yellow);
}

.visual-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 88px;
  height: 88px;
  bottom: 25px;
  left: -52px;
  border: 16px solid var(--blue);
  border-radius: 50%;
}

.visual-frame > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 27px; }

.subject-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(9px);
  box-shadow: 0 10px 25px rgba(3,18,48,.14);
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-1.2deg);
}

.subject-chip span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--ice); color: var(--blue); font-size: 11px; }
.chip-one { top: 9%; left: -34px; }
.chip-two { top: 29%; right: -40px; }
.chip-three { top: 52%; left: -31px; }

.availability-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px 12px 12px;
  color: var(--navy);
  background: rgba(255,255,255,.94);
  border-radius: 17px;
  box-shadow: 0 14px 32px rgba(4,20,52,.18);
  transform: rotate(-1.2deg);
}

.availability-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 12px; color: var(--white); background: var(--blue); }
.availability-icon svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.availability-card p { display: grid; margin: 0; line-height: 1.2; }
.availability-card small { margin-bottom: 4px; color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.availability-card strong { font-size: 12px; }

.audience-section { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; padding: 110px 0 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 50px; }
.section-kicker { margin-bottom: 13px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-heading h2, .community-copy h2 { margin-bottom: 0; font-family: "Unbounded", sans-serif; font-size: clamp(34px, 4vw, 54px); line-height: 1.16; letter-spacing: -.055em; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card { position: relative; min-height: 340px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.audience-card:hover { transform: translateY(-8px); border-color: rgba(20,87,255,.2); box-shadow: 0 26px 55px rgba(14,42,92,.11); }
.audience-card.featured { background: var(--navy); border-color: var(--navy); color: var(--white); }
.audience-card.featured p, .audience-card.featured .card-number { color: #b9c8e8; }
.card-number { position: absolute; top: 28px; right: 30px; color: #98a4b8; font-family: "Unbounded", sans-serif; font-size: 12px; }
.card-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 58px; border-radius: 18px; }
.card-icon.blue { color: var(--white); background: var(--blue); }
.card-icon.yellow { color: var(--navy); background: var(--yellow); }
.card-icon.coral { color: var(--white); background: var(--coral); }
.card-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.audience-card h3 { margin-bottom: 12px; font-family: "Unbounded", sans-serif; font-size: 23px; letter-spacing: -.04em; }
.audience-card p { max-width: 310px; margin-bottom: 0; color: var(--muted); font-size: 15px; }

.community-section {
  position: relative;
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto 26px;
  padding: clamp(42px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius-xl);
}

.community-section::before, .community-section::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.community-section::before { width: 360px; height: 360px; right: -80px; top: -250px; border: 45px solid rgba(255,216,74,.25); }
.community-section::after { width: 170px; height: 170px; left: 48%; bottom: -140px; background: rgba(3,23,65,.2); }
.community-copy { position: relative; z-index: 1; max-width: 680px; }
.section-kicker.light { color: var(--yellow); }
.community-copy h2 { margin-bottom: 22px; }
.community-copy > p:last-child { max-width: 600px; margin-bottom: 0; color: #dfe9ff; font-size: 17px; }

.community-button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-width: 315px;
  padding: 13px 16px 13px 13px;
  color: var(--navy);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(2,16,51,.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.community-button:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 25px 55px rgba(2,16,51,.3); }
.telegram-round { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--white); background: var(--blue); }
.telegram-round svg { width: 23px; fill: currentColor; }
.community-button > span:nth-child(2) { display: grid; }
.community-button small { color: var(--muted); font-size: 11px; font-weight: 700; }
.community-button strong { font-size: 15px; }
.button-arrow { font-size: 22px; }

.site-footer {
  width: min(calc(100% - 48px), var(--container));
  min-height: 120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer p { margin: 0; }
.site-footer > a:last-child { justify-self: end; color: var(--ink); font-weight: 800; }
.footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px 10px 10px 3px; font-size: 14px; }
.footer-brand .brand-name { font-size: 16px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr 400px; gap: 44px; }
  h1 { font-size: clamp(42px, 6vw, 60px); }
  .visual-frame { border-width: 8px; }
  .community-section { gap: 35px; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .hero { min-height: auto; padding: 55px 0 95px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 690px; }
  .hero-visual { width: min(100%, 580px); margin: 20px auto 0; }
  .visual-frame { margin: 0 auto; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 250px; }
  .card-icon { margin-bottom: 35px; }
  .community-section { grid-template-columns: 1fr; }
  .community-button { width: min(100%, 360px); }
  .site-footer { grid-template-columns: 1fr auto; padding: 28px 0; }
  .site-footer p { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-header, .hero, .audience-section, .community-section, .site-footer { width: min(calc(100% - 30px), var(--container)); }
  .site-header { height: 82px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; }
  .header-cta { padding: 10px 12px; }
  .header-cta svg { display: none; }
  .hero { padding-top: 38px; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero-text { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .text-link { justify-content: center; }
  .visual-frame { width: calc(100% - 12px); border-width: 6px; border-radius: 27px; }
  .visual-frame > img { border-radius: 21px; }
  .chip-two { right: -12px; }
  .chip-one, .chip-three { left: -12px; }
  .subject-chip { padding: 7px 10px 7px 7px; font-size: 10px; }
  .subject-chip span { width: 23px; height: 23px; }
  .availability-card { right: 10px; bottom: 10px; padding: 9px; }
  .availability-icon { width: 31px; height: 31px; }
  .audience-section { padding: 75px 0 90px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2, .community-copy h2 { font-size: 32px; }
  .audience-card { padding: 26px; }
  .community-section { margin-bottom: 15px; padding: 38px 25px; border-radius: 26px; }
  .community-button { min-width: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > a:last-child { justify-self: start; }
  .site-footer p { grid-row: auto; grid-column: auto; }
}

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