:root {
  --ink: #1c1712;
  --muted: #6b5d4f;
  --line: #e2d4c2;
  --canvas: #f3eadc;
  --surface: #fffaf2;
  --mint: #f0c27a;
  --mint-strong: #b45a1e;
  --yellow: #e39b2d;
  --coral: #d45b4a;
  --blue: #3f6d8a;
  --shadow: 0 18px 40px rgba(48, 28, 10, 0.12);
  --shell: 1120px;
  --display: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

/* Resource downloads */
.resource-hero {
  overflow: hidden;
  padding: 76px 0 52px;
  background: color-mix(in srgb, var(--mint) 28%, var(--canvas));
  border-bottom: 1px solid var(--line);
}

.resource-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  min-height: 360px;
  align-items: center;
  gap: 56px;
}

.resource-hero-copy {
  max-width: 720px;
}

.resource-hero-copy h1 {
  max-width: 680px;
  margin: 10px 0 20px;
  color: var(--ink);
  font-size: 64px;
  line-height: 1.04;
}

.resource-hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.resource-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.resource-hero-stats div {
  display: grid;
  gap: 3px;
}

.resource-hero-stats dt,
.resource-hero-stats dd {
  margin: 0;
}

.resource-hero-stats dt {
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
}

.resource-hero-stats dd {
  color: var(--muted);
  font-size: 13px;
}

.resource-hero-media {
  position: relative;
  min-height: 330px;
}

.resource-hero-media img {
  position: absolute;
  width: 230px;
  height: 230px;
  object-fit: contain;
}

.resource-hero-media img:first-child {
  top: 0;
  left: 0;
}

.resource-hero-media img:last-child {
  right: 0;
  bottom: 0;
}

.resource-preview {
  padding: 78px 0 24px;
  background: var(--surface);
}

.resource-preview-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 60px;
}

.resource-preview-heading h2 {
  margin: 8px 0 0;
  font-size: 38px;
}

.resource-preview-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.resource-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resource-preview-block {
  min-width: 0;
  padding: 30px 34px 32px 0;
}

.resource-preview-block + .resource-preview-block {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.resource-preview-type,
.resource-preview-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.resource-preview-type {
  margin: 0;
}

.resource-preview-block h3 {
  margin: 8px 0 24px;
  font-size: 23px;
}

.word-preview-list,
.theater-preview-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.word-preview-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 12px 14px;
  background: var(--canvas);
  border-radius: 0;
}

.word-preview-list span,
.theater-preview-list span {
  color: var(--mint-strong);
  font-size: 12px;
  font-weight: 900;
}

.word-preview-list q {
  color: var(--ink);
  line-height: 1.55;
}

.theater-preview-list li {
  padding: 12px 14px;
  background: var(--canvas);
  border-radius: 0;
}

.theater-preview-list p {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  line-height: 1.55;
}

.theater-preview-list p + p {
  margin-top: 8px;
}

.resource-preview-meta {
  margin: 20px 0 0;
  line-height: 1.65;
}

.resource-catalog {
  padding: 76px 0 92px;
}

.resource-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.resource-catalog-heading h2 {
  margin: 8px 0 0;
  font-size: 38px;
}

.resource-filters {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: var(--canvas);
  border: 1px solid var(--ink);
  border-radius: 0;
}

.resource-filters button {
  min-height: 38px;
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.resource-filters button.is-active {
  color: var(--mint-strong);
  background: var(--surface);
  border-color: var(--line);
  font-weight: 700;
}

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

.resource-pack-card {
  display: grid;
  min-height: 218px;
  grid-template-rows: auto 1fr auto;
  gap: 17px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 0;
}

.resource-pack-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.resource-pack-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.resource-pack-category {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--mint-strong);
  background: color-mix(in srgb, var(--mint) 32%, var(--surface));
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}

.resource-pack-category[data-category="theater-scripts"] {
  color: #844722;
  background: #f7ece5;
}

.resource-pack-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.resource-pack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.resource-pack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  color: var(--muted);
  font-size: 12px;
}

.resource-state {
  display: grid;
  min-height: 220px;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.resource-state[hidden] {
  display: none;
}

.resource-state-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--mint-strong);
  background: color-mix(in srgb, var(--mint) 32%, var(--surface));
  border-radius: 0;
  font-weight: 800;
}

.resource-state p {
  margin: 0;
}

.resource-import-note {
  padding: 30px 0 58px;
  background: var(--canvas);
  border-top: 1px solid var(--line);
}

.resource-import-note-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.resource-import-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.resource-import-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

