/* Google I/O 2026 style — inspired by https://io.google/2026/ */

:root {
  --io-black: #000;
  --io-grey-800: #373737;
  --io-grey-600: #5f6368;
  --io-white: #fff;
  --io-blue: #1a73e8;
  --io-blue-hover: #185abc;
  --io-font: "Google Sans", Roboto, Arial, Helvetica, sans-serif;
  --io-font-text: "Google Sans Text", Roboto, Arial, Helvetica, sans-serif;
  --io-max: 1360px;
  --io-content: 898px;
}

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

html {
  scroll-behavior: smooth;
}

body.io-2026 {
  margin: 0;
  background: var(--io-black);
  color: var(--io-white);
  font-family: var(--io-font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.notranslate {
  white-space: nowrap;
}

/* Skip link */
.io-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 14px 24px;
  background: var(--io-blue);
  color: var(--io-white);
  border-radius: 1000px;
  font-weight: 500;
  font-size: 16px;
}

.io-skip:focus {
  left: 50%;
  transform: translateX(-50%);
}

/* Header */
.io-header {
  position: relative;
  z-index: 11;
}

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

@media (min-width: 768px) {
  .io-nav {
    padding: 16px 40px;
  }
}

.io-nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.io-nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 24px;
}

.io-nav-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.io-nav-links {
  display: none;
  flex: 1;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .io-nav-links {
    display: flex;
  }
}

.io-nav-links a {
  padding: 8px 12px;
  font-family: var(--io-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--io-white);
  border-radius: 4px;
  white-space: nowrap;
}

.io-nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.io-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.io-nav-cta {
  font-family: var(--io-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--io-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Survey banner */
.io-banner {
  max-width: var(--io-max);
  margin: 0 auto 20px;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .io-banner {
    margin-bottom: 40px;
    padding: 0 40px;
  }
}

.io-banner-inner {
  text-align: center;
  font-size: 15px;
  color: var(--io-grey-600);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.io-banner-inner a {
  color: var(--io-white);
  text-decoration: underline;
}

/* Main container */
.io-main {
  max-width: var(--io-max);
  margin: 0 auto;
  padding: 0 12px 80px;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  .io-main {
    padding: 0 40px 120px;
  }
}

/* Hero stacked card */
.io-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--io-max);
  margin: 0 auto;
  padding: 32px 0 0;
  border: 2px solid var(--io-grey-800);
  border-radius: 16px;
  overflow: hidden;
  background: var(--io-black);
}

@media (min-width: 768px) {
  .io-hero-card {
    padding-top: 30px;
    border-radius: 16px;
  }
}

.io-hero-title {
  font-family: var(--io-font);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  letter-spacing: -0.02em;
  color: var(--io-white);
  max-width: 720px;
}

.io-hero-cta-wrap {
  margin: 28px 0 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.io-hero-eyebrow {
  font-family: var(--io-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0 0 16px;
  padding: 0 20px;
}

.io-hero-subtitle {
  text-align: center;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 16px auto 0;
  padding: 0 20px;
}

.io-topic-card-body {
  padding: 0 20px 20px;
  margin-top: -4px;
}

@media (min-width: 768px) {
  .io-topic-card-body {
    padding: 0 24px 24px;
  }
}

.io-topic-card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.io-topic-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8ab4f8;
  margin-bottom: 6px;
}

.io-keynote-card-content p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.io-hot-badge {
  display: inline-block;
  font-family: var(--io-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fbbc05;
  background: rgba(251, 188, 5, 0.12);
  border: 1px solid rgba(251, 188, 5, 0.35);
  border-radius: 1000px;
  padding: 4px 12px;
  margin-left: 8px;
  vertical-align: middle;
}

.io-banner-inner .io-hot-badge {
  margin-left: 0;
  margin-top: 8px;
}

.io-cta-primary {
  display: inline-block;
  font-family: var(--io-font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--io-white);
  background: var(--io-blue);
  padding: 14px 24px;
  border-radius: 1000px;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .io-cta-primary {
    font-size: 18px;
    padding: 22px 28px;
  }
}

.io-cta-secondary {
  display: inline-block;
  font-family: var(--io-font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--io-blue);
  background: transparent;
  border: 2px solid var(--io-blue);
  padding: 12px 24px;
  border-radius: 1000px;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .io-cta-secondary {
    font-size: 18px;
    padding: 20px 28px;
  }
}

.io-cta-secondary:hover {
  background: var(--io-blue);
  color: var(--io-white);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
  text-decoration: none;
}

.io-cta-primary:hover {
  background: var(--io-blue-hover);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15);
  text-decoration: none;
  color: var(--io-white);
}

.io-hero-graphic {
  width: 100%;
  max-width: 933px;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px 28px;
}

.io-hero-graphic img,
.io-hero-graphic svg {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Centered 4-icon I/O row */
.io-icons-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px 28px;
  background: transparent;
}

.io-icons-row__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.io-icons-row__inner img,
.io-icons-row__inner svg {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .io-icons-row__inner img,
  .io-icons-row__inner svg {
    max-width: 880px;
  }

  .io-hero-graphic img,
  .io-hero-graphic svg {
    max-width: 880px;
  }
}

/* Section: on demand */
.io-section {
  padding-top: 56px;
}

@media (min-width: 768px) {
  .io-section {
    padding-top: 122px;
  }
}

.io-section-narrow {
  max-width: var(--io-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.io-display-title {
  font-family: var(--io-font);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  margin: 0;
  letter-spacing: -0.02em;
}

.io-section-desc {
  margin: clamp(28px, 5vw, 80px) 0 36px;
  text-align: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .io-section-desc {
    margin-bottom: 64px;
  }
}

/* Topic cards grid */
.io-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  .io-topic-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.io-topic-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--io-grey-800);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s;
  color: var(--io-white);
}

.io-topic-card:hover {
  border-color: var(--io-white);
  text-decoration: none;
}

.io-topic-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px;
  gap: 8px;
}

@media (min-width: 768px) {
  .io-topic-card-header {
    padding: 19px 24px;
  }
}

.io-topic-card h3 {
  margin: 0;
  font-family: var(--io-font);
  font-size: 18px;
  font-weight: 500;
}

.io-topic-card img.io-arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Keynotes */
.io-keynote-title-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 80px;
}

