@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/Onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/Onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/JetBrainsMono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --pw-bg: #0b0c10;
  --pw-tile: #14161d;
  --pw-tile2: #1b1e28;
  --pw-ink: #eef0f5;
  --pw-muted: #8a90a2;
  --pw-line: rgba(255, 255, 255, .07);
  --pw-lime: #c6ff3d;
  --pw-r: 26px;
  --pw-font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pw-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--pw-bg); }
body {
  margin: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(198, 255, 61, .06), transparent 70%), var(--pw-bg);
  color: var(--pw-ink);
  font: 15px/1.5 var(--pw-font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, p { margin: 0; }

.pw-shell {
  display: flex; flex-direction: column;
  max-width: 1440px; min-height: 100vh; min-height: 100svh;
  margin: 0 auto; padding: 16px;
}
.pw-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-muted); }

/* Top bar */
.pw-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px;
  border: 1px solid var(--pw-line); border-radius: 999px;
  background: rgba(20, 22, 29, .86);
}
.pw-bar__logo { display: flex; align-items: center; padding: 0 14px; }
.pw-bar__logo img { display: block; height: 28px; width: auto; }

.pw-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  color: var(--pw-ink); font: 500 15px/1 var(--pw-font); white-space: nowrap;
  transition: background .15s ease;
}
.pw-pill--ghost { border: 1px solid var(--pw-line); }
.pw-pill--ghost:hover { background: var(--pw-tile2); }

/* Hero */
.pw-home { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.pw-hero {
  position: relative; overflow: hidden; flex: 1;
  display: flex; align-items: flex-end;
  min-height: 560px; padding: 40px;
  border: 1px solid var(--pw-line); border-radius: var(--pw-r);
  background:
    radial-gradient(55% 70% at 78% 35%, rgba(198, 255, 61, .16) 0%, transparent 65%),
    var(--pw-tile);
  transition: border-color .3s ease, transform .3s ease;
}
.pw-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 22, 29, .96) 0%, rgba(20, 22, 29, .7) 40%, rgba(20, 22, 29, 0) 70%);
}
.pw-hero:hover, .pw-hero:focus-visible { transform: translateY(-3px); border-color: rgba(198, 255, 61, .45); }
.pw-hero:focus-visible { outline: 2px solid var(--pw-lime); outline-offset: 3px; }

.pw-hero__art { position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; width: 62%; }
.pw-hero__art img {
  position: absolute; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.pw-hero__bellato { left: 0; bottom: 6%; width: 64%; height: 70%; object-position: left bottom; }
.pw-hero__acretia { right: 4%; top: 4%; width: 44%; height: 88%; object-position: right center; }
.pw-hero:hover .pw-hero__bellato { transform: translateY(-8px) scale(1.03); }
.pw-hero:hover .pw-hero__acretia { transform: translateY(-12px) scale(1.03); }

.pw-hero__body { position: relative; z-index: 2; display: block; max-width: 560px; }
.pw-hero__body .pw-label { color: var(--pw-lime); }
.pw-hero h1 { margin: 8px 0 14px; color: #fff; font-size: clamp(56px, 8vw, 120px); font-weight: 900; line-height: .92; letter-spacing: -.05em; }
.pw-hero p { margin-bottom: 20px; color: #c9cdd8; font-size: 16px; }

.pw-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.pw-facts span { min-width: 96px; padding: 10px 14px; border-radius: 14px; background: rgba(27, 30, 40, .85); }
.pw-facts b { display: block; color: var(--pw-muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pw-facts i { display: block; color: var(--pw-ink); font: 700 18px/1.3 var(--pw-mono); }

.pw-go {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--pw-lime); color: #0b0c10; font-weight: 700; font-size: 16px;
  transition: background .15s ease;
}
.pw-go::after { content: "\2192"; }
.pw-hero:hover .pw-go { background: #d8ff7a; }

.pw-note {
  padding: 16px 22px;
  border: 1px dashed var(--pw-line); border-radius: 18px;
  color: var(--pw-muted); font-size: 14px; text-align: center;
}

/* Footer */
.pw-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 18px 8px 4px; color: var(--pw-muted); font-size: 13px; }
.pw-foot a { color: var(--pw-ink); }

@media (max-width: 860px) {
  .pw-shell { padding: 10px; }
  .pw-bar__logo { padding: 0 8px; }
  .pw-bar__logo img { height: 22px; }
  .pw-pill { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .pw-home { padding-top: 10px; gap: 10px; }
  .pw-hero { min-height: 0; padding: 300px 20px 20px; border-radius: 22px; }
  .pw-hero::after { background: linear-gradient(180deg, rgba(20, 22, 29, 0) 180px, rgba(20, 22, 29, .96) 310px); }
  .pw-hero__art { left: 0; width: auto; bottom: auto; height: 310px; }
  .pw-hero__bellato { left: 2%; bottom: 0; width: 62%; height: 78%; }
  .pw-hero__acretia { right: 2%; top: 4%; width: 44%; height: 94%; }
  .pw-hero h1 { font-size: 56px; }
  .pw-go { justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pw-hero, .pw-hero__art img { transition: none; }
}
