@font-face {
  font-family: "MSG Sans";
  src: url("fonts/Pretendard-common.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "MSG Batang";
  src: url("fonts/GamtanRoadBatang-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #181715;
  --surface: #211e19;
  --fg: #f6f2e9;
  --muted: #bcb6ab;
  --accent: #e0bc86;
  --line: #4a453d;
  --font: "MSG Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --title: "MSG Batang", Batang, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 var(--font);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--bg); }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 80px; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--fg);
  color: var(--bg);
}

/* Logo, type and clipped buttons follow the original MSG CTF intro. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ffffff1f;
  background: var(--bg);
}
.header-inner { height: 82px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.brand-mark { display: block; width: 98px; height: 65px; overflow: hidden; position: relative; }
.brand-mark img {
  width: 150px;
  max-width: none;
  position: absolute;
  top: -39px;
  left: -25px;
  filter: brightness(0) invert(96%) sepia(9%) saturate(331%);
}
.brand-divider { height: 20px; width: 1px; background: var(--line); }
.brand-label { font: 16px var(--title); color: var(--muted); }
.header-inner nav { display: flex; gap: 32px; margin-left: auto; font: 16px var(--title); }
.header-inner nav a { padding: 14px 0; }
.header-inner nav a[aria-current="page"] { color: var(--accent); }
.header-inner nav a:hover, .header-github:hover, .footer-links a:hover { color: var(--accent); }
.header-github { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.header-github span { color: var(--accent); }
.github-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; background-color: currentColor; mask: url("icons/github.svg") center / contain no-repeat; -webkit-mask: url("icons/github.svg") center / contain no-repeat; }
.github-link { display: inline-flex; align-items: center; gap: 8px; }

.hero {
  position: relative;
  isolation: isolate;
  padding: 36px 0 34px;
  background: #352619;
}
.hero-backdrop { position: absolute; inset: 0; z-index: -2; }
.hero-art { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#17120d80, #17120da6 70%, #181715e8);
}
.hero-content { position: relative; z-index: 1; text-align: center; margin-inline: auto; padding-inline: 20px; }
.hero-date { font: 17px var(--title); color: #ead7b9; letter-spacing: .08em; }
.hero-logo {
  width: min(610px, 88vw);
  aspect-ratio: 2.08;
  overflow: hidden;
  position: relative;
  margin: 9px auto 0;
}
.hero-logo img {
  width: 100%;
  max-width: none;
  position: absolute;
  top: -53%;
  left: 0;
  filter: brightness(0) invert(96%) sepia(9%) saturate(331%);
}
.hero h1 { font: 600 clamp(28px, 3.1vw, 42px)/1.4 var(--font); margin: 5px auto 0; letter-spacing: -.035em; text-wrap: balance; }
.hero-description { margin-top: 20px; font-size: 20px; font-weight: 500; color: var(--fg); text-wrap: balance; }
.hero-cost-scope { margin-top: 10px; font-size: 16px; color: #e1d6c6; text-wrap: balance; }
.hero-cost-scope a { text-decoration: underline; text-underline-offset: 4px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 25px auto 0; max-width: 700px; }
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  min-width: 180px;
  min-height: 52px;
  padding: 12px 24px;
  font: 17px/1.4 var(--title);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.button-primary { background: var(--accent); color: #251a0d; }
.button-primary:hover { background: #f0d2a0; }
.button-secondary { background: #211a12e6; color: #f3dfc0; }
.button-secondary:hover { background: #3a2b1a; }
.button:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #fff2bc; }
.button-primary:focus-visible { box-shadow: inset 0 0 0 3px #251a0d; }

/* The six leaves and their paths come from the original event intro. */
.autumn-leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.autumn-leaves i {
  --leaf-x: 9%;
  --leaf-speed: 17s;
  --leaf-delay: -4s;
  --leaf-drift: 65px;
  position: absolute;
  top: -30px;
  left: var(--leaf-x);
  width: 13px;
  height: 18px;
  background: #d3974c;
  clip-path: polygon(50% 0, 63% 28%, 92% 19%, 79% 47%, 100% 58%, 65% 70%, 56% 100%, 46% 99%, 47% 74%, 15% 70%, 26% 51%, 0 33%, 34% 34%);
  opacity: 0;
  animation: intro-leaf-fall var(--leaf-speed) linear var(--leaf-delay) infinite;
  animation-play-state: paused;
}
.autumn-leaves i:nth-child(2) { --leaf-x: 26%; --leaf-speed: 21s; --leaf-delay: -14s; --leaf-drift: -45px; width: 10px; height: 14px; background: #a96736; }
.autumn-leaves i:nth-child(3) { --leaf-x: 44%; --leaf-speed: 19s; --leaf-delay: -8s; --leaf-drift: 80px; width: 8px; height: 12px; }
.autumn-leaves i:nth-child(4) { --leaf-x: 64%; --leaf-speed: 24s; --leaf-delay: -19s; --leaf-drift: -60px; background: #b4753c; }
.autumn-leaves i:nth-child(5) { --leaf-x: 79%; --leaf-speed: 18s; --leaf-delay: -2s; --leaf-drift: 30px; width: 10px; height: 14px; }
.autumn-leaves i:nth-child(6) { --leaf-x: 91%; --leaf-speed: 22s; --leaf-delay: -11s; --leaf-drift: -75px; width: 8px; height: 12px; background: #c08645; }
.autumn-leaves[data-playing="true"] i { animation-play-state: running; }
@keyframes intro-leaf-fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-30deg); }
  8% { opacity: .55; }
  50% { transform: translate3d(calc(var(--leaf-drift) * -.45), 46vh, 0) rotate(155deg); }
  88% { opacity: .4; }
  100% { opacity: 0; transform: translate3d(var(--leaf-drift), 100vh, 0) rotate(340deg); }
}
.motion-toggle { position: absolute; z-index: 2; top: 20px; right: 24px; display: flex; align-items: center; gap: 7px; padding: 10px; border: 1px solid #d1ae7340; background: #211a1280; color: #ead7b9; font-size: 11px; }
.motion-toggle svg { fill: currentColor; }
.motion-toggle:hover { background: #211a12; }

.results-section { border-bottom: 1px solid var(--line); }
.event-story { max-width: 740px; color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: -5px; }
.scoreboards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.scoreboard figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 16px; }
.scoreboard h3 { font: 24px/1.4 var(--title); }
.scoreboard figcaption > span { font-size: 13px; color: var(--muted); }
.scoreboard > a { display: block; border: 1px solid #b78b4b66; background: #211e19; }
.scoreboard img { width: 100%; aspect-ratio: 2876/1456; object-fit: contain; background: #2d2217; }
.scoreboard-action { display: flex; justify-content: space-between; padding: 13px 18px; color: var(--accent); font-size: 12px; }
.scoreboard > a:hover { border-color: var(--accent); }
.scoreboard > a:hover .scoreboard-action { background: #e0bc860a; }
.results-thanks { margin-top: 30px; color: var(--muted); font: 16px/1.8 var(--title); text-align: center; }

.partners-section { background: #111211; }
.partners-section h2 { font: 30px/1.4 var(--title); text-align: center; }
.club-lineup { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.club { min-width: 0; text-align: center; }
.club img { width: 112px; height: 112px; object-fit: contain; margin: 0 auto 16px; }
.club strong { display: block; font-size: 16px; font-weight: 500; }
.club figcaption span { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.7; }
.sponsors { margin-top: 58px; padding-top: 48px; border-top: 1px solid #ffffff26; }
.sponsor-lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: center; margin-top: 28px; }
.sponsor { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 130px; padding: 15px; }
.sponsor img { width: 260px; max-width: 100%; max-height: 118px; object-fit: contain; }
.sponsor-hspace img { width: 139px; }
.sponsor-siya img { width: 310px; max-height: none; }

.subpage-header { padding-block: 42px 38px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.back-link:hover { color: var(--accent); }
.subpage-header h1 { font: 48px/1.4 var(--title); }
.subpage-header > p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.page-jumps { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; color: var(--accent); font-size: 13px; }
.page-jumps a:hover { text-decoration: underline; text-underline-offset: 5px; }
.page-platform .subpage-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.page-platform .subpage-header h1 { font-size: 32px; }
.page-platform .page-jumps { margin: 0; font-size: 14px; }
.page-platform .platform-section { padding-top: 20px; }
.page-platform .screen-tabs { margin-bottom: 16px; }
.page-platform .screen-stage { width: min(100%, calc((100svh - var(--screen-reserved-space, 340px)) * 1.7778 + 16px)); min-width: min(100%, 480px); margin-inline: auto; }
.screen-stage[data-screen="panel-sla"] { --screen-reserved-space: 390px; }
/* Reading pages use the same sans-serif throughout; event artwork stays intact. */
:is(.page-authors, .page-archive, .page-challenge, .page-platform) { --title: var(--font); }
:is(.page-authors, .page-archive, .page-challenge, .page-platform) h1,
:is(.page-authors, .page-archive, .page-challenge, .page-platform) h2,
:is(.page-authors, .page-archive, .page-challenge, .page-platform) h3 { font-weight: 700; letter-spacing: -.025em; }
.page-platform .subpage-header h1 { font-weight: 750; }
.catalog-heading { padding-top: 32px; }
.catalog-heading .back-link { margin-bottom: 14px; }
.catalog-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.catalog-title h1 { font: 750 36px/1.5 var(--title); }
.catalog-title p { color: var(--muted); font-size: 15px; }
.catalog-tabs { display: flex; gap: 28px; margin-top: 26px; border-bottom: 1px solid var(--line); }
.catalog-tabs a { position: relative; padding: 0 0 14px; font-size: 17px; font-weight: 600; color: var(--muted); }
.catalog-tabs a span { margin-left: 7px; font-size: 13px; font-variant-numeric: tabular-nums; }
.catalog-tabs a[aria-current="page"] { color: var(--accent); }
.catalog-tabs a[aria-current="page"]::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0; height: 2px; background: var(--accent); }
.catalog-tabs a:hover { color: var(--fg); }
.catalog-content { padding-bottom: 56px; }
.catalog-controls { padding-block: 20px 16px; }
.catalog-search-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#catalog-status { font-size: 14px; color: var(--muted); }
.catalog-search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 0 12px; color: var(--muted); }
.catalog-search svg { flex-shrink: 0; }
.catalog-search input { width: 240px; max-width: 100%; min-width: 0; border: 0; background: transparent; padding: 11px 0; color: var(--fg); font: 15px/1.6 var(--font); }
.catalog-search input::placeholder { color: var(--muted); opacity: 1; }
.catalog-search:focus-within { border-color: var(--accent); }
.catalog-search input:focus-visible { outline-offset: 3px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.catalog-filters button { border: 1px solid transparent; border-radius: 4px; background: none; color: var(--muted); padding: 8px 12px; min-height: 40px; font-size: 12px; }
.catalog-filters button span { margin-left: 5px; opacity: .8; font-variant-numeric: tabular-nums; }
.catalog-filters button:hover { color: var(--fg); }
.catalog-filters button[aria-pressed="true"] { color: var(--accent); background: #e0bc8614; border-color: #e0bc864d; }
.author-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 10px; }
.author-card { min-width: 0; padding: 22px; border: 1px solid #4a453daa; border-radius: 8px; background: #211e19; }
.author-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.author-card-heading h2 { font: inherit; min-width: 0; }
.author-profile { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 650; line-height: 1.5; }
.author-profile > span:last-child { min-width: 0; }
a.author-profile:hover { color: var(--accent); }
.author-profile .avatar { width: 52px; height: 52px; flex-shrink: 0; }
.avatar-initial { display: grid; place-items: center; font: 20px var(--title); color: var(--accent); background: var(--surface); }
.author-problem-count { font-size: 12px; color: var(--muted); flex-shrink: 0; white-space: nowrap; }
.author-card ul { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid #4a453d88; font-size: 14px; }
.author-card li a { display: grid; grid-template-columns: 63px 1fr 12px; gap: 9px; align-items: baseline; padding-block: 7px; line-height: 1.5; }
.genre-tag { font-size: 11px; letter-spacing: .025em; color: var(--accent); font-weight: 600; white-space: nowrap; }
.author-card li a > span:nth-child(2) { min-width: 0; }
.problem-arrow { color: var(--muted); font-size: 13px; }
.author-card li a:hover, .challenge-card h2 a:hover { color: var(--accent); }
.author-basis { padding-top: 28px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.author-basis a { color: var(--accent); white-space: nowrap; }
.catalog-empty { padding: 60px 0 75px; text-align: center; color: var(--muted); }
.catalog-empty p { font-size: 15px; }
.catalog-empty button { padding: 7px 14px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); font-size: 12px; margin-top: 18px; }
.challenge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 10px; }
.challenge-card { border: 1px solid #4a453daa; border-radius: 8px; background: #211e19; padding: 24px; display: flex; flex-direction: column; }
.challenge-card-meta { display: flex; justify-content: space-between; align-items: baseline; }
.challenge-card-meta > span:last-child { font-size: 10px; color: var(--muted); }
.challenge-card h2 { font: 700 22px/1.45 var(--title); margin-top: 12px; }
.challenge-card h2 a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.challenge-card h2 a > span { color: var(--muted); font: 13px var(--font); flex-shrink: 0; }
.challenge-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 14px; min-height: 76px; }
.challenge-people { display: flex; flex-wrap: wrap; gap: 10px 14px; padding-top: 17px; margin-top: auto; }
.challenge-person { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.challenge-person .avatar { width: 24px; height: 24px; flex-shrink: 0; font-size: 12px; }
.challenge-detail { padding-block: 36px 52px; }
.challenge-detail .back-link { margin-bottom: 22px; }
.detail-eyebrow { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 11px; }
.detail-eyebrow .genre-tag { border: 1px solid #e0bc864d; padding: 3px 9px; }
.detail-heading h1 { font: 750 44px/1.4 var(--title); margin-top: 18px; }
.detail-authors { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; font-size: 15px; }
.detail-authors > span:first-child { color: var(--muted); margin-right: 6px; }
.detail-author { display: flex; align-items: center; gap: 8px; }
.detail-author .avatar { width: 28px; height: 28px; flex-shrink: 0; font-size: 14px; }
a.detail-author:hover { color: var(--accent); }
.detail-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 80px; padding-top: 35px; }
.challenge-statement h2 { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 20px; }
.statement-prose { font-size: 16px; line-height: 2; color: #e4dfd6; }
.statement-prose p + p, .statement-prose ul { margin-top: 21px; }
.statement-prose ul { padding-left: 20px; }
.statement-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; word-break: break-word; }
.statement-prose code { font-size: .9em; background: var(--surface); padding: 2px 4px; }
.related-challenges { align-self: start; border-left: 1px solid var(--line); padding-left: 24px; }
.related-challenges h2 { color: var(--muted); font-size: 11px; font-weight: 400; margin: 0 0 13px; }
.related-challenges > a { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-block: 11px; line-height: 1.7; }
.related-challenges > a:hover { color: var(--accent); }
.related-challenges > a > span { color: var(--muted); flex-shrink: 0; }
.related-challenges .all-challenges-link { color: var(--accent); font-size: 12px; margin-top: 15px; border-top: 1px solid var(--line); padding-top: 17px; }
.statement-source { font-size: 11px; color: var(--muted); padding-top: 55px; }
.statement-source > span { margin-inline: 8px; }
.statement-source a:hover { color: var(--accent); }

.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.section-heading h2 { font: 32px/1.4 var(--title); letter-spacing: -.03em; }
.section-description { font-size: 13px; color: var(--muted); }
.screen-tabs { display: flex; gap: 32px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.screen-tabs button { position: relative; background: none; border: 0; padding: 0 0 15px; font: 16px var(--title); color: var(--muted); }
.screen-tabs button span { display: none; }
.screen-tabs button[aria-selected="true"] { color: var(--accent); }
.screen-tabs button[aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--accent); }
.screen-stage { padding: 7px 7px 0; border: 1px solid #7c6546; background: #241b13; }
.screen-panel > img { width: 100%; aspect-ratio: 1229/556; object-fit: cover; background: #3e3125; }
.screen-image-link, .screen-image-link img { display: block; width: 100%; }
.screen-image-link img { height: auto; }
.screen-image-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.screen-capture-note { padding: 0 18px 14px; color: var(--muted); font-size: 12px; }
.sla-screen-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: #1c1813; }
.sla-screen-tabs button { min-width: 0; min-height: 40px; padding: 8px 4px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--muted); font: 600 clamp(12px, 1.3vw, 14px)/1.5 var(--font); white-space: nowrap; }
.sla-screen-tabs button:hover { color: var(--fg); background: #30271d; }
.sla-screen-tabs button[aria-selected="true"] { color: #f7dfb8; background: #3b2e1d; border-color: #82643b; }
.sla-screen-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sla-screen-title { padding: 14px 18px; font-size: 18px; }
#panel-sla[data-tabs-ready] .sla-screen-title { display: none; }
.sla-screen-panel .screen-image-link { aspect-ratio: 16/9; background: #0d1117; }
.sla-screen-panel .screen-image-link img { width: 100%; height: 100%; object-fit: contain; }
.sla-screen-panel .screen-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 64px; gap: 12px; }
.platform-video { display: block; width: 100%; aspect-ratio: 16/9; background: #281e12; object-fit: contain; }
.screen-caption { padding: 18px 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.screen-caption p { font-size: 15px; color: #dfd1bd; }
.screen-caption .text-link { flex-shrink: 0; font-size: 13px; }

.cost-section { border-top: 1px solid var(--line); }
.cost-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cost-eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .05em; }
.cost-heading h2 { margin-top: 12px; font: 600 clamp(26px, 3vw, 36px)/1.4 var(--font); letter-spacing: -.03em; }
.cost-result { text-align: right; font-size: 14px; color: var(--muted); flex-shrink: 0; }
.cost-result strong { display: block; color: var(--accent); font-size: 90px; font-weight: 600; letter-spacing: -.06em; line-height: 1.15; }
.cost-result strong span { font-size: 30px; margin-left: 8px; letter-spacing: 0; }
.cloud-flow { margin-top: 42px; }
.cloud-flow-diagram { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(45px, .5fr) minmax(220px, 1.2fr) minmax(65px, .5fr) minmax(170px, .85fr); align-items: center; }
.cloud-providers { display: grid; gap: 32px; list-style: none; padding: 0; margin: 0; }
.cloud-providers li { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.cloud-logo { display: grid; place-items: center; width: 72px; height: 72px; flex: 0 0 auto; background: #f5f1e9; border-radius: 16px; }
.cloud-logo img { width: 48px; height: 48px; object-fit: contain; }
.cloud-providers strong { display: block; font-size: 18px; font-weight: 600; }
.cloud-providers li div > span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.cloud-merge { width: 100%; height: 280px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.cloud-merge-mobile { display: none; }
.cloud-broker { border: 1px solid #b7935d; background: linear-gradient(140deg, #43321e55, #211e1922); padding: 28px 18px; text-align: center; }
.cloud-node-icon { width: 48px; height: 48px; margin: 0 auto 18px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cloud-broker h3, .cloud-workload h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.cloud-broker p, .cloud-workload p { font-size: 15px; margin-top: 8px; }
.cloud-broker > span, .cloud-workload > span { display: block; font-size: 13px; color: var(--muted); margin-top: 9px; }
.cloud-transfer { padding-inline: 12px; color: var(--accent); text-align: center; font-size: 12px; }
.cloud-transfer svg { display: block; width: 100%; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.cloud-workload { text-align: center; }
.cloud-flow figcaption { margin-top: 30px; color: var(--muted); font-size: 15px; text-align: center; }
.cost-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; }
.cost-footer p { color: var(--muted); font-size: 13px; }
.cost-footer .text-link { font-size: 13px; flex-shrink: 0; }
@media (max-width: 760px) {
  .cost-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .cost-heading h2 { font-size: 26px; }
  .cost-result { display: flex; align-items: baseline; flex-direction: row-reverse; gap: 16px; font-size: 12px; }
  .cost-result strong { font-size: 66px; }
  .cost-result strong span { font-size: 24px; }
  .cloud-flow { margin-top: 30px; }
  .cloud-flow-diagram { grid-template-columns: 1fr; }
  .cloud-providers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cloud-providers li { flex-direction: column; gap: 10px; text-align: center; min-height: 0; }
  .cloud-logo { width: 60px; height: 60px; border-radius: 13px; }
  .cloud-logo img { width: 42px; height: 42px; }
  .cloud-providers strong { font-size: 13px; }
  .cloud-providers li div > span { font-size: 12px; }
  .cloud-merge-desktop { display: none; }
  .cloud-merge-mobile { display: block; height: 58px; margin-top: 14px; }
  .cloud-broker { width: min(100%, 280px); justify-self: center; padding: 22px 16px; }
  .cloud-node-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .cloud-broker h3, .cloud-workload h3 { font-size: 20px; }
  .cloud-transfer { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; justify-self: center; width: 140px; height: 76px; padding: 0; gap: 12px; }
  .cloud-transfer svg { width: 64px; height: 28px; transform: rotate(90deg) scaleY(-1); justify-self: center; }
  .cloud-flow figcaption { font-size: 14px; }
  .cost-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .cost-footer p { font-size: 12px; }
}
.video-replay { display: inline-flex; gap: 7px; align-items: center; flex-shrink: 0; border: 1px solid #806c50; border-radius: 4px; background: #35281a; color: #f2d7ac; padding: 8px 12px; font-size: 13px; }
.video-replay:hover { background: #4a3520; }
.video-replay > span { font-size: 20px; line-height: 1; }
.video-error { color: #f2d7ac; padding: 0 18px 18px; font-size: 14px; }
.video-error a { text-decoration: underline; text-underline-offset: 4px; }
.source-note { font-size: 12px; color: #bcb6ab; margin-top: 12px; text-align: right; }
.page-platform .section-description, .page-platform .repo-description, .page-platform .repo-people p { font-size: 14px; }
.page-platform .repo-people a { font-size: 14px; }
.page-platform .lifecycle p, .page-platform .step-detail { font-size: 14px; }
.page-platform .screen-tabs button { font-weight: 600; }
.page-platform .section-heading h2, .page-platform .lifecycle h3, .page-platform .repository-heading h3 { font-weight: 700; }

.system-section { background: var(--surface); border-block: 1px solid #f6f2e90a; }
.lifecycle { list-style: none; padding: 0; margin: 35px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.lifecycle li { position: relative; padding: 0 22px; border-left: 1px solid var(--line); }
.lifecycle li:first-child { padding-left: 0; border-left: 0; }
.lifecycle h3 { font: 22px var(--title); }
.lifecycle p { font-size: 11px; margin-top: 16px; color: var(--accent); }
.step-detail { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; }
.lifecycle li:not(:last-child)::after { content: "→"; position: absolute; top: 0; right: 18px; color: #a39177; }
.architecture-details, .verification-details { border-top: 1px solid var(--line); }
.verification-details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.architecture-details > summary, .verification-details > summary { padding: 23px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 18px var(--title); }
.detail-action { display: flex; align-items: center; gap: 23px; font: 12px var(--font); color: var(--muted); }
.plus { display: inline-block; width: 15px; height: 15px; position: relative; flex-shrink: 0; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--accent); width: 13px; height: 1px; left: 1px; top: 7px; }
.plus::after { transform: rotate(90deg); }
.collapse-label { display: none; }
details[open] > summary .expand-label { display: none; }
details[open] > summary .collapse-label { display: inline; }
details[open] > summary .plus::after { transform: rotate(0); }
.architecture-body { padding-bottom: 28px; }
.architecture-image { display: block; border: 1px solid #ffffff14; }
.architecture-image img { width: 100%; }
.architecture-notes { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 18px; }
.architecture-notes p { font-size: 12px; color: var(--muted); }
.architecture-notes .text-link { flex-shrink: 0; color: var(--accent); }
.verification-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 18px 0 25px; }
.performance-result { padding: 0 24px; border-left: 1px solid var(--line); }
.performance-result:first-child { padding-left: 0; border: 0; }
.performance-result > span { font-size: 13px; color: var(--muted); }
.performance-result strong { display: flex; align-items: baseline; gap: 14px; font-size: 36px; font-weight: 500; color: var(--accent); margin: 14px 0; }
.performance-result strong s { color: #a69b8a; text-decoration-thickness: 1px; font-size: 27px; }
.performance-result strong > span { font: 20px var(--font); color: #a69b8a; }
.performance-result strong small { font: 14px var(--font); margin-left: -6px; }
.performance-result p { font-size: 12px; color: var(--muted); }
.performance-result a { display: inline-block; font-size: 12px; margin-top: 12px; text-decoration: underline; text-underline-offset: 4px; }
.verification-note { grid-column: 1/-1; color: var(--muted); font-size: 11px; padding-top: 10px; }

.tech-stack { border-top: 1px solid var(--line); }
.tech-stack > h2 { font: 600 32px/1.4 var(--font); }
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; margin-top: 28px; }
.tech-group[data-tech-group="infrastructure"] { grid-column: 1/-1; }
.tech-group h3 { margin: 0 0 16px; color: var(--accent); font: 500 16px/1.5 var(--font); }
.tech-items { display: flex; flex-wrap: wrap; gap: 18px 20px; list-style: none; padding: 0; margin: 0; }
.tech-items li { width: 88px; text-align: center; }
.tech-items img { margin: 0 auto 9px; width: 52px; height: 52px; }
.tech-items span { font-size: 13px; color: var(--muted); }
.tech-note { margin-top: 12px; color: var(--muted); font-size: 12px; }

.team-section > .section-heading h2 { font: 600 36px/1.4 var(--font); letter-spacing: -.03em; }
.team-section > .section-heading .section-description { font-size: 15px; }
.team-directory { margin: 24px 0 12px; }
.team-section > .section-heading { justify-content: center; text-align: center; }
.team-directory { max-width: 980px; margin-inline: auto; }
.team-lead { padding: 0 0 24px; text-align: center; }
.team-lead-identity { display: flex; align-items: center; justify-content: center; gap: 12px; }
.team-lead h3 { font: 600 17px/1.5 var(--font); color: var(--accent); }
.team-lead .role-person { flex-direction: row; gap: 12px; font-size: 17px; }
.team-lead .avatar { width: 52px; height: 52px; }
.team-lead p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.role-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.role-group { border-top: 1px solid var(--line); padding: 14px 16px 18px; min-width: 0; text-align: center; }
.role-group[data-role="frontend"], .role-group[data-role="backend"], .role-group[data-role="devsecops"] { grid-column: 1/-1; }
.role-heading { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
.role-group h3 { font: 600 18px/1.5 var(--font); color: var(--fg); }
.role-repository { display: inline-flex; align-items: center; gap: 10px; }
.role-repository .github-icon { color: var(--accent); opacity: .8; }
.role-repository:hover { color: var(--accent); }
.role-repository:hover .github-icon { opacity: 1; }
.role-resources { font-size: 12px; color: var(--muted); }
.role-resources .github-icon { width: 14px; height: 14px; }
.role-people { display: grid; gap: 16px; list-style: none; padding: 0; margin: 12px 0 0; }
.role-group[data-role="frontend"] .role-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.role-group[data-role="backend"] .role-people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.role-group[data-role="devsecops"] .role-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.role-people li { min-width: 0; }
.role-person { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--fg); font-size: 15px; font-weight: 600; line-height: 1.5; }
.role-copy { min-width: 0; }
.role-name { display: block; }
.role-duty { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.avatar { border-radius: 50%; object-fit: cover; background: #332f28; border: 1px solid #e0bc8633; flex-shrink: 0; }
.role-person .avatar { width: 52px; height: 52px; border-radius: 12px; }
.team-lead .role-person .avatar { width: 52px; height: 52px; }
.role-person:hover { color: var(--accent); }
.role-person:hover .avatar { border-color: var(--accent); }
.repository-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.repository-heading h3 { font: 22px/1.5 var(--title); }
.repository-heading p { color: var(--muted); font-size: 12px; }
.repo-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.repo-filters button { background: none; border: 1px solid transparent; color: var(--muted); font-size: 13px; padding: 8px 14px; }
.repo-filters button[aria-pressed="true"] { background: #e0bc8614; border-color: #e0bc864d; color: var(--accent); }
.repo-filters button:hover { color: var(--fg); }
.repo-filters button span { margin-left: 6px; font-size: 11px; }
.repository { border-top: 1px solid var(--line); }
.repository:last-child { border-bottom: 1px solid var(--line); }
.repository > summary { display: grid; grid-template-columns: 32px minmax(170px,.8fr) minmax(180px,1fr) auto 16px; align-items: center; gap: 20px; min-height: 78px; padding: 18px 0; }
.repo-number { font-size: 11px; color: #ad9e88; }
.repo-name { font-size: 15px; font-weight: 500; }
.repo-description { color: var(--muted); font-size: 13px; }
.repo-language { font-size: 11px; color: #ad9e88; text-align: right; }
.repository > summary:hover .repo-name { color: var(--accent); }
.repo-body { padding: 5px 0 27px 52px; }
.repo-project h4 { margin: 5px 0 20px; color: var(--fg); font-size: 14px; font-weight: 500; }
.repo-project + .repo-project { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.repo-people { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 30px; list-style: none; margin: 0; padding: 0; }
.repo-people li { display: flex; flex-direction: column; gap: 4px; }
.repo-people a { font-size: 13px; color: var(--accent); width: fit-content; }
.repo-people a:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-link { display: inline-flex; align-items: center; gap: 12px; }
.profile-link .avatar { width: 40px; height: 40px; }
.repo-people p { font-size: 12px; color: var(--muted); padding-left: 52px; }
.repo-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 22px; font-size: 12px; }
.repo-links a { text-decoration: underline; text-underline-offset: 5px; }
.private-note { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.all-credits { margin-top: 28px; border: 1px solid var(--line); padding: 0 24px; }
.all-credits > summary { padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.count { font-size: 11px; color: var(--accent); margin-left: 8px; }
.people-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 10px 0 20px; }
.person a { font-size: 13px; color: var(--accent); }
.person p { font-size: 12px; color: var(--muted); margin-top: 5px; padding-left: 52px; }
.credit-basis { border-top: 1px solid var(--line); padding: 17px 0 19px; font-size: 11px; color: var(--muted); }
.archive-link { margin-top: 28px; text-align: right; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); padding: 35px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-title { font: 24px var(--title); }
.footer-inner p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; font-size: 12px; color: var(--muted); }

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 28px; }
  .header-inner nav { gap: 25px; }
  .hero-logo { width: min(550px,85vw); }
  .repository > summary { grid-template-columns: 25px minmax(150px,.8fr) minmax(160px,1fr) 16px; gap: 18px; }
  .repo-language { display: none; }
  .repo-body { padding-left: 43px; }
  .lifecycle li { padding-inline: 16px; }
  .step-detail { font-size: 11px; }
  .lifecycle p { font-size: 10px; }
  .lifecycle h3 { font-size: 19px; }
  .cloud-flow-diagram { grid-template-columns: minmax(155px, 1fr) minmax(35px, .3fr) minmax(200px, 1fr) minmax(55px, .3fr) minmax(145px, .8fr); }
  .cloud-logo { width: 60px; height: 60px; }
  .cloud-providers li { gap: 12px; }
  .cloud-providers strong { font-size: 16px; }
  .author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-body { gap: 36px; grid-template-columns: minmax(0, 1fr) 210px; }
  .club-lineup { gap: 16px; }
  .club img { width: 96px; height: 96px; }
  .sponsor-lineup { gap: 28px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 72px; gap: 24px; }
  .brand-label, .brand-divider { display: none; }
  .brand-mark { width: 81px; height: 56px; }
  .brand-mark img { width: 130px; left: -23px; top: -34px; }
  .header-inner nav { gap: 22px; font-size: 15px; }
  .header-github { font-size: 0; gap: 0; }
  .header-github span { font-size: 20px; }
  .hero { padding-top: 32px; padding-bottom: 24px; }
  .hero-date { font-size: 15px; }
  .hero-logo { width: min(530px,100vw); margin-top: 16px; }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(28px, 7.8vw, 36px); margin-top: 16px; padding-inline: 22px; }
  .hero-description { font-size: 18px; margin-top: 20px; padding-inline: 22px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; width: min(360px, calc(100% - 40px)); }
  .hero-actions .button-primary { grid-column: 1/-1; }
  .hero-cost-scope { font-size: 15px; padding-inline: 22px; }
  .button { min-width: 144px; min-height: 48px; padding: 11px 18px; font-size: 15px; gap: 25px; }
  .motion-toggle { top: 10px; right: 12px; font-size: 10px; padding: 9px 7px; gap: 4px; }
  .autumn-leaves i:nth-child(n+5) { display: none; }
  .event-story { font-size: 13px; }
  .event-story br { display: none; }
  .scoreboards { grid-template-columns: 1fr; gap: 30px; margin-top: 28px; }
  .scoreboard h3 { font-size: 22px; }
  .scoreboard figcaption { margin-bottom: 12px; }
  .scoreboard figcaption > span { font-size: 12px; }
  .results-thanks { font-size: 14px; margin-top: 26px; }
  .club-lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 16px; margin-top: 28px; }
  .club img { width: 82px; height: 82px; margin-bottom: 10px; }
  .club strong { font-size: 14px; }
  .club figcaption span { font-size: 11px; }
  .partners-section h2 { font-size: 26px; }
  .sponsors { margin-top: 40px; padding-top: 34px; }
  .sponsor-lineup { gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .sponsor { min-height: 95px; padding: 8px 0; }
  .sponsor-hspace img { width: 92px; }
  .sponsor-siya img { width: 190px; }
  .sponsor-monster { grid-column: 1/-1; }
  .sponsor-monster img { width: 200px; }
  .subpage-header { padding-block: 30px; }
  .back-link { margin-bottom: 22px; font-size: 11px; }
  .subpage-header h1 { font-size: 36px; }
  .subpage-header > p { font-size: 13px; line-height: 1.8; }
  .page-jumps { font-size: 12px; margin-top: 20px; gap: 20px; }
  .page-platform .subpage-header { align-items: flex-start; gap: 15px; padding-block: 16px; }
  .page-platform .subpage-header h1 { font-size: 27px; }
  .page-platform .page-jumps { justify-content: flex-end; gap: 10px 15px; font-size: 12px; padding-top: 8px; }
  .page-platform .platform-section { padding-top: 18px; }
  .page-platform .screen-stage { width: 100%; min-width: 0; }
  .catalog-heading { padding-top: 25px; }
  .catalog-title { display: block; }
  .catalog-title h1 { font-size: 30px; }
  .catalog-title p { font-size: 14px; margin-top: 9px; }
  .catalog-tabs { margin-top: 23px; }
  .catalog-tabs a { font-size: 16px; }
  .catalog-controls { padding-top: 17px; }
  .catalog-search-row { flex-wrap: wrap; row-gap: 12px; }
  .catalog-search { width: 100%; }
  .catalog-search input { width: 100%; padding-block: 10px; font-size: 16px; }
  .catalog-filters { gap: 3px; }
  .catalog-filters button { padding: 6px 8px; }
  .author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .author-card { padding: 20px; }
  .author-profile { font-size: 15px; }
  .author-card li a { grid-template-columns: 61px 1fr 12px; }
  .author-basis { font-size: 12px; }
  .challenge-card { padding: 20px; }
  .challenge-card h2 { font-size: 21px; }
  .challenge-detail { padding-top: 25px; }
  .detail-heading h1 { font-size: 32px; }
  .detail-body { grid-template-columns: 1fr; gap: 40px; padding-top: 28px; }
  .statement-prose { font-size: 15px; }
  .related-challenges { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
  .related-challenges > a { padding-block: 10px; }
  .statement-source { padding-top: 28px; }
  .section { padding-block: 52px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2 { font-size: 27px; }
  .section-description { margin-top: 12px; font-size: 12px; }
  .screen-tabs { gap: 12px 22px; margin-bottom: 18px; flex-wrap: wrap; }
  .screen-tabs button { font-size: 14px; padding-bottom: 13px; }
  .screen-stage { padding: 5px 5px 0; }
  .screen-caption { padding: 14px 12px; }
  .screen-caption { flex-wrap: wrap; gap: 12px; }
  .screen-caption p { font-size: 14px; }
  .sla-screen-panel .screen-caption { min-height: 80px; }
  .source-note { font-size: 11px; line-height: 1.8; text-align: left; }
  .lifecycle { grid-template-columns: 1fr 1fr; gap: 28px 0; margin-block: 30px; }
  .lifecycle li { padding-inline: 17px; }
  .lifecycle li:nth-child(3) { padding-left: 0; border: 0; }
  .lifecycle li:nth-child(even)::after { display: none; }
  .lifecycle li::after { right: 14px !important; font-size: 12px; }
  .lifecycle h3 { font-size: 18px; }
  .lifecycle p { font-size: 10px; min-height: 30px; margin-top: 10px; }
  .step-detail { font-size: 11px; }
  .architecture-details > summary, .verification-details > summary { padding-block: 21px; font-size: 17px; }
  .detail-action { gap: 12px; font-size: 11px; }
  .architecture-notes { display: block; }
  .architecture-notes p { font-size: 11px; }
  .architecture-notes .text-link { font-size: 12px; margin-top: 14px; }
  .verification-body { grid-template-columns: 1fr; gap: 24px; }
  .performance-result { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .performance-result:first-child { padding-top: 0; }
  .performance-result strong { font-size: 32px; margin: 10px 0; }
  .performance-result strong s { font-size: 25px; }
  .performance-result p { font-size: 11px; }
  .repo-filters { gap: 3px; margin: 24px 0 20px; }
  .repo-filters button { padding: 7px 9px; font-size: 11px; }
  .repo-filters button span { font-size: 10px; }
  .team-section > .section-heading h2 { font-size: 29px; }
  .team-section > .section-heading .section-description { font-size: 14px; }
  .team-directory { margin-block: 28px 40px; }
  .team-lead .role-person { font-size: 16px; }
  .team-lead p { font-size: 14px; }
  .role-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid { grid-template-columns: 1fr; gap: 28px; }
  .tech-items { gap: 16px 12px; }
  .tech-items li { width: 78px; }
  .role-group { padding: 18px 6px 22px; }
  .role-group h3 { font-size: 16px; }
  .role-repository { gap: 6px; }
  .role-repository .github-icon { width: 15px; height: 15px; }
  .role-people { gap: 18px 12px; margin-top: 18px; }
  .role-group[data-role="backend"] .role-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-group[data-role="devsecops"] .role-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .role-person { font-size: 14px; }
  .role-person .avatar { width: 52px; height: 52px; }
  .role-heading { min-height: 44px; align-content: center; }
  .cloud-flow-diagram { grid-template-columns: 1fr; }
  .cloud-providers strong { font-size: 13px; }
  .repository-heading { display: block; }
  .repository-heading h3 { font-size: 20px; }
  .repository-heading p { margin-top: 8px; font-size: 11px; }
  .repository > summary { grid-template-columns: 21px 1fr 15px; gap: 10px; min-height: 80px; position: relative; padding: 18px 0 17px; }
  .repo-name { font-size: 14px; }
  .repo-number { font-size: 11px; grid-row: 1/3; align-self: start; margin-top: 2px; }
  .repo-description { font-size: 11px; grid-column: 2; grid-row: 2; margin-top: -5px; }
  .repository > summary > .plus { grid-column: 3; grid-row: 1/3; }
  .repo-body { padding: 4px 0 24px 31px; }
  .repo-people { grid-template-columns: 1fr; gap: 15px; }
  .repo-people p { font-size: 11px; }
  .repo-people p, .person p { padding-left: 0; }
  .all-credits { padding-inline: 17px; margin-top: 25px; }
  .all-credits > summary { font-size: 13px; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .person a { font-size: 12px; }
  .person p { font-size: 11px; }
  .credit-basis { font-size: 10px; }
  .archive-link { text-align: left; margin-top: 24px; }
  .footer-inner { display: block; }
  .footer-links { gap: 20px; margin-top: 26px; font-size: 11px; }
  .footer-title { font-size: 23px; }
  .site-footer { padding-block: 33px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 16px; }
  .header-inner nav { gap: 15px; font-size: 14px; }
  .hero-actions { gap: 10px; }
  .button { min-width: 133px; padding-inline: 16px; }
  .screen-tabs { gap: 21px; }
  .screen-tabs button { font-size: 13px; }
  .people-grid { grid-template-columns: 1fr; }
  .repo-filters button { padding-inline: 7px; }
  .club-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .author-grid, .challenge-grid { grid-template-columns: 1fr; }
  .author-card { padding: 20px; }
  .author-profile { font-size: 16px; }
  .author-card li a { padding-block: 7px; }
  .challenge-excerpt { min-height: 0; -webkit-line-clamp: 2; }
  .challenge-card { padding: 18px; }
}
@media (max-width: 400px) {
  .author-profile { gap: 11px; font-size: 15px; }
  .author-profile .avatar { width: 44px; height: 44px; }
  .author-card ul { font-size: 14px; }
  .catalog-filters button { font-size: 12px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .autumn-leaves, .motion-toggle { display: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .hero-backdrop, .hero-logo, .hero-actions, .repo-filters, .footer-links, .autumn-leaves, .motion-toggle { display: none; }
  body, .hero, .system-section { background: #fff; color: #222; }
  .hero::after { display: none; }
  .container { width: 100%; }
  .section { padding-block: 25px; }
  details:not([open]) { display: none; }
  a { color: #222; }
  .section-description, .hero-description, .repo-description { color: #444; }
}