.io-keynote-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: var(--io-max);
  padding: 40px 0 0;
}

@media (min-width: 768px) {
  .io-keynote-row {
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.io-keynote-card {
  flex: 1 1 280px;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--io-grey-800);
}

.io-keynote-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.io-keynote-card-content {
  padding: 24px;
}

.io-keynote-card h3 {
  margin: 0 0 16px;
  font-family: var(--io-font);
  font-size: 22px;
  font-weight: 500;
}

.io-cta-small {
  display: inline-block;
  font-family: var(--io-font);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 1000px;
  background: var(--io-blue);
  color: var(--io-white);
}

.io-cta-small:hover {
  background: var(--io-blue-hover);
  color: var(--io-white);
  text-decoration: none;
}

/* Content: speakers & agenda */
.io-content-section {
  max-width: var(--io-max);
  margin: 0 auto;
  padding: 80px 0 0;
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .io-content-section {
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
  }
}

.io-content-main {
  min-width: 0;
}

.io-content-heading {
  font-family: var(--io-font);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 12px;
}

.io-content-title {
  font-family: var(--io-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 0 0 24px;
  line-height: 1.25;
}

.io-prose {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.io-prose p {
  margin: 0 0 1rem;
}

.io-prose h5 {
  font-family: var(--io-font);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--io-white);
  margin: 1.5rem 0 0.75rem;
}

.io-prose ol {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.io-prose ol li {
  margin-bottom: 0.75rem;
}

.io-prose b {
  color: var(--io-white);
  font-weight: 500;
}

.io-accent {
  color: #8ab4f8;
}

/* Speakers */
.io-speakers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .io-speakers {
    grid-template-columns: 1fr 1fr;
  }
}

.io-speaker {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--io-grey-800);
  border-radius: 16px;
  transition: border-color 0.2s;
}

.io-speaker:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.io-speaker img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  flex-shrink: 0;
}

