:root {
  --bg: #ffffff;
  --surface: #f4f5f7;
  --surface-strong: #ebeef2;
  --text: #1f3a52;
  --muted: #4a3e3d;
  --accent: #c80000;
  --accent-dark: #a20000;
  --border: #d7dce3;
  --shadow: 0 18px 36px rgba(31, 58, 82, 0.08);
  --shadow-soft: 0 10px 24px rgba(31, 58, 82, 0.05);
  --shadow-hover: 0 22px 46px rgba(31, 58, 82, 0.14);
  --ring: rgba(200, 0, 0, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

.no-js .reveal {
  opacity: 1;
  transform: none;
}

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

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.header__cta {
  flex: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  transition: transform 0.22s ease, color 0.22s ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.brand__logo {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo {
  border-color: var(--ring);
  box-shadow: 0 8px 18px rgba(200, 0, 0, 0.12);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__text span {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.brand__text small {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200, 0, 0, 0.04);
  box-shadow: 0 10px 22px rgba(200, 0, 0, 0.12);
}

.nav-toggle:hover {
  transform: translateY(-1px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.8vw, 28px);
  padding: 0;
  border-top: 0;
  background: #fff;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: #ff9800;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav a.is-active {
  background: transparent;
  color: var(--text);
}

.site-nav a.is-active .nav-icon {
  color: #ff9800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(200, 0, 0, 0.04);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(200, 0, 0, 0.08);
}

.site-nav a:hover .nav-icon,
.site-nav a:focus-visible .nav-icon {
  color: var(--accent);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-115%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: transform 0.5s ease;
}

.btn > * {
  position: relative;
  z-index: 1;
}

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

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(115%) skewX(-18deg);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(200, 0, 0, 0.18);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 16px 30px rgba(200, 0, 0, 0.24);
}

.btn--ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 12px 24px rgba(31, 58, 82, 0.08);
}

.btn__icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(200, 0, 0, 0.26);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.floating-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-115%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transition: transform 0.55s ease;
}

.floating-cta::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(200, 0, 0, 0.16);
  filter: blur(12px);
}

.floating-cta span,
.floating-cta__icon {
  position: relative;
  z-index: 1;
}

.floating-cta__icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-3px);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 22px 44px rgba(200, 0, 0, 0.32);
}

.floating-cta:hover::before,
.floating-cta:focus-visible::before {
  transform: translateX(115%) skewX(-18deg);
}

.site-nav .nav__cta {
  display: none;
}

.hero {
  padding: 28px 0 26px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 28px;
  align-items: center;
}

.eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.section__eyebrow {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--text);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: var(--accent);
}

.hero h1 {
  text-shadow: 0 8px 22px rgba(31, 58, 82, 0.08);
}

.hero__lead {
  max-width: 64ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero__facts > div {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.hero__facts dt {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.hero__facts dd {
  margin-top: 4px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
}

.hero__media {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero__image {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.hero__badge img {
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface);
}

.hero__badge strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
}

.hero__badge span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.section {
  padding: 36px 0;
  scroll-margin-top: 108px;
}

.section--alt {
  background: var(--surface);
}

.section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 26px;
  align-items: start;
}

#section-changelog .section__grid,
#section-faq .section__grid {
  grid-template-columns: 1fr;
}

.section__grid--reverse .section__body {
  order: 2;
}

.section__grid--reverse .section__media {
  order: 1;
}

.section__body h2 {
  position: relative;
  margin: 0 0 12px;
  color: var(--text);
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

.section__body h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(200, 0, 0, 0.2);
}

.section__body h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.14rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.section__body p {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--muted);
}

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

.point-grid li {
  position: relative;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.point-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--accent);
}

.point-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.point-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.section__media {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.section__media img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.section__media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: guide-step;
  margin-top: 18px;
}

