/* ==========================================================================
   恐龙岛官网 · 视觉系统
   Dark expedition / amber accent / editorial layout
   ========================================================================== */

:root {
  --bg: #0a0d09;
  --bg-deep: #070906;
  --bg-soft: #0f130d;
  --panel: #12170f;
  --panel-2: #171d13;
  --panel-3: #1c2318;
  --paper: #f2eadb;
  --paper-soft: #d8d0c0;
  --muted: #a49d8c;
  --muted-2: #7d786b;
  --amber: #e0a34d;
  --amber-bright: #f4c97d;
  --amber-dark: #a86f28;
  --jade: #8fab88;
  --jade-bright: #bcd6b3;
  --danger: #d97c62;
  --line: rgba(224, 163, 77, 0.22);
  --line-strong: rgba(224, 163, 77, 0.42);
  --line-soft: rgba(242, 234, 219, 0.1);
  --line-faint: rgba(242, 234, 219, 0.055);
  --max: 1280px;
  --gutter: clamp(20px, 4.2vw, 58px);
  --header-h: 82px;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", Georgia, serif;
  --latin: "Georgia", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.68, 0.22, 1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--paper-soft);
  background:
    radial-gradient(1100px 700px at 82% -5%, rgba(75, 90, 58, 0.18), transparent 62%),
    radial-gradient(900px 700px at -10% 40%, rgba(94, 70, 31, 0.09), transparent 66%),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--amber);
  color: #13140d;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--paper);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 1.25em;
}

ul,
ol {
  padding-left: 1.25em;
}