[data-theme="dark"] .resource-hero {
  background: color-mix(in srgb, var(--mint) 18%, var(--canvas));
}

[data-theme="dark"] .resource-pack-category {
  color: var(--mint-strong);
  background: color-mix(in srgb, var(--mint) 28%, var(--surface));
}

[data-theme="dark"] .resource-pack-category[data-category="theater-scripts"] {
  color: #e9b68e;
  background: #442d23;
}

@media (max-width: 800px) {
  .resource-hero {
    padding: 54px 0 34px;
  }

  .resource-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
  }

  .resource-hero-copy h1 {
    font-size: 44px;
  }

  .resource-hero-media {
    min-height: 170px;
  }

  .resource-hero-media img {
    width: 160px;
    height: 160px;
  }

  .resource-preview {
    padding-top: 54px;
  }

  .resource-preview-heading,
  .resource-preview-grid {
    grid-template-columns: 1fr;
  }

  .resource-preview-heading {
    gap: 18px;
  }

  .resource-preview-heading h2 {
    font-size: 31px;
  }

  .resource-preview-block,
  .resource-preview-block + .resource-preview-block {
    padding: 26px 0;
    border-left: 0;
  }

  .resource-preview-block + .resource-preview-block {
    border-top: 1px solid var(--line);
  }

  .resource-catalog {
    padding: 54px 0 64px;
  }

  .resource-catalog-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-catalog-heading h2 {
    font-size: 31px;
  }

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

  .resource-pack-card-footer,
  .resource-import-note-inner {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .resource-pack-card-footer {
    flex-direction: column;
  }

  .resource-pack-card-footer .button,
  .resource-import-note .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .resource-hero-stats {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .resource-filters {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .resource-filters button {
    white-space: normal;
  }

  .resource-pack-card-header {
    align-items: start;
    flex-direction: column;
  }
}

:root[data-theme='dark'] {
  --ink: #f6ead6;
  --muted: #c3b19a;
  --line: #4a3d30;
  --canvas: #16120e;
  --surface: #221c16;
  --mint: #5a3a16;
  --mint-strong: #f0b35a;
  --yellow: #f0b35a;
  --coral: #ef7a66;
  --blue: #8bb4d0;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 70%, var(--canvas)), var(--canvas) 18%);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

.site-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-130%);
  padding: 8px 12px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--yellow);
}

.header-actions {
  display: flex;
  gap: 6px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--mint-strong);
  color: var(--mint-strong);
}

.menu-button {
  display: none;
}

.hero {
  overflow: hidden;
  min-height: min(640px, calc(100svh - 140px));
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--mint) 55%, var(--canvas)) 0%, var(--canvas) 58%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  min-height: min(640px, calc(100svh - 140px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding-top: 58px;
  padding-bottom: 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--mint-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--mint-strong);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 0;
}

.hero h1,
.section-heading h2,
.intro-copy h2,
.modes h2,
.journal h2,
.article-hero h1,
.archive-head h1,
.companion-story-heading h2,
.client-showcase-heading h2,
.download-band h2,
.download-hero h1,
.download-section-heading h2,
.resource-hero-copy h1,
.resource-preview-heading h2,
.resource-catalog-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  font-size: 72px;
}

.hero-lead {
  max-width: 500px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--mint-strong);
  color: var(--canvas);
}

.button-secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-notes span::before {
  content: "•";
  margin-right: 6px;
  color: var(--coral);
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding: 8px 44px 38px 0;
}

.hero-desk {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 10px 10px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.hero-desk img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 30 / 19;
  object-fit: cover;
  object-position: center 62%;
}

.hero-phone {
  position: absolute;
  z-index: 2;
  right: -8px;
  bottom: 4px;
  width: min(28%, 148px);
  margin: 0;
  transform: rotate(5deg);
}

.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  background: transparent;
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.hero-phone figcaption,
.hero-stage-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-phone figcaption {
  position: absolute;
  left: 0;
  right: -12px;
  bottom: -26px;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.hero-stage-caption {
  max-width: 62%;
  margin-top: 16px;
  text-align: left;
}

.companion-story {
  padding: 108px 0 94px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.companion-story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
  gap: 72px;
  align-items: end;
}

.companion-story-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}

.companion-story-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.companion-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1.25fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.companion-flow article {
  position: relative;
  min-height: 320px;
  padding: 34px 0 30px;
}