.io-speaker h5 {
  margin: 0 0 4px;
  font-family: var(--io-font);
  font-size: 15px;
  font-weight: 500;
  color: #8ab4f8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.io-speaker p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* Agenda */
.io-agenda {
  margin-top: 48px;
}

.io-agenda-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--io-grey-800);
}

.io-agenda-item:first-child {
  border-top: 1px solid var(--io-grey-800);
}

.io-agenda-time {
  font-family: var(--io-font);
  font-size: 14px;
  font-weight: 500;
  color: #8ab4f8;
}

.io-agenda-deets h5 {
  margin: 0 0 8px;
  font-family: var(--io-font);
  font-size: 18px;
  font-weight: 500;
}

.io-agenda-deets p {
  margin: 0 0 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

.io-agenda-deets ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.io-agenda-deets li {
  margin-bottom: 6px;
}

/* Sidebar register */
.io-sidebar-card {
  background: var(--io-white);
  color: #202124;
  border-radius: 16px;
  padding: 32px 28px;
  position: sticky;
  top: 24px;
}

.io-sidebar-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #3c4043;
}

.io-sidebar-card .io-cta-primary {
  margin-top: 20px;
  width: 100%;
}

/* Footer */
.io-footer {
  max-width: var(--io-max);
  margin: 0 auto;
  padding: 48px 12px 64px;
  border-top: 1px solid var(--io-grey-800);
}

@media (min-width: 768px) {
  .io-footer {
    padding: 48px 40px 80px;
  }
}

.io-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.io-footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.io-footer-links a:hover {
  color: var(--io-white);
}

.io-footer-copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Mobile menu */
.io-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.io-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--io-white);
  position: relative;
}

.io-menu-btn span::before,
.io-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--io-white);
}

.io-menu-btn span::before { top: -6px; }
.io-menu-btn span::after { top: 6px; }

@media (min-width: 768px) {
  .io-menu-btn {
    display: none;
  }
}

.io-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 16px;
  max-width: var(--io-max);
  margin: 0 auto;
}

.io-mobile-nav.open {
  display: flex;
}

.io-mobile-nav a {
  padding: 12px;
  font-weight: 500;
  color: var(--io-white);
  border-bottom: 1px solid var(--io-grey-800);
}

/* ─── Register page (io.google/2026) ─── */

.io-register-page .io-main {
  padding-bottom: 100px;
}

@media (min-width: 768px) {
  .io-register-page .io-main {
    padding-bottom: 120px;
  }
}

.io-register-hero {
  margin-bottom: 0;
  overflow: visible;
}

.io-register-hero .io-hero-title {
  max-width: 640px;
}

.io-register-hero-lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 20px auto 32px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .io-register-hero-lead {
    margin-bottom: 40px;
  }
}

.io-register-hero .io-hero-graphic {
  max-width: 933px;
  padding: 8px 20px 28px;
}

.io-register-form-section {
  padding-top: 56px;
}

@media (min-width: 768px) {
  .io-register-form-section {
    padding-top: 80px;
  }
}

.io-register-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.io-register-form-heading {
  text-align: center;
  margin-bottom: 32px;
}

.io-register-form-heading h2 {
  font-family: var(--io-font);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.io-register-form-heading p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.io-register-card {
  border: 1px solid var(--io-grey-800);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.io-register-card-inner {
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .io-register-card-inner {
    padding: 48px 44px;
  }
}

.io-register-page .io-register-form {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.io-register-page .io-cta-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 16px;
}

.io-register-success {
  text-align: center;
  padding: 56px 24px;
}

.io-register-success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e8e3e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
}

.io-register-success h2 {
  font-family: var(--io-font);
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 12px;
}

.io-register-success p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 24px;
}

.io-register-success .io-register-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 32px;
}

