/* ============ THEME (jak wcześniej) ============ */
html {
  scroll-behavior: smooth;
}

:root {
  --accent: #ffde59;
  --accent2: #ff914d;
  --bg: #0b0b10;
  --text: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-b: rgba(255, 255, 255, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --nav-height: 86px;
  --nav-buffer: 48px;
  --nav-stack: calc(var(--nav-height) + var(--nav-buffer));
}
html {
  scroll-behavior: smooth;
}

@media (max-width: 767.98px) {
  :root {
    --nav-height: 82px;
    --nav-buffer: 32px;
  }
}

/* żeby sekcja nie „przyklejała się” do górnej krawędzi po skoku */
section[id],
.panel[id] {
  scroll-margin-top: var(--nav-stack);
}
.audience,
.timeline,
.security,
.automation-form,
footer#kontakt {
  scroll-margin-top: calc(var(--nav-height) + 18px) !important;
}
#kim-jestem,
#o-afresh {
  scroll-margin-top: max(40px, calc(var(--nav-stack) - 80px));
}
@media (max-width: 767.98px) {
  #kim-jestem,
  #o-afresh {
    scroll-margin-top: max(32px, calc(var(--nav-stack) - 56px));
  }
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, system-ui, "SF Pro Text", "SF Pro Display", Inter,
    Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 12px;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
      1100px 1100px at 12% -10%,
      rgba(255, 145, 77, 0.25),
      transparent 65%
    ),
    radial-gradient(
      1100px 1100px at 115% -5%,
      rgba(255, 222, 89, 0.28),
      transparent 60%
    ),
    radial-gradient(
      900px 900px at -10% 110%,
      rgba(255, 145, 77, 0.18),
      transparent 65%
    ),
    radial-gradient(
      900px 900px at 110% 115%,
      rgba(255, 222, 89, 0.2),
      transparent 65%
    ),
    radial-gradient(
      1400px 1400px at 50% 60%,
      rgba(255, 200, 100, 0.06),
      transparent 70%
    ),
    var(--bg);
}
.afresh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100; /* ponad kartami i overlayem */
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.afresh-header .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}
.nav-spacer {
  height: var(--nav-stack);
}
.glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-b);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
}
.brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-left .icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
}
.brand-left .icon picture {
  display: block;
  width: 100%;
  height: 100%;
}
.brand-left .icon picture img {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-left .name {
  font-weight: 900;
  font-size: clamp(18px, 2vw, 21px);
  color: #fff;
  white-space: nowrap;
  line-height: 1;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #f2f4f8;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-links a:hover {
  transform: translateY(-1px);
}
.nav-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0b0b0f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.nav-cta .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 2px #fff;
}
@media (max-width: 1160px) {
  .nav-links {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .nav-links a {
    padding: 8px 12px;
    font-size: 14px;
  }
  .nav-cta {
    padding: 10px 14px;
  }
  .brand-left .icon {
    width: 36px;
    height: 36px;
  }
  .brand-left .name {
    font-size: clamp(17px, 1.7vw, 20px);
  }
}
@media (max-width: 1040px) {
  .nav-links {
    gap: 6px;
  }
  .nav-links a {
    padding: 8px 10px;
    font-size: 13.5px;
  }
  .nav-cta {
    padding: 8px 12px;
  }
}
.brand-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
}
.brand-row .mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
}
.brand-row .mini-brand .icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  overflow: hidden;
}
/* naprawa logotypu w mobilnym nagłówku */
.brand-row .mini-brand .icon picture {
  display: block;
  width: 100%;
  height: 100%;
}
.brand-row .mini-brand .icon picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* ładne wypełnienie */
}
.brand-row .mini-brand .name {
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
}
.burger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.burger svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}
.mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgba(10, 10, 14, 0.45);
}
.mob-menu {
  position: fixed;
  left: 50%;
  top: 20px;
  transform: translateX(-50%) scale(0.98);
  width: min(92vw, 420px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 28px;
  padding: 18px;
  background: rgba(20, 20, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 70;
}
.mob-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mob-overlay.show {
  display: block;
}
.mob-links {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.mob-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 4px 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.mob-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}
.mob-cta {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  padding: 0 8px 10px;
}
.mob-cta .nav-cta {
  flex: 1;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .bar {
    display: none;
  }
  .brand-row {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 20px 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-b);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h2 {
  color: #fff;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.grad {
  background-image: linear-gradient(
    135deg,
    var(--accent),
    var(--accent2)
  ) !important;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}
.hero .sub {
  margin: 45px 0 24px;
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.6;
  color: #e6e8f0;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s transform ease, 0.2s box-shadow ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  font-size: 16px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 2px solid rgba(255, 222, 89, 0.65);
  outline-offset: 2px;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1e1100 !important;
  -webkit-text-fill-color: #1e1100 !important;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border: 1px solid var(--glass-b);
}
.hero-photo {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-photo::before {
  content: "";
  position: absolute;
  width: 70%;
  max-width: 520px;
  aspect-ratio: 1/1;
  left: 50%;
  transform: translateX(-50%);
  top: 4%;
  background: radial-gradient(
    closest-side,
    rgba(255, 222, 89, 0.22),
    rgba(255, 145, 77, 0.12) 55%,
    transparent 70%
  );
  filter: blur(10px);
}
.hero-photo img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 68%,
    rgba(0, 0, 0, 0.35) 86%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 68%,
    rgba(0, 0, 0, 0.35) 86%,
    rgba(0, 0, 0, 0) 100%
  );
}
.hero-photo picture,
.about .photo picture,
.manifest .graphic picture {
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero-photo .platform {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  max-width: 420px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(6px);
}
@media (max-width: 1199.98px) and (min-width: 768px) {
  .hero .wrap {
    grid-template-columns: 1fr 0.95fr;
    gap: 28px;
    padding-top: 28px;
  }
  .hero-card {
    padding: 24px;
  }
}
@media (max-width: 767.98px) {
  .hero-card {
    order: 1;
  }
  .hero-photo {
    order: 2;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 14px 12px;
  }
  .hero-card {
    padding: 18px;
    border-radius: 22px;
  }
}
@media (max-width: 479.98px) {
  .btn {
    padding: 12px 14px;
    font-size: 15px;
  }
  .hero-photo {
    min-height: 300px;
  }
}

@media (min-width: 992px) {
  .hero {
    margin-bottom: 60px;
  }
}

/* ===== WHY + CHOICE ===== */
.why {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 10px;
  text-align: center;
}
.why h2 {
  margin: 6px 0 6px;
  font-size: clamp(22px, 3.8vw, 30px);
  font-weight: 900;
}
.why p {
  margin: 0 auto 18px;
  max-width: 820px;
  color: #cfd5e2;
  line-height: 1.6;
}
.choice-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 10px 0 18px;
}
.choice-sep::before,
.choice-sep::after {
  content: "";
  flex: 1;
  max-width: 360px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
}
.choice-sep span {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-b);
  background: rgba(255, 255, 255, 0.06);
}
.offer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 1fr; /* ✅ baza: 1 kolumna */
  gap: 18px;
}
.offer .panel {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 28px;
  padding: 24px; /* więcej oddechu od krawędzi */
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
}
.offer h3 {
  margin: 4px 0 10px;
  font-size: clamp(22px, 3.8vw, 34px);
  font-weight: 900;
}
.offer p.lead {
  margin: 0 0 25px;
  color: #e6e8f0;
  font-size: clamp(18px, 3.6vw, 20px);
}