.companion-flow article > span {
  position: absolute;
  top: 22px;
  left: 0;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.companion-flow article > img,
.companion-pair {
  display: block;
  width: 160px;
  height: 160px;
  margin: 8px auto 10px;
}

.companion-flow article > img {
  object-fit: contain;
}

.companion-flow > i {
  align-self: center;
  color: var(--mint-strong);
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.companion-flow h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.companion-flow p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.companion-pair {
  position: relative;
}

.companion-pair img {
  position: absolute;
  bottom: 0;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.companion-pair img:first-child {
  right: 0;
}

.companion-pair img:last-child {
  left: -4px;
}

.companion-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  color: #4d695e;
  font-size: 13px;
  font-weight: 700;
}

.companion-facts span::before {
  content: "•";
  margin-right: 7px;
  color: var(--coral);
}

.fish-story {
  padding: 108px 0 94px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.fish-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: 72px;
  align-items: center;
  margin-top: 60px;
}

.fish-proof {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #242424;
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.fish-proof img {
  display: block;
  width: 100%;
  height: auto;
}

.fish-steps {
  border-top: 1px solid var(--line);
}

.fish-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.fish-steps article > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.fish-steps h3,
.fish-steps p {
  margin: 0;
}

.fish-steps h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.fish-steps p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.fish-story-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-top: 31px;
}

.fish-story-footer .companion-facts {
  margin-top: 0;
}

.fish-accessibility {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.fish-story-footer .button {
  flex: 0 0 auto;
}

.intro-band {
  padding: 54px 0 116px;
  background: var(--surface);
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(320px, 1.35fr);
  gap: 80px;
  align-items: start;
}

.intro-copy .section-kicker {
  grid-column: 1;
  margin-top: 10px;
}

.intro-copy h2 {
  grid-column: 2;
  grid-row: 1;
  font-size: 42px;
}

.intro-copy > p:last-child {
  grid-column: 2;
  margin: -24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.features,
.pet-gallery,
.journal {
  padding: 108px 0;
}

.features {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 650px;
}

.section-heading h2,
.modes h2,
.journal h2 {
  font-size: 46px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-height: 352px;
  padding: 29px 30px 33px 0;
}

.feature:not(:nth-child(3n + 1)) {
  padding-left: 31px;
  border-left: 1px solid var(--line);
}

.feature:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.feature-index {
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

.feature-media {
  display: flex;
  min-height: 120px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.feature-media img {
  display: block;
  width: 112px;
  height: 112px;
  margin-top: -7px;
  object-fit: contain;
}

.feature h3 {
  margin: 25px 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

.feature p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
}

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

.play-grid .feature {
  min-height: 0;
  padding: 29px 22px 33px 0;
}

.play-grid .feature:not(:nth-child(3n + 1)) {
  padding-left: 0;
  border-left: 0;
}

.play-grid .feature:not(:first-child) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.play-grid .feature:nth-child(n + 4) {
  border-top: 0;
}

.play-grid .feature p {
  max-width: none;
}

.client-showcase {
  padding: 108px 0 116px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--mint) 22%, var(--canvas));
}

:root[data-theme='dark'] .client-showcase {
  background: color-mix(in srgb, var(--mint) 28%, var(--canvas));
}

.client-showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.7fr);
  gap: 72px;
  align-items: end;
}

.client-showcase-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.client-showcase-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.client-tour {
  max-width: 1040px;
  margin: 54px 0 0;
}

.client-tour img,
.client-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.client-tour figcaption,
.client-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 13px;
}

.client-tour figcaption span,
.client-shot figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.client-tour figcaption strong,
.client-shot figcaption strong {
  font-size: 14px;
}

.client-shot figcaption i {
  margin-right: 8px;
  color: var(--coral);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.client-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 54px;
}

.client-shot {
  min-width: 0;
  margin: 0;
}

.client-shot img {
  aspect-ratio: 30 / 19;
  object-fit: cover;
  box-shadow: none;
}

.client-shot figcaption {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.shot-stage {
  display: grid;
  gap: 28px;
  margin-top: 54px;
}

.shot-row,
.shot-phones {
  display: grid;
  gap: 18px 16px;
}

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

.shot-phones {
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center;
  padding-top: 6px;
}

.shot {
  min-width: 0;
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  background: var(--surface);
  object-fit: cover;
}

.shot-lead img,
.shot-desk img {
  aspect-ratio: 30 / 19;
  object-position: center 58%;
}

.shot-phone img {
  background: transparent;
  object-fit: contain;
}

.shot figcaption {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.shot figcaption strong {
  font-size: 14px;
}

.shot figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.customize {
  padding: 108px 0 116px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.customize-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.customize-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.customize-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.customize-tabs {
  display: flex;
  gap: 5px;
  margin-top: 52px;
  padding-bottom: 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.customize-tab {
  min-width: max-content;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.customize-tab:hover,
.customize-tab:focus-visible {
  color: var(--ink);
  background: var(--canvas);
}

.customize-tab.is-active {
  background: var(--ink);
  color: var(--surface);
}

.customize-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(500px, 1.35fr);
  gap: 82px;
  align-items: center;
  margin-top: 48px;
}

.customize-copy {
  min-width: 0;
}

.customize-label {
  margin: 0 0 15px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.customize-copy h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
}

.customize-copy > p:not(.customize-label) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.customize-points {
  display: grid;
  gap: 11px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.customize-points li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.customize-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--mint-strong);
}

.customize-window {
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

:root[data-theme='dark'] .customize-window {
  background: #213129;
}

.customize-window-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.customize-window-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.customize-window-bar > span:nth-child(2) { background: var(--yellow); }
.customize-window-bar > span:nth-child(3) { background: var(--mint-strong); }

.customize-window-bar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.customize-pets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 30px 24px 22px;
}

.customize-pets figure {
  min-width: 0;
  margin: 0;
}

.customize-pets img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: color-mix(in srgb, var(--mint) 40%, var(--surface));
}

.customize-pets figure:nth-child(2) img { background: #f6dfa0; }
.customize-pets figure:nth-child(3) img { background: #f3c2b8; }

.customize-pets figcaption {
  overflow: hidden;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customize-window-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 2px;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.customize-switch {
  width: 36px;
  height: 20px;
  display: flex;
  justify-content: flex-end;
  padding: 3px;
  border-radius: 0;
  background: var(--mint-strong);
}

.customize-switch i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.download-band {
  padding: 82px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
  color: #1c1712;
}

.download-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.download-band .section-kicker {
  color: #704e12;
}

.download-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1.1;
}

.download-band p:last-child {
  margin: 16px 0 0;
  color: #5f4b25;
  font-weight: 700;
}

.download-band .button {
  flex: 0 0 auto;
}

.support-band {
  padding: 74px 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.support-inner {
  display: grid;
  gap: 34px;
}

.support-heading {
  display: grid;
  max-width: 760px;
  gap: 15px;
}

.support-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: 32px;
  line-height: 1.22;
}

.support-heading > p:last-child,
.support-option p,
.support-contact p {
  margin: 0;
  color: var(--muted);
}

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

.support-option {
  display: grid;
  min-width: 0;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.support-option span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.support-option strong {
  font-size: 19px;
  font-weight: 750;
}

.support-option p {
  font-size: 14px;
  line-height: 1.7;
}

.support-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

[data-xianyu-link][hidden] {
  display: none;
}

.download-hero {
  overflow: hidden;
  padding: 96px 0 82px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--mint) 55%, var(--canvas)) 0%, var(--canvas) 62%);
}

.download-hero-inner {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(500px, 1.22fr);
  gap: 78px;
  align-items: center;
}

.download-hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

.download-hero-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.download-version-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.download-version-line span::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: 1px;
}

.download-hero-media,
.download-hero-stage {
  margin: 0;
}

.download-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.download-hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.download-hero-stage {
  padding: 4px 40px 34px 0;
}

.download-hero-stage .hero-desk {
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.download-options {
  padding: 88px 0 72px;
  background: var(--surface);
}

.download-section-heading {
  max-width: 760px;
}

.download-section-heading h2,
.install-guide h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 48px;
  line-height: 1.08;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 54px;
}

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

.download-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--canvas);
}