.io-register-benefits-section {
  padding-top: 56px;
}

@media (min-width: 768px) {
  .io-register-benefits-section {
    padding-top: 80px;
  }
}

.io-register-benefits-section .io-section-narrow {
  align-items: stretch;
  max-width: var(--io-max);
  width: 100%;
}

.io-register-benefits-section .io-section-desc {
  margin-top: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .io-register-benefits-section .io-section-desc {
    margin-bottom: 56px;
  }
}

.io-benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .io-benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.io-benefit-card {
  border: 1px solid var(--io-grey-800);
  border-radius: 20px;
  background: var(--io-black);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.io-benefit-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 20px;
  min-height: 140px;
}

.io-benefit-card-visual img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100px;
  display: block;
  object-fit: contain;
}

.io-benefit-card-body {
  padding: 0 24px 28px;
  flex: 1;
}

.io-benefit-card-body h3 {
  font-family: var(--io-font);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--io-white);
}

.io-benefit-card-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Registration page ─── */

.io-register-main {
  padding: 40px 12px 80px;
}

@media (min-width: 768px) {
  .io-register-main {
    padding: 56px 40px 100px;
  }
}

.io-register-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.io-register-title {
  font-family: var(--io-font);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.io-register-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 24px;
}

.io-register-lead strong {
  color: var(--io-white);
  font-weight: 500;
}

.io-register-benefits {
  margin: 0 0 40px;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.7;
}

.io-register-benefits li {
  margin-bottom: 8px;
}

.io-register-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--io-grey-800);
  border-radius: 16px;
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .io-register-form {
    padding: 40px 36px;
  }
}

.io-form-section {
  border: none;
  margin: 0 0 32px;
  padding: 0;
}

.io-form-section legend {
  font-family: var(--io-font);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8ab4f8;
  margin-bottom: 20px;
  padding: 0;
  width: 100%;
}

.io-form-row {
  display: grid;
  gap: 16px;
}

.io-form-row--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .io-form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.io-field {
  margin-bottom: 20px;
}

.io-field label,
.io-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.io-required {
  color: #f28b82;
}

.io-optional {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.io-field input,
.io-field select {
  width: 100%;
  font-family: var(--io-font-text);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--io-grey-800);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--io-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.io-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.io-field input:focus,
.io-field select:focus {
  outline: none;
  border-color: var(--io-blue);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.35);
}

.io-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath fill='%23fff' fill-opacity='.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.io-field-hint {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
  line-height: 1.4;
}

.io-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.io-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  line-height: 1.45;
}

.io-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--io-blue);
}

.io-checkbox--legal {
  margin-bottom: 14px;
}

.io-checkbox--legal a {
  color: #8ab4f8;
  text-decoration: underline;
}

.io-form-actions {
  margin-top: 8px;
}

.io-cta-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--io-font);
}

.io-form-disclaimer {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.4);
  margin: 16px 0 0;
  text-align: center;
}

.io-register-success {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--io-grey-800);
  border-radius: 16px;
  background: rgba(52, 168, 83, 0.08);
}

.io-success-icon {
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  background: rgba(52, 168, 83, 0.2);
  color: #81c995;
  font-size: 28px;
  margin: 0 auto 24px;
}

.io-register-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 28px;
  line-height: 1.55;
}

.io-register-success .io-cta-primary {
  display: inline-block;
}

/* ─── Success page (post-registration · live broadcast) ─── */

.io-success-page .io-main {
  padding-bottom: 100px;
}

@media (min-width: 768px) {
  .io-success-page .io-main {
    padding-bottom: 120px;
  }
}

/* Confirmation hero */
.io-success-hero {
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .io-success-hero {
    margin-bottom: 40px;
  }
}

.io-success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(30, 142, 62, 0.15);
  border: 2px solid rgba(129, 201, 149, 0.4);
  color: #81c995;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.io-success-hero-title {
  max-width: 800px;
}

.io-success-hero .io-hero-subtitle strong {
  color: var(--io-white);
  font-weight: 500;
}