/* ===== elementy kursu wewnątrz panelu ===== */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: 2px 0 8px;
}
.meta li {
  padding: 8px 12px;
  border: 1px solid var(--glass-b);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.course-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 10px;
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
}
.course-badge .dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #26ff7f;
  box-shadow: 0 0 0 0 rgba(38, 255, 127, 0.45);
  animation: pulse 2.2s ease-out infinite;
}
.course-badge .sep {
  opacity: 0.55;
  margin: 0 4px;
  font-weight: 700;
}
.course-badge .start {
  opacity: 0.9;
}

/* wersje stanów – tylko kolor kropki; bez tła */
.course-badge.open .dot {
  background: #26ff7f;
}
.course-badge.closed .dot {
  background: #c9cdd8;
  animation: none;
  box-shadow: none;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(38, 255, 127, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(38, 255, 127, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(38, 255, 127, 0);
  }
}
.course-summary {
  color: #e6e8f0;
  margin-top: 8px;
}
.course-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.course-cta .btn {
  height: 52px;
  padding: 0 16px;
  min-width: 180px;
  font-size: 16px;
}

/* ===== warsztaty — input + przycisk ===== */
.waitlist {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

/* warsztaty: pole wiadomości (opcjonalne) */
.waitlist textarea#ws-msg {
  flex: 1 1 100%;
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #fff;
  border-radius: 14px;
  border: 1px solid var(--glass-b);
  background: rgba(255, 255, 255, 0.06); /* tło pola */
  outline: none;
  resize: vertical;
  margin-top: 10px; /* odstęp pod wierszem e-mail + przycisk */
}
.waitlist input[type="email"] {
  flex: 1;
  min-width: 240px;
  height: 52px;
  padding: 0 16px;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid var(--glass-b);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}
.note {
  color: #cfd5e2;
  font-size: 14px;
  margin-top: 8px;
}

/* ===== FAQ + footer ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}
.section h2 {
  font-size: clamp(26px, 4.2vw, 36px);
  margin: 16px 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--radius-lg);
  padding: 18px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
footer {
  padding: 28px 20px;
  color: #cfd5e2;
  text-align: center;
}
a.btn,
a.nav-cta {
  text-decoration: none;
}
a.btn:link,
a.btn:visited,
.nav-cta:link,
.nav-cta:visited {
  color: inherit;
}

a.btn.primary:link,
a.btn.primary:visited {
  color: #1e1100 !important;
  -webkit-text-fill-color: #1e1100 !important;
}

a.btn.ghost:link,
a.btn.ghost:visited {
  color: #fff !important;
}

/* === jasny tekst globalnie === */
:where(h1, h2, h3, h4, h5, h6, p, span, li, a, strong, em, small, label) {
  color: #fff;
}
.muted,
.lead {
  color: #cfd5e2;
}

/* ====== O MNIE — CLEAN & STABLE ====== */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about .about-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 520px) 1fr; /* foto | tekst */
  gap: 40px;
  align-items: center;
  /* zero karty/tła/cienia/paddingu */
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* FOTO — bez masek/poświat; kontrola rozmiaru */
.about .photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 360px;
}

.about .photo img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;

  /* ✅ gradient od pełnej widoczności do przezroczystości */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 78%,
    rgba(0, 0, 0, 0.35) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;

  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 78%,
    rgba(0, 0, 0, 0.35) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

/* TEKST */
.about .copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.about .copy p {
  color: #e6e8f0;
  line-height: 1.7;
  font-size: clamp(16px, 2.1vw, 18px);
  margin: 0 0 12px;
}

.about .about-facts {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(13, 13, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about .about-facts h3 {
  margin: 0 0 10px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f2f3f7;
}

.about .about-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about .about-facts li {
  position: relative;
  padding-left: 28px;
  color: #f7f8fb;
  font-size: 16px;
  line-height: 1.55;
}

.about .about-facts li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f8c045;
  font-size: 18px;
  line-height: 1;
}

/* SOCIALE — większe, bez teł/ramek; w rzędzie po lewej */
.about .socials {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 16px;
}
.about .socials a {
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 14px;
  transition: transform 0.18s ease, opacity 0.18s ease;
  opacity: 0.95;
}
.about .socials a:hover {
  transform: translateY(-2px);
  opacity: 1;
}
.about .socials img {
  width: 32px;
  height: 32px;
  display: block;
}

/* RESPONSIVE — foto nad tekstem na mobile */
@media (max-width: 899.98px) {
  .about {
    padding: 28px 16px;
  }
  .about .about-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about .photo img {
    width: min(100%, 420px);
  }
}

/* karta TYLKO dla #o-afresh  */
.why-afresh .why-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 28px;
  padding: 22px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
  text-align: center;
}

/* sekcja #dlaczego – BEZ tła, bez obramowania */
.why .why-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-align: center;
}
.why-afresh h2,
.why .why-card h2 {
  margin: 2px 0 8px;
  font-size: clamp(22px, 3.8vw, 32px);
  font-weight: 900;
}