:focus-visible {
  outline: 2px solid var(--amber-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -200px;
  left: 20px;
  z-index: 999;
  padding: 12px 18px;
  color: #13140d;
  background: var(--amber-bright);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(calc(100% - var(--gutter) * 2), 900px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: var(--amber);
  content: "";
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow__num {
  color: var(--muted-2);
  letter-spacing: 0.16em;
}

.display {
  margin: 0;
  color: var(--paper);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 780;
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.display em {
  color: var(--amber-bright);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 660px;
  color: var(--paper-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.9;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section {
  position: relative;
  padding: clamp(72px, 9.5vw, 132px) 0;
}

.section--tight {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section--panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 20%),
    var(--bg-soft);
  border-block: 1px solid var(--line-faint);
}

.section--dark {
  background: var(--bg-deep);
  border-block: 1px solid var(--line-faint);
}

.section--flush-top {
  padding-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-head__label {
  align-self: start;
  padding-top: 8px;
}

.section-head h2 {
  margin: 0 0 14px;
  color: var(--paper);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 780;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.section-head__desc {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section-head__link {
  align-self: end;
  margin-bottom: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.text-link::after {
  content: "↗";
  color: var(--amber);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: var(--amber-bright);
  border-color: var(--amber-bright);
  gap: 14px;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--amber);
  color: #13140d;
  box-shadow: 0 10px 30px rgba(224, 163, 77, 0.14);
}

.btn--primary:hover {
  background: var(--amber-bright);
  box-shadow: 0 14px 36px rgba(224, 163, 77, 0.22);
}

.btn--outline {
  border-color: rgba(242, 234, 219, 0.28);
  background: rgba(10, 13, 9, 0.25);
  color: var(--paper);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--amber);
  background: rgba(224, 163, 77, 0.1);
  color: var(--amber-bright);
}

.btn--ghost {
  padding-inline: 0;
  color: var(--paper);
}

.btn--ghost:hover {
  color: var(--amber-bright);
}

.btn--small {
  min-height: 40px;
  padding: 10px 17px;
  font-size: 12px;
}

.btn--large {
  min-height: 56px;
  padding: 16px 30px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn__arrow {
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.btn:hover .btn__arrow {
  transform: translate(3px, -2px);
}

/* --------------------------------------------------------------------------
   Top bar and header
   -------------------------------------------------------------------------- */

.topbar {
  position: relative;
  z-index: 101;
  border-bottom: 1px solid var(--line-faint);
  background: #070906;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 34px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(143, 171, 136, 0.12);
}

.topbar__link {
  color: var(--paper-soft);
  transition: color 0.2s ease;
}

.topbar__link:hover {
  color: var(--amber-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-faint);
  background: rgba(10, 13, 9, 0.82);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 10, 7, 0.97);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  color: var(--paper);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.15;
}

.brand__sub {
  color: var(--muted-2);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.25em;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--header-h);
  color: #c8c1b2;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.035em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--paper);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  margin-left: 8px;
}

.nav-actions .btn {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 11px;
}

.nav-support {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.nav-support:hover {
  color: var(--amber-bright);
}

.nav-support svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: var(--paper);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(660px, 88vh, 900px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #11160e;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.88) contrast(1.03);
  animation: hero-zoom 18s var(--ease) both;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 8, 5, 0.92) 0%, rgba(6, 8, 5, 0.62) 38%, rgba(6, 8, 5, 0.08) 74%),
    linear-gradient(0deg, rgba(6, 8, 5, 0.96) 0%, rgba(6, 8, 5, 0.24) 34%, transparent 62%),
    linear-gradient(180deg, rgba(6, 8, 5, 0.5) 0%, transparent 22%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(242, 234, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 234, 219, 0.08) 1px, transparent 1px);
  background-size: 100% 120px, 120px 100%;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
  padding-top: 152px;
  padding-bottom: clamp(56px, 7vw, 84px);
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  color: var(--amber-bright);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero__kicker::before {
  width: 36px;
  height: 1px;
  background: var(--amber);
  content: "";
}

.hero__title {
  margin: 0;
  color: var(--paper);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero__title-brand {
  display: block;
  font-size: clamp(66px, 9.2vw, 138px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero__title-line {
  display: block;
  margin-top: 14px;
  color: var(--paper);
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.hero__title-line em {
  color: var(--amber-bright);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.hero__copy {
  max-width: 580px;
  margin: 26px 0 0;
  color: #d1c9b8;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(242, 234, 219, 0.18);
}

.hero__meta-item {
  min-width: 118px;
  padding: 14px 20px 0 0;
  color: var(--paper-soft);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.hero__meta-item + .hero__meta-item {
  padding-left: 20px;
  border-left: 1px solid rgba(242, 234, 219, 0.14);
}

.hero__meta-item span {
  display: block;
  margin-bottom: 1px;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__aside {
  position: relative;
  align-self: end;
  padding: 24px 0 2px 27px;
  border-left: 1px solid rgba(224, 163, 77, 0.42);
}

.hero__aside-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--amber);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero__aside-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(143, 171, 136, 0.12);
  content: "";
}

.hero__version {
  margin: 0 0 5px;
  color: var(--paper);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__version-desc {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 234, 219, 0.13);
}

.hero__stat strong {
  display: block;
  color: var(--paper);
  font-family: var(--latin);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(242, 234, 219, 0.5);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--amber), transparent);
  content: "";
}

@keyframes hero-zoom {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-faint);
  background: #0b0e0a;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__group b {
  color: var(--amber);
  font-weight: 500;
}

.marquee__slash {
  color: var(--amber-dark);
  font-family: var(--latin);
  font-size: 14px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Home intro
   -------------------------------------------------------------------------- */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: start;
}

.intro-copy .display {
  max-width: 640px;
}

.intro-copy > .lede {
  margin-top: 26px;
}

.body-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.body-copy strong {
  color: var(--paper-soft);
  font-weight: 600;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line-soft);
}

.fact {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.fact:nth-child(2n) {
  padding-left: 22px;
  border-left: 1px solid var(--line-soft);
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-family: var(--latin);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fact span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.intro-visual {
  position: relative;
  padding: 0 0 34px;
}

.intro-visual__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(242, 234, 219, 0.16);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.intro-visual__frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 8, 5, 0.72));
  content: "";
  pointer-events: none;
}

.intro-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.84);
  transition: transform 1.1s var(--ease);
}

.intro-visual:hover img {
  transform: scale(1.025);
}

.intro-visual__tag {
  position: absolute;
  bottom: 54px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.intro-visual__tag::before {
  width: 20px;
  height: 1px;
  background: var(--amber);
  content: "";
}

.intro-visual__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 74%;
  padding: 21px 22px 18px 44px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.intro-visual__caption b {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 74px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line-faint);
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 284px;
  padding: 28px 25px 26px;
  border-right: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 58%);
  transition: background 0.3s ease;
}

.feature-card::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 0;
  height: 2px;
  background: var(--amber);
  content: "";
  transition: width 0.35s var(--ease);
}

.feature-card:hover {
  background: linear-gradient(145deg, rgba(224, 163, 77, 0.065), transparent 64%);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 46px;
}

.feature-card__icon {
  width: 30px;
  height: 30px;
  color: var(--amber);
}

.feature-card__num {
  color: var(--muted-2);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Evolution split
   -------------------------------------------------------------------------- */

.evolution-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
}

.evolution-media {
  position: relative;
}

.evolution-media__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 171, 136, 0.28);
  background: #07100f;
}

.evolution-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.95);
}

.evolution-media__scan {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(188, 214, 179, 0.18) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(188, 214, 179, 0.14) 50%, transparent 50.2%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.evolution-media__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(188, 214, 179, 0.35);
  background: rgba(7, 12, 9, 0.72);
  color: var(--jade-bright);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.evolution-media__side {
  position: absolute;
  top: 26px;
  left: -34px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--amber);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.timeline {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-soft);
}

.timeline__step {
  color: var(--amber);
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.timeline h3 {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 650;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.trait-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trait {
  padding: 6px 11px;
  border: 1px solid var(--line);
  color: var(--paper-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 22vw, 286px);
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line-faint);
  background: var(--panel);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.83) brightness(0.83);
  transition: transform 0.9s var(--ease), filter 0.5s ease;
}

