:root {
  color-scheme: dark;
  --navy-950: #071426;
  --navy-900: #0b1b35;
  --navy-800: #10294c;
  --navy-700: #184066;
  --paper: #fff1c7;
  --paper-bright: #fff9df;
  --paper-muted: #d8d3b4;
  --red: #df4438;
  --red-dark: #a7262c;
  --yellow: #f2c94c;
  --cyan: #45c2d4;
  --green: #4d9d59;
  --ink: #071426;
  --line: #050d1b;
  --header-height: 72px;
  --shell: 1400px;
  --display: "Arial Black", "Microsoft JhengHei", "PingFang TC", sans-serif;
  --sans: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  --mono: "Cascadia Mono", "Noto Sans Mono CJK TC", "Microsoft JhengHei", monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--paper-bright);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: none;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

img[src*="pixel-"],
.work-media img,
.blog-card-image img,
.journal-media img,
.article-hero-media {
  image-rendering: pixelated;
}

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border: 3px solid var(--line);
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  border-bottom: 4px solid var(--line);
  background: var(--navy-900);
  transition: background-color 140ms steps(2, end);
}

.site-header.is-scrolled {
  background: var(--navy-950);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-height);
  border-right: 4px solid var(--line);
  padding-inline: 28px;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 var(--red-dark);
}

.brand-gem {
  width: 16px;
  height: 16px;
  border: 3px solid var(--line);
  background: var(--red);
  box-shadow: 4px 0 0 var(--yellow), 0 4px 0 var(--cyan);
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: stretch;
  min-height: var(--header-height);
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  border-left: 4px solid var(--line);
  padding-inline: 20px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  transition: background-color 100ms steps(2, end), color 100ms steps(2, end);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
}

.primary-nav .nav-cta {
  gap: 10px;
  min-width: 124px;
  background: var(--red);
  color: #fff;
}

.primary-nav .nav-cta:hover {
  background: var(--yellow);
  color: var(--ink);
}

.primary-nav svg,
.button svg,
.pixel-link svg,
.icon-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.icon-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--header-height);
  height: var(--header-height);
  border: 0;
  border-left: 4px solid var(--line);
  background: var(--red);
  cursor: pointer;
}

.icon-button:active,
.button:active,
.pixel-link:active,
.icon-link:active {
  transform: translate(3px, 3px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(740px, calc(100svh - var(--header-height) - 56px));
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--navy-800);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-pan 14s steps(7, end) infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -2;
  width: 62%;
  background: rgba(7, 20, 38, 0.83);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

.hero-content {
  align-self: center;
  padding-top: var(--header-height);
}

.hero-kicker,
.section-kicker,
.section-code,
.work-slot,
.blog-card-date,
.article-meta,
.article-aside,
.article-next > div > p {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-block;
  margin: 0;
  border: 3px solid var(--line);
  background: var(--yellow);
  padding: 8px 12px;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--line);
}

.hero-title {
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: 108px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 7px 7px 0 var(--red-dark), 11px 11px 0 var(--line);
}

.hero-copy {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--paper-bright);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.55;
  text-shadow: 3px 3px 0 var(--line);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border: 4px solid var(--line);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  box-shadow: 6px 6px 0 var(--line);
  transition: background-color 100ms steps(2, end), color 100ms steps(2, end), transform 80ms steps(2, end), box-shadow 80ms steps(2, end);
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--line);
}

.button:active {
  box-shadow: 2px 2px 0 var(--line);
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: var(--yellow);
  color: var(--ink);
}

.button-ghost {
  background: var(--paper-bright);
  color: var(--ink);
}

.button-ghost:hover,
.button-secondary {
  background: var(--cyan);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--yellow);
}

.start-strip {
  display: grid;
  grid-template-columns: 220px 220px minmax(0, 1fr);
  border-bottom: 4px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.start-strip > div,
.start-strip > p {
  min-height: 98px;
  margin: 0;
  border-right: 4px solid var(--line);
  padding: 18px 28px;
}

.start-strip > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.start-strip strong {
  color: var(--red);
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
}

.start-strip span {
  font-weight: 900;
}

.start-strip > p {
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}

.status-light {
  width: 14px;
  height: 14px;
  border: 3px solid var(--line);
  background: var(--green);
  animation: blink 1000ms steps(2, end) infinite;
}

.works-section {
  border-bottom: 4px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-kicker,
.section-code {
  margin: 0;
  color: var(--yellow);
}

.section-heading h2,
.rules-intro h2,
.journal-copy h2,
.final-cta h2,
.feedback-copy h2,
.blog-title,
.article-title {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 5px 5px 0 var(--red-dark);
  text-wrap: balance;
}

.section-heading > p:last-child,
.rules-intro > p,
.journal-copy > p,
.final-cta > div > p,
.feedback-copy > p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--paper-muted);
  font-size: 18px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.work-card {
  grid-column: span 5;
  min-width: 0;
  border: 4px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 9px 9px 0 var(--line);
  transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end);
}

.work-card-main,
.work-card-wide {
  grid-column: span 7;
}

.work-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 13px 13px 0 var(--line);
}

.work-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--navy-800);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms steps(4, end);
}

.work-media:hover img {
  transform: scale(1.035);
}

.work-copy {
  padding: 28px;
}

.work-slot {
  display: inline-block;
  border: 3px solid var(--line);
  background: var(--yellow);
  padding: 5px 9px;
  box-shadow: 3px 3px 0 var(--line);
}

.work-copy h3 {
  margin: 26px 0 0;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.work-copy h3 a:hover {
  color: var(--red-dark);
}

.work-copy p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #31405a;
}

.pixel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  border: 3px solid var(--line);
  background: var(--red);
  padding: 9px 12px;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.pixel-link:hover {
  background: var(--navy-800);
}

.works-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 54px;
  border: 4px solid var(--line);
  background: var(--navy-800);
  padding: 28px;
  box-shadow: 8px 8px 0 var(--line);
}

.works-more p {
  margin: 0;
  color: var(--paper);
  font-weight: 800;
}

.level-section {
  border-bottom: 4px solid var(--line);
  background: var(--navy-800);
}

.section-heading-light {
  color: var(--paper-bright);
}

.level-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 38px;
  padding: 28px 12px 18px;
}

.level {
  position: relative;
  min-height: 170px;
  border: 4px solid var(--line);
  background: var(--paper);
  padding: 28px;
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--line);
}

.level:nth-child(2),
.level:nth-child(5) {
  transform: translateY(28px);
}

.level:nth-child(3),
.level:nth-child(4) {
  transform: translateY(8px);
}

.level span {
  position: absolute;
  right: 18px;
  top: -26px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 4px solid var(--line);
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 18px;
  box-shadow: 5px 5px 0 var(--line);
}

.level h3 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

.level p {
  margin: 12px 0 0;
  color: #44516b;
}

.rules-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 88px;
  border-bottom: 4px solid var(--line);
}

.rules-intro {
  align-self: start;
}