/* Email notice — compact inline */
.io-success-email-notice {
  max-width: 520px;
  margin: 16px auto 0;
  padding: 0 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.io-success-email-notice strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.io-success-email-tag {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--io-font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  vertical-align: middle;
}

/* Live broadcast — Google Events style */
.io-success-broadcast {
  margin-bottom: 56px;
  padding: 0;
  overflow: hidden;
}

.io-broadcast-layout {
  display: flex;
  flex-direction: column;
}

.io-broadcast-main {
  width: 100%;
}

.io-broadcast-intro {
  padding: 32px 20px 28px;
  border-bottom: 1px solid var(--io-grey-800);
  text-align: center;
}

@media (min-width: 768px) {
  .io-broadcast-intro {
    padding: 40px 48px 32px;
  }
}

.io-broadcast-intro-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.io-broadcast-state {
  font-family: var(--io-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border: 1px solid var(--io-grey-800);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.io-broadcast-state--live {
  color: var(--io-white);
  background: #c5221f;
  border-color: #c5221f;
}

.io-broadcast-intro-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.io-broadcast-heading {
  margin: 0 0 24px;
  font-size: clamp(1.35rem, 3.5vw, 2rem) !important;
  text-align: center;
}

/* Boxed countdown */
.io-countdown--boxed {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.io-countdown--boxed .io-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 16px 12px;
  border: 1px solid var(--io-grey-800);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
  .io-countdown--boxed .io-countdown-unit {
    min-width: 96px;
    padding: 20px 16px;
  }
}

.io-countdown--boxed .io-countdown-value {
  font-family: var(--io-font);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--io-white);
}

.io-countdown--boxed .io-countdown-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
}

/* Viewport + YouTube-style player frame (large) */
.io-broadcast-viewport {
  padding: 0;
  background: var(--io-black);
}

.io-yt-player--large {
  width: 100%;
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--io-grey-800);
  background: #0f0f0f;
  box-shadow: none;
}

.io-yt-player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--io-grey-800);
  background: #0f0f0f;
  font-size: 14px;
}

@media (min-width: 768px) {
  .io-yt-player-head {
    padding: 16px 28px;
  }
}

.io-yt-player-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.io-yt-player-channel {
  font-family: var(--io-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--io-white);
  white-space: nowrap;
}

.io-yt-player-dot {
  color: rgba(255, 255, 255, 0.35);
}

.io-yt-player-event {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Live pill — header (red dot + text) */
.io-yt-live-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.io-yt-live-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.io-yt-live-pill-text {
  font-family: var(--io-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.io-yt-live-pill--live {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
}

.io-yt-live-pill--live .io-yt-live-pill-dot {
  background: #ff0000;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.65);
  animation: io-yt-live-dot-pulse 2s ease-in-out infinite;
}

.io-yt-live-pill--live .io-yt-live-pill-text {
  color: var(--io-white);
}

@keyframes io-yt-live-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(0.92);
  }
}

.io-yt-player-screen {
  background: #000;
}

/* Live badge on video — YouTube / Google Events style */
.io-yt-live-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .io-yt-live-overlay {
    top: 20px;
    left: 20px;
    padding: 10px 16px 10px 14px;
  }
}

.io-yt-live-overlay-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.io-yt-live-overlay-text {
  font-family: var(--io-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.io-yt-live-overlay--live .io-yt-live-overlay-dot {
  width: 10px;
  height: 10px;
  background: #ff0000;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.55);
  animation: io-yt-live-ring 2s ease-out infinite;
}

.io-yt-live-overlay--live .io-yt-live-overlay-text {
  color: var(--io-white);
}

@keyframes io-yt-live-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Stage slate — pre-show hold */
.io-broadcast-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  background: #000;
}

@media (min-width: 768px) {
  .io-broadcast-stage {
    min-height: 360px;
  }
}

@media (min-width: 1024px) {
  .io-broadcast-stage {
    min-height: 420px;
  }
}

.io-broadcast-slate {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 80px;
  text-align: center;
}

.io-broadcast-slate-logo {
  width: auto;
  max-width: min(320px, 75%);
  height: auto;
  margin-bottom: 32px;
  opacity: 0.95;
}

.io-broadcast-slate-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.io-broadcast-slate-title {
  font-family: var(--io-font);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 16px;
  max-width: 640px;
  color: var(--io-white);
}

.io-broadcast-slate-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  max-width: 440px;
}

