/* HERO only — Figma: R5 - Final → 4A → HERO (28:7498) */
:root {
  --c-mint: #c8eecb;
  --c-cta: #eafa56;
  --c-ticket: #b4b2a9;
  --c-meta: #766f50;
  --c-ink: #000;
  --f-sans: "Instrument Sans", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Times, ui-serif, Georgia, serif;
  --f-display: "Cal Sans", "Outfit", "Instrument Sans", system-ui, sans-serif;
  --r5-w: 1440px;
  --r5-bar-h: 97px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

.r5-hero-only {
  position: relative;
  margin: 0 auto;
  max-width: var(--r5-w);
  min-height: 800px;
  background: #000;
  isolation: isolate;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Rectangle 1 — gradient z MCP (linear + radial) */
.r5-hero-only__grad {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--r5-bar-h);
  z-index: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    radial-gradient(80.6% 62.5% at 50% 91.75%, #000000 0%, #4e4e4e 100%);
}

/* Noise: Effect NOISE w pliku (radius 4) */
.r5-hero-only__noise {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: var(--r5-bar-h);
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Frame 17: top 24, width 1392, gap 24 do linii */
.r5-hero-only__top {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1392px;
  margin: 0 auto;
  padding: 24px 0 0;
}

.r5-hero-only__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: 100%;
  padding: 0 24px;
}

.r5-hero-only__logo img {
  display: block;
  height: 32px;
  width: 196.923px;
  max-width: 100%;
  object-fit: contain;
}

.r5-hero-only__nav {
  display: flex;
  margin: 0 0 0 auto;
  max-width: 100%;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.r5-hero-only__nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.r5-hero-only__nav a {
  color: #fff;
  text-decoration: none;
}

.r5-hero-only__nav a.is-subtle {
  color: var(--c-ticket);
  text-decoration: underline;
}

.r5-hero-only__nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.r5-hero-only__nav-toggle span {
  display: block;
  height: 2px;
  width: 1.1rem;
  margin: 0 auto;
  background: #fff;
}

/* Line 19 (MCP) — 1392w pod Frame 7 */
.r5-hero-only__rule--img {
  display: block;
  width: 100%;
  max-width: min(1392px, calc(100% - 48px));
  height: 1px;
  min-height: 1px;
  margin: 0 24px;
  align-self: center;
  object-fit: fill;
  flex-shrink: 0;
}

/* Frame 1: top 207, gap 45, w 1204, centered */
.r5-hero-only__body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0.5rem 24px 0.5rem;
}

.r5-hero-only__content {
  width: 100%;
  max-width: 1204px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 45px;
}

.r5-hero-only__lockup {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 29px;
}

.r5-hero-only__tag {
  width: 100%;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mint);
  margin: 0;
}

/* MCP: "Where content" w Times 120/0.8 — tu Instrument Serif 1:1 z makietą */
.r5-hero-only__h1 {
  width: 100%;
  margin: 0;
  line-height: 0;
  letter-spacing: -0.03em;
}

.r5-hero-only__h1 .line1 {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 8.5vw, 120px);
  font-weight: 400;
  line-height: 0.8;
  color: #fff;
  margin: 0;
}

.r5-hero-only__h1 .line2 {
  display: block;
  margin: 0;
  padding-top: 0.02em;
  text-align: center;
  font-size: clamp(2.4rem, 8.5vw, 120px);
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.r5-hero-only__h1 .line2 .serif,
.r5-hero-only__h1 .line2 .r5-dot {
  font-family: var(--f-serif);
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  color: #fff;
}

/* Odstęp „a [ ] business” — MCP: #EAFA56 */
.r5-hero-only__h1 .line2 .r5-hero-ws {
  color: #eafa56;
  user-select: none;
}

/* Cal Sans + #C8EECB (MCP get_design_context 28:7498) */
.r5-hero-only__h1 .line2 .biz {
  font-family: var(--f-display);
  font-size: 1em;
  font-weight: 400;
  line-height: inherit;
  color: var(--c-mint);
  font-synthesis: none;
}

.r5-hero-only__lead {
  width: 100%;
  max-width: 480px;
  margin: 0;
  font-family: var(--f-sans);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

/* Group 2 / Frame 8 — pasek dolny */
.r5-hero-only__bar {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  min-height: var(--r5-bar-h);
  background: #fff;
  color: #000;
  padding: 0 0 0 40px;
  gap: 24px;
}

.r5-hero-only__col {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 0.5rem 0;
}

.r5-hero-only__k {
  font-family: var(--f-sans);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-meta);
  text-transform: uppercase;
  margin: 0;
}

.r5-hero-only__v {
  font-family: var(--f-sans);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--c-ink);
  margin: 0;
}

.r5-hero-only__vsep {
  flex: 0 0 auto;
  align-self: stretch;
  width: 1px;
  min-height: 97px;
  background: #a6a6a6;
  display: none;
}

.r5-hero-only__cta {
  flex: 1 1 100%;
  min-height: var(--r5-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-cta);
  padding: 40px;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.r5-hero-only__cta:hover {
  filter: brightness(0.98);
}

@media (min-width: 768px) {
  .r5-hero-only__nav-toggle {
    display: none;
  }

  .r5-hero-only__vsep {
    display: block;
  }

  .r5-hero-only__cta {
    flex: 1 1 0;
    min-width: 0;
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .r5-hero-only__nav {
    display: none;
    width: 100%;
    margin: 0.5rem 0 0;
    order: 3;
    flex-basis: 100%;
  }

  .r5-hero-only--nav-on .r5-hero-only__nav {
    display: block;
  }

  .r5-hero-only__nav ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.6rem 40px;
  }

  .r5-hero-only__bar {
    padding-left: 1rem;
  }
}