.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 4px solid var(--paper);
}

.rules-list li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 4px solid var(--paper);
  padding-block: 28px;
}

.rules-list > li > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 4px solid var(--line);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  box-shadow: 5px 5px 0 var(--red-dark);
}

.rules-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0;
}

.rules-list p {
  margin: 10px 0 0;
  color: var(--paper-muted);
}

.journal-section {
  border-bottom: 4px solid var(--line);
  background: var(--navy-800);
}

.journal-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 74px;
  align-items: center;
}

.save-icon {
  display: block;
  width: 54px;
  height: 54px;
  border: 4px solid var(--line);
  background: var(--cyan);
  box-shadow: 8px 0 0 var(--yellow), 0 8px 0 var(--red), 8px 8px 0 var(--line);
}

.journal-copy .button {
  margin-top: 32px;
}

.journal-card {
  border: 4px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--line);
}

.journal-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
}

.journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.journal-card > div {
  padding: 26px;
}

.journal-card time {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.journal-card h3 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.journal-card h3 a:hover {
  color: var(--red-dark);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  margin-block: 112px;
  border: 4px solid var(--line);
  background: var(--red);
  padding: 42px;
  box-shadow: 10px 10px 0 var(--line);
}

.final-cta h2 {
  margin: 0;
  font-size: 46px;
  text-shadow: 4px 4px 0 var(--red-dark);
}

.final-cta > div > p {
  color: #fff;
}

.site-footer {
  overflow: hidden;
  border-top: 4px solid var(--line);
  background: var(--navy-900);
}

.footer-brand {
  width: 100%;
  overflow: hidden;
  padding: 28px 24px 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: 210px;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 9px 9px 0 var(--red-dark), 14px 14px 0 var(--line);
  white-space: nowrap;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-top: 4px solid var(--line);
  padding-block: 24px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  justify-self: end;
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: var(--yellow);
}

.page-main {
  padding-top: var(--header-height);
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--navy-800);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/pixel-hero.webp");
  background-position: center;
  background-size: cover;
  image-rendering: pixelated;
  opacity: 0.32;
  content: "";
}

.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 20, 38, 0.62);
  content: "";
}

.page-hero-inner {
  padding-top: 104px;
  padding-bottom: 76px;
}

.blog-title {
  max-width: 980px;
  font-size: 72px;
}

.page-hero-copy {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--paper);
  font-size: 19px;
}

.blog-list {
  display: grid;
  gap: 44px;
}

.blog-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(320px, 0.74fr) 52px;
  gap: 28px;
  align-items: center;
  border: 4px solid var(--line);
  background: var(--paper);
  padding: 28px;
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--line);
}

.blog-card-date {
  align-self: start;
  color: var(--red-dark);
}

.blog-card-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.blog-card-copy h2 a:hover {
  color: var(--red-dark);
}

.blog-card-copy p {
  max-width: 600px;
  margin: 16px 0 0;
  color: #3f4c63;
}

.blog-card-image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid var(--line);
  background: var(--navy-800);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card .icon-link {
  position: static;
}

.blog-card-draft {
  background: #d9ddb9;
}

.draft-block {
  border: 3px solid var(--paper);
  padding: 12px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 4px solid var(--line);
  background: var(--red);
  color: #fff;
  box-shadow: 4px 4px 0 var(--line);
}

.icon-link:hover {
  background: var(--yellow);
  color: var(--ink);
}

.article-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--navy-800);
}

.article-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 20, 38, 0.7);
  content: "";
}

.article-hero > .shell {
  align-self: end;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 70px;
}

.article-title {
  max-width: 1140px;
  font-size: 66px;
}

.article-deck {
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--paper);
  font-size: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 30px;
  color: var(--yellow);
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 800px);
  gap: 80px;
  justify-content: center;
}

.article-aside {
  position: sticky;
  top: 112px;
  align-self: start;
  border: 4px solid var(--line);
  background: var(--cyan);
  padding: 18px;
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--line);
}

.article-aside p {
  margin: 0;
}

.article-aside p + p {
  margin-top: 10px;
}

.article-body {
  border: 4px solid var(--line);
  background: var(--paper-bright);
  padding: 52px;
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--line);
}

.article-body > p:first-child {
  margin-top: 0;
  font-size: 21px;
  font-weight: 800;
}

.article-body p,
.article-body li {
  font-size: 18px;
  line-height: 1.85;
}

.article-body h2 {
  margin: 58px 0 18px;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.article-body blockquote {
  margin: 42px 0;
  border: 4px solid var(--line);
  background: var(--red);
  padding: 28px;
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.5;
  box-shadow: 7px 7px 0 var(--line);
}

.article-body ul {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.article-note {
  margin: 38px 0;
  border: 4px solid var(--line);
  background: var(--yellow);
  padding: 24px;
  box-shadow: 6px 6px 0 var(--line);
}

.article-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 58px;
  border-top: 4px solid var(--line);
  padding-top: 30px;
}

.article-next > div > p {
  margin: 0;
  color: var(--red-dark);
}

.article-next h3 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0;
}

.error-page {
  min-height: 100svh;
}

.error-screen {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  border-bottom: 4px solid var(--line);
  background: var(--navy-800) url("assets/pixel-hero.webp") center / cover no-repeat;
  padding: calc(var(--header-height) + 64px) 32px 64px;
  image-rendering: pixelated;
}

.error-screen-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 20, 38, 0.72);
}

.error-panel {
  width: min(720px, 100%);
  border: 4px solid var(--line);
  background: var(--paper-bright);
  padding: 44px;
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--line);
}

.error-panel .section-code {
  margin: 0;
  color: var(--red-dark);
}

.error-code {
  display: block;
  margin-top: 14px;
  color: var(--red);
  font-family: var(--display);
  font-size: 132px;
  line-height: 0.88;
  text-shadow: 6px 6px 0 var(--yellow), 10px 10px 0 var(--line);
}

.error-panel h1 {
  margin: 34px 0 0;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
}

.error-panel > p:last-of-type {
  max-width: 580px;
  margin: 18px 0 0;
  color: #3f4c63;
  font-size: 18px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-pending.is-visible {
  animation: pixel-reveal 420ms steps(5, end) forwards;
}

@keyframes hero-pan {
  from { transform: scale(1.015) translateX(0); }
  to { transform: scale(1.035) translateX(-10px); }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0.25; }
}