.why-afresh p,
.why .why-card p {
  color: #e6e8f0;
  max-width: 900px;
  margin: 0 auto 10px;
}
.socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.12);
}

.socials a img {
  width: 24px;
  height: 24px;
}

/* ===== MANIFEST: "Dlaczego AI Fresh?" ===== */
.manifest {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 48px;
}

.manifest .card {
  position: relative;
  overflow: hidden; /* zaokrąglenia trzymają tło */
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  border-width: 0 0 1px 0; /* top=0 | right=0 | bottom=1px | left=0px */
  padding: 24px;
  background: transparent; /* brak szarego/mlecznego tła */
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
}
/* Layout: tekst | grafika (po prawej) */
.manifest .card {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 480px);
  gap: 28px;
  align-items: center;
}
.manifest .copy {
  position: relative;
  z-index: 1;
}

/* TŁO: od góry 100% transparent → lekka poświata od ~45% w dół */
.manifest .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* brak blur: czysta czytelność tekstu */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;

  /* fade-in tła: góra 0% przezroczysta, dół delikatnie „szklany” */
  background: linear-gradient(
    to bottom,
    rgba(11, 11, 16, 0) 0%,
    /* całkowicie transparentna góra */ rgba(11, 11, 16, 0) 38%,
    rgba(255, 255, 255, 0.03) 55%,
    rgba(255, 255, 255, 0.06) 100%
  );

  pointer-events: none;
}

.manifest .graphic {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifest .graphic img {
  width: 100%;
  height: clamp(220px, 48vw, 540px); /* kontrola wysokości */
  object-fit: cover; /* trzymamy środek, przycinamy boki */
  object-position: center;

  /* 🔥 FADE lewo ↔ prawo: środek 100% widoczny, brzegi zanikają */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.85) 14%,
    rgba(0, 0, 0, 1) 28%,
    rgba(0, 0, 0, 1) 72%,
    rgba(0, 0, 0, 0.85) 86%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.85) 14%,
    rgba(0, 0, 0, 1) 28%,
    rgba(0, 0, 0, 1) 72%,
    rgba(0, 0, 0, 0.85) 86%,
    rgba(0, 0, 0, 0) 100%
  );

  border-radius: 18px; /* opcjonalnie – usuń, jeśli nie chcesz */
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); /* opcjonalnie */
}
/* TOP fade + już istniejący fade L↔P jako jedna maska (działa w Chrome/Safari/Edge) */
.manifest .graphic img {
  /* ...twoje istniejące rozmiary... */

  /* maska 1: góra -> dół (transparent na górze) */
  -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.85) 12%,
      rgba(0, 0, 0, 1) 26%,
      rgba(0, 0, 0, 1) 100%
    ),
    /* maska 2: lewo->prawo (transparent na brzegach, środek 100%) */
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.85) 14%,
        rgba(0, 0, 0, 1) 28%,
        rgba(0, 0, 0, 1) 72%,
        rgba(0, 0, 0, 0.85) 86%,
        rgba(0, 0, 0, 0) 100%
      );
  mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.85) 12%,
      rgba(0, 0, 0, 1) 26%,
      rgba(0, 0, 0, 1) 100%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.85) 14%,
      rgba(0, 0, 0, 1) 28%,
      rgba(0, 0, 0, 1) 72%,
      rgba(0, 0, 0, 0.85) 86%,
      rgba(0, 0, 0, 0) 100%
    );

  /* przecinamy obie maski (część wspólna) */
  -webkit-mask-composite: source-in; /* dla 2 warstw: pierwsza ∩ druga */
  mask-composite: intersect; /* spec – tam gdzie wspierane */
}

/* Mobile: jedna kolumna, obraz pod tekstem, mniejszy */
@media (max-width: 899.98px) {
  .manifest .card {
    grid-template-columns: 1fr;
  }
  .manifest .graphic img {
    height: clamp(200px, 55vw, 420px);
  }
}

.manifest h2 {
  margin: 2px 0 14px;
  font-size: clamp(22px, 3.8vw, 34px);
  font-weight: 900;
}
.manifest blockquote {
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(255, 255, 255, 0.22);
}
.manifest blockquote p {
  color: #e6e8f0;
  line-height: 1.75;
  margin: 0 0 14px;
  font-size: clamp(15.5px, 2vw, 18px);
}
.manifest .signature {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #cfd5e2;
  font-weight: 700;
}
.manifest .signature .name {
  color: #fff;
  font-weight: 900;
}
.manifest .signature .role {
  opacity: 0.85;
  font-weight: 700;
}

/* lekka korekta bio, żeby zgrywało się wizualnie */
.about .copy p {
  font-size: clamp(15.5px, 2vw, 18px);
}

/* --- DESKTOP zostaje bez zmian --- */

/* === MOBILE (≤ 900px): grafika nad tekstem, nic nie ucina === */
@media (max-width: 899.98px) {
  .manifest .card {
    grid-template-columns: 1fr; /* jedna kolumna */
    gap: 18px;
  }

  /* grafika NA GÓRZE */
  .manifest .graphic {
    order: -1;
  } /* obraz idzie na górę */
  .manifest .copy {
    order: 0;
  }

  .manifest .graphic {
    justify-content: center;
    margin: 0;
  }

  .manifest .graphic img {
    width: min(
      100%,
      560px
    ); /* szerokość ograniczona, bez przeskalowań na boki */
    height: auto; /* wysokość z proporcji */
    object-fit: contain; /* nic nie ucina */
    object-position: center;

    /* wyłączamy fade L↔P (który „ścinał”), zostawiamy tylko lekki fade od góry */
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.75) 14%,
      rgba(0, 0, 0, 1) 28%,
      rgba(0, 0, 0, 1) 100%
    );
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.75) 14%,
      rgba(0, 0, 0, 1) 28%,
      rgba(0, 0, 0, 1) 100%
    );

    -webkit-mask-composite: source-over; /* neutralizuje poprzednie łączenie masek */
    mask-composite: add;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  }

  /* subtelniejsze tło karty na mobile, żeby było czytelniej */
  .manifest .card::before {
    background: linear-gradient(
      to bottom,
      rgba(11, 11, 16, 0) 0%,
      rgba(255, 255, 255, 0.025) 50%,
      rgba(255, 255, 255, 0.05) 100%
    );
  }
}

