* { box-sizing: border-box; }
:root {
  --ink: #17202a;
  --muted: #5e6873;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --line: #d9d5cc;
  --accent: #2f4f9d;
  --accent-dark: #203a79;
  --focus: #e08a00;
  --product: #d9e6ff;
  --tech: #dff1e5;
  --culture: #f5e1f1;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header { background: #17202a; color: #fff; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.04em; font-size: 1.35rem; }
.brand span { color: #c7d5ff; }
.header-tagline { margin: 0; color: #d5dbe3; font-size: .9rem; }
.hero { padding: 64px 0 48px; background: var(--surface); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
h1 { margin: 0; max-width: 760px; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: .98; letter-spacing: -.055em; }
.intro { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 1.1rem; }
.schedule-section { padding: 36px 0 64px; }
.day-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.day-tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 8px; padding: 12px 18px; font: inherit; font-weight: 800; cursor: pointer;
}
.day-tab span { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; }
.day-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.day-tab.is-active span { color: #dbe1e8; }
.track-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 24px; color: var(--muted); font-size: .9rem; }
.track-dot { width: 10px; height: 10px; display: inline-block; border-radius: 50%; margin-right: -10px; }
.track-a-dot { background: #2f4f9d; } .track-b-dot { background: #28734d; } .track-c-dot { background: #8d3c7e; }
.day-panel h3 { margin: 0 0 14px; font-size: 1.2rem; }
.schedule-grid { border-top: 1px solid var(--line); }
.time-slot {
  display: grid;
  grid-template-columns: 78px repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
}
.time-slot > time { font-weight: 850; font-size: 1rem; padding-top: 12px; }
.time-label { grid-column: 1; color: var(--muted); font-size: .72rem; }
.session { min-width: 0; }
.session-button {
  width: 100%; height: 100%; text-align: left; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; cursor: pointer; color: var(--ink); font: inherit; display: flex; flex-direction: column; gap: 5px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.session-button:hover { transform: translateY(-1px); box-shadow: 0 4px 14px #00000012; }
.session-button strong { font-size: .98rem; line-height: 1.2; }
.session-button > span:last-child { color: var(--muted); font-size: .78rem; }
.session-track { font-size: .7rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.track-a .session-button { background: var(--product); }
.track-b .session-button { background: var(--tech); }
.track-c .session-button { background: var(--culture); }
.break-row { grid-template-columns: 78px 1fr; }
.break-row .break { grid-column: 2 / -1; padding: 12px; color: var(--muted); font-weight: 700; background: #eeeae1; border-radius: 8px; }
.keyboard-note { margin: 22px 0 0; color: var(--muted); font-size: .88rem; }
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
dialog {
  width: min(560px, calc(100% - 32px)); border: 0; border-radius: 14px; padding: 0;
  box-shadow: 0 20px 70px #00000040;
}
dialog::backdrop { background: #17202a99; }
.dialog-card { padding: 30px; position: relative; }
.dialog-close {
  position: absolute; top: 12px; right: 14px; border: 0; background: transparent; cursor: pointer;
  font-size: 2rem; line-height: 1; color: var(--muted); padding: 4px 10px;
}
.dialog-card h2 { margin: 0 40px 8px 0; font-size: 1.8rem; line-height: 1.1; }
.dialog-meta { margin: 0 0 20px; color: var(--muted); font-weight: 700; }
.dialog-card > p:not(.eyebrow):not(.dialog-meta) { font-size: 1rem; }
.dialog-footer { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .75rem; }
footer { padding: 24px 0; background: #17202a; color: #d5dbe3; font-size: .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  .header-tagline { display: none; }
  .hero { padding: 46px 0 36px; }
  .schedule-section { padding-top: 24px; }
  .time-slot {
    grid-template-columns: 62px 1fr;
    gap: 8px;
    padding: 16px 0;
  }
  .time-slot > time { grid-column: 1; grid-row: 1; }
  .time-label { grid-column: 1; grid-row: 2; }
  .session { grid-column: 2; }
  .session.track-a { grid-row: 1; }
  .session.track-b { grid-row: 2; }
  .session.track-c { grid-row: 3; }
  .session-button { padding: 12px; }
  .break-row { grid-template-columns: 62px 1fr; }
  .break-row .break { grid-column: 2; }
}

@media (max-width: 380px) {
  .container { width: min(100% - 20px, 1120px); }
  .hero { padding-top: 36px; }
  h1 { font-size: 2.45rem; }
  .day-tab { flex: 1; padding-inline: 10px; }
  .track-legend { gap: 8px 14px; font-size: .78rem; }
  .time-slot { grid-template-columns: 52px minmax(0, 1fr); }
  .break-row { grid-template-columns: 52px minmax(0, 1fr); }
  .session-button strong { font-size: .9rem; }
}