.download-card-primary {
  border-top: 5px solid var(--mint-strong);
}

.download-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.platform-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.platform-mark-mac {
  background: var(--coral);
}

.platform-mark-android {
  background: #3d8b6e;
}

.download-card-heading p,
.download-card-heading h3 {
  margin: 0;
}

.download-card-heading p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.download-card-heading h3 {
  font-size: 24px;
  line-height: 1.2;
}

.download-card-copy {
  min-height: 82px;
  margin: 25px 0 0;
  color: var(--muted);
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-meta div {
  padding: 14px 6px;
}

.download-meta dt,
.download-meta dd {
  margin: 0;
}

.download-meta dt {
  color: var(--muted);
  font-size: 11px;
}

.download-meta dd {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 800;
}

.download-button {
  width: 100%;
}

.mac-downloads {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.mac-downloads a {
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 15px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
}

.mac-downloads a:hover,
.mac-downloads a:focus-visible {
  border-color: var(--mint-strong);
}

.mac-downloads a span {
  display: grid;
  gap: 2px;
}

.mac-downloads small {
  color: var(--muted);
}

.mac-downloads b {
  color: var(--mint-strong);
  font-size: 20px;
}

.checksum {
  margin-top: 21px;
  color: var(--muted);
  font-size: 12px;
}

.checksum summary {
  cursor: pointer;
  font-weight: 800;
}

.checksum code {
  display: block;
  margin-top: 10px;
  padding: 10px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 10px;
}

.checksum p {
  margin: 12px 0 -4px;
  font-weight: 800;
}

.download-faq {
  padding: 0 0 88px;
}

.download-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.download-faq-grid article {
  padding: 22px 22px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--canvas);
}

.download-faq-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.download-faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.install-guide {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

.install-guide-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(520px, 1.25fr);
  gap: 94px;
  align-items: start;
}

.install-guide-heading {
  position: sticky;
  top: 100px;
}

.install-guide-heading > p:last-child {
  max-width: 460px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.install-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.install-steps li > span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.install-steps h3,
.install-steps p {
  margin: 0;
}

.install-steps h3 {
  font-size: 23px;
}

.install-steps p {
  margin-top: 7px;
  color: var(--muted);
}

.download-xianyu {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: var(--page);
}

.download-xianyu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.download-xianyu h2 {
  margin: 6px 0 8px;
  font-size: 32px;
  line-height: 1.2;
}

.download-xianyu p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.download-note {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--mint) 22%, var(--canvas));
}