/* ===== LISTA KURSÓW (karty) ===== */
.course-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* tylko karty kursów w panelu Kursy */
#panel-courses .course-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
}

/* mobile: brak wyjeżdżania na prawo w waitliście kursu */
@media (max-width: 520px) {
  .course-card .waitlist,
  .download-detail .waitlist {
    flex-direction: column;
    align-items: stretch;
  }
  .course-card .waitlist input[type="email"],
  .course-card .waitlist .btn,
  .download-detail .waitlist input[type="email"],
  .download-detail .waitlist .btn {
    width: 100%;
    min-width: 0; /* klucz – kasuje 240px progu */
  }
}

.course-card .meta {
  margin: 6px 0 8px;
}
.course-card .course-summary {
  margin-top: 8px;
}
.course-card .course-cta {
  margin-top: 12px;
}

.course-card .waitlist,
.download-detail .waitlist {
  align-items: center;
}
.course-card .waitlist input[type="email"],
.download-detail .waitlist input[type="email"] {
  height: 52px;
  border-radius: 14px;
}

/* oddech na dole dla notki o starcie */
.course-card .note {
  margin-top: 10px;
}

/* prosta typografia bez teł i obramowań */
.course-badge span {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  height: auto;
}
.course-badge .sep {
  margin: 0 6px;
  padding: 0;
}
.course-badge .start {
  background: transparent;
  border: 0;
}

/* — meta „chipsy”: trochę mniejsze, spójne odstępy — */
.meta li {
  font-size: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  line-height: 1.2;
}

/* — opis: wygodniejsza długość wiersza — */
.course-card .course-summary {
  max-width: 62ch;
}

/* — CTA: wyraźny przycisk (primary), full width na mobile — */
.course-card .course-cta .btn {
  height: auto; /* jak hero */
  padding: 14px 18px; /* jak hero */
  border-radius: 18px; /* jak hero */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.course-card .course-cta .btn.ghost {
  background: rgba(255, 255, 255, 0.14); /* jak hero */
  color: #fff !important;
  border: 1px solid var(--glass-b);
  text-shadow: none; /* jak hero */
}

@media (max-width: 520px) {
  .course-card .course-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* — waitlista w karcie zamkniętej: równe wysokości — */
.course-card .waitlist {
  gap: 10px;
}
.course-card .waitlist input[type="email"] {
  height: 52px;
}
.course-card .waitlist .btn {
  height: 52px;
  min-width: 180px; /* taki sam „baseline” jak przy .course-cta */
  padding: 0 16px; /* identyczne wypełnienie jak w primary */
}

@media (min-width: 1080px) {
  .offer {
    grid-template-columns: 1fr 1fr;
  }
}

.course-badge {
  flex-wrap: nowrap;
}
.course-badge span {
  white-space: nowrap;
  font-size: 13.5px;
}
.course-badge .start strong {
  margin-right: 6px;
}

@media (max-width: 680px) {
  .course-badge {
    /* nic nie łamiemy globalnie — tylko dajemy flexowi możliwość ściskania */
    gap: 8px;
    min-width: 0;
    align-items: center;
  }

  /* kropka zawsze okrągła */
  .course-badge .dot {
    width: 10px;
    height: 10px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    flex: 0 0 10px;
  }

  /* tekst może być w jednej linii, ale bez wypychania kontenera */
  .course-badge > span:not(.dot) {
    font-size: 13px;
    white-space: nowrap;
  }

  /* klucz: „start: …” zajmuje resztę miejsca i ucina się „…” zamiast robić overflow */
  .course-badge .start {
    flex: 1 1 auto; /* pozwól zająć resztę wiersza */
    min-width: 0; /* pozwól się ścisnąć */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .course-badge .sep {
    margin: 0 4px;
  }
}

/* na ultrawąskich ekranach pozwól „start:” spaść do drugiej linii,
   żeby absolutnie nic nie wyjechało */
@media (max-width: 360px) {
  .course-badge {
    flex-wrap: wrap;
  }
  .course-badge .start {
    flex-basis: 100%;
    text-overflow: clip;
    overflow: visible;
  }
}

.course-card {
  padding: 22px 20px 18px;
  border-radius: 26px;
}

#panel-courses .course-card .course-summary {
  margin-bottom: 25px; /* robi miejsce nad inputem */
}

/* ukryj "Dowiedz się więcej" w środku waitlisty (duplikat) */
.course-card .waitlist a.btn.ghost {
  display: none;
}

/* ===== Accessibility: prefer less motion ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .course-badge .dot {
    animation: none !important;
    box-shadow: none !important;
  }
  .btn:hover,
  .mob-links a:hover {
    transform: none !important;
  }
}

/* ===== Course card title ===== */
.course-card .course-title {
  margin: 26px 0 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: clamp(18px, 2.6vw, 22px);
  color: #fff;
}

/* ===== Focus rings (a11y) ===== */
.nav-links a:focus-visible,
.mob-links a:focus-visible,
.nav-cta:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 14px;
}
/* ===== Toast + aria-live ===== */
.visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: min(92vw, 560px);
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 9999;
}

/* ── kurs: wewnętrzny kontener (tło dla badge + tytuł + meta + opis) ── */
.course-card .inner-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-b);
  border-radius: 20px;
  padding: 16px;
  margin: 0 0 14px 0; /* odstęp od waitlisty */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ── sekcja waitlisty: pudełko + lead nad inputem ── */
.course-card .waitlist-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-b);
  border-radius: 18px;
  padding: 14px;
}

.course-card .waitlist-lead {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  opacity: 0.95;
}

/* na małych ekranach: pełna szerokość i zero „wyjeżdżania” */
@media (max-width: 520px) {
  .course-card .waitlist {
    flex-direction: column;
    align-items: stretch;
  }
  .course-card .waitlist input[type="email"],
  .course-card .waitlist .btn {
    width: 100%;
    min-width: 0;
  }
}

/* --- WAITLISTA: oddzielna szklana karta (tylko gdy zapisy zamknięte) --- */
.waitlist-box {
  margin: 12px 0 10px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08); /* ✅ zamiast blur */
  border: 1px solid var(--glass-b);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
}
.waitlist-box h5 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}
.waitlist-box p {
  margin: 0 0 12px;
  color: #cfd5e2;
}
.waitlist-box .waitlist {
  margin-top: 6px;
}

