:root {
  --ink: #162324;
  --muted: #536365;
  --paper: #f8f4eb;
  --paper-2: #efe5d5;
  --jade: #1f8a78;
  --jade-dark: #123f3c;
  --gold: #d8a84d;
  --crimson: #8d2f3d;
  --rose: #d9657b;
  --line: rgba(22, 35, 36, .14);
  --shadow: 0 18px 55px rgba(17, 42, 42, .18);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", "PingFang SC", serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(248, 244, 235, .95), rgba(239, 229, 213, .92)),
    repeating-linear-gradient(90deg, rgba(31, 138, 120, .05) 0 1px, transparent 1px 120px);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.mark-jade,
.mark-gold {
  font-weight: 900;
  letter-spacing: 0;
}

.mark-jade {
  color: var(--jade-dark);
  text-decoration: underline;
  text-decoration-color: rgba(216, 168, 77, .42);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mark-gold {
  color: #f5d98b;
  text-shadow: 0 2px 12px rgba(216, 168, 77, .2);
}

.section-copy .mark-jade,
.section-head .mark-jade,
.feature-card .mark-jade,
.step-card .mark-jade,
.timeline-item .mark-jade,
.faq-item .mark-jade {
  color: #17695f;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--jade-dark);
  border-radius: var(--radius);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(14, 34, 35, .68);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(14, 34, 35, .94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 58px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .34);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.site-nav a::before,
.btn::before {
  content: attr(data-icon);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #132626;
  background: linear-gradient(135deg, #fff1c5, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .48), 0 3px 10px rgba(0, 0, 0, .12);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  outline: none;
}

.site-nav .nav-cta {
  color: #142121;
  background: linear-gradient(135deg, #ffe3a1, var(--gold));
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 130px 0 64px;
  color: #fff;
  overflow: hidden;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  object-position: center;
  filter: saturate(.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 26, 28, .92) 0%, rgba(9, 26, 28, .64) 46%, rgba(9, 26, 28, .28) 100%),
    linear-gradient(0deg, rgba(9, 26, 28, .82), rgba(9, 26, 28, .05) 45%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .68fr);
  gap: 42px;
  align-items: end;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin-bottom: 18px;
  color: #f5d98b;
  font-size: 70px;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .46), 0 0 22px rgba(216, 168, 77, .18);
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #152121;
  background: linear-gradient(135deg, #ffe8ad, var(--gold));
  box-shadow: 0 12px 28px rgba(216, 168, 77, .34);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .34);
}

.btn-secondary::before {
  color: #fff8df;
  background: linear-gradient(135deg, rgba(31, 138, 120, .95), rgba(141, 47, 61, .95));
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 0;
}

.hero-meta div {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.hero-meta dt {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}

.hero-meta dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: rgba(12, 32, 34, .72);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.panel-body {
  padding: 18px;
}

.panel-body strong {
  display: block;
  margin-bottom: 6px;
  color: #ffe0a4;
}

.panel-body p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(340px, 1fr);
  gap: 52px;
  align-items: center;
}

.section-copy h2,
.section-head h2,
.showcase-head h2,
.download-box h2 {
  margin-bottom: 18px;
  color: var(--jade-dark);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0;
}

.download-box h2 {
  color: #ffe0a4;
}

.section-copy p,
.section-head p,
.showcase-head p,
.download-box p {
  color: var(--muted);
  font-size: 17px;
}

.media-frame,
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fffaf1;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, .65);
}

.feature-section,
.updates-section,
.faq-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(248, 244, 235, .86)),
    radial-gradient(circle at 15% 10%, rgba(31, 138, 120, .1), transparent 30%);
}

.section-head {
  max-width: 820px;
  margin-bottom: 32px;
}

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

.feature-card,
.step-card,
.timeline-item,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, .86);
  box-shadow: 0 10px 30px rgba(17, 42, 42, .08);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--jade), var(--crimson));
  font-weight: 900;
}

.feature-card h3,
.step-card h3,
.timeline-item h3 {
  margin-bottom: 10px;
  color: var(--crimson);
  font-size: 21px;
  font-weight: 900;
}

.feature-card p,
.step-card p,
.timeline-item p,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 7, 7, .98), rgba(13, 17, 17, .98)),
    radial-gradient(circle at 50% 10%, rgba(216, 168, 77, .13), transparent 34%);
}

.showcase .section-kicker {
  color: #f5d98b;
}

.showcase-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.showcase-head h2 {
  color: #f5d98b;
}

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

.gallery figure {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #0e1111;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .36);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .24));
}

.gallery figure:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 168, 77, .45);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .46);
}

.gallery-zoom {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .34);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.gallery-zoom::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 16px;
  height: 16px;
  border: 4px solid #171717;
  border-radius: 50%;
}

.gallery-zoom::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 29px;
  width: 15px;
  height: 5px;
  border-radius: 999px;
  background: #171717;
  transform: rotate(45deg);
  transform-origin: left center;
}

.gallery-zoom span,
.gallery-zoom i {
  display: none;
}

.gallery-zoom:hover,
.gallery-zoom:focus-visible {
  transform: scale(1.08);
  background: #ffe0a4;
  box-shadow: 0 14px 30px rgba(216, 168, 77, .38);
  outline: none;
}

.gallery-zoom:hover::before,
.gallery-zoom:focus-visible::before {
  border-color: var(--crimson);
}

.gallery-zoom:hover::after,
.gallery-zoom:focus-visible::after {
  background: var(--crimson);
}

.gallery figure .gallery-zoom {
  opacity: .88;
}

.gallery figure:hover .gallery-zoom {
  opacity: 1;
}