.guide-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  counter-increment: guide-step;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.guide-list li::before {
  content: counter(guide-step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.guide-list strong {
  display: block;
  grid-column: 2;
  grid-row: 1;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
  min-width: 0;
}

.guide-list span {
  display: block;
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  min-width: 0;
}

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

.feature-grid article {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-grid h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.timeline__version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(200, 0, 0, 0.2);
  border-radius: 999px;
  background: rgba(200, 0, 0, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.timeline strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.timeline p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  counter-reset: faq-step;
}

.faq-list details {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  counter-increment: faq-step;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.faq-list details::before {
  content: counter(faq-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(200, 0, 0, 0.2);
  border-radius: 999px;
  background: rgba(200, 0, 0, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  grid-column: 1;
  grid-row: 1 / span 2;
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

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

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.24s ease;
}

.faq-list details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-list details[open] {
  border-color: var(--ring);
  background: linear-gradient(180deg, #fff, #fff8f8);
}

.faq-list p {
  padding: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  grid-column: 2;
  grid-row: 2;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .hero__facts > div:hover,
  .point-grid li:hover,
  .guide-list li:hover,
  .feature-grid article:hover,
  .timeline li:hover,
  .faq-list details:hover {
    transform: translateY(-4px);
    border-color: var(--ring);
    box-shadow: var(--shadow-hover);
    background-color: #fff;
  }

  .hero__media:hover,
  .section__media:hover {
    transform: translateY(-4px);
    border-color: var(--ring);
    box-shadow: var(--shadow-hover);
  }

  .hero__media:hover .hero__image,
  .section__media:hover img {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.02);
  }

  .hero__badge:hover {
    border-color: var(--ring);
    box-shadow: 0 10px 24px rgba(31, 58, 82, 0.08);
  }

  .guide-list li:hover::before,
  .timeline li:hover .timeline__version,
  .faq-list details:hover::before,
  .faq-list details[open]::before {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(200, 0, 0, 0.18);
  }

  .timeline li:hover .timeline__version,
  .faq-list details:hover::before,
  .faq-list details[open]::before {
    background: rgba(200, 0, 0, 0.12);
  }
}

.friend-links {
  position: relative;
  overflow: hidden;
  padding: 42px 0 46px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
}

.friend-links::before,
.friend-links::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(30px);
}

.friend-links::before {
  width: 320px;
  height: 120px;
  left: 12%;
  top: 20px;
}

.friend-links::after {
  width: 360px;
  height: 130px;
  right: 10%;
  bottom: -28px;
}

.friend-links__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.friend-links__eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
}

.friend-links h2 {
  margin: 10px 0 22px;
  color: #fff;
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.friend-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.friend-links__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px rgba(88, 0, 0, 0.18);
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.friend-links__list a::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18), 0 0 16px rgba(255, 255, 255, 0.55);
}

.friend-links__list a:hover,
.friend-links__list a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 34px rgba(88, 0, 0, 0.24);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__inner {
  padding: 28px 0 36px;
  color: var(--muted);
}

.footer__inner p {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer__inner p:first-child {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .header__bar {
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
  }

  .header__cta {
    order: 2;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    padding-top: 6px;
  }

  .hero__grid,
  .section__grid {
    grid-template-columns: 1fr;
  }

  .section__grid--reverse .section__body,
  .section__grid--reverse .section__media {
    order: initial;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

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

@media (max-width: 720px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .container {
    width: min(100%, calc(100% - 24px));
  }

  .floating-cta {
    right: 12px;
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    min-height: 48px;
  }

  .header__bar {
    flex-wrap: wrap;
    padding: 14px 0 10px;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .header__cta {
    display: none;
  }

  .site-nav {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, padding 0.22s ease, visibility 0.22s ease;
    justify-items: stretch;
  }

  .site-nav.is-open,
  .no-js .site-nav {
    max-height: 350px;
    padding: 12px 0 14px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-color: var(--border);
    background: #fff;
    box-shadow: var(--shadow-soft);
    font-size: 0.94rem;
  }

  .site-nav .nav__cta {
    display: inline-flex;
    grid-column: 1 / -1;
    min-height: 44px;
    margin-top: 2px;
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(200, 0, 0, 0.18);
  }

  .site-nav .nav__cta:hover,
  .site-nav .nav__cta:focus-visible {
    background: var(--accent-dark);
    color: #fff;
    border-color: var(--accent-dark);
    box-shadow: 0 16px 30px rgba(200, 0, 0, 0.24);
  }

  .hero__actions .btn--primary {
    display: none;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero__lead {
    margin-top: 14px;
    font-size: 0.98rem;
  }

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

  .friend-links {
    padding: 34px 0 38px;
  }

  .friend-links h2 {
    font-size: 1.78rem;
  }

  .friend-links__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .friend-links__list a {
    width: 100%;
    min-height: 42px;
    padding: 0 18px 0 40px;
  }

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

  .section {
    padding: 30px 0;
  }

  .section__body h2 {
    font-size: 1.72rem;
  }

  .section__body h3 {
    font-size: 1.04rem;
  }

  .guide-list li,
  .timeline li,
  .faq-list details {
    grid-template-columns: 1fr;
  }

  .guide-list li::before {
    width: 38px;
    height: 38px;
    grid-row: auto;
  }

  .guide-list strong,
  .guide-list span {
    grid-column: auto;
    grid-row: auto;
  }

  .faq-list details::before {
    grid-column: auto;
    grid-row: auto;
    width: fit-content;
  }

  .faq-list summary,
  .faq-list p {
    grid-column: auto;
    grid-row: auto;
  }
}

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

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

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