@keyframes pixel-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .primary-nav a {
    min-width: 98px;
    padding-inline: 14px;
  }

  .hero-title {
    font-size: 88px;
  }

  .section-heading h2,
  .rules-intro h2,
  .journal-copy h2,
  .blog-title {
    font-size: 56px;
  }

  .work-grid {
    gap: 22px;
  }

  .footer-brand {
    font-size: 170px;
  }

  .blog-card {
    grid-template-columns: 100px minmax(0, 1fr) minmax(280px, 0.72fr) 48px;
    gap: 20px;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    padding-inline: 20px;
  }

  .icon-button {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    border-bottom: 4px solid var(--line);
    background: var(--navy-900);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a,
  .primary-nav .nav-cta {
    justify-content: flex-start;
    min-width: 0;
    min-height: 58px;
    border-top: 4px solid var(--line);
    border-left: 0;
    padding-inline: 24px;
  }

  .hero {
    min-height: min(720px, calc(100svh - var(--header-height) - 56px));
  }

  .hero-shade {
    width: 82%;
  }

  .start-strip {
    grid-template-columns: 1fr 1fr;
  }

  .start-strip > p {
    grid-column: 1 / -1;
    border-top: 4px solid var(--line);
  }

  .work-card,
  .work-card-main,
  .work-card-wide {
    grid-column: span 6;
  }

  .level-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .level:nth-child(n) {
    transform: none;
  }

  .rules-section,
  .journal-layout,
  .feedback-section {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    font-size: 126px;
  }

  .blog-card {
    grid-template-columns: 92px minmax(0, 1fr) 48px;
  }

  .blog-card-image {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section {
    padding-block: 78px;
  }

  .hero {
    min-height: min(680px, calc(100svh - var(--header-height) - 48px));
  }

  .hero-media {
    object-position: 60% center;
  }

  .hero-shade {
    width: 100%;
    background: rgba(7, 20, 38, 0.72);
    clip-path: none;
  }

  .hero-content {
    align-self: end;
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: 56px;
    text-shadow: 5px 5px 0 var(--red-dark), 8px 8px 0 var(--line);
  }

  .hero-copy {
    margin-top: 26px;
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .start-strip > div,
  .start-strip > p {
    min-height: 82px;
    padding: 14px;
  }

  .start-strip strong {
    font-size: 32px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .rules-intro h2,
  .journal-copy h2,
  .feedback-copy h2,
  .blog-title,
  .article-title {
    font-size: 40px;
    text-shadow: 4px 4px 0 var(--red-dark);
  }

  .section-heading > p:last-child,
  .rules-intro > p,
  .journal-copy > p,
  .final-cta > div > p,
  .feedback-copy > p {
    font-size: 16px;
  }

  .work-grid,
  .level-map {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-card,
  .work-card-main,
  .work-card-wide {
    grid-column: 1;
    box-shadow: 6px 6px 0 var(--line);
  }

  .work-copy {
    padding: 22px;
  }

  .work-copy h3 {
    font-size: 25px;
  }

  .works-more {
    display: grid;
    box-shadow: 6px 6px 0 var(--line);
  }

  .works-more .button {
    width: 100%;
  }

  .level {
    min-height: 150px;
  }

  .rules-section {
    gap: 46px;
  }

  .rules-list li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .rules-list > li > span {
    width: 48px;
    height: 48px;
  }

  .journal-card h3 {
    font-size: 25px;
  }

  .final-cta {
    margin-block: 78px;
    padding: 28px;
    box-shadow: 7px 7px 0 var(--line);
  }

  .final-cta h2 {
    font-size: 34px;
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-brand {
    padding-top: 22px;
    font-size: 68px;
    text-shadow: 5px 5px 0 var(--red-dark), 8px 8px 0 var(--line);
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }

  .footer-bottom p:last-child {
    justify-self: start;
  }

  .page-hero {
    min-height: 470px;
  }

  .page-hero-inner {
    padding-top: 78px;
    padding-bottom: 58px;
  }

  .blog-card {
    grid-template-columns: 1fr 46px;
    gap: 18px;
    padding: 20px;
    box-shadow: 6px 6px 0 var(--line);
  }

  .blog-card-date,
  .blog-card-copy,
  .blog-card-image {
    grid-column: 1 / -1;
  }

  .blog-card-copy h2 {
    font-size: 27px;
  }

  .blog-card .icon-link {
    grid-column: 2;
    grid-row: 1;
  }

  .article-hero {
    min-height: 680px;
  }

  .article-hero > .shell {
    padding-bottom: 54px;
  }

  .article-deck {
    font-size: 17px;
  }

  .article-body {
    padding: 26px 22px;
    box-shadow: 6px 6px 0 var(--line);
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
  }

  .article-body h2 {
    margin-top: 44px;
    font-size: 28px;
  }

  .article-body blockquote {
    padding: 22px;
    font-size: 22px;
  }

  .article-next {
    align-items: stretch;
    flex-direction: column;
  }

  .article-next .button {
    width: 100%;
  }

  .error-screen {
    padding: calc(var(--header-height) + 42px) 14px 42px;
  }

  .error-panel {
    padding: 30px 22px;
    box-shadow: 7px 7px 0 var(--line);
  }

  .error-code {
    font-size: 92px;
    text-shadow: 4px 4px 0 var(--yellow), 7px 7px 0 var(--line);
  }

  .error-panel h1 {
    margin-top: 28px;
    font-size: 32px;
  }

  .error-panel > p:last-of-type {
    font-size: 16px;
  }

  .error-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .error-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 9px;
    padding-inline: 14px;
    font-size: 18px;
  }

  .hero-title {
    font-size: 49px;
  }

  .start-strip > div {
    display: grid;
    gap: 3px;
  }

  .section-heading h2,
  .rules-intro h2,
  .journal-copy h2,
  .feedback-copy h2,
  .blog-title,
  .article-title {
    font-size: 36px;
  }

  .article-title {
    font-size: 34px;
  }

  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal-pending,
  .reveal-pending.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-shade,
  .page-hero::after,
  .article-hero::after,
  .error-screen-shade {
    background: var(--navy-950);
  }
}

/* Beginner-first homepage */
.welcome-hero {
  min-height: min(600px, calc(100svh - var(--header-height) - 48px));
}

.welcome-hero .hero-shade {
  width: 68%;
}

.welcome-hero .hero-content {
  padding-bottom: 26px;
}

.audience-section {
  background: var(--navy-950);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.audience-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  border: 4px solid var(--line);
  background: var(--paper-bright);
  padding: 28px;
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--line);
}

.audience-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: var(--red);
  content: "";
}

.audience-teacher::before {
  background: var(--yellow);
}

.audience-audio::before {
  background: var(--cyan);
}

.audience-admin::before {
  background: var(--green);
}

.audience-card > svg {
  width: 38px;
  height: 38px;
  margin-top: 10px;
  color: var(--red-dark);
  stroke-width: 2.4;
}

.audience-card > span {
  margin-top: 22px;
  color: var(--red-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.audience-card h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

.audience-card p {
  margin: 14px 0 24px;
  color: #3f4c63;
  line-height: 1.7;
}

.audience-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}

.audience-card a:hover {
  color: var(--red-dark);
}

.audience-card a svg {
  width: 17px;
  height: 17px;
}

.feature-section {
  border-block: 4px solid var(--line);
  background: var(--navy-800);
}

.completed-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -14px 0 34px;
  border: 3px solid var(--line);
  background: var(--green);
  padding: 9px 13px;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.completed-note svg {
  width: 18px;
  height: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.feature-button {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 4px solid var(--line);
  padding: 22px;
  box-shadow: 8px 8px 0 var(--line);
  transition: transform 100ms steps(2, end), box-shadow 100ms steps(2, end);
}

.feature-button::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--line);
  background: currentColor;
  box-shadow: -8px 8px 0 var(--line);
  content: "";
}

.feature-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--line);
}