:root[data-theme='dark'] .download-note {
  background: color-mix(in srgb, var(--mint) 18%, var(--canvas));
}

.download-note-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.download-note img {
  flex: 0 0 auto;
  border-radius: 0;
}

.download-note strong {
  font-size: 16px;
}

.download-note p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.modes {
  overflow: hidden;
  padding: 106px 0;
  background: #2a1c12;
  color: #f6ead6;
}

:root[data-theme='dark'] .modes {
  background: #120e0a;
}

.modes-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(400px, 0.94fr);
  gap: 102px;
  align-items: center;
}

.modes .section-kicker,
.modes h2 {
  color: #eaf6ef;
}

.modes h2 {
  max-width: 550px;
}

.modes-copy > p:not(.section-kicker) {
  max-width: 470px;
  margin: 25px 0 0;
  color: #bfd2c8;
  font-size: 17px;
}

.mode-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 420px);
  margin-top: 37px;
  padding: 4px;
  border: 1px solid #56756a;
  border-radius: 6px;
}

.mode-button {
  min-height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #c5d8cf;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.mode-button.is-active {
  background: var(--yellow);
  color: #293a31;
}

.mode-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.mode-result {
  min-height: 90px;
  margin-top: 22px;
}

.mode-result strong {
  color: #fff;
  font-size: 18px;
}

.mode-result p {
  margin: 4px 0 0;
  color: #bfd2c8;
}

.pet-stage {
  position: relative;
  min-height: 416px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: color-mix(in srgb, var(--mint) 28%, var(--canvas));
}

.pet-stage::before,
.pet-stage::after {
  position: absolute;
  content: "";
  background: #b2d2c1;
}

.pet-stage::before {
  width: 62%;
  height: 34%;
  left: -17%;
  bottom: 8%;
  transform: rotate(-13deg);
}

.pet-stage::after {
  width: 50%;
  height: 25%;
  right: -9%;
  top: 14%;
  background: #f4d98e;
  transform: rotate(17deg);
}

.pet-stage-label {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 20px;
  color: #396252;
  font-size: 11px;
  font-weight: 900;
}

.pet-stage-dots {
  position: absolute;
  z-index: 1;
  top: 21px;
  right: 19px;
  display: flex;
  gap: 6px;
}

.pet-stage-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef7d69;
}

