:root {
  --bg: #080a11;
  --bg-soft: #0d101a;
  --surface: #111521;
  --surface-2: #161b29;
  --surface-3: #1b2132;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7ff;
  --muted: #a3aabb;
  --dim: #6f788d;
  --accent: #7c68ee;
  --accent-2: #4bd7ff;
  --green: #48dfad;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 4%, rgba(124, 104, 238, 0.14), transparent 28rem),
    radial-gradient(circle at 91% 11%, rgba(75, 215, 255, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

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

button {
  font: inherit;
}

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

::selection {
  color: white;
  background: rgba(124, 104, 238, 0.7);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section-block {
  padding-block: 112px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 74px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 17, 0.76);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(124, 104, 238, 0.24);
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.footer-brand strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand small,
.footer-brand small {
  color: var(--dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease, transform 180ms ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.site-header nav .nav-download {
  padding: 10px 15px;
  color: white;
  border: 1px solid rgba(124, 104, 238, 0.48);
  border-radius: 10px;
  background: rgba(124, 104, 238, 0.15);
}

.hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 62px;
  min-height: 790px;
  padding-block: 88px 104px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-kicker {
  color: #aaa0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(124, 104, 238, 0.24);
  border-radius: 999px;
  background: rgba(124, 104, 238, 0.08);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(72, 223, 173, 0.1), 0 0 18px rgba(72, 223, 173, 0.7);
}

.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #f8f8ff 2%, #988bff 44%, #56d8f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions,
.download-actions,
.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #6e59e8, #8977f5);
  box-shadow: 0 16px 36px rgba(124, 104, 238, 0.28), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button-primary:hover {
  box-shadow: 0 20px 46px rgba(124, 104, 238, 0.38), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: #d7dbe8;
}

.button-secondary:hover {
  border-color: rgba(124, 104, 238, 0.55);
  background: rgba(124, 104, 238, 0.1);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--dim);
  font-size: 12px;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #586075;
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 610px;
  perspective: 1600px;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}

.ambient-one {
  top: 6%;
  right: 5%;
  width: 280px;
  height: 280px;
  background: #7357ff;
}

.ambient-two {
  bottom: 10%;
  left: 10%;
  width: 240px;
  height: 240px;
  background: #1bb5d0;
  opacity: 0.22;
}

.window-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #171a22;
  box-shadow: var(--shadow), 0 0 0 1px rgba(124, 104, 238, 0.07);
}

.window-frame img {
  width: 100%;
}

.window-main {
  top: 58px;
  right: -96px;
  width: 720px;
  transform: rotateY(-4deg) rotateX(1.5deg);
}

.window-main img {
  aspect-ratio: 1180 / 760;
  object-fit: cover;
}

.window-compact {
  bottom: -20px;
  left: -2px;
  width: 255px;
  transform: rotateY(5deg) rotateZ(-1deg);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(75, 215, 255, 0.08);
}

.window-compact img {
  aspect-ratio: 500 / 800;
  object-fit: cover;
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding-inline: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #11141d;
}

.window-chrome span,
.terminal-head span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a4050;
}

.window-chrome span:first-child,
.terminal-head span:first-child { background: #7c68ee; }
.window-chrome span:nth-child(2),
.terminal-head span:nth-child(2) { background: #4bd7ff; }
.window-chrome span:nth-child(3),
.terminal-head span:nth-child(3) { background: #48dfad; }

.window-chrome em,
.terminal-head em {
  margin-left: auto;
  color: #626b80;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.compact-chrome {
  height: 23px;
}

.hero-float-card {
  position: absolute;
  right: -18px;
  bottom: 44px;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(17, 21, 33, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.36);
}

.hero-float-card strong {
  color: var(--green);
  font-size: 22px;
}

.hero-float-card span {
  color: var(--muted);
  font-size: 11px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  border-block: 1px solid var(--line);
}

.proof-strip div {
  display: grid;
  gap: 8px;
  padding: 30px 34px;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  font-size: 27px;
  letter-spacing: -0.03em;
}

.proof-strip span {
  color: var(--dim);
  font-size: 12px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 48px;
}

.section-heading h2,
.mode-copy h2,
.editor-copy h2,
.local-copy h2,
.support-copy h2,
.download-copy h2,
.faq-title h2 {
  margin: 13px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.section-heading p,
.mode-copy > p,
.editor-copy > p,
.local-copy p,
.support-copy p,
.author-description,
.service-card p,
.download-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

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

.feature-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.feature-card::after {
  position: absolute;
  right: -55px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0;
  content: "";
  transition: opacity 200ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 104, 238, 0.38);
  background: linear-gradient(145deg, rgba(124, 104, 238, 0.1), rgba(255, 255, 255, 0.022));
}

.feature-card:hover::after {
  opacity: 0.22;
}

.feature-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 30px;
  border: 1px solid rgba(124, 104, 238, 0.32);
  border-radius: 8px;
  color: #aaa0ff;
  background: rgba(124, 104, 238, 0.09);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.feature-card h3 {
  margin: 38px 0 10px;
  font-size: 19px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.mode-story,
.editor-story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 100px;
}

.mode-visual {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 28px;
}

.mode-visual::before {
  position: absolute;
  inset: 10% 4%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(124, 104, 238, 0.36);
  filter: blur(80px);
  content: "";
}

.mode-visual img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mode-note {
  position: absolute;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: #dfe2ee;
  background: rgba(13, 16, 26, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  font-size: 11px;
}

.note-top { top: 18%; right: -36px; }
.note-bottom { bottom: 17%; left: -34px; }

.mode-copy > p,
.editor-copy > p {
  margin-top: 22px;
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c8cdda;
  font-size: 13px;
}

.check-list span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(72, 223, 173, 0.28);
  border-radius: 7px;
  color: var(--green);
  background: rgba(72, 223, 173, 0.08);
}

.gallery-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 104, 238, 0.11), transparent 38rem),
    #0b0e17;
}

.gallery-heading {
  margin-bottom: 38px;
}

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

.gallery-card,
.editor-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  cursor: zoom-in;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery-card:hover,
.editor-shot:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 104, 238, 0.45);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1180 / 760;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.gallery-caption {
  display: grid;
  gap: 5px;
  padding: 18px 20px 19px;
}

.gallery-caption strong {
  font-size: 15px;
}

.gallery-caption small {
  color: var(--dim);
  font-size: 11px;
}

.gallery-open {
  position: absolute;
  right: 18px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.editor-story {
  grid-template-columns: 0.76fr 1.24fr;
  gap: 72px;
}

.code-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.code-pills span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #aeb5c5;
  background: rgba(255, 255, 255, 0.035);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.editor-shot img {
  width: 100%;
  aspect-ratio: 1180 / 760;
  object-fit: cover;
}

.editor-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: #c8cdda;
  background: rgba(8, 10, 17, 0.78);
  backdrop-filter: blur(12px);
  font-size: 10px;
}

.local-first {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 50%, rgba(75, 215, 255, 0.08), transparent 31rem),
    linear-gradient(180deg, #0a0d15, #090b12);
}

.local-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 90px;
}

.local-copy p {
  margin-top: 22px;
  font-size: 16px;
}

.local-terminal {
  overflow: hidden;
  border: 1px solid rgba(75, 215, 255, 0.15);
  border-radius: 15px;
  background: #080c13;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), 0 0 44px rgba(75, 215, 255, 0.04);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line);
  background: #111620;
}

.local-terminal code {
  display: block;
  padding: 30px 34px 34px;
  color: #cfd5e3;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  font-style: normal;
  line-height: 2.1;
  white-space: pre-wrap;
}

.local-terminal i {
  color: var(--accent-2);
  font-style: normal;
}

.local-terminal b {
  color: #5e687c;
  font-weight: 400;
}

.author-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.author-card,
.service-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

.author-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-intro img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  box-shadow: 0 14px 32px rgba(124, 104, 238, 0.22);
}

