@import url("/theme.css");

:root {
  font-family: var(--font-body), sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  font-synthesis: none;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 2rem;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: hsl(var(--primary));
  text-underline-offset: 0.25em;
}
a:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 5px;
}
.site-header,
main,
footer {
  width: min(100% - 3rem, 960px);
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.85rem;
}
.site-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.6rem;
}
.brand {
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 160px;
  height: auto;
}
.intro {
  padding-block: 6rem 3.5rem;
  border: 0;
}
.eyebrow {
  color: hsl(var(--accent));
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}
h1 {
  margin-block: 1.5rem;
  font-size: clamp(3.25rem, 7vw, 5.5rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.05em;
}
.lead {
  color: hsl(var(--muted-foreground));
  max-width: 35rem;
  font-size: 1.1rem;
}
.program-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 4rem;
  margin-block: 2.5rem;
}
dt {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}
dd {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 8px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.small {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  max-width: 36rem;
  margin-top: 1.25rem;
}
.contents {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.75rem;
  border-block: 1px solid hsl(var(--border));
}
.contents a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  text-decoration: none;
}
section {
  padding-block: 3rem;
  border-bottom: 1px solid hsl(var(--border));
  scroll-margin-top: 1rem;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-block: 0.75rem 1.5rem;
  font-weight: 400;
}
h3 {
  font-size: 1rem;
  margin-top: 2rem;
  font-weight: 500;
}
p,
li {
  max-width: 48rem;
}
section p,
section li {
  color: hsl(var(--muted-foreground));
}
section .eyebrow {
  color: hsl(var(--accent));
}
strong {
  color: hsl(var(--foreground));
  font-weight: 500;
}
li + li {
  margin-top: 0.75rem;
}
ul,
ol {
  padding-left: 1.4rem;
}
.hosts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin-block: 1.5rem;
}
.hosts li {
  margin: 0;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
code {
  font-size: 0.85rem;
  color: hsl(var(--foreground));
  overflow-wrap: anywhere;
}
.note {
  max-width: 48rem;
  padding: 1.1rem 1.25rem;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card));
  border-left: 2px solid hsl(var(--accent));
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
}
.table-wrap {
  overflow-x: auto;
  margin-block: 1.75rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}
caption {
  text-align: left;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  padding-bottom: 1rem;
}
th,
td {
  border-bottom: 1px solid hsl(var(--border));
  padding: 1.1rem 0.75rem;
  vertical-align: top;
}
thead th {
  color: hsl(var(--muted-foreground));
  font-size: 0.7rem;
  font-weight: 500;
}
tbody th {
  font-weight: 500;
}
td {
  color: hsl(var(--muted-foreground));
}
td:last-child {
  font-weight: 500;
  white-space: nowrap;
  color: hsl(var(--primary));
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 3rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  background: hsl(var(--card));
  padding: 0.7rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
@media (hover: hover) {
  .contents a:hover,
  .site-header > a:last-child:hover {
    color: hsl(var(--accent-hover));
  }
  .button:hover {
    background: hsl(var(--foreground));
  }
}
@media (max-width: 600px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 2rem);
  }
  .site-header {
    flex-wrap: wrap;
    gap: 0.25rem;
    padding-block: 1rem;
  }
  .intro {
    padding-top: 3.5rem;
  }
  .hosts {
    grid-template-columns: 1fr;
  }
  .program-facts {
    flex-direction: column;
    gap: 1rem;
  }
  th,
  td {
    padding: 0.9rem 0.4rem;
  }
  .contents {
    column-gap: 1.25rem;
  }
}
@media print {
  .skip-link,
  .contents,
  .button {
    display: none;
  }
  section {
    break-inside: avoid;
  }
}

.brand-mark {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand-mark img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.brand-text {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