.pet-stage-dots span:nth-child(2) { background: #edbd52; }
.pet-stage-dots span:nth-child(3) { background: #5d9b7f; }

.pet-stage img {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 40px;
  width: 265px;
  height: 265px;
  transform: translateX(50%);
}

.pet-stage p {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 32px;
  max-width: 180px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.pet-gallery {
  background: var(--surface);
}

.gallery-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
}

.gallery-heading > div {
  max-width: 650px;
}

.gallery-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.library-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 42px 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.library-facts div {
  display: grid;
  gap: 3px;
}

.library-facts dt,
.library-facts dd {
  margin: 0;
}

.library-facts dt {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.library-facts dd {
  color: var(--muted);
  font-size: 13px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 53px;
}

.library-gallery {
  margin-top: 32px;
}

.gallery-item {
  margin: 0;
}

.gallery-frame {
  position: relative;
  min-height: 270px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
}

.gallery-frame::before {
  position: absolute;
  width: 56%;
  height: 28%;
  content: "";
  background: rgba(255, 255, 255, 0.38);
  transform: rotate(-15deg);
}

.gallery-frame img {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
}

.library-gallery .gallery-frame img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.frame-mint { background: #cde9de; }
.frame-yellow { background: #f6dfa0; }
.frame-coral { background: #f4c4b9; }

.gallery-item figcaption {
  display: grid;
  gap: 2px;
  padding: 17px 2px 0;
}

.gallery-item strong {
  font-size: 18px;
}

.gallery-item figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.journal {
  border-top: 1px solid var(--line);
}

.journal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.text-link,
.post-read,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint-strong);
  font-size: 14px;
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible,
.post-read:hover,
.post-read:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--coral);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.post-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 color-mix(in srgb, var(--mint) 70%, var(--ink));
}

.post-card-image {
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--mint) 36%, var(--surface));
  border-bottom: 1px solid var(--ink);
}

.post-card:nth-child(2) .post-card-image { background: #f5dda1; }
.post-card:nth-child(3) .post-card-image { background: #f3c4b9; }

.post-card-image img {
  width: 145px;
  height: 145px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.08);
}

.post-card-copy {
  min-height: 266px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.post-meta {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.post-meta span::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}

.post-card h3 {
  margin: 11px 0 9px;
  font-size: 21px;
  line-height: 1.3;
}

.post-card h3 a:hover,
.post-card h3 a:focus-visible,
.archive-item h2 a:hover,
.archive-item h2 a:focus-visible {
  color: var(--mint-strong);
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.post-read {
  margin-top: auto;
  padding-top: 18px;
}

.site-footer {
  padding: 50px 0 21px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.footer-inner p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  align-content: start;
  gap: 10px 24px;
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--mint-strong);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--mint-strong);
}

.footer-disclaimer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  opacity: .72;
  text-align: center;
}

.article-hero {
  padding: 102px 0 66px;
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}

.compact-hero {
  padding-bottom: 70px;
}

.article-hero-inner {
  max-width: 850px;
  margin-left: 0;
}

.article-hero .section-kicker {
  margin-top: 34px;
  color: #2d604f;
}

.article-hero h1 {
  max-width: 800px;
  font-size: 55px;
}

.article-date {
  margin: 22px 0 0;
  color: #406657;
  font-size: 15px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 720px);
  gap: 74px;
  justify-content: start;
  padding: 76px 0 116px 180px;
}

.page-layout {
  display: block;
  max-width: 900px;
  padding-left: 180px;
}

.article-aside {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.article-aside img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 0;
  background: color-mix(in srgb, var(--mint) 40%, var(--surface));
}