/* mobilnie: 100% szerokości pól w tej karcie */
@media (max-width: 520px) {
  .waitlist-box {
    padding: 14px;
  }
  .waitlist-box .waitlist {
    flex-direction: column;
    align-items: stretch;
  }
  .waitlist-box .waitlist input[type="email"],
  .waitlist-box .waitlist .btn {
    width: 100%;
    min-width: 0;
  }
}

/* --- TYLKO pole e-mail w waitlistach: twardy reset i jeden spójny styl --- */
.waitlist input[type="email"] {
  all: unset; /* zdejmuje WSZYSTKO z UA i dziwne WebKit presety */
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;

  /* wygląd */
  background: rgba(255, 255, 255, 0.08);
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;

  /* tekst */
  color: #fff;
  font: 16px/1.2 -apple-system, system-ui, "SF Pro Text", Inter, Segoe UI,
    Roboto, Arial, sans-serif;

  /* wyłącz wynalazki przeglądarki */
  -webkit-appearance: none;
  appearance: none;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  outline: none;
}

.waitlist input[type="email"]::placeholder {
  color: #d9dde7;
  opacity: 0.9;
}

/* autofill w Safari/Chrome – bez żółtego tła i bez „piguły” */
.waitlist input[type="email"]:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  transition: background-color 99999s ease-in-out 0s;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.08) inset !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.08) inset !important;
}

/* ukryj przyciski autouzupełniania kontaktów w Safari i spółce */
.waitlist input[type="email"]::-webkit-contacts-auto-fill-button,
.waitlist input[type="email"]::-webkit-credentials-auto-fill-button {
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
}

/* 1) Nigdy nie wystawaj poza viewport po X */
html,
body {
  overflow-x: hidden;
}

/* 2) Karty mają trzymać się środka i nie „dotykać” krawędzi */
.offer {
  padding-inline: clamp(12px, 4vw, 20px);
}
.offer .panel {
  inline-size: min(100%, 560px); /* wąska, „telefonowa” kolumna */
  margin-inline: auto; /* wyśrodkowanie */
}

/* 3) Meta/chipsy i badge muszą się ścisnąć */
.course-badge,
.meta {
  min-width: 0;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.meta li {
  max-width: 100%;
}

/* 4) Waitlista: zero sztywnych min-width, pełna szerokość na mobile */
.course-card .waitlist .btn,
#panel-workshops .waitlist .btn {
  min-width: 0;
}

@media (max-width: 520px) {
  /* input + przycisk zawsze pod sobą i na 100% szer. */
  .course-card .waitlist,
  #panel-workshops .waitlist {
    flex-direction: column;
    align-items: stretch;
  }

  .course-card .waitlist input[type="email"],
  #panel-workshops .waitlist input[type="email"],
  .course-card .waitlist .btn,
  #panel-workshops .waitlist .btn {
    width: 100%;
  }
}

/* przycisk w waitliście – tekst i kropka na środku */
.waitlist .btn {
  justify-content: center; /* wyśrodkowanie zawartości */
  text-align: center; /* tekst idealnie po środku */
}

/* 5) Na ultrawąskich: badge może spaść do 2 linii bez overflow */
@media (max-width: 360px) {
  .course-badge {
    flex-wrap: wrap;
  }
  .course-badge .start {
    flex-basis: 100%;
    overflow: visible;
    text-overflow: clip;
  }
}

/* 1) Globalnie – koniec z niespodziankami szerokości */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2) Kluczowa poprawka – textarea w warsztatach */
.waitlist textarea#ws-msg {
  box-sizing: border-box; /* <-- brakowało */
  max-width: 100%;
  display: block; /* pewne zachowanie w flex */
}

/* 3) Bezpiecznik – obrazki nigdy poza kontener */
img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* Sekcja 2 kolumny: niech kolumna może się ścisnąć */
@media (max-width: 1079.98px) {
  .offer {
    grid-template-columns: minmax(0, 1fr);
  }
}
.offer .panel {
  min-width: 0;
} /* pozwól panelowi się kurczyć */

/* --- DWA WINOWAJCY: pozwól im się kurczyć --- */
.course-card,
.waitlist-box {
  min-width: 0;
  max-width: 100%;
}

/* badge w karcie: nie wypychaj, ucinaj elipsą */
.course-card .course-badge {
  min-width: 0;
  overflow: hidden;
}
.course-card .course-badge .start {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* wiersz z e-mailem + przyciskiem: żadnych sztywnych szerokości */
.course-card .waitlist,
#panel-workshops .waitlist {
  align-items: stretch;
}

.course-card .waitlist input[type="email"],
#panel-workshops .waitlist input[type="email"],
.course-card .waitlist .btn,
#panel-workshops .waitlist .btn {
  min-width: 0; /* klucz: pozwól się ścisnąć */
  flex: 1 1 auto; /* nie trzymaj stałej szerokości */
  max-width: 100%;
}

/* na węższych: zawsze kolumna */
@media (max-width: 680px) {
  .course-card .waitlist,
  #panel-workshops .waitlist {
    flex-direction: column;
  }
}

/* Warsztaty: przycisk pod polami, pełna szerokość + odstępy */
#panel-workshops #ws-join {
  display: flex; /* zachowuje układ ikony + tekstu */
  justify-content: center; /* wyśrodkowanie zawartości */
  align-items: center;
  width: 100%; /* taka sama szerokość jak pola */
  height: 52px; /* spójnie z inputem */
  border-radius: 14px; /* spójnie z polami */
  margin: 12px 0; /* odstęp u góry i na dole */
}

/* Naprawa textarea w warsztatach */
#panel-workshops .workshop-box textarea {
  display: block;
  width: 100%;
  min-width: 0; /* żeby flex nie blokował */
  box-sizing: border-box;
  margin-top: 12px; /* oddech pod e-mailem */
  margin-bottom: 0;
}

/* Warsztaty: ujednolicenie wyglądu textarea z inputem e-mail */
#panel-workshops textarea#ws-msg,
#panel-workshops .workshop-box textarea#ws-msg {
  all: unset; /* usuń domyślny biały skin przeglądarki */
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 110px;

  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;

  font: 16px/1.5 -apple-system, system-ui, "SF Pro Text", Inter, Segoe UI,
    Roboto, Arial, sans-serif;
  resize: vertical;
}