.io-broadcast-stage--live .io-broadcast-slate-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

/* YouTube overlay controls */
.io-yt-player-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

.io-yt-player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.io-yt-progress {
  position: relative;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  cursor: default;
}

.io-yt-progress-buffer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.35);
  transition: width 1s linear;
}

.io-yt-progress-played {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #ff0000;
  transition: width 1s linear;
}

.io-success-page--live .io-yt-progress-played {
  background: #ff0000;
}

.io-yt-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px 14px;
}

@media (min-width: 768px) {
  .io-yt-controls-bar {
    padding: 12px 20px 16px;
  }
}

.io-yt-controls-left,
.io-yt-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.io-yt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  opacity: 0.9;
  color: var(--io-white);
  font-size: 12px;
  font-weight: 500;
}

.io-yt-icon--play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.io-yt-icon--settings::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
}

.io-yt-icon--fullscreen::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 1px;
  box-sizing: border-box;
}

.io-yt-icon--cc,
.io-yt-icon--hd {
  font-family: var(--io-font);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.io-yt-time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.io-yt-time-sep {
  margin: 0 2px;
  opacity: 0.6;
}

/* Video info below player */
.io-yt-player-footer {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--io-grey-800);
  background: #0f0f0f;
}

@media (min-width: 768px) {
  .io-yt-player-footer {
    padding: 20px 28px 24px;
  }
}

.io-yt-player-title {
  font-family: var(--io-font);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--io-white);
}

.io-yt-player-meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.io-yt-player-meta-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.25);
}

/* Program — full width below player */
.io-broadcast-agenda {
  padding: 24px 20px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--io-grey-800);
}

@media (min-width: 768px) {
  .io-broadcast-agenda {
    padding: 28px 28px 32px;
  }
}

@media (min-width: 1024px) {
  .io-broadcast-agenda-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
  }

  .io-broadcast-agenda-item {
    border-bottom: 1px solid var(--io-grey-800);
  }
}

.io-broadcast-agenda-title {
  font-family: var(--io-font);
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--io-white);
}

.io-broadcast-agenda-desc {
  margin: 0 0 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.io-broadcast-agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.io-broadcast-agenda-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--io-grey-800);
}

.io-broadcast-agenda-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.io-broadcast-agenda-item time {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.io-broadcast-agenda-item span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.io-broadcast-agenda-item--current time {
  color: rgba(255, 255, 255, 0.65);
}

.io-broadcast-agenda-item--current span {
  color: var(--io-white);
  font-weight: 500;
}

.io-success-page--live .io-broadcast-agenda-item--current time {
  color: #f28b82;
}

/* What's next */
.io-success-next {
  padding-top: 0;
}

.io-success-next .io-section-narrow {
  align-items: stretch;
  max-width: var(--io-max);
}

.io-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .io-success-actions {
    margin-top: 56px;
  }
}

/* ─── Download page (post-registration · attendee kit) ─── */

@keyframes io-download-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes io-download-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes io-download-glow-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes io-download-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.15);
  }
}

@keyframes io-download-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes io-download-stat-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes io-download-border-flow {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
}

.io-download-page .io-main {
  padding-bottom: 100px;
}

.io-download-hero {
  margin-bottom: 24px;
  position: relative;
}

.io-download-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--io-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #81c995;
  background: rgba(30, 142, 62, 0.12);
  border: 1px solid rgba(129, 201, 149, 0.35);
  border-radius: 1000px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 16px;
}

.io-download-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #81c995;
  animation: io-download-pulse 2s ease-in-out infinite;
}

