.wwdc26-page {
  background: var(--bg);
}

.wwdc26 {
  --wwdc-line: color-mix(in srgb, var(--text) 15%, transparent);
  --wwdc-accent: #d96f5c;
  --wwdc-accent-soft: rgba(217, 111, 92, 0.12);
  overflow: hidden;
}

.wwdc26-hero {
  padding: 64px 0 34px;
}

.wwdc26-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  text-align: center;
}

.wwdc26-kicker {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
}

.wwdc26-hero h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

.wwdc26-hero__copy > p:not(.wwdc26-kicker) {
  max-width: 730px;
  margin: 16px auto 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.86;
}

.wwdc26-summary__head p,
.wwdc26-time__label,
.wwdc26-about__list span,
.wwdc26-os-card span,
.wwdc26-source-list__meta {
  display: block;
  margin: 0 0 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.wwdc26-countdown {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  max-width: 760px;
  margin: 22px auto 0;
  border: 1px solid var(--text);
  text-align: left;
}

.wwdc26-countdown__head,
.wwdc26-countdown__digits {
  min-width: 0;
  padding: 16px;
}

.wwdc26-countdown__head {
  border-right: 1px solid var(--border);
}

.wwdc26-countdown__head p,
.wwdc26-countdown__digits small {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.wwdc26-countdown__head strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-family: var(--f-heading-jp);
  font-size: 28px;
  line-height: 1.15;
}

.wwdc26-countdown__head span {
  display: block;
  margin-top: 6px;
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.45;
}

.wwdc26-countdown__digits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}

.wwdc26-countdown__digits span {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 104px;
  padding: 14px 10px;
  border-right: 1px solid var(--color-border-subtle);
}

.wwdc26-countdown__digits span:last-child {
  border-right: 0;
}

.wwdc26-countdown__digits b {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.wwdc26-countdown__digits small {
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.wwdc26 .wwdc26-section {
  scroll-margin-top: 84px;
}

.wwdc26-about {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.36fr);
  gap: 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.wwdc26-about__lead {
  min-width: 0;
  padding: 2px 28px 22px 0;
}

.wwdc26-about__lead p {
  max-width: 520px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.18vw, 16px);
  font-weight: 500;
  line-height: 1.9;
}

.wwdc26-about__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  border-left: 1px solid var(--color-border-subtle);
}

.wwdc26-about__list article {
  min-width: 0;
  padding: 2px 20px 22px;
  border-right: 1px solid var(--color-border-subtle);
}

.wwdc26-about__list article:last-child {
  border-right: 0;
}

.wwdc26-about__list strong {
  display: block;
  color: var(--text);
  font-family: var(--f-heading-jp);
  font-size: 18px;
  line-height: 1.35;
}

.wwdc26-about__list p {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
}

.wwdc26 #wwdc26-watch {
  padding-top: 42px;
}

.wwdc26-summary {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.wwdc26-summary__head {
  border-bottom: 1px solid var(--color-border-subtle);
  background: transparent;
  padding: 0 0 16px;
}

.wwdc26-summary__head h3 {
  max-width: 920px;
  margin: 0;
  color: var(--text);
  font-family: var(--f-heading-jp);
  font-size: 24px;
  line-height: 1.45;
}

.wwdc26-watch-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  margin: 0 0 18px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.wwdc26-watch-guide__intro {
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 318px;
  padding: 20px;
  border-right: 1px solid var(--border);
}

.wwdc26-watch-guide__intro > p:first-child,
.wwdc26-watch-method__head span {
  display: block;
  margin: 0 0 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.wwdc26-watch-guide__intro h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--f-heading-jp);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.wwdc26-watch-guide__intro > p:last-child {
  max-width: 360px;
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.75;
}

.wwdc26-watch-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.wwdc26-watch-method {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 20px 18px;
  border-right: 1px solid var(--color-border-subtle);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.wwdc26-watch-method:last-child {
  border-right: 0;
}

.wwdc26-watch-method:hover,
.wwdc26-watch-method:focus-visible {
  background: var(--wwdc-accent-soft);
  border-color: var(--text);
}

.wwdc26-watch-method__head h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--f-heading-jp);
  font-size: 22px;
  line-height: 1.25;
}

.wwdc26-watch-method__head p {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.65;
}

.wwdc26-watch-method dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--color-border-subtle);
}

.wwdc26-watch-method dl div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.wwdc26-watch-method dt,
.wwdc26-watch-method dd {
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
}

.wwdc26-watch-method dt {
  color: var(--text-muted);
  font-weight: 800;
}

.wwdc26-watch-method dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.wwdc26-timeline,
.wwdc26-note__grid {
  display: grid;
  gap: 14px;
}

.wwdc26-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wwdc26-time,
.wwdc26-note,
.wwdc26-note__grid article {
  border: 1px solid var(--border);
  background: var(--bg);
}

.wwdc26-time,
.wwdc26-note__grid article {
  min-width: 0;
  padding: 18px;
}

.wwdc26-time {
  min-height: 196px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.wwdc26-time--live {
  background: var(--wwdc-accent-soft);
}

.wwdc26-time:hover,
.wwdc26-time:focus-visible {
  border-color: var(--text);
  transform: translateY(-1px);
}

.wwdc26-time h3,
.wwdc26-os-card h3,
.wwdc26-note h2,
.wwdc26-note h3 {
  margin: 0;
  color: var(--text);
}

.wwdc26-time h3 {
  font-family: var(--f-heading-jp);
  font-size: 22px;
  line-height: 1.35;
}

.wwdc26-time p:last-child,
.wwdc26-note p {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.75;
}

.wwdc26-os-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 278px);
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding: 0 1px;
  scroll-snap-type: x proximity;
  padding: 4px 0 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.wwdc26-os-rail::-webkit-scrollbar {
  height: 5px;
}