.gallery-zoom + img,
.gallery img + .gallery-zoom {
  pointer-events: auto;
}

.gallery-zoom::before {
  box-shadow:
    0 0 0 0 #171717,
    inset 5px 0 0 -3px transparent;
}

.gallery-zoom:focus-visible {
  outline: 3px solid rgba(245, 217, 139, .8);
  outline-offset: 3px;
}

.gallery-zoom {
  --plus-color: #171717;
}

.gallery-zoom:focus-visible,
.gallery-zoom:hover {
  --plus-color: var(--crimson);
}

.gallery-zoom::before {
  background:
    linear-gradient(var(--plus-color), var(--plus-color)) center / 12px 4px no-repeat,
    linear-gradient(var(--plus-color), var(--plus-color)) center / 4px 12px no-repeat;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: zoom-out;
  background: rgba(4, 7, 7, .86);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #0c1111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
}

.lightbox-dialog img {
  width: 100%;
  max-height: calc(100vh - 128px);
  object-fit: contain;
  background: #050707;
}

.lightbox-dialog p {
  margin: 0;
  padding: 12px 18px;
  color: #ffe0a4;
  font-size: 15px;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(8, 13, 13, .76);
  transition: background .2s ease, transform .2s ease;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 20px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: scale(1.06);
  background: var(--crimson);
  outline: none;
}

body.lightbox-open {
  overflow: hidden;
}

.guide-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 110px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--jade-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

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

.step-card {
  padding: 22px;
}

.step-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--crimson);
  font-weight: 900;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 34px;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--jade), var(--gold), var(--crimson));
}

.timeline-item time {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--jade-dark);
  font-weight: 800;
}

.download-box .mark-gold,
.hero .mark-gold {
  color: #ffe0a4;
}

.faq-item summary {
  color: var(--jade-dark);
}

.download-band {
  padding: 70px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 63, 60, .96), rgba(80, 38, 47, .96)),
    url("img/tu4.webp") center / cover fixed;
}

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

.download-box p {
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 20px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--crimson);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding-bottom: 18px;
}

.friend-links {
  padding: 54px 0 58px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 63, 60, .98), rgba(31, 138, 120, .92)),
    radial-gradient(circle at 50% 0%, rgba(245, 217, 139, .18), transparent 32%);
  border-top: 1px solid rgba(245, 217, 139, .18);
}

.friend-links h2 {
  margin: 0 0 28px;
  color: #ffe0a4;
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}

.friend-link-list a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border: 1px solid rgba(255, 224, 164, .34);
  border-radius: 999px;
  color: #fff9e8;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  font-size: 16px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-2px);
  color: #142121;
  background: #ffe0a4;
  border-color: #ffe0a4;
  box-shadow: 0 14px 30px rgba(216, 168, 77, .22);
  outline: none;
}

.site-footer {
  padding: 40px 0;
  color: rgba(255, 255, 255, .78);
  background: #101d1e;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 10px 16px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffe0a4;
  outline: none;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-nav a {
  position: relative;
  overflow: hidden;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffe0a4, transparent);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .22s ease, transform .22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav .nav-cta::after {
  background: linear-gradient(90deg, transparent, rgba(20, 33, 33, .5), transparent);
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  z-index: 0;
  width: 52%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left .45s ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 118%;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 16px 34px rgba(216, 168, 77, .45);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

.hero-panel,
.media-frame,
.feature-card,
.step-card,
.timeline-item,
.faq-item {
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.hero-panel:hover,
.media-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 168, 77, .48);
  box-shadow: 0 24px 62px rgba(17, 42, 42, .26);
}

.hero-panel img,
.media-frame img,
.gallery img {
  transition: transform .55s ease, filter .55s ease;
}

.hero-panel:hover img,
.media-frame:hover img,
.gallery figure:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.feature-card.reveal.is-visible:hover,
.step-card.reveal.is-visible:hover,
.timeline-item.reveal.is-visible:hover,
.faq-item.reveal.is-visible:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 138, 120, .34);
  box-shadow: 0 18px 44px rgba(17, 42, 42, .14);
  background: rgba(255, 253, 248, .96);
}

.feature-card:hover .feature-icon {
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 10px 22px rgba(141, 47, 61, .2);
}

.feature-icon {
  transition: transform .24s ease, box-shadow .24s ease;
}

.step-card:hover span {
  color: var(--jade);
}

.faq-item:hover summary {
  color: var(--crimson);
}

.timeline-item:hover::before {
  width: 9px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(14, 34, 35, .98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    border-radius: 6px;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 52px;
  }

  .hero-grid,
  .two-col,
  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

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

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

  .sticky-copy {
    position: static;
  }

  .download-box,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    font-size: 16px;
  }

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

  .section-copy h2,
  .section-head h2,
  .showcase-head h2,
  .download-box h2 {
    font-size: 28px;
  }

  .hero-lead,
  .section-copy p,
  .section-head p,
  .showcase-head p,
  .download-box p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 64px 0;
  }

  .media-frame,
  .gallery figure,
  .feature-card,
  .step-card,
  .timeline-item,
  .faq-item,
  .hero-panel {
    border-radius: 8px;
  }

  .gallery {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 18px;
  }

  .gallery figure {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .gallery-zoom {
    left: 16px;
    top: 16px;
  }

  .download-band {
    background-attachment: scroll;
  }

  .friend-links {
    padding: 44px 0 48px;
  }

  .friend-links h2 {
    font-size: 24px;
  }

  .friend-link-list {
    gap: 12px;
  }

  .friend-link-list a {
    width: 100%;
    max-width: 330px;
    min-height: 44px;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

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