.feature-button:active {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--line);
}

.feature-button > svg {
  width: 46px;
  height: 46px;
  margin-bottom: auto;
  stroke-width: 2.2;
}

.feature-index {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.feature-button strong {
  max-width: 10ch;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-button small {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
}

.feature-red {
  background: var(--red);
  color: #fff;
}

.feature-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.feature-cyan {
  background: var(--cyan);
  color: var(--ink);
}

.feature-paper {
  background: var(--paper-bright);
  color: var(--ink);
}

.feature-green {
  background: var(--green);
  color: #fff;
}

.beginner-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 88px;
  align-items: center;
}

.beginner-copy h2,
.published-copy h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 5px 5px 0 var(--red-dark);
}

.beginner-copy > p:last-of-type,
.published-copy > p:last-of-type {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--paper-muted);
  font-size: 18px;
}

.beginner-copy .button,
.published-copy .button {
  margin-top: 30px;
}

.beginner-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.beginner-steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border-top: 4px solid var(--paper);
  padding-block: 24px;
}

.beginner-steps li:last-child {
  border-bottom: 4px solid var(--paper);
}

.beginner-steps li > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 4px solid var(--line);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  box-shadow: 5px 5px 0 var(--red-dark);
}

.beginner-steps strong {
  font-family: var(--display);
  font-size: 22px;
}

.beginner-steps p {
  margin: 4px 0 0;
  color: var(--paper-muted);
}

.published-section {
  border-top: 4px solid var(--line);
  background: #d9ddb9;
  color: var(--ink);
}

.published-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 64px;
  align-items: center;
}

.published-copy h2 {
  text-shadow: 4px 4px 0 #f3a69f;
}

.published-copy > p:last-of-type {
  color: #3f4c63;
}

.published-media {
  width: 100%;
  border: 4px solid var(--line);
  box-shadow: 10px 10px 0 var(--line);
  image-rendering: pixelated;
}

