:root {
  color-scheme: dark;
  --bg: #080808;
  --deep: #0d0d0d;
  --panel: #131312;
  --panel-hover: #1a1814;
  --line: #302a20;
  --fg: #f7f2e7;
  --muted: #c5bfb3;
  --accent: #d8b46a;
  --accent-light: #f1d490;
  --ink: #171108;
  --heading: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--body); }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 650; }
em { color: var(--accent); font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
ul, ol { margin: 0; padding: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .brand-mark svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(100% - 96px, 1232px); margin-inline: auto; }
.section { padding-block: 100px; }
.section-title { font-size: clamp(2rem, 3.55vw, 3.55rem); line-height: 1.05; letter-spacing: -.046em; text-wrap: balance; }
.section-head { max-width: 790px; margin-bottom: 34px; }
.section-head .muted { margin-top: 16px; }
.muted { color: var(--muted); }
.eyebrow { display: block; margin: 0 0 15px; color: var(--accent); font-size: .71rem; font-weight: 750; text-transform: uppercase; letter-spacing: .17em; line-height: 1.55; }
.section-lead { max-width: 470px; margin-top: 22px; }
.skip-link { position: fixed; z-index: 5; top: 10px; left: 10px; transform: translateY(-160%); padding: 8px 14px; border-radius: 5px; background: var(--accent); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.will-reveal { opacity: 0; transform: translateY(16px); transition: opacity 480ms ease, transform 550ms cubic-bezier(.2,.6,.3,1); }
.will-reveal.is-visible, .will-reveal:focus-within, .will-reveal:target { opacity: 1; transform: none; }

.site-header { position: sticky; z-index: 3; top: 0; background: rgba(8,8,8,.94); backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff0d; }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-family: var(--heading); font-size: 1.35rem; font-weight: 780; letter-spacing: -.055em; white-space: nowrap; }
.brand-light { font-weight: 530; margin-left: 3px; }
.brand-mark { display: inline-grid; place-items: center; width: 37px; height: 37px; border: 1px solid #876739; border-radius: 9px; background: #1c170e; color: var(--accent); }
.brand-mark svg { width: 23px; height: 23px; stroke-width: 1.8; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 44px); }
.site-nav a, .site-footer nav button { color: var(--muted); font-size: .9rem; font-weight: 560; transition: color .2s ease; }
.site-nav a:hover, .site-footer nav button:hover { color: var(--accent); }
.header-cta { justify-self: end; }
.menu-toggle { display: none; }

.button { display: inline-flex; width: fit-content; min-height: 49px; justify-content: center; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: .89rem; font-weight: 740; line-height: 1.25; text-align: center; transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button .icon { width: 17px; height: 17px; }
.button-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 30px #d8b46a15; }
.button-primary:hover { background: var(--accent-light); box-shadow: 0 8px 30px #d8b46a30; }
.button-secondary { color: var(--fg); background: #ffffff07; border-color: var(--line); }
.button-secondary:hover { background: #ffffff12; border-color: #536463; }
.button-outline { min-height: 41px; padding: 9px 13px; color: var(--accent); background: transparent; border-color: #79613a; font-size: .83rem; }
.button-outline:hover { background: #d8b46a13; border-color: var(--accent); }

.hero { overflow: hidden; position: relative; background: radial-gradient(ellipse at 73% 39%, #1b1710 0%, var(--bg) 63%); border-bottom: 1px solid #ffffff10; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.11fr 1fr; gap: clamp(35px, 5vw, 76px); align-items: center; padding-block: 60px 70px; }
.hero-copy { padding-block: 18px; }
.hero-eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 24px; }
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #d8b46a88; }
.hero h1 { max-width: 670px; font-size: clamp(3rem, 5.2vw, 5.25rem); line-height: .99; letter-spacing: -.068em; }
.hero h1 em { display: block; }
.hero-intro { max-width: 490px; margin-top: 26px; color: #d6cdbd; font-size: clamp(1rem, 1.35vw, 1.1rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-meta { display: flex; gap: 0 7px; flex-wrap: wrap; margin-top: 18px; color: #aea596; font-size: .76rem; }
.hero-meta span { color: var(--accent); }
.hero-visual { position: relative; isolation: isolate; height: clamp(465px, 44vw, 590px); min-width: 0; overflow: hidden; border: 1px solid #76634065; border-radius: 19px; background: #14120e; box-shadow: 0 24px 90px #08060466; }
.figure-icon, .icon-box { display: inline-grid; width: 43px; height: 43px; place-items: center; flex-shrink: 0; border: 1px solid #d8b46a2d; border-radius: 10px; background: #d8b46a10; color: var(--accent); }

.problem { padding-block: 86px; }
.problem-grid, .trust-grid, .offer-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6.5vw, 104px); }
.problem-list { display: grid; gap: 9px; list-style: none; }
.problem-list li { display: flex; align-items: center; gap: 15px; min-height: 66px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 11px; background: #111110; font-size: .96rem; font-weight: 600; }
.problem-list .icon-box { width: 36px; height: 36px; border-radius: 8px; }
.problem-list .icon { width: 17px; height: 17px; }
.values { border-block: 1px solid #ffffff0e; background: var(--deep); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.feature-card, .audience-card { min-height: 195px; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(140deg,#181714,#111110 75%); }
.feature-card:hover, .audience-card:hover { border-color: #6e5936; background: var(--panel-hover); }
.feature-card h3, .audience-card h3, .process-grid h3 { margin-top: 18px; font-size: 1.26rem; line-height: 1.2; letter-spacing: -.026em; }
.feature-card p { margin-top: 8px; color: var(--muted); font-size: .94rem; }

.inside { padding-bottom: 24px; }
.inside-panel { display: grid; grid-template-columns: .89fr 1.11fr; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #131312; }
.inside-copy { padding: clamp(26px, 4.5vw, 64px); background: radial-gradient(ellipse at 10% 7%, #292116, #161411 73%); }
.inside-copy .icon-box { margin-bottom: 20px; }
.inside-copy .muted { margin-top: 20px; }
.channels { display: grid; align-content: center; padding: clamp(17px, 3vw, 38px); border-left: 1px solid var(--line); list-style: none; }
.channels li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .95rem; }
.channels li + li { border-top: 1px solid #ffffff12; }
.channels .icon { width: 17px; height: 17px; color: var(--accent); }

.audience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.audience-card { padding: 27px 29px; }
.audience-card h3 { font-size: 1.45rem; }
.check-list { display: grid; gap: 8px; margin-top: 16px; list-style: none; }
.check-list li { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: .96rem; }
.check-list li::before { content: ""; width: 10px; height: 6px; flex: 0 0 10px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateY(-3px) rotate(-45deg); }
.trust { padding-block: 66px; background: #131312; border-block: 1px solid var(--line); }
.trust-grid { grid-template-columns: .66fr 1.34fr; gap: clamp(24px, 5vw, 76px); }
.trust-grid .muted { margin-top: 17px; max-width: 660px; }
.trust-art { position: relative; display: grid; place-items: center; min-height: 240px; overflow: hidden; border: 1px solid #403421; border-radius: 15px; background: radial-gradient(circle at 50% 50%, #282013, #171510 62%, #11100e 100%); }
.trust-art .brand-mark { z-index: 1; width: 87px; height: 87px; border-radius: 21px; box-shadow: 0 0 36px #d8b46a20; }
.trust-art .brand-mark svg { width: 52px; height: 52px; stroke-width: 1.45; }
.orbit { position: absolute; border: 1px solid #d8b46a25; border-radius: 50%; aspect-ratio: 1; }
.orbit-inner { width: 138px; }
.orbit-outer { width: 205px; }
.trust-note { display: flex; align-items: center; gap: 10px; margin-top: 17px; font-size: .91rem; }
.trust-note .icon { color: var(--accent); }

.offer { background: radial-gradient(ellipse at 70% 60%, #221b10 0%, var(--bg) 66%); }
.offer-grid { grid-template-columns: 1fr minmax(355px,.9fr); }
.offer-copy .section-title { font-size: clamp(2.4rem, 4.25vw, 4.3rem); }
.offer-copy em { display: block; }
.offer-copy .muted { margin-top: 19px; }
.offer-card { width: 100%; max-width: 500px; padding: clamp(22px, 3vw, 36px); border: 1px solid #d8b46a66; border-radius: 16px; background: linear-gradient(150deg,#1c1811 0%,#111110 66%); box-shadow: 0 15px 65px #08070560; }
.offer-top { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.offer-name { display: flex; align-items: center; gap: 8px; font-weight: 660; }
.offer-name .icon { color: var(--accent); }
.price { margin-top: 11px; color: var(--accent); font: 730 clamp(3.7rem, 7vw, 6rem)/.98 var(--heading); letter-spacing: -.08em; }
.price span { font-size: .43em; letter-spacing: -.03em; }
.offer-term { margin-top: 6px; font-size: .87rem; }
.offer-card .button { width: 100%; margin-top: 21px; }

#jak-to-dziala { padding-top: 34px; }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 29px; list-style: none; }
.process-grid li { padding: 19px 17px 6px 0; border-top: 1px solid #d8b46a55; }
.step-number { color: var(--accent); font-size: .83rem; font-weight: 730; font-variant-numeric: tabular-nums; }
.process-grid h3 { margin-top: 12px; }
.process-grid p { margin-top: 7px; font-size: .95rem; }
#faq { background: var(--deep); border-block: 1px solid #ffffff0d; }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(24px, 5.7vw, 86px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 55px; padding-block: 10px; cursor: pointer; list-style: none; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #d8b46a30; border-radius: 8px; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { max-width: 620px; padding: 0 34px 16px 0; font-size: .94rem; }
.final-panel { padding: clamp(38px, 7vw, 92px) clamp(18px, 6vw, 70px); text-align: center; border: 1px solid #98774763; border-radius: 19px; background: radial-gradient(ellipse at 50% 113%, #392b15 0%, #1e1910 46%, #14120e 84%); }
.final-panel .brand-mark { margin-bottom: 17px; }
.final-panel .section-title { max-width: 650px; margin-inline: auto; }
.final-panel .muted { max-width: 540px; margin: 14px auto 0; }
.final-panel .button { margin-top: 23px; }
.final-panel .button + p { margin-top: 14px; font-size: .77rem; }
.arrow { font-size: 1.1rem; }

.site-footer { padding-block: 31px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.site-footer .brand { color: var(--fg); }
.site-footer p { margin-top: 8px; font-size: .82rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 21px; }
.site-footer nav button { min-height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: .82rem; }
.site-footer .copyright { margin: 0; justify-self: end; }

.dialog { position: fixed; width: min(calc(100% - 32px), 480px); max-height: calc(100% - 40px); padding: 30px; border: 1px solid #6f5836; border-radius: 15px; color: var(--fg); background: #181714; box-shadow: 0 20px 95px #000a; }
.dialog::backdrop { background: #080705e0; backdrop-filter: blur(6px); }
.dialog h2 { margin-bottom: 10px; padding-right: 15px; font-size: 1.75rem; line-height: 1.15; letter-spacing: -.04em; }
.dialog-close { position: absolute; top: 12px; right: 12px; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.dialog-close:hover { border-color: var(--accent); color: var(--accent); }
.dialog-price { margin: 12px 0; color: var(--accent); font-size: 2.05rem; font-weight: 720; line-height: 1.15; }
.dialog-price span { color: var(--muted); font-size: .88rem; font-weight: 500; }
.dialog-status { margin-top: 16px; padding: 11px 13px; border: 1px solid #d8b46a40; border-radius: 8px; color: var(--accent); background: #d8b46a0b; font-size: .9rem; }
.dialog .button { width: 100%; margin-top: 17px; }
.telegram-link { display: flex; width: fit-content; min-height: 44px; align-items: center; gap: 7px; margin-top: 8px; color: var(--accent); font-size: .9rem; }
.telegram-link:hover { text-decoration: underline; }

@media (max-width: 1140px) {
  .shell { width: min(100% - 72px, 1232px); }
  .hero h1 { font-size: clamp(3rem, 5.65vw, 4.65rem); }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .section { padding-block: 75px; }
  .hero-grid { gap: 28px; padding-block: 46px 54px; }
  .hero-visual { height: 500px; }
  .hero h1 { font-size: clamp(2.65rem, 5.7vw, 4rem); }
  .feature-card { padding: 20px; }
  .inside { padding-bottom: 13px; }
  #jak-to-dziala { padding-top: 25px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer .copyright { justify-self: start; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 82px; }
  .shell { width: calc(100% - 36px); }
  .section { padding-block: 57px; }
  .header-inner { min-height: 62px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; }
  .brand { font-size: 1.21rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--deep); cursor: pointer; }
  .site-nav { display: none; position: absolute; inset: 61px 0 auto; padding: 9px 18px 15px; border-bottom: 1px solid var(--line); background: #0d0d0d; box-shadow: 0 20px 25px #0005; }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; padding: 7px 8px; border-bottom: 1px solid #ffffff12; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 30px; }
  .hero-copy { padding: 0; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero h1 { max-width: 510px; font-size: clamp(2.55rem, 8.9vw, 4.65rem); }
  .hero-intro { margin-top: 17px; }
  .hero-actions { margin-top: 21px; }
  .hero-meta { margin-top: 13px; font-size: .74rem; }
  .hero-visual { height: clamp(300px, 95vw, 460px); border-radius: 15px; }
  .hero-visual figcaption { inset: auto 11px 11px; }
  .problem-grid, .trust-grid, .offer-grid, .inside-panel, .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .inside { padding-bottom: 0; }
  .inside-panel { gap: 0; }
  .channels { border-top: 1px solid var(--line); border-left: 0; }
  .section-head { margin-bottom: 23px; }
  .feature-grid, .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .feature-card, .audience-card { min-height: 0; padding: 16px; }
  .feature-card h3 { font-size: 1.14rem; }
  .feature-card p { font-size: .88rem; }
  .trust-art { min-height: 172px; order: 2; }
  .offer-card { max-width: none; }
  #jak-to-dziala { padding-top: 5px; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-grid li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px; padding: 13px 0 0; }
  .process-grid h3, .process-grid p { margin: 0; }
  .process-grid p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 11px; }
}
@media (max-width: 475px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { padding: 19px; }
}
@media (max-width: 355px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.35rem; }
  .hero-meta { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .will-reveal { opacity: 1; transform: none; }
}

/* Club monogram */
.hero h1 { font-weight: 800; }
.gold-art {
  display: grid; place-items: center; border-radius: 5px;
  background:
    radial-gradient(ellipse at 65% 12%, #6a4c214f, transparent 55%),
    repeating-linear-gradient(126deg, transparent 0 26px, #d8b46a09 27px 28px),
    linear-gradient(145deg, #1d160c, #0c0b0a 64%, #151109);
}
.gold-frame, .gold-orbit { position: absolute; pointer-events: none; }
.gold-frame { inset: 15px; border: 1px solid #d8b46a40; }
.gold-orbit { width: 72%; aspect-ratio: 1; border: 1px solid #d8b46a29; border-radius: 50%; box-shadow: 0 0 0 13px #d8b46a0a, 0 0 65px #d8b46a0d; }
.gold-monogram { width: 50%; color: #e8c47d; fill: none; stroke: currentColor; stroke-width: .95; stroke-linecap: square; filter: drop-shadow(0 0 22px #d8b46a50); }
.gold-signature { position: absolute; inset: auto 20px 9%; text-align: center; font-size: clamp(.62rem, 1.2vw, .92rem); font-weight: 750; letter-spacing: .42em; color: #f4e2b9; }
.gold-signature span { color: #d8b46a; }
.feature-card, .audience-card, .offer-card, .inside-panel, .final-panel { border-radius: 8px; }
.button-primary { background: linear-gradient(125deg, #f2d38c, #c69c53); }
.button-primary:hover { background: #f1d490; }
@media (max-width: 700px) {
  .gold-art { height: clamp(235px, 65vw, 380px); }
  .gold-orbit { width: min(62%, 270px); }
  .gold-monogram { width: min(43%, 180px); }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise-in 650ms cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy h1 { animation-delay: 70ms; }
  .hero-intro { animation-delay: 145ms; }
  .hero-actions { animation-delay: 220ms; }
  .hero-meta { animation-delay: 280ms; }
  .gold-art { animation: rise-in 950ms cubic-bezier(.2,.7,.2,1) both; }
  .gold-monogram { animation: gold-glow 3.5s ease-out both; }
  .gold-art::after {
    content: ""; position: absolute; inset: -35%; pointer-events: none;
    background: linear-gradient(115deg, transparent 43%, #f7d18122 50%, transparent 57%);
    animation: gold-sweep 1.7s .4s ease-out both;
  }
  .feature-grid > :nth-child(3n+2), .audience-grid > :nth-child(2), .process-grid > :nth-child(2) { transition-delay: 85ms; }
  .feature-grid > :nth-child(3n), .process-grid > :nth-child(3) { transition-delay: 170ms; }
  .button .icon, .button .arrow { transition: transform 220ms ease; }
  .button:hover .icon, .button:hover .arrow { transform: translateX(3px); }
  .button-secondary:hover .icon { transform: translateY(3px); }
  .button:active { scale: .98; }
  .faq-list details[open] p, .dialog[open] { animation: rise-in 280ms ease-out both; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gold-sweep {
  from { transform: translateX(-70%); }
  to { transform: translateX(70%); }
}
@keyframes gold-glow {
  0%, 100% { filter: drop-shadow(0 0 22px #d8b46a50); }
  40% { filter: drop-shadow(0 0 34px #f4d388a0); }
}