/* placeholder w textarea – taki jak w input */
#panel-workshops textarea#ws-msg::placeholder,
#panel-workshops .workshop-box textarea#ws-msg::placeholder {
  color: #d9dde7;
  opacity: 0.9;
}

/* odstępy i pełna szerokość przycisku pod polami */
#panel-workshops .btn#ws-join {
  width: 100%;
  height: 56px;
  margin-top: 14px; /* oddech pod textarea */
  margin-bottom: 6px; /* oddech nad notką */
}

/* odstęp między e-mailem a opisem (tylko w warsztatach) */
#panel-workshops .workshop-box #ws-email {
  margin-bottom: 15px; /* ustaw ile chcesz: 8–14px wygląda dobrze */
}

.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.mob-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

body.download-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.download-page main {
  width: 100%;
  flex: 1;
}

.download-main {
  padding: clamp(24px, 5vw, 48px) 20px 120px;
}

.download-shell {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  padding: 0 20px;
}

.download-glass {
  background: rgba(20, 20, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.download-hero {
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 16px;
}

.download-eyebrow {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

.download-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
}

.download-hero p {
  margin: 0;
  max-width: 720px;
  font-size: clamp(16px, 2.2vw, 18px);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.download-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.download-catalog {
  padding: clamp(24px, 3vw, 32px);
  display: grid;
  gap: 20px;
  align-content: start;
  position: relative;
}

.download-detail {
  display: grid;
  align-content: start;
  gap: 18px;
}

.download-detail .waitlist-box {
  margin: 0;
  padding: clamp(22px, 3.2vw, 28px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.32);
}

.download-detail .waitlist {
  gap: 12px;
}

.catalog-head {
  display: grid;
  gap: 12px;
  align-content: start;
}


.trigger-wrap {
  position: relative;
  border-radius: 22px;
  padding: 0;
}

.resource-trigger {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(26, 26, 34, 0.88);
  color: #f7f8ff;
  font: 16px/1.25 -apple-system, system-ui, "SF Pro Text", Inter, Segoe UI,
    Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

.resource-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 222, 137, 0.45);
}

.resource-trigger:focus-visible {
  outline: 3px solid rgba(255, 222, 89, 0.55);
  outline-offset: 3px;
}

.resource-trigger .chevron {
  width: 12px;
  height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path fill="%23ffffff" d="M1.41 0.59 6 5.17l4.59-4.58L12 2l-6 6-6-6z"/></svg>')
    center/contain no-repeat;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.resource-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.resource-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.44);
  backdrop-filter: blur(4px);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.resource-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.resource-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  z-index: 80;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(24, 24, 32, 0.96), rgba(14, 14, 22, 0.88));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48);
  display: grid;
  gap: 16px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.resource-popover[hidden] {
  display: none !important;
}

.resource-popover .search-wrap {
  display: grid;
  gap: 8px;
  position: relative;
  margin-bottom: clamp(12px, 2vw, 18px);
}

.resource-popover .search-wrap::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="%23ffffff" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="9" r="6"/><line x1="13.5" y1="13.5" x2="18" y2="18"/></svg>')
    center/contain no-repeat;
  pointer-events: none;
  opacity: 0.7;
}

.resource-popover.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.resource-scroll {
  display: grid;
  gap: 12px;
  max-height: clamp(320px, 72vh, 520px);
  overflow-y: auto;
  padding: 10px 6px 8px 0;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
}

.resource-scroll::-webkit-scrollbar {
  width: 6px;
}

.resource-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.resource-popover-empty {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

#resource-search {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 16px 0 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(34, 34, 44, 0.92), rgba(24, 24, 34, 0.88));
  color: #f2f4ff;
  font: 15.5px/1.4 -apple-system, system-ui, "SF Pro Text", Inter, Segoe UI,
    Roboto, Arial, sans-serif;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

#resource-search:focus-visible {
  border-color: rgba(255, 222, 89, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 222, 89, 0.18);
}

#resource-search::placeholder {
  color: rgba(233, 235, 240, 0.7);
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    transform 0.2s ease;
  transform: translateY(0);
}

.resource-item .item-title {
  font-weight: 800;
  font-size: 18px;
}

.resource-item .item-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.resource-item:hover,
.resource-item:focus-visible {
  transform: translateY(0);
  border-color: rgba(255, 222, 89, 0.65);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.resource-item.active {
  transform: translateY(0);
  border-color: rgba(255, 145, 77, 0.85);
  box-shadow: 0 14px 34px rgba(255, 145, 77, 0.28);
  background: rgba(255, 145, 77, 0.18);
}

.resource-card-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resource-card {
  display: grid;
  gap: clamp(16px, 3vw, 22px);
  outline: none;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 18, 26, 0.78);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
  box-sizing: border-box;
}

.resource-card h3 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 32px);
}

.resource-summary {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(245, 246, 255, 0.9);
  line-height: 1.6;
}

.resource-description {
  margin: 14px 0 0;
}

.resource-card p {
  margin: 0;
  font-size: 16px;
  color: #cfd5e2;
  line-height: 1.6;
}

.resource-card form {
  display: grid;
  gap: 10px;
}

.resource-card label {
  font-weight: 600;
}

.resource-detail .waitlist {
  width: 100%;
}

.resource-card input[type='email'] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 11, 18, 0.65);
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.resource-card input[type='email']:focus-visible {
  outline: 2px solid rgba(255, 222, 89, 0.7);
  outline-offset: 3px;
}

.resource-card form.is-loading .btn {
  opacity: 0.65;
  pointer-events: none;
}

.resource-video {
  display: grid;
  gap: 16px;
  margin-top: clamp(18px, 3vw, 24px);
  padding: clamp(16px, 3.4vw, 22px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 26, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 22px 46px rgba(0, 0, 0, 0.34);
  box-sizing: border-box;
}

.resource-video h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #f7f8ff;
}

.resource-video-frame {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 14, 0.55);
  box-sizing: border-box;
}

.resource-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

#form-feedback {
  min-height: 24px;
  font-size: 15px;
  margin: 4px 0 0;
}

.resource-card .note {
  margin-top: 0;
}