.gallery-item__link::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 4, 0.82) 100%);
  content: "";
  opacity: 0.8;
  transition: opacity 0.35s ease;
}

.gallery-item:hover img {
  filter: saturate(0.98) brightness(0.92);
  transform: scale(1.035);
}

.gallery-item:hover .gallery-item__link::after {
  opacity: 1;
}

.gallery-item figcaption {
  position: absolute;
  right: 20px;
  bottom: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  pointer-events: none;
}

.gallery-item figcaption small {
  display: block;
  margin-bottom: 4px;
  color: var(--amber);
  font-family: var(--latin);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gallery-item__zoom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 234, 219, 0.4);
  border-radius: 50%;
  color: var(--paper);
  font-family: var(--latin);
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease;
}

.gallery-item:hover .gallery-item__zoom {
  background: var(--amber);
  color: #11140d;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.shot-grid .gallery-item {
  grid-column: span 4;
  grid-row: auto;
  min-height: 310px;
}

.shot-grid .gallery-item:nth-child(1),
.shot-grid .gallery-item:nth-child(4) {
  grid-column: span 8;
}

.shot-grid .gallery-item:nth-child(2),
.shot-grid .gallery-item:nth-child(3) {
  grid-column: span 4;
}

.shot-grid .gallery-item:nth-child(5),
.shot-grid .gallery-item:nth-child(6) {
  grid-column: span 6;
}

/* --------------------------------------------------------------------------
   Download band
   -------------------------------------------------------------------------- */

.download-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0b0e09;
}

.download-band__bg {
  position: absolute;
  inset: 0;
  opacity: 0.36;
}

.download-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.65);
}

.download-band::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 6, 0.97) 0%, rgba(7, 10, 6, 0.8) 48%, rgba(7, 10, 6, 0.94) 100%),
    linear-gradient(0deg, rgba(7, 10, 6, 0.85), transparent 60%);
  content: "";
}

.download-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  padding: clamp(64px, 8vw, 104px) 0;
}

.download-band h2 {
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--paper);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 820;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.download-band h2 em {
  color: var(--amber-bright);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.download-band p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.download-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-card {
  padding: 26px;
  border: 1px solid rgba(242, 234, 219, 0.15);
  background: rgba(11, 15, 9, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.download-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.download-card__head span {
  color: var(--amber);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.download-card__head b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--jade-bright);
  font-size: 10px;
  font-weight: 500;
}

.download-card__head b::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
  content: "";
}

.download-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
}

.download-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-faint);
  font-size: 11px;
}

.download-card dl div:nth-child(odd) {
  padding-right: 14px;
}

.download-card dl div:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--line-faint);
}

.download-card dt {
  color: var(--muted-2);
}

.download-card dd {
  margin: 0;
  color: var(--paper-soft);
  text-align: right;
}

.download-card .btn {
  margin-top: 22px;
}

.download-card__note {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Feed / news + guide
   -------------------------------------------------------------------------- */

.section-head--feed {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 26px;
}

.feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list__item {
  border-bottom: 1px solid var(--line-soft);
}

.news-list__link {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 16px;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  transition: padding 0.28s var(--ease), background 0.28s ease;
}

.news-list__link:hover {
  padding-left: 10px;
  padding-right: 6px;
  background: rgba(224, 163, 77, 0.035);
}

.news-date {
  padding-top: 3px;
  color: var(--muted-2);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.news-date b {
  display: block;
  color: var(--amber);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.news-list__cat {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--jade);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.news-list__title {
  margin: 0 0 5px;
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.news-list__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.news-list__arrow {
  padding-top: 3px;
  color: var(--amber);
  font-size: 13px;
  transition: transform 0.25s ease;
}

.news-list__link:hover .news-list__arrow {
  transform: translate(3px, -3px);
}

.feature-guide {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature-guide__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.feature-guide__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 10, 6, 0.9));
  content: "";
}

.feature-guide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 0.9s var(--ease);
}

.feature-guide:hover .feature-guide__media img {
  transform: scale(1.04);
}

.feature-guide__label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 9px;
  background: var(--amber);
  color: #16170f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-guide__body {
  position: relative;
  z-index: 2;
  margin-top: -52px;
  padding: 0 24px 24px;
}

.feature-guide__body h3 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.35;
}

.feature-guide__body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.feature-guide__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-2);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-guide__meta span + span::before {
  margin-right: 12px;
  color: var(--amber-dark);
  content: "/";
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.faq-intro h2 {
  margin: 0 0 18px;
}

.faq-intro p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  color: var(--paper);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--amber);
  font-family: var(--latin);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
  content: "+";
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-width: 680px;
  padding: 0 32px 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(130px, 0.7fr));
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(58px, 7vw, 88px) 0 46px;
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 330px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-contact .btn {
  min-height: 37px;
  padding: 9px 13px;
  font-size: 10px;
}

.footer-qr {
  display: flex;
  gap: 18px;
  margin-top: 27px;
}