.article-aside p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.article-content {
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.article-content h2 {
  margin: 54px 0 17px;
  font-size: 30px;
  line-height: 1.25;
}

.article-content h3 {
  margin: 37px 0 12px;
  font-size: 23px;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 24px;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
}

.article-content li + li {
  margin-top: 7px;
}

.article-content a {
  color: var(--mint-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content strong {
  color: var(--ink);
}

.article-content figure {
  margin: 8px 0 36px;
}

.article-content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #edf4f0;
}

.article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.archive-page {
  padding: 100px 0 118px;
}

.archive-head {
  max-width: 830px;
}

.archive-head h1 {
  font-size: 57px;
}

.archive-head > p:last-child {
  max-width: 540px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.archive-list {
  margin-top: 73px;
  border-top: 1px solid var(--line);
}

.archive-item {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) 40px;
  gap: 32px;
  align-items: center;
  min-height: 178px;
  padding: 28px 12px 28px 0;
  border-bottom: 1px solid var(--line);
}

.archive-item > time,
.archive-category {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.archive-category {
  color: var(--mint-strong);
}

.archive-item h2 {
  margin: 5px 0 7px;
  font-size: 25px;
  line-height: 1.25;
}

.archive-item div > p:last-child {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.archive-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--mint-strong);
  font-size: 21px;
}

.archive-item:hover .archive-arrow,
.archive-arrow:focus-visible {
  border-color: var(--mint-strong);
  background: var(--mint-strong);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 450ms ease, transform 450ms ease;
}

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

@media (max-width: 1050px) {
  .hero-phone {
    width: min(30%, 140px);
  }

  .intro-copy {
    gap: 48px;
  }

  .companion-story-heading {
    gap: 44px;
  }

  .fish-story-layout {
    gap: 44px;
  }

  .modes-layout {
    gap: 55px;
  }

  .customize-panel {
    gap: 45px;
  }

  .client-showcase-heading {
    gap: 45px;
  }

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

  .play-grid .feature:not(:first-child) {
    padding-left: 0;
    border-left: 0;
  }

  .play-grid .feature:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .play-grid .feature:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .download-hero-inner,
  .install-guide-layout {
    gap: 55px;
  }

  .article-layout,
  .page-layout {
    padding-left: 70px;
  }
}

@media (max-width: 900px) {
  .site-header {
    backdrop-filter: none;
  }

  .site-shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 0;
    display: none;
    align-content: start;
    gap: 0;
    padding: 20px 18px;
    background: var(--canvas);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 57px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 62px;
    padding-bottom: 38px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-stage,
  .download-hero-stage {
    padding: 0 36px 32px 0;
    margin-top: 8px;
  }

  .hero-phone {
    width: min(26%, 132px);
    transform: rotate(4deg);
  }

  .intro-copy {
    display: block;
  }

  .companion-story-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .companion-story-heading > p {
    max-width: 680px;
  }

  .companion-story-heading h2 {
    font-size: 38px;
  }

  .fish-story-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .fish-steps article {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 24px 20px;
    border-bottom: 1px solid var(--line);
  }

  .fish-steps article + article {
    border-left: 1px solid var(--line);
  }

  .companion-flow {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1.15fr);
    gap: 12px;
  }

  .intro-copy h2 {
    margin-top: 18px;
  }

  .intro-copy > p:last-child {
    margin-top: 22px;
  }

  .intro-copy h2,
  .section-heading h2,
  .customize-heading h2,
  .modes h2,
  .journal h2 {
    font-size: 38px;
  }

  .feature-grid,
  .play-grid,
  .gallery-grid,
  .post-grid,
  .modes-layout,
  .support-options {
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .gallery-heading > p {
    max-width: 620px;
  }

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

  .library-facts div:last-child {
    grid-column: 1 / -1;
    margin-top: 16px;
  }

  .library-gallery .gallery-frame {
    min-height: 200px;
  }

  .library-gallery .gallery-frame img {
    width: 150px;
    height: 150px;
  }

  .customize-heading,
  .customize-panel,
  .client-showcase-heading,
  .download-hero-inner,
  .install-guide-layout {
    grid-template-columns: 1fr;
  }

  .customize-heading {
    gap: 22px;
  }

  .customize-heading > p {
    max-width: 620px;
  }

  .customize-panel {
    gap: 42px;
  }

  .client-shot-grid,
  .download-grid,
  .download-grid-three,
  .download-faq-grid {
    grid-template-columns: 1fr;
  }

  .shot-stage {
    gap: 22px;
    margin-top: 38px;
  }

  .shot-phones {
    grid-template-columns: repeat(2, minmax(0, 180px));
  }

  .client-showcase-heading,
  .download-hero-inner {
    gap: 22px;
  }

  .download-hero-copy h1 {
    font-size: 58px;
  }

  .install-guide-heading {
    position: static;
  }

  .feature {
    min-height: 0;
    padding: 26px 0 32px;
  }

  .feature + .feature {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature:not(:nth-child(3n + 1)),
  .play-grid .feature:not(:first-child),
  .play-grid .feature:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .feature h3 {
    margin-top: 18px;
  }

  .feature-media {
    min-height: 96px;
  }

  .feature-media img {
    width: 92px;
    height: 92px;
  }

  .modes-layout {
    gap: 48px;
  }

  .gallery-grid,
  .post-grid {
    gap: 16px;
  }

  .gallery-frame {
    min-height: 220px;
  }

  .journal-heading {
    align-items: start;
    flex-direction: column;
  }

  .article-hero {
    padding: 76px 0 55px;
  }

  .article-hero h1,
  .archive-head h1 {
    font-size: 43px;
  }

  .article-layout,
  .page-layout {
    display: block;
    padding: 54px 0 90px;
  }

  .article-aside {
    position: static;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
  }

  .article-aside img {
    width: 80px;
    height: 80px;
  }

  .article-aside p {
    margin: 0;
  }

  .archive-page {
    padding: 76px 0 90px;
  }

  .archive-item {
    grid-template-columns: 1fr 38px;
    gap: 9px 18px;
    padding: 27px 0;
  }

  .archive-item > time {
    grid-column: 1;
  }

  .archive-item > div {
    grid-column: 1;
  }

  .archive-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

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

  .header-inner {
    min-height: 62px;
  }

  .site-nav {
    inset: 62px 0 0;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .theme-button {
    display: none;
  }

  .hero-inner {
    padding-top: 38px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: 51px;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 8px;
  }

  .button {
    width: 100%;
    padding: 0 10px;
    font-size: 14px;
  }

  .hero-notes {
    gap: 8px 13px;
  }

  .hero-stage,
  .download-hero-stage {
    padding: 0 0 8px;
    margin-top: 18px;
  }

  .hero-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(42%, 148px);
    margin: -64px 12px 0 auto;
    transform: rotate(3deg);
  }

  .hero-phone figcaption {
    position: static;
    margin-top: 8px;
    right: auto;
  }

  .shot-row,
  .shot-phones {
    grid-template-columns: 1fr;
  }

  .shot-phones {
    justify-items: center;
  }

  .shot-phone {
    width: min(58%, 220px);
  }

  .intro-band,
  .companion-story,
  .fish-story,
  .features,
  .client-showcase,
  .customize,
  .pet-gallery,
  .support-band,
  .journal,
  .modes {
    padding: 77px 0;
  }

  .intro-band {
    padding-top: 38px;
  }

  .intro-copy h2,
  .companion-story-heading h2,
  .section-heading h2,
  .customize-heading h2,
  .client-showcase-heading h2,
  .support-heading h2,
  .download-band h2,
  .download-section-heading h2,
  .install-guide h2,
  .modes h2,
  .journal h2 {
    font-size: 33px;
  }

  .companion-flow {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 42px;
  }

  .companion-flow article {
    min-height: 0;
    padding: 30px 0 28px;
  }

  .companion-flow > i {
    min-height: 28px;
    transform: rotate(90deg);
  }

  .companion-flow article > img,
  .companion-pair {
    width: 140px;
    height: 140px;
  }

  .companion-pair img {
    width: 104px;
    height: 104px;
  }

  .fish-story-layout {
    margin-top: 42px;
  }

  .fish-steps {
    grid-template-columns: 1fr;
  }

  .fish-steps article {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 24px 0;
  }

  .fish-steps article + article {
    border-left: 0;
  }

  .fish-story-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .fish-story-footer .button {
    width: 100%;
  }

  .intro-copy > p:last-child,
  .modes-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .feature-grid,
  .gallery-grid,
  .post-grid {
    margin-top: 38px;
  }

  .library-facts {
    grid-template-columns: 1fr;
  }

  .library-facts div:last-child {
    grid-column: auto;
  }

  .library-facts div + div {
    margin-top: 13px;
  }

  .library-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }

  .library-gallery .gallery-frame {
    min-height: 158px;
  }

  .library-gallery .gallery-frame img {
    width: 120px;
    height: 120px;
  }

  .library-gallery .gallery-item strong {
    font-size: 16px;
  }

  .customize-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 36px;
    overflow: visible;
  }

  .customize-tab {
    min-width: 0;
  }

  .customize-panel {
    margin-top: 34px;
  }

  .customize-copy h3 {
    font-size: 29px;
  }

  .customize-window {
    min-height: 0;
  }

  .client-tour {
    margin-top: 36px;
  }

  .client-tour figcaption,
  .client-shot figcaption {
    display: grid;
    gap: 2px;
  }

  .client-shot-grid {
    margin-top: 38px;
  }

  .download-hero,
  .download-options,
  .install-guide {
    padding: 77px 0;
  }

  .download-hero-copy h1 {
    font-size: 51px;
  }

  .download-card {
    padding: 23px;
  }

  .download-card-copy {
    min-height: 0;
  }

  .download-band-inner {
    align-items: start;
    flex-direction: column;
    gap: 27px;
  }

  .support-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .download-band .button {
    width: 100%;
  }

  .install-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .download-xianyu-inner,
  .download-note-inner {
    align-items: start;
    flex-direction: column;
  }

  .download-xianyu .button {
    width: 100%;
  }

  .customize-pets {
    padding: 22px 16px 17px;
  }

  .pet-stage {
    min-height: 360px;
  }

  .pet-stage img {
    width: 222px;
    height: 222px;
  }

  .pet-stage p {
    right: 15px;
    bottom: 17px;
  }

  .post-card-copy {
    min-height: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .article-content {
    font-size: 16px;
  }

  .article-content h2 {
    font-size: 27px;
  }

  .article-hero h1,
  .archive-head h1 {
    font-size: 37px;
  }

  .archive-head > p:last-child {
    font-size: 16px;
  }

  .archive-item h2 {
    font-size: 21px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