.io-download-hero-title {
  max-width: 820px;
}

.io-download-hero .io-hero-subtitle strong {
  color: var(--io-white);
  font-weight: 500;
}

.io-download-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
  margin: 28px 20px 8px;
  padding: 20px 24px;
  border: 1px solid var(--io-grey-800);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  max-width: 640px;
}

.io-download-stat {
  text-align: center;
  min-width: 100px;
}

.io-download-stat-value {
  display: block;
  font-family: var(--io-font);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--io-white);
  font-variant-numeric: tabular-nums;
}

.io-download-stat-value--bump {
  animation: io-download-stat-bump 0.4s ease-out;
}

.io-download-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.io-download-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--io-grey-800);
}

@media (max-width: 520px) {
  .io-download-stat-divider {
    display: none;
  }
}

/* Reveal animations */
.io-download-page .io-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.io-download-page--loaded .io-reveal--visible {
  animation: io-download-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1;
  transform: translateY(0);
}

.io-download-page--loaded .io-reveal--visible.io-reveal--delay-1 { animation-delay: 0.08s; }
.io-download-page--loaded .io-reveal--visible.io-reveal--delay-2 { animation-delay: 0.16s; }
.io-download-page--loaded .io-reveal--visible.io-reveal--delay-3 { animation-delay: 0.24s; }
.io-download-page--loaded .io-reveal--visible.io-reveal--delay-4 { animation-delay: 0.32s; }
.io-download-page--loaded .io-reveal--visible.io-reveal--delay-5 { animation-delay: 0.4s; }
.io-download-page--loaded .io-reveal--visible.io-reveal--delay-6 { animation-delay: 0.48s; }

.io-download-page--loaded .io-reveal--visible {
  animation-fill-mode: both;
}

/* Kit download card */
.io-download-kit-section {
  padding-top: 32px;
}

@media (min-width: 768px) {
  .io-download-kit-section {
    padding-top: 48px;
  }
}

.io-download-kit-wrap {
  max-width: var(--io-content);
}

.io-download-card {
  position: relative;
  border: 2px solid var(--io-grey-800);
  border-radius: 16px;
  overflow: hidden;
  background: var(--io-black);
}

.io-download-card-glow {
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(26, 115, 232, 0.5) 90deg,
    transparent 180deg,
    rgba(138, 180, 248, 0.35) 270deg,
    transparent 360deg
  );
  animation: io-download-glow-rotate 8s linear infinite;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.io-download-card-inner {
  position: relative;
  z-index: 1;
  padding: 28px 20px 32px;
  background: var(--io-black);
  margin: 2px;
  border-radius: 14px;
}

@media (min-width: 768px) {
  .io-download-card-inner {
    padding: 40px 48px 44px;
  }
}

.io-download-card-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.io-download-file-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(26, 115, 232, 0.12);
  border: 1px solid rgba(138, 180, 248, 0.25);
  color: #8ab4f8;
}

.io-download-card-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
  margin: 0 0 8px;
  text-align: left;
}

.io-download-card-meta {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.io-download-filename {
  font-family: ui-monospace, "Roboto Mono", monospace;
  font-size: 13px;
  color: #8ab4f8;
}

.io-download-card-meta strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.io-download-includes {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.io-download-includes li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(55, 55, 55, 0.6);
}

.io-download-includes li:last-child {
  border-bottom: none;
}

.io-download-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2381c995'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.io-download-progress-wrap {
  margin-bottom: 24px;
}

.io-download-progress-track {
  height: 4px;
  background: var(--io-grey-800);
  border-radius: 4px;
  overflow: hidden;
}

.io-download-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--io-blue), #8ab4f8);
  border-radius: 4px;
  transition: width 0.15s ease-out;
}

.io-download-progress-label {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.io-download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.io-download-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--io-font);
}

.io-download-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: io-download-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.io-download-btn:disabled {
  opacity: 0.85;
  cursor: wait;
}

.io-download-btn--done::after {
  animation: none;
}