.footer-qr figure {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-qr img {
  width: 58px;
  height: 58px;
  padding: 3px;
  background: #fff;
}

.footer-qr figcaption {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.footer-qr figcaption b {
  display: block;
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 550;
}

.footer-col h3 {
  margin: 4px 0 19px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: var(--paper-soft);
  font-size: 12px;
  line-height: 1.7;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--amber-bright);
}

.footer-col a .external {
  margin-left: 4px;
  color: var(--muted-2);
  font-size: 9px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 23px 0 25px;
  border-top: 1px solid var(--line-faint);
}

.footer-bottom__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-legal {
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.85;
}

.footer-legal p {
  margin: 0 0 4px;
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--amber);
}

.footer-meta {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: right;
}

.footer-wordmark {
  position: absolute;
  right: -0.08em;
  bottom: -0.26em;
  z-index: 0;
  color: transparent;
  font-family: var(--sans);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.8;
  opacity: 0.035;
  -webkit-text-stroke: 1px var(--paper);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(400px, 56vh, 540px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.page-hero--short {
  min-height: clamp(330px, 44vh, 420px);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #10150d;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.8);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 10, 6, 0.92), rgba(7, 10, 6, 0.48) 64%, rgba(7, 10, 6, 0.25)),
    linear-gradient(0deg, rgba(7, 10, 6, 0.97) 0%, rgba(7, 10, 6, 0.36) 55%, rgba(7, 10, 6, 0.18));
  content: "";
}

.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: linear-gradient(90deg, rgba(242, 234, 219, 0.08) 1px, transparent 1px);
  background-size: 120px 100%;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 72%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 142px;
  padding-bottom: clamp(44px, 6vw, 68px);
}

.breadcrumbs {
  margin-bottom: 32px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(242, 234, 219, 0.5);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.breadcrumbs li + li::before {
  color: var(--amber-dark);
  font-size: 9px;
  content: "/";
}

.breadcrumbs a {
  color: rgba(242, 234, 219, 0.68);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--amber-bright);
}

.breadcrumbs [aria-current="page"] {
  color: var(--paper-soft);
}

.page-hero h1 {
  max-width: 960px;
  margin: 0 0 19px;
  color: var(--paper);
  font-size: clamp(45px, 6.3vw, 86px);
  font-weight: 830;
  line-height: 1.06;
  letter-spacing: -0.06em;
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-hero h1 em {
  color: var(--amber-bright);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page-hero__lede {
  max-width: 690px;
  margin: 0;
  color: #d0c8b8;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.9;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-hero__meta span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

/* --------------------------------------------------------------------------
   Page content
   -------------------------------------------------------------------------- */

.page-body {
  padding: clamp(58px, 8vw, 96px) 0 clamp(72px, 9vw, 118px);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.content-main {
  min-width: 0;
}

.article-header {
  margin-bottom: 38px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-soft);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.article-meta__tag {
  padding: 4px 9px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.article-meta span + span::before {
  margin-right: 16px;
  color: var(--line-strong);
  content: "/";
}

.article-title {
  margin: 0 0 17px;
  color: var(--paper);
  font-size: clamp(34px, 4.2vw, 53px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.article-subtitle {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.prose {
  color: var(--paper-soft);
  font-size: 15px;
  line-height: 2;
}

.prose > p:first-of-type {
  color: #ddd5c5;
  font-size: 17px;
  line-height: 1.95;
}

.prose p {
  margin-bottom: 1.6em;
}

.prose a {
  color: var(--amber-bright);
  text-decoration: underline;
  text-decoration-color: rgba(224, 163, 77, 0.45);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.prose a:hover {
  color: #fff3d9;
  text-decoration-color: var(--amber);
}

.prose h2,
.prose h3 {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.prose h2 {
  position: relative;
  margin: 2.2em 0 0.75em;
  padding-top: 0.35em;
  color: var(--paper);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.prose h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--amber);
  content: "";
}

.prose h3 {
  margin: 1.8em 0 0.6em;
  color: var(--paper);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.prose ul,
.prose ol {
  margin-bottom: 1.6em;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.55em;
  padding-left: 0.3em;
}

.prose li::marker {
  color: var(--amber);
}

.prose strong {
  color: var(--paper);
  font-weight: 650;
}

.prose blockquote {
  margin: 2.1em 0;
  padding: 20px 24px;
  border-left: 2px solid var(--amber);
  background: rgba(224, 163, 77, 0.055);
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose table {
  width: 100%;
  margin: 1.8em 0 2em;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.7;
}

.prose th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(242, 234, 219, 0.035);
  color: var(--amber);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
}

.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-faint);
  color: var(--muted);
  vertical-align: top;
}

.prose tr:last-child td {
  border-bottom-color: var(--line-soft);
}

.prose td strong {
  color: var(--paper-soft);
}

.table-scroll {
  overflow-x: auto;
  margin: 1.8em 0 2em;
  border: 1px solid var(--line-faint);
}

.table-scroll table {
  min-width: 520px;
  margin: 0;
}

.callout {
  position: relative;
  margin: 2em 0;
  padding: 19px 22px 18px 23px;
  border: 1px solid var(--line);
  background: rgba(224, 163, 77, 0.045);
}

.callout::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 3px;
  background: var(--amber);
  content: "";
}

.callout__title {
  display: block;
  margin-bottom: 6px;
  color: var(--amber-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.callout--tip {
  border-color: rgba(143, 171, 136, 0.28);
  background: rgba(143, 171, 136, 0.05);
}

.callout--tip::before {
  background: var(--jade);
}

.callout--tip .callout__title {
  color: var(--jade-bright);
}

.callout--warning {
  border-color: rgba(217, 124, 98, 0.3);
  background: rgba(217, 124, 98, 0.045);
}

.callout--warning::before {
  background: var(--danger);
}

.callout--warning .callout__title {
  color: #e9a38e;
}

.steps {
  display: grid;
  gap: 1px;
  margin: 2em 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 20px 22px 20px 70px;
  background: var(--bg-soft);
  counter-increment: step;
}

.step::before {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--amber);
  font-family: var(--latin);
  font-size: 19px;
  line-height: 1.3;
  content: "0" counter(step);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.article-footer {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  padding: 6px 10px;
  border: 1px solid var(--line-faint);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag:hover {
  border-color: var(--line);
  color: var(--paper-soft);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 38px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 94px;
  padding: 17px 19px;
  background: var(--bg-soft);
  transition: background 0.25s ease;
}

.article-nav a:hover {
  background: var(--panel);
}

.article-nav small {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.article-nav strong {
  color: var(--paper-soft);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.6;
}

.article-nav a:last-child {
  text-align: right;
}


/* Sidebar */

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  display: grid;
  gap: 24px;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--line-faint);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.022), transparent 55%);
}

.side-card--download {
  border-color: var(--line);
  background:
    radial-gradient(200px 120px at 100% 0, rgba(224, 163, 77, 0.09), transparent 70%),
    var(--panel);
}

.side-card__label {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.side-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.side-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.side-card .btn {
  width: 100%;
  min-height: 41px;
  padding: 10px 14px;
  font-size: 11px;
}

.toc {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  border-bottom: 1px solid var(--line-faint);
}

.toc li:last-child {
  border-bottom: 0;
}

.toc a {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.toc a::before {
  flex: 0 0 auto;
  color: var(--amber-dark);
  font-family: var(--latin);
  font-size: 9px;
  content: "0" counter(toc);
}

.toc a:hover {
  color: var(--paper);
}

.side-card--help {
  display: grid;
  gap: 7px;
}

.side-card--help a {
  color: var(--paper-soft);
  font-size: 11px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.side-card--help a:hover {
  color: var(--amber-bright);
}


.prose-figure {
  margin: 2.2em 0;
  overflow: hidden;
  border: 1px solid var(--line-faint);
  background: var(--panel);
}

.prose-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.86);
}

.prose-figure figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line-faint);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}

.mt-28 {
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Listing pages
   -------------------------------------------------------------------------- */

.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.list-head h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.list-head p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-nav a,
.filter-nav button {
  padding: 6px 11px;
  border: 1px solid var(--line-faint);
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  line-height: 1.6;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-nav a:hover,
.filter-nav button:hover,
.filter-nav .is-active {
  border-color: var(--line);
  background: rgba(224, 163, 77, 0.08);
  color: var(--amber-bright);
}

.news-archive {
  border-top: 1px solid var(--line);
}

.news-archive__item {
  border-bottom: 1px solid var(--line-soft);
}

.news-archive__link {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 28px;
  gap: 30px;
  align-items: center;
  padding: 27px 8px 27px 0;
  transition: padding 0.3s var(--ease), background 0.3s ease;
}

.news-archive__link:hover {
  padding-left: 12px;
  background: rgba(224, 163, 77, 0.035);
}

.news-archive__date {
  color: var(--muted-2);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.news-archive__date b {
  display: block;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.news-archive__date span {
  display: block;
  color: var(--amber);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-archive__content h3 {
  margin: 0 0 7px;
  color: var(--paper);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.news-archive__content p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.news-archive__cat {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--jade);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.news-archive__arrow {
  color: var(--amber);
  font-size: 15px;
  text-align: right;
}

.news-archive__link:hover .news-archive__arrow {
  transform: translate(3px, -3px);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  color: var(--muted-2);
  font-size: 10px;
}

.pagination__pages {
  display: flex;
  gap: 5px;
}

.pagination__pages a,
.pagination__pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-faint);
  font-family: var(--latin);
  font-size: 10px;
}

.pagination__pages .current {
  border-color: var(--amber);
  color: var(--amber);
}

.pagination__pages a:hover {
  border-color: var(--line-strong);
  color: var(--paper);
}

/* Guide cards */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-faint);
  background: var(--panel);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.guide-card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
}

.guide-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.85);
  transition: transform 0.85s var(--ease), filter 0.4s ease;
}

.guide-card:hover .guide-card__media img {
  filter: saturate(0.95) brightness(0.92);
  transform: scale(1.04);
}

.guide-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 10, 6, 0.7));
  content: "";
}

.guide-card__tag {
  position: absolute;
  bottom: 13px;
  left: 15px;
  z-index: 2;
  color: var(--amber);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.guide-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 19px 19px;
}

.guide-card h3 {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.guide-card p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.guide-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--line-faint);
  color: var(--muted-2);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-card__foot span:last-child {
  color: var(--amber);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.guide-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  margin-bottom: 46px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.guide-featured__media {
  min-height: 340px;
  overflow: hidden;
}

.guide-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.9s var(--ease);
}

.guide-featured:hover .guide-featured__media img {
  transform: scale(1.025);
}

.guide-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
}

.guide-featured__body h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.guide-featured__body p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.guide-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.download-panel__main {
  padding: clamp(28px, 4.5vw, 50px);
}

.download-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.download-panel__badge::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jade);
  content: "";
}

.download-panel h2 {
  margin: 0 0 11px;
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 780;
  letter-spacing: -0.04em;
}

.download-panel__desc {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.download-panel__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 30px;
}

.download-panel__facts div {
  padding-right: 18px;
  border-right: 1px solid var(--line-soft);
}

.download-panel__facts div:last-child {
  padding-right: 0;
  border-right: 0;
}

.download-panel__facts dt {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.download-panel__facts dd {
  margin: 3px 0 0;
  color: var(--paper);
  font-size: 13px;
}

.download-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-panel__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 3.5vw, 38px);
  border-left: 1px solid var(--line-faint);
  background:
    radial-gradient(240px 180px at 100% 0, rgba(224, 163, 77, 0.1), transparent 72%),
    rgba(7, 10, 6, 0.34);
}

