/* Startup Founders Night #8 - landing. Mobile-first, bez animacji. */

:root {
  --navy: #1F315B;
  --navy-deep: #17264A;
  --coral: #F24947;
  --grey: #E9E9EB;
  --white: #FFFFFF;
  --ink: #1F315B;
  --muted: #4A5878;
  --radius: 10px;
  --wrap: 1080px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--navy); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Widoczne placeholdery - do usunięcia przed publikacją */
.todo {
  display: inline-block;
  background: #FFF3B0; color: #5A4500;
  font-size: .85rem; font-weight: 700; line-height: 1.4;
  padding: 2px 6px; border-radius: 4px;
}
.todo-box {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--grey); border: 2px dashed #9AA3B8; border-radius: var(--radius);
  aspect-ratio: 3 / 2; padding: 16px;
}

/* ---------- Sekcje ---------- */
.section { padding: 56px 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy a:not(.btn) { color: var(--white); }
.lead { font-size: 1.0625rem; max-width: 42em; }
.small { font-size: .875rem; }
.section--navy .muted { color: var(--grey); }
.muted { color: var(--muted); }

/* Kreska akcentu nad nagłówkiem sekcji */
.section h2::before {
  content: ""; display: block; width: 40px; height: 4px;
  background: var(--coral); margin-bottom: 16px; border-radius: 2px;
}

/* ---------- Przyciski ---------- */
/* Biały na koralu = 3.6:1, dlatego tekst przycisku 19px bold (WCAG AA dla dużego tekstu). */
.btn {
  display: inline-block;
  background: var(--coral); color: var(--white);
  font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  padding: 16px 28px; border-radius: var(--radius);
  border: 2px solid var(--coral);
}
.btn:hover { background: #D93836; border-color: #D93836; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.section--navy .btn--ghost { color: var(--white); border-color: var(--white); }
.section--navy .btn--ghost:hover { background: var(--white); color: var(--navy); }
.cta-row { margin-top: 28px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.logo img { height: 22px; width: auto; }
@media (min-width: 720px) { .logo img { height: 28px; } }
.lang { display: flex; gap: 4px; font-size: .875rem; font-weight: 700; }
.lang a, .lang span { padding: 6px 10px; border-radius: 6px; text-decoration: none; }
.lang [aria-current] { background: rgba(255,255,255,.14); }
.lang a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 20px 0 40px; }
.eyebrow {
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 12px;
}
.hero h1 { font-size: clamp(2.1rem, 9vw, 4rem); margin-bottom: 14px; }
.hero h1 .num { color: var(--coral); }
.hero .value { font-size: 1.0625rem; max-width: 34em; margin-bottom: 18px; }
.facts { list-style: none; padding: 0; margin: 0 0 20px; font-weight: 600; }
.facts li { margin-bottom: 4px; }
.price-now { font-weight: 600; margin: 0 0 16px; min-height: 1.6em; }
.price-now strong { font-size: 1.25rem; font-weight: 800; }
.hero .note { font-size: .875rem; color: var(--grey); margin: 16px 0 0; max-width: 34em; }

/* ---------- What you get ---------- */
.perks { list-style: none; padding: 0; display: grid; gap: 14px; margin: 0; }
.perks li { background: var(--white); border-radius: var(--radius); padding: 18px 20px; border-left: 4px solid var(--coral); }
.perks h3 { margin-bottom: .3em; }
.perks p { margin: 0; }

/* ---------- Tickets ---------- */
.tiers { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.tier {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--navy-deep); border: 2px solid transparent;
}
.tier__name { font-weight: 700; }
.tier__price { font-size: 1.5rem; font-weight: 800; grid-row: span 2; }
.tier__when { font-size: .875rem; color: var(--grey); }
.tier--past { opacity: .6; }
.tier--past .tier__price { text-decoration: line-through; }
.tier--now { border-color: var(--coral); background: var(--navy-deep); }
.badge {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px;
  background: var(--white); color: var(--navy); font-size: .75rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px;
}
.ticket-extra { list-style: none; padding: 0; margin: 0 0 8px; }
.ticket-extra li { margin-bottom: 6px; }

/* ---------- Agenda ---------- */
.agenda { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--navy); }
.agenda li { position: relative; padding: 0 0 22px 22px; }
.agenda li::before {
  content: ""; position: absolute; left: -8px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%; background: var(--coral);
}
.agenda time { display: block; font-weight: 800; font-size: 1.125rem; }

/* ---------- Venue ---------- */
.venue-grid { display: grid; gap: 28px; }
.address { font-style: normal; margin-bottom: 12px; }
details {
  background: var(--white); border-radius: var(--radius); margin-bottom: 10px;
  border: 1px solid #C9CDD8;
}
summary {
  cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; list-style: none; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 18px 16px; }
details ul { margin-bottom: 0; }
.tip { background: var(--white); border-radius: var(--radius); padding: 12px 16px; margin-top: 14px; }

/* ---------- Past editions ---------- */
.editions { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.editions a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius); background: var(--white);
  font-weight: 700; text-decoration: none; border: 1px solid #C9CDD8;
}
.editions a:hover { border-color: var(--navy); }
.editions span { font-weight: 400; font-size: .875rem; color: var(--muted); }
.photos-fig { margin: 0 0 8px; }
.photos-fig figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.stats {
  list-style: none; padding: 0; margin: 8px 0 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.stats li { background: var(--grey); border-radius: var(--radius); padding: 14px 16px; font-size: .9375rem; line-height: 1.35; }
.stats strong { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.powered { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; margin-top: -4px; }
.powered img { height: 32px; width: auto; background: var(--white); border-radius: 6px; padding: 4px 8px; box-sizing: content-box; }
.venue-photo { border-radius: var(--radius); width: 100%; }
.photos { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.photos img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Partners ---------- */
/* Hierarchia = kolejność sekcji (organizator > strategiczni > Pitch Training > komunikacyjny).
   Kafelki mają jednakowy rozmiar; wysokość każdego logo dobrana tak, żeby zajmowało podobną powierzchnię. */
.partner-tier { margin-bottom: 24px; }
.partner-tier h3 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.logos {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.logo-tile {
  display: flex; align-items: center; justify-content: center; height: 104px; padding: 0 20px;
  background: var(--white); border-radius: var(--radius); border: 1px solid transparent;
}
.logo-tile:hover { border-color: var(--navy); }
.logo-tile img { width: auto; max-width: 100%; }
.logo-tile--sf img { height: 22px; }
.logo-tile--portuger img { height: 33px; }
.logo-tile--sw img { height: 44px; }
.logo-tile--araw img { height: 39px; }
.logo-tile--hanza img { height: 43px; }
.logo-tile--caverna img { height: 33px; }

/* ---------- FAQ ---------- */
.faq details { border-color: #C9CDD8; }

/* ---------- Final CTA + footer ---------- */
.final { text-align: left; }
.final h2 { font-size: clamp(1.8rem, 6vw, 2.75rem); }
.site-footer { background: var(--navy-deep); color: var(--grey); padding: 36px 0 110px; font-size: .9375rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy); color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 -4px 16px rgba(23, 38, 74, .25);
}
.sticky-cta .btn { padding: 12px 20px; }
.sticky-cta__price { font-size: .875rem; font-weight: 600; line-height: 1.3; }
.sticky-cta__price strong { display: block; font-size: 1.125rem; font-weight: 800; }
.sticky-cta[data-hidden="true"] { display: none; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .section { padding: 80px 0; }
  .hero { padding: 48px 0 80px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .editions { grid-template-columns: repeat(3, 1fr); }
  .photos { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .venue-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .perks { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 36px; }
}