.author-intro h2 {
  margin: 8px 0 5px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.author-intro p {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
}

.author-description {
  margin-top: 25px;
}

.author-links {
  margin-top: 27px;
}

.author-links a,
.author-links button {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #cbd0dc;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.author-links a:hover,
.author-links button:hover {
  border-color: rgba(124, 104, 238, 0.45);
  background: rgba(124, 104, 238, 0.09);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(124, 104, 238, 0.3);
  background:
    radial-gradient(circle at 100% 0, rgba(124, 104, 238, 0.19), transparent 16rem),
    linear-gradient(145deg, rgba(124, 104, 238, 0.08), rgba(255, 255, 255, 0.018));
}

.service-label {
  color: #aaa0ff;
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 18px 0 13px;
  font-size: 24px;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-line span {
  color: var(--dim);
  font-size: 11px;
}

.contact-line strong {
  color: #d9d4ff;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.support-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
  padding-top: 20px;
}

.support-copy p {
  margin-top: 20px;
}

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

.qr-grid figure {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
}

.qr-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 10px;
  overflow: hidden;
  border-radius: 12px;
  background: #f7f8fb;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-grid figcaption {
  margin-top: 13px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.download-section {
  padding-inline: 0;
  background: linear-gradient(180deg, transparent, rgba(124, 104, 238, 0.06));
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  padding: 58px;
  overflow: hidden;
  border: 1px solid rgba(124, 104, 238, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(124, 104, 238, 0.22), transparent 32rem),
    linear-gradient(145deg, #151926, #0e111a);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
}

.download-card::after {
  position: absolute;
  top: -150px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(75, 215, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(75, 215, 255, 0.025), 0 0 0 76px rgba(75, 215, 255, 0.02);
  content: "";
}

.download-copy {
  position: relative;
  z-index: 2;
}

.download-copy p {
  margin-top: 18px;
}

.download-actions {
  margin-top: 28px;
}

.download-spec {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 10, 17, 0.54);
  backdrop-filter: blur(10px);
}

.download-spec > div {
  display: grid;
  gap: 8px;
  padding: 15px 0;
}

.download-spec > div + div {
  border-top: 1px solid var(--line);
}

.download-spec span {
  color: var(--dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-spec strong {
  font-size: 12px;
  font-weight: 600;
}

.hash-row {
  grid-template-columns: 1fr auto;
}

.hash-row span {
  grid-column: 1 / -1;
}

.hash-row code {
  min-width: 0;
  overflow: hidden;
  color: #aab1c1;
  font-family: Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hash-row button {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #d7dbea;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: #d9ddea;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

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

.faq summary span {
  color: #8276c8;
  font-size: 21px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  margin: -6px 0 23px;
  padding-right: 44px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

footer {
  border-top: 1px solid var(--line);
  background: #070910;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  min-height: 118px;
}

.footer-inner > p {
  margin: 0;
  color: var(--dim);
  font-size: 10px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 64px 40px 50px;
  background: rgba(3, 4, 8, 0.92);
  backdrop-filter: blur(18px);
}

.lightbox img {
  max-width: min(1400px, 94vw);
  max-height: 78vh;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.lightbox p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  padding: 11px 15px;
  border: 1px solid rgba(72, 223, 173, 0.28);
  border-radius: 10px;
  color: #dffbf1;
  background: rgba(18, 56, 44, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.has-js [data-reveal] {
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.has-js [data-reveal="up"] { transform: translateY(24px); }
.has-js [data-reveal="left"] { transform: translateX(-28px); }
.has-js [data-reveal="right"] { transform: translateX(28px); }
.has-js [data-reveal="scale"] { transform: scale(0.97); }
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

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

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 86px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(820px, 100%);
    margin-inline: auto;
  }

  .window-main {
    right: 0;
  }

  .hero-float-card {
    right: 18px;
  }

  .mode-story,
  .editor-story,
  .local-grid,
  .support-section {
    gap: 54px;
  }

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

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

@media (max-width: 820px) {
  .section-shell {
    width: min(100% - 32px, 680px);
  }

  .section-block {
    padding-block: 82px;
  }

  .site-header {
    height: 66px;
    padding-inline: 16px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a:not(.nav-download) {
    display: none;
  }

  .hero {
    gap: 34px;
    padding-block: 72px 76px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 66px);
  }

  .hero-visual {
    min-height: 480px;
  }

  .window-main {
    top: 40px;
    width: min(670px, 98%);
    transform: none;
  }

  .window-compact {
    width: 190px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 32px);
  }

  .proof-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-strip div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .mode-story,
  .editor-story,
  .local-grid,
  .author-section,
  .support-section,
  .faq {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .mode-visual {
    width: min(400px, 88vw);
  }

  .mode-copy {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    width: calc(100% - 32px);
    padding: 38px 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px;
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

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

  .hero-actions,
  .download-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 370px;
  }

  .window-main {
    top: 30px;
  }

  .window-compact {
    bottom: 0;
    width: 132px;
    border-radius: 9px;
  }

  .window-chrome {
    height: 20px;
  }

  .window-chrome em,
  .hero-float-card {
    display: none;
  }

  .proof-strip div {
    padding: 22px 18px;
  }

  .proof-strip strong {
    font-size: 22px;
  }

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

  .feature-card {
    min-height: 205px;
  }

  .section-heading h2,
  .mode-copy h2,
  .editor-copy h2,
  .local-copy h2,
  .support-copy h2,
  .download-copy h2,
  .faq-title h2 {
    font-size: 35px;
  }

  .note-top { right: -8px; }
  .note-bottom { left: -8px; }

  .author-card,
  .service-card {
    padding: 26px;
  }

  .author-intro {
    align-items: flex-start;
  }

  .author-intro img {
    width: 50px;
    height: 50px;
  }

  .author-intro h2 {
    font-size: 20px;
  }

  .qr-grid {
    gap: 8px;
  }

  .qr-grid figure {
    padding: 10px;
  }

  .download-card {
    padding: 32px 20px;
    border-radius: 19px;
  }

  .hash-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .lightbox {
    padding: 60px 12px 30px;
  }
}