.download-panel__side h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.download-panel__side ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.download-panel__side li {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.download-panel__side li::before {
  color: var(--jade);
  content: "✓";
}

.checksum {
  padding: 11px 12px;
  border: 1px solid var(--line-faint);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.checksum b {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.sys-req {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.req-card {
  padding: 24px;
  border: 1px solid var(--line-faint);
  background: rgba(255, 255, 255, 0.015);
}

.req-card--recommend {
  border-color: rgba(224, 163, 77, 0.28);
}

.req-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 17px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}

.req-card h3 span {
  color: var(--amber);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.req-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.req-card dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  font-size: 11px;
  line-height: 1.7;
}

.req-card dt {
  color: var(--muted-2);
}

.req-card dd {
  margin: 0;
  color: var(--paper-soft);
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.download-step {
  min-height: 190px;
  padding: 22px;
  background: var(--bg-soft);
}

.download-step__num {
  display: block;
  margin-bottom: 32px;
  color: var(--amber);
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.download-step h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.download-step p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* Screenshot page intro */

.screens-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.screens-intro p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.screens-intro .eyebrow {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Support modal, lightbox, floating actions, toast
   -------------------------------------------------------------------------- */

.support-dialog,
.lightbox {
  width: min(calc(100% - 32px), 760px);
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #10150d;
  color: var(--paper-soft);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  overflow: auto;
}

.support-dialog::backdrop,
.lightbox::backdrop {
  background: rgba(3, 5, 3, 0.82);
  backdrop-filter: blur(5px);
}

.support-dialog[open] {
  animation: modal-in 0.3s var(--ease);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.support-dialog__inner {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(400px 240px at 100% 0, rgba(224, 163, 77, 0.11), transparent 70%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.015), transparent 60%);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--latin);
  font-size: 22px;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  border-color: var(--amber);
  background: rgba(224, 163, 77, 0.08);
  color: var(--paper);
}

.support-dialog__head {
  margin-bottom: 26px;
  padding-right: 34px;
}

.support-dialog__head .eyebrow {
  margin-bottom: 14px;
}

.support-dialog h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.support-dialog__head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 246px;
  gap: 30px;
  align-items: start;
}

.support-methods {
  display: grid;
  gap: 1px;
  background: var(--line-faint);
  border: 1px solid var(--line-faint);
}

.support-method {
  padding: 15px 16px;
  background: rgba(10, 14, 9, 0.8);
}

.support-method strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
}

.support-method strong::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.support-method p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.support-actions .btn {
  min-height: 39px;
  padding: 9px 13px;
  font-size: 10px;
}

.support-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 17px 0 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.7;
}

.support-note::before {
  color: var(--jade);
  content: "●";
  font-size: 7px;
  line-height: 1.8;
}

.support-qrs {
  display: grid;
  gap: 10px;
}

.support-qr {
  padding: 12px;
  border: 1px solid var(--line-faint);
  background: #0a0e08;
  text-align: center;
}

.support-qr img {
  width: 100%;
  max-width: 148px;
  margin: 0 auto 8px;
  padding: 5px;
  background: #fff;
}

.support-qr figcaption {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.support-qr figcaption b {
  display: block;
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 550;
}

.lightbox {
  width: min(calc(100% - 32px), 1180px);
  border-color: rgba(242, 234, 219, 0.2);
  background: #070906;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  background: #050604;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  border-top: 1px solid var(--line-faint);
}

.lightbox__bar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.lightbox__bar button {
  border: 0;
  background: none;
  color: var(--amber);
  cursor: pointer;
  font-size: 11px;
}

.floating-actions {
  position: fixed;
  right: 19px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  gap: 8px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 46px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 15, 9, 0.9);
  color: var(--paper);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.float-btn:hover {
  background: var(--amber);
  color: #11140d;
  transform: translateY(-2px);
}

.float-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.float-btn--support {
  border-color: var(--amber);
}

.float-btn--top {
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.float-btn--top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 120;
  max-width: calc(100vw - 40px);
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  background: #10150d;
  color: var(--paper);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.not-found {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 60px 0;
}

.not-found__inner {
  max-width: 720px;
}

.not-found__code {
  margin: 0 0 8px;
  color: var(--amber);
  font-family: var(--latin);
  font-size: clamp(90px, 20vw, 190px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.not-found h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
}

.not-found p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .main-nav {
    gap: 19px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 42px;
  }
}

@media (max-width: 940px) {
  :root {
    --header-h: 70px;
  }

  .topbar {
    display: none;
  }

  .main-nav,
  .nav-support,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-bar {
    gap: 16px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 20px;
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: #070a06;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    overflow-y: auto;
  }

  .mobile-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav__inner {
    width: min(calc(100% - var(--gutter) * 2), 620px);
    margin: 0 auto;
    padding: 36px 0 46px;
  }

  .mobile-nav a.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-faint);
    color: var(--paper);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .mobile-nav a.mobile-nav__link span {
    color: var(--amber);
    font-family: var(--latin);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
  }

  .mobile-nav a.mobile-nav__link.is-active {
    color: var(--amber-bright);
  }

  .mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 28px;
  }

  .mobile-nav__actions .btn {
    width: 100%;
  }

  .hero {
    min-height: 740px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 64px;
  }

  .hero__aside {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: clamp(190px, 27vw, 250px);
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero__copy {
    max-width: 520px;
  }

  .hero__scroll {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .section-head__label {
    padding-top: 0;
  }

  .section-head__link {
    margin-top: 4px;
  }

  .intro-grid,
  .evolution-grid,
  .feed-grid,
  .faq-grid,
  .content-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .intro-visual {
    max-width: 560px;
    margin-left: auto;
  }

  .intro-visual img {
    aspect-ratio: 4 / 3;
  }

  .evolution-media {
    max-width: 540px;
    margin-inline: auto;
  }

  .evolution-grid .evolution-media {
    order: 2;
  }

  .evolution-grid .evolution-copy {
    order: 1;
  }

  .faq-intro,
  .sidebar {
    position: static;
  }

  .sidebar {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .download-band__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .download-card {
    max-width: 440px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel__side {
    border-top: 1px solid var(--line-faint);
    border-left: 0;
  }

  .download-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
    padding-bottom: 12px;
  }

  .footer-qr {
    margin-top: 20px;
  }

  .footer-bottom__row {
    flex-direction: column;
    gap: 14px;
  }

  .footer-meta {
    text-align: left;
  }

  .guide-featured {
    grid-template-columns: 1fr;
  }

  .guide-featured__media {
    min-height: 250px;
    aspect-ratio: 16 / 9;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-qrs {
    grid-template-columns: 1fr 1fr;
  }

  .support-qr img {
    max-width: 122px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 15px;
  }

  .topbar__inner {
    min-height: 31px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .topbar__left {
    gap: 8px;
  }

  .topbar__right {
    display: none;
  }

  .brand__sub {
    display: none;
  }

  .brand__name {
    font-size: 19px;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 680px;
  }

  .hero__inner {
    padding-top: 132px;
    padding-bottom: 48px;
  }

  .hero__kicker {
    margin-bottom: 18px;
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .hero__title-brand {
    font-size: clamp(62px, 20vw, 94px);
  }

  .hero__title-line {
    margin-top: 10px;
    font-size: clamp(21px, 6vw, 29px);
  }

  .hero__title-line em {
    display: block;
    margin-top: 2px;
  }

  .hero__copy {
    margin-top: 19px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero__actions {
    margin-top: 25px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    margin-top: 27px;
  }

  .hero__meta-item {
    min-width: 50%;
    padding: 10px 12px 0 0;
    font-size: 10px;
  }

  .hero__meta-item + .hero__meta-item {
    padding-left: 12px;
  }

  .hero__meta-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .display {
    font-size: clamp(31px, 9vw, 43px);
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head--feed {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .section-head h2 {
    font-size: clamp(29px, 8vw, 40px);
  }

  .intro-grid {
    gap: 34px;
  }

  .intro-visual__caption {
    position: relative;
    width: 100%;
    margin-top: -1px;
    padding: 16px 18px;
  }

  .intro-visual {
    padding-bottom: 0;
  }

  .intro-visual__tag {
    bottom: 22px;
  }

  .fact-list {
    margin-top: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .feature-card {
    min-height: 220px;
    padding: 23px 20px;
  }

  .feature-card__top {
    margin-bottom: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 174px;
    gap: 8px;
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item figcaption {
    right: 13px;
    bottom: 11px;
    left: 13px;
    font-size: 11px;
  }

  .gallery-item figcaption small {
    font-size: 7px;
  }

  .gallery-item__zoom {
    display: none;
  }

  .shot-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shot-grid .gallery-item,
  .shot-grid .gallery-item:nth-child(1),
  .shot-grid .gallery-item:nth-child(2),
  .shot-grid .gallery-item:nth-child(3),
  .shot-grid .gallery-item:nth-child(4),
  .shot-grid .gallery-item:nth-child(5),
  .shot-grid .gallery-item:nth-child(6) {
    grid-column: span 1;
    min-height: 230px;
  }

  .download-band__inner {
    padding: 58px 0;
  }

  .download-band h2 {
    font-size: clamp(31px, 8.5vw, 43px);
  }

  .download-card {
    padding: 20px;
  }

  .download-card dl {
    grid-template-columns: 1fr;
  }

  .download-card dl div:nth-child(odd),
  .download-card dl div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .news-list__link {
    grid-template-columns: 57px minmax(0, 1fr) 12px;
    gap: 13px;
    padding: 17px 0;
  }

  .news-date b {
    font-size: 20px;
  }

  .news-list__title {
    font-size: 14px;
  }

  .news-list__excerpt {
    display: none;
  }

  .feature-guide__body {
    padding-inline: 18px;
  }

  .feature-guide__body h3 {
    font-size: 20px;
  }

  .faq-grid {
    gap: 28px;
  }

  .faq-item summary {
    font-size: 14px;
  }

  .page-hero {
    min-height: 380px;
  }

  .page-hero__inner {
    padding-top: 118px;
    padding-bottom: 38px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .breadcrumbs li {
    font-size: 9px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .page-hero__lede {
    font-size: 13px;
  }

  .page-body {
    padding: 48px 0 70px;
  }

  .article-title {
    font-size: clamp(30px, 8.5vw, 41px);
  }

  .article-subtitle {
    font-size: 13px;
  }

  .prose {
    font-size: 14px;
    line-height: 1.95;
  }

  .prose > p:first-of-type {
    font-size: 16px;
  }

  .prose h2 {
    font-size: 24px;
  }

  .prose blockquote {
    padding: 16px 18px;
    font-size: 15px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav a:last-child {
    text-align: left;
  }

  .news-archive__link {
    grid-template-columns: 54px minmax(0, 1fr) 14px;
    gap: 14px;
    padding: 20px 0;
  }

  .news-archive__date b {
    font-size: 25px;
  }

  .news-archive__content h3 {
    font-size: 16px;
  }

  .news-archive__content p {
    display: none;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-featured__body {
    padding: 24px 20px;
  }

  .guide-featured__body h2 {
    font-size: 27px;
  }

  .download-panel__main {
    padding: 24px 19px;
  }

  .download-panel__side {
    padding: 24px 19px;
  }

  .download-panel__facts {
    gap: 12px;
  }

  .download-panel__facts div {
    padding-right: 12px;
  }

  .download-panel__actions .btn {
    width: 100%;
  }

  .sys-req {
    grid-template-columns: 1fr;
  }

  .download-steps {
    grid-template-columns: 1fr;
  }

  .download-step {
    min-height: 0;
  }

  .download-step__num {
    margin-bottom: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
    padding-top: 48px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-qr {
    flex-wrap: wrap;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }

  .footer-legal {
    font-size: 8px;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .float-btn {
    padding: 0;
    justify-content: center;
    width: 46px;
    min-width: 46px;
  }

  .float-btn span {
    display: none;
  }

  .toast {
    right: 12px;
    bottom: 70px;
  }

  .support-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .support-dialog__inner {
    padding: 25px 18px;
  }

  .support-qrs {
    gap: 8px;
  }

  .support-qr {
    padding: 9px;
  }

  .lightbox__bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .screens-intro {
    display: block;
  }

  .screens-intro .eyebrow {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__bg img {
    animation: none;
  }

  .marquee__track {
    animation: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .floating-actions,
  .support-dialog,
  .lightbox,
  .download-band,
  .site-footer {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .page-hero {
    min-height: 0;
    border: 0;
  }

  .page-hero__bg,
  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .page-hero__inner {
    padding: 20px 0;
  }

  .page-hero h1,
  .page-hero__lede,
  .breadcrumbs li,
  .breadcrumbs a {
    color: #111;
  }
}

.article-nav--single {
  grid-template-columns: 1fr;
}