.wwdc26-os-rail::-webkit-scrollbar-track {
  background: transparent;
}

.wwdc26-os-rail::-webkit-scrollbar-thumb {
  background: var(--border);
}

.wwdc26-os-card {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 126px;
  padding: 10px 20px 10px 0;
  border-right: 1px solid var(--color-border-subtle);
  background: transparent;
  scroll-snap-align: start;
}

.wwdc26-os-card + .wwdc26-os-card {
  padding-left: 20px;
}

.wwdc26-os-card span,
.wwdc26-os-card h3,
.wwdc26-os-card small {
  position: relative;
  z-index: 1;
  background: transparent;
}

.wwdc26-os-card span {
  width: fit-content;
  padding-right: 8px;
}

.wwdc26-os-card h3 {
  width: fit-content;
  padding-right: 10px;
  font-family: var(--f-heading-jp);
  font-size: 24px;
  line-height: 1.22;
}

.wwdc26-os-card small {
  width: fit-content;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.wwdc26-compat {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.45fr);
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border-subtle);
}

.wwdc26-compat__lead {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.wwdc26-compat__lead p:first-child {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.wwdc26-compat__lead h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--f-heading-jp);
  font-size: 28px;
  line-height: 1.25;
}

.wwdc26-compat__lead p:last-child {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.75;
}

.wwdc26-compat__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border-subtle);
}

.wwdc26-compat__list a {
  display: grid;
  grid-template-columns: minmax(84px, 0.24fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  color: inherit;
  text-decoration: none;
}

.wwdc26-compat__list a:hover strong,
.wwdc26-compat__list a:focus-visible strong {
  border-bottom-color: currentColor;
}

.wwdc26-compat__list span {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.wwdc26-compat__list strong {
  width: fit-content;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  border-bottom: 1px solid transparent;
}

.wwdc26-compat__list small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.wwdc26-note {
  padding: 22px;
}

.wwdc26-note h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
}

.wwdc26-note > p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.wwdc26-note__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wwdc26-note__grid article {
  min-height: 160px;
}

.wwdc26-note h3 {
  font-size: 18px;
  line-height: 1.35;
}

.wwdc26-note a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.wwdc26-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: wwdc26-source;
}

.wwdc26-source-list > li {
  position: relative;
  margin: 0 0 22px;
  padding: 0 0 0 36px;
  counter-increment: wwdc26-source;
}

.wwdc26-source-list > li:last-child {
  margin-bottom: 0;
}

.wwdc26-source-list > li::before {
  content: "[" counter(wwdc26-source) "]";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.wwdc26-source-list a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 6px;
  color: var(--text);
  font-family: var(--f-heading-jp);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.wwdc26-source-list a:visited,
.wwdc26-source-list a:hover,
.wwdc26-source-list a:focus-visible {
  color: var(--text);
}

.wwdc26-source-list__meta {
  margin-bottom: 6px;
  color: var(--text);
}

.wwdc26-source-list__note {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 920px) {
  .wwdc26-timeline,
  .wwdc26-note__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wwdc26-watch-guide {
    grid-template-columns: 1fr;
  }

  .wwdc26-watch-guide__intro {
    min-height: auto;
    gap: 42px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .wwdc26-about {
    grid-template-columns: 1fr;
  }

  .wwdc26-about__lead {
    padding-right: 0;
  }

  .wwdc26-about__list {
    border-top: 1px solid var(--color-border-subtle);
    border-left: 0;
  }

  .wwdc26-about__list article {
    padding-top: 18px;
  }

  .wwdc26-note {
    grid-template-columns: 1fr;
  }

  .wwdc26-compat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wwdc26-hero {
    padding: 48px 0 28px;
  }

  .wwdc26-hero h1 {
    font-size: clamp(56px, 18vw, 84px);
  }

  .wwdc26-timeline,
  .wwdc26-note__grid,
  .wwdc26-watch-methods,
  .wwdc26-about__list {
    grid-template-columns: 1fr;
  }

  .wwdc26-about__lead {
    padding-bottom: 18px;
  }

  .wwdc26-about__lead p {
    font-size: 14px;
  }

  .wwdc26-about__list article {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .wwdc26-about__list article:last-child {
    border-bottom: 0;
  }

  .wwdc26-summary__head h3 {
    font-size: 21px;
  }

  .wwdc26-countdown {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .wwdc26-countdown__head {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .wwdc26-countdown__digits b {
    font-size: 34px;
  }

  .wwdc26-countdown__digits span {
    min-height: 84px;
    padding: 12px 8px;
  }

  .wwdc26-time,
  .wwdc26-note__grid article {
    min-height: auto;
  }

  .wwdc26-watch-guide__intro {
    gap: 28px;
    padding: 18px;
  }

  .wwdc26-watch-guide__intro h3 {
    font-size: 36px;
  }

  .wwdc26-watch-method {
    border-right: 0;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .wwdc26-watch-method:last-child {
    border-bottom: 0;
  }

  .wwdc26-os-rail {
    grid-auto-columns: minmax(214px, 82vw);
  }

  .wwdc26-compat__list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .wwdc26-compat__list small {
    white-space: normal;
  }
}
