/* Shared by every page: base, nav + mobile menu, subscribe modal, simple inner pages */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:  #0a0a0a;
  --ink:    #141414;
  --line:   rgba(255,255,255,0.14);
  --white:  #ffffff;
  --muted:  rgba(255,255,255,0.62);
  --amber:  #F3B400;
  --gold:   #8a6d2b;
  --gutter: clamp(20px, 5vw, 72px);
}

html { -webkit-font-smoothing: antialiased; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Poppins', system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Platform logos: one SVG file each, tinted with the text color */
.icon {
  display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--white); color: var(--black);
  font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--amber); transform: translateY(-1px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 22px 0;
  transition: background .3s ease, padding .3s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter);
}
.nav.scrolled { background: rgba(10,10,10,0.92); backdrop-filter: blur(8px); padding-top: 14px; padding-bottom: 14px; }
.logo {
  font-weight: 800; font-size: 17px; line-height: .95;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.nav .logo { font-size: 24px; }
.nav-menu { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--amber); }
.nav-socials { display: none; }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 9px; width: 22px; height: 2px; background: var(--white); content: '';
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Subscribe modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: 100%; max-width: 420px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 32px 30px; text-align: center;
  transform: translateY(12px) scale(.98); transition: transform .25s ease;
}
.modal.open .modal-card { transform: none; }
.modal-card h2 { font-weight: 800; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 22px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); }
.modal-close:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.platforms { display: grid; gap: 10px; list-style: none; }
.platforms a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}
.platforms a:hover { border-color: var(--amber); background: rgba(243,180,0,0.06); }

/* ---------- Inner pages: big title, one line, then content ---------- */
.page {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(130px, 16vh, 180px) var(--gutter) 96px;
}
.page-title {
  font-weight: 800; font-size: clamp(48px, 8vw, 112px);
  line-height: .95; letter-spacing: -0.04em;
}
.page-lede { margin-top: 20px; max-width: 560px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--muted); }
.page-body { margin-top: 56px; max-width: 720px; }
.page-body p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.page-body p + p { margin-top: 18px; }
.page-body p strong { color: var(--white); font-weight: 600; }

.page.centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.page.centered .page-lede { margin-left: auto; margin-right: auto; }
.page.centered .page-body { margin: 36px auto 0; }
.page.centered .sponsors { width: 100%; max-width: 680px; margin-top: 36px; }
.page.centered .sponsor { text-align: left; }

/* Sponsor cards */
.sponsors { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.sponsor { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .2s ease; }
.sponsor:hover { border-color: rgba(255,255,255,0.35); }
.sponsor-logo { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: var(--ink); color: rgba(255,255,255,0.3); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-meta { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-top: 1px solid var(--line); }
.sponsor-meta b { display: block; font-weight: 600; font-size: 20px; }
.sponsor-meta span { font-size: 14px; color: var(--muted); }
.sponsor-meta .arrow { font-size: 22px; color: var(--amber); }
.page-note { margin-top: 40px; font-size: 15px; color: var(--muted); }
.page-note a { color: var(--white); border-bottom: 1px solid var(--line); }
.page-note a:hover { color: var(--amber); border-color: var(--amber); }

/* Newsletter form */
.signup { margin-top: 36px; width: 100%; max-width: 440px; display: grid; gap: 10px; }
.signup input {
  width: 100%; padding: 14px 22px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--white);
  font: inherit; font-size: 15px; text-align: center;
}
.signup input::placeholder { color: rgba(255,255,255,0.45); }
.signup input:focus { outline: none; border-color: var(--amber); }
.signup .btn { width: 100%; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .page { padding-top: 124px; }   /* same title height as every other page on phones */
  .nav .logo { font-size: 19px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    display: none;
  }
  .nav.open { background: var(--black); }
  .nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 15px; }
  .nav-socials { display: flex; gap: 26px; list-style: none; margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
  .nav-socials a { display: block; color: var(--white); transition: color .2s ease; }
  .nav-socials a:hover { color: var(--amber); }
  .nav-socials .icon { width: 22px; height: 22px; }
}

/* ---------- Email signup (above the footer) ---------- */
.cta { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.cta-box { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; padding: clamp(56px, 7vw, 96px) 0; }
.cta-title { font-weight: 800; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.12; letter-spacing: -0.03em; max-width: 620px; }
.cta-title span { color: var(--muted); }
.cta .inline { justify-self: end; width: 100%; display: flex; max-width: 480px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s ease; }
.cta .inline:focus-within { border-color: rgba(255,255,255,0.45); }
.cta .inline input {
  width: 100%; min-width: 0; padding: 10px 18px; border: 0; border-radius: 999px;
  background: transparent; color: var(--white); font: inherit; font-size: 15px;
}
.cta .inline input::placeholder { color: rgba(255,255,255,0.45); }
.cta .inline input:focus { outline: none; }
.cta .inline .btn { flex: none; padding: 11px 22px; font-size: 14px; }
.cta .inline .btn:hover { transform: none; }

/* ---------- Footer: logo, links, icons on one row ---------- */
.footer { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); color: var(--muted); font-size: 14px; }
.footer a { transition: color .2s ease; }
.footer a:hover { color: var(--amber); }
.footer .logo { color: var(--white); }
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 72px 0 40px; }
.f-links { display: flex; gap: 28px; list-style: none; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.f-icons { display: flex; gap: 22px; }
.f-icons a { color: var(--white); }
.f-icons .icon { width: 20px; height: 20px; }
.f-bottom { padding: 24px 0 40px; border-top: 1px solid var(--line); }
.f-copy { font-size: 13px; color: rgba(255,255,255,0.45); }

@media (max-width: 900px) {
  .cta-box { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .cta .inline { justify-self: center; }
  .cta .inline .btn { padding: 11px 16px; }
  .f-top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .f-links { flex-direction: column; gap: 14px; font-size: 13px; }
}

/* ---------- Shared by Sponsors, Speaking, Scale with Us ---------- */
[hidden] { display: none !important; }
.label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; text-wrap: balance; }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* Offer box: dark card, big title, short copy, button pinned to the bottom */
.offer {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(28px, 3.2vw, 48px);
}
.offer-num { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--amber); }
.offer h2, .offer h3 { margin-top: 18px; font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -0.02em; }
.offer-body { margin-top: 16px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.88); }
.offer-body ul { list-style: none; display: grid; gap: 12px; }
.offer-body li { position: relative; padding-left: 22px; }
.offer-body li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--amber); }
.offer-body { flex: 1; }   /* grows so buttons line up across side-by-side boxes */
.offer .btn { margin-top: 32px; }

@media (max-width: 900px) {
  .offer .btn { width: 100%; }
}


/* Sign-up confirmation (replaces the form) */
.signup-done { font-weight: 600; font-size: 17px; }
.cta .signup-done { justify-self: end; }
.signup + .signup-done, .page .signup-done { margin-top: 36px; }
@media (max-width: 900px) { .cta .signup-done { justify-self: center; } }