.io-download-btn-icon {
  display: flex;
  align-items: center;
}

.io-download-note {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

.io-download-note-tag {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--io-font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fbbc05;
  vertical-align: middle;
}

.io-download-card--done {
  border-color: rgba(129, 201, 149, 0.4);
}

.io-download-card--done .io-download-card-glow {
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(129, 201, 149, 0.4),
    transparent
  );
}

/* Marketing ticker */
.io-download-ticker {
  margin-top: 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.io-download-ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: io-download-ticker 28s linear infinite;
}

.io-download-ticker-track span {
  flex-shrink: 0;
  font-family: var(--io-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.io-download-ticker-track span::before {
  content: "·";
  margin-right: 32px;
  color: var(--io-grey-800);
}

/* Preview section */
.io-download-preview-section {
  padding-top: 56px;
}

.io-download-preview-wrap {
  max-width: var(--io-content);
}

.io-download-preview-header {
  text-align: center;
  margin-bottom: 32px;
}

.io-download-preview-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--io-grey-800);
}

.io-download-tab {
  font-family: var(--io-font);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 1000px;
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.io-download-tab:hover {
  color: var(--io-white);
  background: rgba(255, 255, 255, 0.06);
}

.io-download-tab--active {
  color: var(--io-white);
  background: rgba(26, 115, 232, 0.15);
  border-color: rgba(138, 180, 248, 0.35);
}

.io-download-preview-panel {
  border: 1px solid var(--io-grey-800);
  border-radius: 12px;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.02);
  min-height: 200px;
}

@media (min-width: 768px) {
  .io-download-preview-panel {
    padding: 32px 40px;
  }
}

.io-download-preview-panel[hidden] {
  display: none;
}

.io-download-preview-panel--active {
  animation: io-download-border-flow 3s ease-in-out infinite;
  border-color: var(--io-grey-800);
}

.io-download-preview-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .io-download-preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.io-download-preview-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.io-download-preview-value {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.io-download-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.io-download-track-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--io-grey-800);
  animation: io-download-fade-up 0.5s ease-out both;
}

.io-download-track-item:last-child {
  border-bottom: none;
}

.io-download-track-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8ab4f8;
  margin-bottom: 6px;
}

.io-download-track-item h4 {
  margin: 0 0 6px;
  font-family: var(--io-font);
  font-size: 17px;
  font-weight: 500;
  color: var(--io-white);
}

.io-download-track-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.io-download-agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.io-download-agenda-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--io-grey-800);
  animation: io-download-fade-up 0.5s ease-out both;
}

@media (min-width: 600px) {
  .io-download-agenda-item {
    grid-template-columns: 140px 80px 1fr;
    align-items: baseline;
    gap: 16px;
  }
}

.io-download-agenda-item:last-child {
  border-bottom: none;
}

.io-download-agenda-item time {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.io-download-agenda-type {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8ab4f8;
}

.io-download-agenda-session {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.io-download-workflow-title {
  margin: 0 0 12px;
  font-family: var(--io-font);
  font-size: 18px;
  font-weight: 500;
}

.io-download-workflow-trigger {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.io-download-workflow-trigger span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 6px;
}

.io-download-workflow-steps {
  margin: 0 0 16px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.io-download-workflow-outputs {
  margin: 0;
  font-size: 13px;
  font-family: ui-monospace, "Roboto Mono", monospace;
  color: #8ab4f8;
}

.io-download-cta-banner {
  margin-top: 40px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--io-grey-800);
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(26, 115, 232, 0.08) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.io-download-cta-banner-text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.io-download-highlights-section {
  padding-top: 56px;
}

.io-download-highlights-section .io-section-narrow {
  max-width: var(--io-max);
}

@media (prefers-reduced-motion: reduce) {
  .io-download-page .io-reveal {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .io-download-card-glow,
  .io-download-ticker-track,
  .io-download-pulse-dot,
  .io-download-btn::after,
  .io-download-preview-panel--active {
    animation: none !important;
  }
}