#form-feedback[data-state='ok'] {
  color: rgba(134, 255, 176, 0.95);
}

#form-feedback[data-state='err'] {
  color: rgba(255, 153, 153, 0.95);
}

#form-feedback[data-state='pending'] {
  color: rgba(255, 222, 137, 0.9);
}

.resource-empty {
  font-size: 15px;
  color: #cfd5e2;
  line-height: 1.6;
}

@media (max-width: 1023.98px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
  .download-main {
    padding-bottom: 100px;
  }
}

@media (max-width: 767.98px) {
  .download-shell {
    gap: 24px;
  }
  .download-main {
    padding: clamp(20px, 8vw, 32px) 16px 80px;
  }
  .download-grid {
    gap: 22px;
  }
  .download-catalog {
    padding: 22px;
  }
  .download-detail .waitlist-box {
    padding: 20px;
  }
  .resource-item {
    padding: 16px 18px;
  }
}

@media (max-width: 539.98px) {
  .download-hero {
    padding: 24px;
  }
  .download-hero h1 {
    font-size: clamp(28px, 9vw, 34px);
  }
  .download-detail .waitlist-box {
    padding: 18px;
  }
  .resource-card input[type='email'],
  .resource-card .btn {
    width: 100%;
  }
}

@media (max-width: 699.98px) {
  .resource-popover {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    gap: 12px;
  }

.resource-scroll {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
}

/* ===== B2B HERO (podstrona współpraca) ===== */
.hero.hero-b2b {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(70vh - var(--nav-stack));
  padding: calc(var(--nav-stack) + clamp(16px, 4vw, 48px)) 20px
    clamp(28px, 4vw, 60px);
  margin-bottom: clamp(30px, 4vw, 50px);
}
.hero.hero-b2b::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 900px at 5% 5%,
      rgba(255, 222, 89, 0.14),
      transparent 70%
    ),
    radial-gradient(
      780px 780px at 90% 0%,
      rgba(255, 145, 77, 0.2),
      transparent 75%
    );
  opacity: 0.9;
  pointer-events: none;
}
.hero-b2b-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 50px) clamp(16px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero-b2b-content h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.15;
}
.hero-b2b-content .hero-subhead {
  margin: 0;
  font-size: clamp(20px, 3.6vw, 28px);
  line-height: 1.5;
  color: #e6e8f0;
  font-weight: 600;
}
.hero-b2b-content .sub {
  margin-top: 10px;
  line-height: 1.75;
  color: #e6e8f0;
}
.hero-b2b-content .eyebrow {
  justify-content: center;
  margin: 0 auto 12px;
}
.hero-b2b-content .grad-strong {
  display: inline-block;
}
.hero.hero-b2b .cta {
  justify-content: center;
}
@media (max-width: 767.98px) {
  .hero.hero-b2b {
    padding: calc(var(--nav-stack) + 20px) 14px 60px;
  }
  .hero.hero-b2b::before {
    opacity: 0.7;
  }
}

/* ===== TECH STACK MARQUEE ===== */
.tech-stack {
  max-width: 1200px;
  margin: clamp(30px, 5vw, 60px) auto 0;
  padding: clamp(4px, 2vw, 20px) 20px clamp(12px, 3vw, 24px);
}
.tech-head {
  text-align: center;
  margin-bottom: 12px;
}
.tech-head p {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c8c8c;
}
.marquee {
  overflow: hidden;
  position: relative;
  height: 48px;
}
.marquee + .marquee {
  margin-top: 10px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: max-content;
  white-space: nowrap;
  animation: marquee-left 32s linear infinite;
}
.marquee.bottom .marquee-track {
  animation: marquee-right 36s linear infinite;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 40px);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  width: max-content;
}
.logo-row img {
  height: 22px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.logo-row img:hover {
  opacity: 1;
}
.marquee-track span {
  white-space: nowrap;
  opacity: 0.85;
}
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes marquee-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* ===== AUDIENCE ===== */
.audience,
.usecases {
  max-width: 1200px;
  margin: clamp(50px, 6vw, 80px) auto;
  padding: clamp(40px, 6vw, 80px) 20px;
}

.audience .section-head,
.usecases .section-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 28px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.audience-grid article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}
.audience-cases h4 {
  margin: 14px 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #abaebf;
}
.audience-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.audience-grid p {
  color: #d7dbe7;
  line-height: 1.6;
  margin: 0 0 12px;
}
.audience-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #c7ccde;
  line-height: 1.5;
}
.audience-grid ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.audience-grid ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 15, 0.55);
  padding: clamp(24px, 4vw, 34px);
}
.usecases-grid ul {
  list-style: disc;
  color: #e0e3f4;
  margin: 0;
  padding-left: 22px;
  line-height: 1.65;
}
.timeline-list .copy ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #cfd3e7;
  line-height: 1.5;
}
@media (max-width: 1023.98px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .audience-grid article {
    padding: 20px;
  }
}
@media (max-width: 639.98px) {
  .usecases-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TAILORED SECTION ===== */
.tailored {
  max-width: 1100px;
  margin: clamp(30px, 5vw, 60px) auto;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  padding: clamp(28px, 4vw, 44px);
}
.tailored-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.tailored h2 {
  margin: 12px 0 12px;
  font-size: clamp(28px, 4.8vw, 40px);
}
.tailored p {
  margin: 0 auto 14px;
  max-width: 720px;
  color: #dcdfe9;
  line-height: 1.7;
}
.tailored-graphic {
  display: flex;
  justify-content: center;
}
.tailored-graphic img {
  width: 100%;
  height: auto;
  max-width: 320px;
}
@media (max-width: 899.98px) {
  .tailored-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tailored p {
    max-width: none;
  }
}

/* ===== NO-CODE FIRST ===== */
.nocode {
  max-width: 1100px;
  margin: clamp(20px, 5vw, 50px) auto;
  padding: 0 20px;
}
.nocode-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  padding: clamp(22px, 4vw, 32px);
}
.nocode-card h3 {
  margin: 8px 0 12px;
  font-size: clamp(22px, 4vw, 28px);
}
.nocode-card p {
  margin: 0 0 12px;
  color: #dcdfe9;
  line-height: 1.7;
}
@media (max-width: 899.98px) {
  .nocode-card {
    text-align: center;
  }
}