@media (max-width: 1180px) {
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-card {
    min-height: 310px;
  }

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

@media (max-width: 920px) {
  .welcome-hero .hero-shade {
    width: 84%;
  }

  .beginner-section,
  .published-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .published-media {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .welcome-hero {
    min-height: min(620px, calc(100svh - 48px));
  }

  .welcome-hero .hero-shade {
    width: 100%;
  }

  .welcome-hero .hero-content {
    padding-bottom: 42px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .audience-card {
    min-height: 0;
    padding: 24px;
  }

  .audience-card h3 {
    font-size: 23px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-button {
    padding: 18px;
    box-shadow: 6px 6px 0 var(--line);
  }

  .feature-button::after {
    top: 14px;
    right: 14px;
    width: 11px;
    height: 11px;
  }

  .feature-index {
    top: 14px;
    left: 14px;
  }

  .feature-button > svg {
    width: 38px;
    height: 38px;
  }

  .feature-button strong {
    font-size: 19px;
  }

  .beginner-section {
    gap: 42px;
  }

  .beginner-copy h2,
  .published-copy h2 {
    font-size: 38px;
    text-shadow: 4px 4px 0 var(--red-dark);
  }

  .beginner-steps li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
  }

  .beginner-steps li > span {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .published-layout {
    gap: 38px;
  }
}

@media (max-width: 420px) {
  .feature-grid {
    gap: 12px;
  }

  .feature-button {
    padding: 14px;
  }

  .feature-button strong {
    font-size: 17px;
  }

  .feature-button small {
    margin-top: 7px;
    font-size: 11px;
  }
}

/* Clean homepage and AI helper page */
.clean-home {
  color-scheme: light;
  --clean-bg: #faf6f0;
  --clean-panel: #ffffff;
  --clean-ink: #1f2a24;
  --clean-muted: #647067;
  --clean-line: #d9ded6;
  --clean-green: #2c5e43;
  --clean-green-soft: #e8f1eb;
  --clean-orange: #d96b43;
  --clean-orange-soft: #f8e5da;
  background:
    linear-gradient(180deg, #fffaf4 0%, var(--clean-bg) 58%, #f3f0e9 100%);
  color: var(--clean-ink);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.clean-home img[src*="pixel-"] {
  image-rendering: auto;
}

.clean-home .skip-link {
  border: 1px solid var(--clean-green);
  border-radius: 999px;
  background: var(--clean-panel);
  color: var(--clean-green);
  box-shadow: none;
}

.clean-header {
  border-bottom: 1px solid rgba(44, 94, 67, 0.16);
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.clean-header.is-scrolled {
  background: rgba(250, 246, 240, 0.96);
}

.clean-brand {
  border-right: 1px solid rgba(44, 94, 67, 0.16);
  color: var(--clean-green);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-weight: 900;
  text-shadow: none;
}

.clean-brand .brand-gem {
  border: 0;
  border-radius: 999px;
  background: var(--clean-green);
  box-shadow: 8px 0 0 var(--clean-orange);
}

.clean-nav a {
  min-width: 108px;
  border-left: 1px solid rgba(44, 94, 67, 0.16);
  color: var(--clean-muted);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.clean-nav a:hover,
.clean-nav a[aria-current="page"] {
  background: var(--clean-green-soft);
  color: var(--clean-green);
}

.clean-nav .nav-cta {
  background: var(--clean-green);
  color: #fff;
}

.clean-nav .nav-cta:hover {
  background: var(--clean-orange);
  color: #fff;
}

.clean-menu-button {
  border-left: 1px solid rgba(44, 94, 67, 0.16);
  background: var(--clean-green);
  color: #fff;
}

.clean-hero {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 54px;
}

.clean-hero-layout,
.helper-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 64px;
  align-items: center;
}

.clean-hero-copy {
  max-width: 820px;
}

.clean-kicker {
  margin: 0;
  color: var(--clean-orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.clean-hero h1,
.helper-hero h1 {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--clean-ink);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: none;
}

.clean-hero-copy > p:last-child,
.helper-hero-copy > p:last-child,
.clean-section-heading > p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--clean-muted);
  font-size: 19px;
  line-height: 1.8;
}

.clean-hero-card {
  margin: 0;
  border: 1px solid var(--clean-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  padding: 14px;
  box-shadow: 0 22px 70px rgba(31, 42, 36, 0.08);
}

.clean-hero-card img {
  width: 100%;
  height: min(46vh, 430px);
  border-radius: 20px;
  object-fit: cover;
}

.clean-hero-card figcaption {
  margin: 14px 6px 4px;
  color: var(--clean-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-entry-section,
.helper-section {
  padding-block: 88px;
}

.clean-section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.clean-section-heading h2 {
  margin: 12px 0 0;
  color: var(--clean-ink);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: none;
}

.home-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-entry-card {
  display: grid;
  min-height: 300px;
  align-content: start;
  gap: 18px;
  border: 1px solid var(--clean-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  padding: 26px;
  box-shadow: 0 18px 48px rgba(31, 42, 36, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-entry-card:hover {
  border-color: rgba(44, 94, 67, 0.36);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(31, 42, 36, 0.1);
}

.home-entry-card svg,
.helper-summary svg,
.recording-card svg {
  width: 34px;
  height: 34px;
  color: var(--clean-green);
  stroke-width: 1.8;
}

.entry-number {
  color: var(--clean-orange);
  font-size: 13px;
  font-weight: 900;
}

.home-entry-card strong {
  color: var(--clean-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.home-entry-card small {
  color: var(--clean-muted);
  font-size: 15px;
  line-height: 1.75;
}

.clean-footer {
  border-top: 1px solid rgba(44, 94, 67, 0.16);
  background: transparent;
}

.clean-footer .footer-bottom {
  border-top: 0;
  color: var(--clean-muted);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.clean-footer a:hover {
  color: var(--clean-green);
}

.helper-hero {
  padding-top: calc(var(--header-height) + 76px);
  padding-bottom: 72px;
}

.helper-summary,
.helper-module,
.recording-card,
.helper-quote,
.helper-checklist {
  border: 1px solid var(--clean-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(31, 42, 36, 0.06);
}

.helper-summary {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.helper-summary strong {
  font-size: 22px;
}

.helper-summary p {
  margin: 0;
  color: var(--clean-muted);
  line-height: 1.8;
}

.helper-module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.helper-module {
  padding: 24px;
}

.helper-module span {
  color: var(--clean-orange);
  font-weight: 900;
}

.helper-module h3,
.recording-card h3 {
  margin: 16px 0 0;
  color: var(--clean-ink);
  font-size: 21px;
  line-height: 1.35;
}

.helper-module p,
.recording-card p,
.helper-checklist p {
  margin: 12px 0 0;
  color: var(--clean-muted);
  line-height: 1.78;
}

.helper-writing,
.helper-sample {
  background: rgba(232, 241, 235, 0.6);
}

.helper-two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 62px;
  align-items: start;
}

.helper-checklist {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 6px 28px;
}

.helper-checklist li {
  padding: 22px 0;
  border-bottom: 1px solid var(--clean-line);
}

.helper-checklist li:last-child {
  border-bottom: 0;
}

.helper-checklist strong {
  color: var(--clean-green);
  font-size: 18px;
}

.recording-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.recording-card {
  padding: 26px;
}

.helper-quote {
  margin: 0;
  padding: 34px;
  color: var(--clean-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.8;
}

@media (max-width: 1180px) {
  .home-entry-grid,
  .recording-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .clean-nav {
    border-bottom: 1px solid rgba(44, 94, 67, 0.16);
    background: rgba(250, 246, 240, 0.98);
  }

  .clean-nav a,
  .clean-nav .nav-cta {
    border-top: 1px solid rgba(44, 94, 67, 0.16);
    color: var(--clean-muted);
  }

  .clean-nav .nav-cta {
    background: var(--clean-green);
    color: #fff;
  }

  .clean-hero-layout,
  .helper-hero-layout,
  .helper-two-column {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .clean-hero h1,
  .helper-hero h1 {
    font-size: 52px;
  }

  .helper-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .clean-hero,
  .helper-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 52px;
  }

  .clean-hero h1,
  .helper-hero h1 {
    font-size: 38px;
  }

  .clean-hero-copy > p:last-child,
  .helper-hero-copy > p:last-child,
  .clean-section-heading > p:last-child {
    font-size: 16px;
  }

  .home-entry-section,
  .helper-section {
    padding-block: 64px;
  }

  .clean-section-heading h2 {
    font-size: 32px;
  }

  .home-entry-grid,
  .helper-module-grid,
  .recording-grid {
    grid-template-columns: 1fr;
  }

  .home-entry-card {
    min-height: 0;
    padding: 22px;
  }

  .clean-hero-card img {
    height: 260px;
  }

  .home-entry-card strong {
    font-size: 22px;
  }

  .helper-summary,
  .helper-module,
  .recording-card,
  .helper-quote {
    border-radius: 20px;
    padding: 22px;
  }

  .helper-checklist {
    padding-inline: 22px;
  }

  .helper-quote {
    font-size: 18px;
  }
}

/* Mission-control visual system */
.mission-site {
  color-scheme: light;
  --mission-bg: #f6f7f4;
  --mission-panel: rgba(255, 255, 255, 0.78);
  --mission-ink: #151b1d;
  --mission-muted: #637071;
  --mission-line: #d9dfdc;
  --mission-accent: #bf4f35;
  --mission-accent-soft: #f3dfd8;
  --mission-green: #204b3d;
  --mission-green-soft: #e5eee9;
  --mission-code: #536161;
  background:
    linear-gradient(90deg, rgba(21, 27, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 27, 29, 0.035) 1px, transparent 1px),
    var(--mission-bg);
  background-size: 72px 72px;
  color: var(--mission-ink);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mission-site .skip-link {
  border: 1px solid var(--mission-green);
  border-radius: 999px;
  background: #fff;
  color: var(--mission-green);
  box-shadow: none;
}

.mission-header {
  border-bottom: 1px solid var(--mission-line);
  background: rgba(246, 247, 244, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mission-header.is-scrolled {
  background: rgba(246, 247, 244, 0.98);
}

.mission-brand {
  border-right: 1px solid var(--mission-line);
  color: var(--mission-ink);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: none;
}

.mission-brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.mission-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--mission-green);
  border-radius: 999px;
}

.mission-mark::before,
.mission-mark::after {
  position: absolute;
  inset: 7px -4px;
  border-top: 2px solid var(--mission-accent);
  border-radius: 50%;
  content: "";
  transform: rotate(-26deg);
}

.mission-mark::after {
  inset: 10px 2px;
  border-color: var(--mission-green);
  transform: rotate(28deg);
}

.mission-mark span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mission-accent);
}

.mission-nav a {
  min-width: 112px;
  border-left: 1px solid var(--mission-line);
  color: var(--mission-muted);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.mission-nav a:hover,
.mission-nav a[aria-current="page"] {
  background: var(--mission-green-soft);
  color: var(--mission-green);
}

.mission-nav .nav-cta {
  background: var(--mission-green);
  color: #fff;
}

.mission-nav .nav-cta:hover {
  background: var(--mission-accent);
  color: #fff;
}

.mission-menu-button {
  border-left: 1px solid var(--mission-line);
  background: var(--mission-green);
  color: #fff;
}

.mission-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 68px);
  padding-bottom: 86px;
}

.mission-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 20%, rgba(191, 79, 53, 0.11), transparent 28%),
    radial-gradient(circle at 18% 10%, rgba(32, 75, 61, 0.1), transparent 26%);
}

.mission-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  gap: 72px;
  align-items: center;
}

.mission-copy {
  max-width: 980px;
}

.mission-kicker {
  margin: 0;
  color: var(--mission-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mission-copy h1,
.mission-status h1,
.mission-section-heading h1,
.mission-section-heading h2,
.mission-article h1 {
  margin: 18px 0 0;
  color: var(--mission-ink);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 62px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: none;
  text-wrap: balance;
}

.mission-copy p:last-child,
.mission-status > p,
.mission-section-heading > p,
.mission-article > p,
.mission-article p {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--mission-muted);
  font-size: 18px;
  line-height: 1.85;
}

.mission-logo-panel {
  display: grid;
  gap: 26px;
  border: 1px solid var(--mission-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  padding: 34px;
  box-shadow: 0 24px 80px rgba(21, 27, 29, 0.08);
}

.mission-logo-asset {
  width: min(100%, 340px);
  height: auto;
  justify-self: center;
  object-fit: contain;
}

.mission-emblem {
  position: relative;
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  border: 1px solid var(--mission-line);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(229, 238, 233, 0.62));
}

.orbit {
  position: absolute;
  width: 210px;
  height: 66px;
  border-top: 2px solid var(--mission-accent);
  border-radius: 50%;
  transform: rotate(-26deg);
}

.orbit-two {
  width: 150px;
  height: 108px;
  border-color: var(--mission-green);
  transform: rotate(38deg);
}

.emblem-core {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 999px;
  background: var(--mission-green);
  color: #fff;
  font-size: 46px;
  font-weight: 900;
}

.mission-logo-panel strong {
  display: block;
  font-size: 32px;
  letter-spacing: 0.08em;
}

.mission-logo-panel p {
  margin: 8px 0 0;
  color: var(--mission-muted);
  font-size: 14px;
  font-weight: 800;
}

.mission-index,
.mission-tool-page,
.mission-blog {
  padding-top: 72px;
}

.mission-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.mission-section-heading h1,
.mission-section-heading h2 {
  font-size: 42px;
}

.mission-card-grid,
.mission-tool-list,
.mission-post-list {
  display: grid;
  gap: 14px;
}

.mission-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mission-card,
.mission-tool-item,
.mission-post {
  border: 1px solid var(--mission-line);
  border-radius: 22px;
  background: var(--mission-panel);
  box-shadow: 0 18px 52px rgba(21, 27, 29, 0.055);
}

.mission-card {
  display: grid;
  min-height: 276px;
  align-content: start;
  gap: 18px;
  padding: 26px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.mission-card:hover,
.mission-tool-item:hover,
.mission-post:hover {
  border-color: rgba(32, 75, 61, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 24px 68px rgba(21, 27, 29, 0.08);
}

.mission-card span {
  color: var(--mission-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mission-card svg,
.mission-tool-item svg {
  width: 32px;
  height: 32px;
  color: var(--mission-green);
  stroke-width: 1.8;
}

.mission-card strong,
.mission-tool-item strong,
.mission-post h2 {
  color: var(--mission-ink);
  font-size: 23px;
  line-height: 1.35;
}

.mission-card small,
.mission-tool-item span,
.mission-post p,
.mission-post time {
  color: var(--mission-muted);
  font-size: 15px;
  line-height: 1.75;
}

.mission-simple-page {
  padding-top: var(--header-height);
}

.mission-status,
.mission-article {
  padding-top: 96px;
  padding-bottom: 96px;
}

.mission-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--mission-green);
  font-weight: 900;
}

.mission-link svg {
  width: 18px;
  height: 18px;
}

.mission-tool-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-tool-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 24px;
}

.mission-tool-item svg {
  grid-row: 1 / 3;
}

.mission-tool-item strong {
  font-size: 20px;
}

.mission-post {
  padding: 28px;
}

.mission-post h2 {
  margin: 12px 0 0;
}

.mission-post p {
  max-width: 720px;
  margin: 12px 0 0;
}

.mission-article {
  max-width: 860px;
}

.mission-article h2 {
  margin: 46px 0 0;
  font-size: 28px;
}

.mission-footer {
  border-top: 1px solid var(--mission-line);
  background: transparent;
}

.mission-footer .footer-bottom {
  border-top: 0;
  color: var(--mission-muted);
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.mission-footer a:hover {
  color: var(--mission-green);
}

@media (max-width: 1180px) {
  .mission-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .mission-nav {
    border-bottom: 1px solid var(--mission-line);
    background: rgba(246, 247, 244, 0.98);
  }

  .mission-nav a,
  .mission-nav .nav-cta {
    border-top: 1px solid var(--mission-line);
    color: var(--mission-muted);
  }

  .mission-nav .nav-cta {
    background: var(--mission-green);
    color: #fff;
  }

  .mission-hero-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .mission-copy h1,
  .mission-status h1,
  .mission-article h1 {
    font-size: 48px;
  }

  .mission-tool-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mission-hero {
    padding-top: calc(var(--header-height) + 44px);
    padding-bottom: 60px;
  }

  .mission-copy h1,
  .mission-status h1,
  .mission-article h1 {
    font-size: 34px;
  }

  .mission-copy p:last-child,
  .mission-status > p,
  .mission-section-heading > p,
  .mission-article p {
    font-size: 16px;
  }

  .mission-card-grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: 0;
    padding: 22px;
  }

  .mission-logo-panel {
    padding: 24px;
  }

  .mission-emblem {
    width: 150px;
    height: 150px;
  }

  .orbit {
    width: 174px;
  }

  .orbit-two {
    width: 128px;
  }

  .emblem-core {
    width: 70px;
    height: 70px;
    font-size: 38px;
  }
}

/* Orbital command reference pass */
.mission-site {
  color-scheme: dark;
  --mission-bg: #070b0f;
  --mission-panel: rgba(13, 25, 31, 0.88);
  --mission-panel-strong: rgba(16, 31, 39, 0.96);
  --mission-ink: #e7eef0;
  --mission-muted: #8ea0a5;
  --mission-line: rgba(112, 232, 247, 0.22);
  --mission-accent: #6ee7f2;
  --mission-accent-soft: rgba(110, 231, 242, 0.14);
  --mission-green: #8ce7ad;
  --mission-green-soft: rgba(140, 231, 173, 0.14);
  --mission-code: #a4b6bb;
  background:
    linear-gradient(90deg, rgba(110, 231, 242, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(110, 231, 242, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% -5%, rgba(110, 231, 242, 0.16), transparent 30%),
    radial-gradient(circle at 14% 0%, rgba(140, 231, 173, 0.1), transparent 26%),
    var(--mission-bg);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  color: var(--mission-ink);
}

.mission-site::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 11, 15, 0.12), rgba(7, 11, 15, 0.84)),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.13), transparent 12%),
    radial-gradient(ellipse at 52% -11%, rgba(60, 102, 126, 0.48), transparent 28%);
  content: "";
}

.mission-site .skip-link {
  border: 1px solid var(--mission-accent);
  background: var(--mission-panel-strong);
  color: var(--mission-accent);
}

.mission-header {
  border-bottom: 1px solid var(--mission-line);
  background: rgba(7, 11, 15, 0.92);
}

.mission-header.is-scrolled {
  background: rgba(7, 11, 15, 0.97);
}

.mission-brand {
  border-right: 1px solid var(--mission-line);
  color: var(--mission-ink);
}

.mission-brand-logo {
  filter: drop-shadow(0 0 10px rgba(110, 231, 242, 0.22));
}

.mission-nav a {
  border-left: 1px solid var(--mission-line);
  color: var(--mission-muted);
  font-family: var(--mono);
  font-size: 12px;
}

.mission-nav a:hover,
.mission-nav a[aria-current="page"] {
  background: rgba(110, 231, 242, 0.1);
  color: var(--mission-accent);
}

.mission-nav .nav-cta {
  background: var(--mission-accent-soft);
  color: var(--mission-accent);
}

.mission-nav .nav-cta:hover {
  background: var(--mission-accent);
  color: #071015;
}

.mission-menu-button {
  border-left: 1px solid var(--mission-line);
  background: var(--mission-panel-strong);
  color: var(--mission-accent);
}

.mission-hero {
  border-bottom: 1px solid var(--mission-line);
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 92px;
}

.mission-grid-bg {
  background:
    linear-gradient(180deg, rgba(7, 11, 15, 0.18), rgba(7, 11, 15, 0.72)),
    radial-gradient(ellipse at 50% -6%, rgba(94, 152, 190, 0.52), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(110, 231, 242, 0.12), transparent 26%);
}

.mission-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
}

.mission-kicker {
  color: var(--mission-accent);
  font-family: var(--mono);
}

.mission-copy h1,
.mission-status h1,
.mission-section-heading h1,
.mission-section-heading h2,
.mission-article h1 {
  color: var(--mission-ink);
}

.mission-copy p:last-child,
.mission-status > p,
.mission-section-heading > p,
.mission-article > p,
.mission-article p {
  color: var(--mission-muted);
}

.mission-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 620px;
  margin: 34px 0 0;
  border: 1px solid var(--mission-line);
  border-radius: 6px;
  background: rgba(7, 15, 20, 0.72);
}

.mission-telemetry div {
  padding: 14px 16px;
  border-right: 1px solid var(--mission-line);
}

.mission-telemetry div:last-child {
  border-right: 0;
}

.mission-telemetry dt {
  color: var(--mission-muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mission-telemetry dd {
  margin: 6px 0 0;
  color: var(--mission-accent);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.mission-telemetry div:last-child dd {
  color: var(--mission-green);
  font-size: 15px;
}

.mission-logo-panel,
.mission-card,
.mission-tool-item,
.mission-post {
  border: 1px solid var(--mission-line);
  border-radius: 6px;
  background: var(--mission-panel);
  box-shadow: none;
}

.mission-logo-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.mission-logo-panel::before,
.mission-card::before,
.mission-tool-item::before,
.mission-post::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--mission-green);
  content: "";
}

.mission-logo-asset {
  width: min(100%, 300px);
  filter: drop-shadow(0 0 24px rgba(110, 231, 242, 0.16));
}

.mission-logo-panel p {
  color: var(--mission-muted);
  font-family: var(--mono);
}

.mission-index,
.mission-tool-page,
.mission-blog {
  padding-top: 58px;
}

.mission-card,
.mission-tool-item,
.mission-post {
  position: relative;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.mission-card:hover,
.mission-tool-item:hover,
.mission-post:hover {
  border-color: rgba(110, 231, 242, 0.64);
  background: rgba(14, 31, 40, 0.96);
  box-shadow: none;
  transform: translateY(-2px);
}

.mission-card span {
  color: var(--mission-green);
  font-family: var(--mono);
}

.mission-card svg,
.mission-tool-item svg {
  color: var(--mission-accent);
}

.mission-card strong,
.mission-tool-item strong,
.mission-post h2,
.mission-post h2 a {
  color: var(--mission-ink);
}

.mission-card small,
.mission-tool-item span,
.mission-post p,
.mission-post time {
  color: var(--mission-muted);
}

.mission-link {
  color: var(--mission-accent);
}

.mission-footer {
  border-top: 1px solid var(--mission-line);
  background: rgba(7, 11, 15, 0.74);
}

.mission-footer .footer-bottom {
  color: var(--mission-muted);
}

.mission-footer a:hover {
  color: var(--mission-accent);
}

@media (max-width: 920px) {
  .mission-nav {
    border-bottom: 1px solid var(--mission-line);
    background: rgba(7, 11, 15, 0.98);
  }

  .mission-nav a,
  .mission-nav .nav-cta {
    border-top: 1px solid var(--mission-line);
    color: var(--mission-muted);
  }

  .mission-nav .nav-cta {
    background: var(--mission-accent-soft);
    color: var(--mission-accent);
  }
}

@media (max-width: 640px) {
  .mission-telemetry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-telemetry div:nth-child(2) {
    border-right: 0;
  }

  .mission-telemetry div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mission-line);
  }
}

/* White mission pass */
.mission-site {
  color-scheme: light;
  --mission-bg: #ffffff;
  --mission-panel: rgba(255, 255, 255, 0.94);
  --mission-panel-strong: #ffffff;
  --mission-ink: #101719;
  --mission-muted: #667276;
  --mission-line: rgba(15, 38, 42, 0.14);
  --mission-accent: #1f8a93;
  --mission-accent-soft: rgba(31, 138, 147, 0.1);
  --mission-green: #236852;
  --mission-green-soft: rgba(35, 104, 82, 0.1);
  --mission-code: #56666a;
  background:
    linear-gradient(90deg, rgba(15, 38, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 38, 42, 0.035) 1px, transparent 1px),
    #ffffff;
  background-size: 72px 72px;
  color: var(--mission-ink);
}

.mission-site::before {
  background:
    radial-gradient(circle at 78% 8%, rgba(31, 138, 147, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), #ffffff 66%);
}

.mission-header {
  background: rgba(255, 255, 255, 0.94);
}

.mission-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
}

.mission-nav a:hover,
.mission-nav a[aria-current="page"],
.mission-nav .nav-cta {
  background: var(--mission-accent-soft);
  color: var(--mission-accent);
}

.mission-nav .nav-cta:hover {
  background: var(--mission-accent);
  color: #ffffff;
}

.mission-hero {
  background: transparent;
}

.mission-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
}

.mission-copy {
  max-width: 820px;
}

.mission-audience {
  padding-top: 56px;
  padding-bottom: 8px;
}

.mission-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mission-audience-card {
  display: grid;
  gap: 14px;
  min-height: 210px;
  border: 1px solid var(--mission-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  padding: 24px;
  box-shadow: 0 16px 44px rgba(16, 23, 25, 0.04);
}

.mission-audience-card svg {
  width: 30px;
  height: 30px;
  color: var(--mission-accent);
  stroke-width: 1.8;
}

.mission-audience-card strong {
  color: var(--mission-ink);
  font-size: 21px;
  line-height: 1.35;
}

.mission-audience-card p {
  margin: 0;
  color: var(--mission-muted);
  font-size: 15px;
  line-height: 1.75;
}

.mission-latest-panel {
  align-self: center;
  border-left: 1px solid var(--mission-line);
  padding-left: 34px;
}

.mission-latest-panel h2 {
  margin: 12px 0 20px;
  color: var(--mission-ink);
  font-size: 28px;
  line-height: 1.25;
}

.mission-latest-item {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--mission-line);
  border-bottom: 1px solid var(--mission-line);
  padding: 18px 0;
}

.mission-latest-item time,
.mission-latest-item span {
  color: var(--mission-muted);
  font-size: 13px;
  line-height: 1.65;
}

.mission-latest-item time {
  font-family: var(--mono);
  font-weight: 900;
}

.mission-latest-item strong {
  color: var(--mission-ink);
  font-size: 18px;
  line-height: 1.45;
}

.mission-latest-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--mission-accent);
  font-size: 14px;
  font-weight: 900;
}

.mission-latest-link svg {
  width: 16px;
  height: 16px;
}

.mission-card-audience {
  align-self: start;
  color: var(--mission-accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.45;
}

.mission-card-action {
  align-self: end;
  margin-top: 8px;
  color: var(--mission-green);
  font-size: 14px;
  line-height: 1.45;
}

.mission-grid-bg {
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 138, 147, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(246, 250, 250, 0.72), rgba(255, 255, 255, 0.9));
}

.mission-telemetry,
.mission-logo-panel,
.mission-card,
.mission-tool-item,
.mission-post {
  background: var(--mission-panel);
  box-shadow: 0 18px 54px rgba(16, 23, 25, 0.055);
}

.mission-post-question {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  border-top: 1px solid var(--mission-line);
  padding-top: 16px;
  color: var(--mission-green);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.mission-post-question svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--mission-accent);
}

.mission-comment-box {
  margin-top: 40px;
  border: 1px solid var(--mission-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  padding: 28px;
  box-shadow: 0 18px 54px rgba(16, 23, 25, 0.045);
}

.mission-comment-box h2 {
  margin: 12px 0 0;
  color: var(--mission-ink);
  font-size: 28px;
  line-height: 1.3;
}

.mission-comment-box p {
  max-width: 760px;
  color: var(--mission-muted);
  font-size: 16px;
  line-height: 1.75;
}

.mission-comment-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.mission-comment-prompts span {
  border: 1px solid rgba(31, 138, 147, 0.2);
  border-radius: 999px;
  background: rgba(31, 138, 147, 0.06);
  padding: 8px 12px;
  color: var(--mission-accent);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.mission-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.mission-copy-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 22px;
  border: 1px solid rgba(31, 138, 147, 0.28);
  border-radius: 999px;
  background: rgba(31, 138, 147, 0.08);
  padding: 0 18px;
  color: var(--mission-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.mission-copy-button:hover {
  background: rgba(31, 138, 147, 0.12);
}

.mission-copy-button svg {
  width: 16px;
  height: 16px;
}

.mission-copy-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--mission-green);
  font-size: 14px;
  font-weight: 800;
}

.mission-copy-template {
  margin: 18px 0 0;
  border: 1px solid var(--mission-line);
  border-radius: 6px;
  background: rgba(246, 250, 250, 0.8);
  padding: 14px;
  color: var(--mission-ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.mission-logo-panel::before,
.mission-card::before,
.mission-tool-item::before,
.mission-post::before {
  background: var(--mission-accent);
}

.mission-card:hover {
  border-color: rgba(31, 138, 147, 0.22);
  background-color: rgba(31, 138, 147, 0.045);
  background-image: none;
  box-shadow: 0 18px 50px rgba(16, 23, 25, 0.045);
  transform: translateY(-2px);
}

.mission-post:hover,
.mission-tool-item:hover {
  border-color: rgba(31, 138, 147, 0.18);
  background-color: rgba(31, 138, 147, 0.035);
  background-image: none;
  box-shadow: 0 18px 50px rgba(16, 23, 25, 0.04);
  transform: translateY(-2px);
}

.mission-game-hero {
  padding-bottom: 34px;
}

.mission-game-list {
  padding-bottom: 96px;
}

.mission-game-card {
  display: grid;
  gap: 28px;
  border: 1px solid var(--mission-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  box-shadow: 0 18px 54px rgba(16, 23, 25, 0.045);
}

.mission-game-card h2 {
  margin: 12px 0 0;
  color: var(--mission-ink);
  font-size: 36px;
  line-height: 1.25;
}

.mission-game-card p {
  max-width: 780px;
  color: var(--mission-muted);
  font-size: 16px;
  line-height: 1.8;
}

.mission-game-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--mission-line);
  border-radius: 6px;
  overflow: hidden;
}

.mission-game-facts div {
  padding: 16px;
  border-right: 1px solid var(--mission-line);
}

.mission-game-facts div:last-child {
  border-right: 0;
}

.mission-game-facts dt {
  color: var(--mission-muted);
  font-size: 12px;
  font-weight: 900;
}

.mission-game-facts dd {
  margin: 8px 0 0;
  color: var(--mission-accent);
  font-size: 18px;
  font-weight: 900;
}

.mission-game-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  border-left: 3px solid rgba(31, 138, 147, 0.3);
  background: rgba(31, 138, 147, 0.045);
  padding: 16px;
}

.mission-game-note svg {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--mission-accent);
}

.mission-game-note p {
  margin: 0;
  font-size: 14px;
}

.mission-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.mission-game-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid rgba(31, 138, 147, 0.26);
  border-radius: 999px;
  background: rgba(31, 138, 147, 0.09);
  padding: 0 20px;
  color: var(--mission-accent);
  font-weight: 900;
}

.mission-game-primary:hover {
  background: rgba(31, 138, 147, 0.13);
}

.mission-game-primary svg {
  width: 17px;
  height: 17px;
}

.mission-logo-asset,
.mission-brand-logo {
  filter: none;
}

.mission-footer {
  background: #ffffff;
}

@media (max-width: 920px) {
  .mission-nav {
    background: rgba(255, 255, 255, 0.98);
  }

  .mission-nav .nav-cta {
    background: var(--mission-accent-soft);
    color: var(--mission-accent);
  }

  .mission-hero-layout {
    grid-template-columns: 1fr;
  }

  .mission-audience-grid {
    grid-template-columns: 1fr;
  }

  .mission-game-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-game-facts div:nth-child(2) {
    border-right: 0;
  }

  .mission-game-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mission-line);
  }

  .mission-latest-panel {
    border-top: 1px solid var(--mission-line);
    border-left: 0;
    padding-top: 28px;
    padding-left: 0;
  }
}