/* ===== TIMELINE ===== */

.timeline {
  max-width: 1100px;
  margin: clamp(50px, 6vw, 80px) auto;
  padding: clamp(40px, 6vw, 70px) 20px;
}
.timeline .section-head {
  text-align: center;
  margin-bottom: 32px;
}
.timeline .section-head h2 {
  margin-top: 12px;
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 1.35;
}
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0)
  );
}
.timeline-list li {
  display: flex;
  gap: 28px;
  padding-bottom: 28px;
}
.timeline-list li:last-child {
  padding-bottom: 0;
}
.timeline-list .node {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #2d1a00;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.timeline-list .copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.timeline-list .copy p {
  margin: 0;
  color: #e3e6f3;
  line-height: 1.7;
}
.security {
  max-width: 980px;
  margin: clamp(50px, 8vw, 110px) auto;
  padding: 0 20px;
}
.security-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: clamp(26px, 3.4vw, 40px);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.security .section-head {
  text-align: center;
  margin-bottom: 24px;
}
.security .section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4.3vw, 36px);
}
.security-card p {
  font-size: 17px;
  line-height: 1.7;
  color: #e6e8f0;
  margin-bottom: 12px;
}
.faq {
  max-width: 1200px;
  margin: clamp(40px, 7vw, 110px) auto;
  padding: 0 20px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.faq-grid article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}
.faq-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}
.faq-grid p {
  color: #dfe2ef;
  line-height: 1.65;
  margin: 0 0 10px;
}
.faq-link {
  margin-top: 10px;
  font-size: 14px;
}
.faq-link a {
  color: var(--accent2);
  text-decoration: none;
}
@media (max-width: 649.98px) {
  .timeline-list::before {
    left: 18px;
  }
  .timeline-list li {
    gap: 18px;
  }
  .timeline-list .node {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

/* ===== ABOUT SECTION ===== */
.about-me {
  max-width: 1200px;
  margin: clamp(50px, 7vw, 80px) auto clamp(70px, 8vw, 110px);
  padding: clamp(70px, 8vw, 100px) 20px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}
.about-photo {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 420px;
}
.about-photo .glow {
  position: absolute;
  width: 78%;
  height: 78%;
  top: 0%;
  filter: blur(30px);
  background: radial-gradient(
    circle at 50% 20%,
    rgba(247, 192, 74, 0.25),
    transparent 72%
  );
  filter: blur(40px);
  z-index: 0;
}
.about-photo picture {
  position: relative;
  z-index: 1;
  display: block;
  width: min(380px, 90%);
}
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0.35) 87%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0.35) 87%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.about-photo .platform {
  position: absolute;
  bottom: 6px;
  width: 60%;
  max-width: 360px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(6px);
  z-index: 0;
}

.about-copy {
  max-width: 620px;
}
.about-copy h2 {
  margin: 8px 0 18px;
  font-size: clamp(26px, 4.6vw, 34px);
  line-height: 1.3;
}
.about-copy p {
  color: #c8c8c8;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.about-copy .socials {
  margin: 22px 0 10px;
  justify-content: flex-start;
}
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.about-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #f3f3f3;
  font-size: 15px;
}
.about-highlights li::before {
  content: "✔";
  font-size: 13px;
  color: var(--accent);
}
@media (max-width: 899.98px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-photo img {
    width: min(70%, 320px);
    margin: 0 auto;
  }
  .about-copy {
    margin: 0 auto;
  }
  .about-copy .socials {
    justify-content: center;
  }
  .about-highlights {
    justify-content: center;
  }
}
@media (max-width: 559.98px) {
  .about-photo img {
    width: 70%;
    max-height: none;
  }
  .about-highlights {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-me {
    padding: 50px 18px 70px;
  }
}

/* ===== AUTOMATION FORM ===== */
.automation-form {
  max-width: 1100px;
  margin: clamp(60px, 7vw, 100px) auto clamp(70px, 8vw, 110px);
  padding: 0 20px;
  display: grid;
  gap: 30px;
}
.automation-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 4vw, 34px);
}
.automation-copy p {
  color: #c8c8c8;
  line-height: 1.7;
  margin: 0;
}
.automate-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.automate-form .form-row {
  display: flex;
  gap: 16px;
}
.automate-form input,
.automate-form textarea {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font: 15px/1.4 -apple-system, system-ui, "SF Pro Text", Inter, Segoe UI,
    Roboto, Arial, sans-serif;
}
.automate-form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.automate-form input::placeholder,
.automate-form textarea::placeholder {
  color: #9ca0ad;
}
.automate-form .btn {
  align-self: flex-start;
  margin-top: 4px;
  color: #1f1200 !important;
  text-shadow: none;
}
.automate-form.loading .btn {
  opacity: 0.6;
  pointer-events: none;
}
.form-note {
  margin: 4px 0 0;
  font-size: 14px;
  color: #d3d7e8;
}
.form-disclaimer {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.form-disclaimer a {
  color: var(--accent);
  text-decoration: none;
}

.policy {
  max-width: 960px;
  margin: clamp(40px, 7vw, 110px) auto;
  padding: 0 20px 60px;
}
.policy-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}
.policy-card h1 {
  font-size: clamp(28px, 4.6vw, 42px);
  margin-bottom: 24px;
}
.policy-card h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: clamp(20px, 3.5vw, 26px);
}
.policy-card section {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.policy-card section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.policy-card p,
.policy-card li {
  color: #e6e8f0;
  line-height: 1.7;
  margin-bottom: 12px;
}
.policy-card ul {
  padding-left: 18px;
  margin: 0 0 16px;
  list-style: disc;
}
.policy-card ol {
  padding-left: 22px;
  margin: 0 0 16px;
}
@media (max-width: 699.98px) {
  .automate-form .form-row {
    flex-direction: column;
  }
  .automation-form {
    gap: 18px;
  }
}


.nav-btn-cta {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #1d1200 !important;
  font-weight: 800;
  animation: pulse-cta 3s ease-in-out infinite;
}
@keyframes pulse-cta {
  0%,100% { box-shadow: 0 0 0 0 rgba(255, 222, 89, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(255, 222, 89, 0); }
}


.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}
.footer-links a:hover {
  color: #fff;
}
@media (max-width: 599.98px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
