﻿/* ==========================================================================
   洛雪音乐 · LX Music
   Modern dark UI: deep ink, mint-to-violet gradients, glass surfaces.
   ========================================================================== */

:root {
  --bg: #04121d;
  --bg-soft: #071c2b;
  --surface: #0a2233;
  --surface-2: #0d293c;
  --ink: #eef8fd;
  --ink-2: #b9d4e4;
  --muted: #7e9fb4;
  --line: rgba(148, 197, 226, 0.14);
  --line-2: rgba(148, 197, 226, 0.26);
  --mint: #38bdf8;
  --cyan: #22d3ee;
  --violet: #4f7cff;
  --mint-ink: #03131e;
  --grad: linear-gradient(112deg, #22d3ee 0%, #38bdf8 48%, #4f7cff 100%);
  --grad-soft: linear-gradient(140deg, rgba(34, 211, 238, 0.2), rgba(79, 124, 255, 0.18));
  --glow-mint: 0 24px 70px -32px rgba(56, 189, 248, 0.55);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 82% -6%, rgba(56, 189, 248, 0.17), transparent 62%),
    radial-gradient(760px 520px at -8% 30%, rgba(79, 124, 255, 0.15), transparent 60%),
    radial-gradient(600px 420px at 60% 100%, rgba(34, 211, 238, 0.1), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: #7dd3fc; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(56, 189, 248, 0.25); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  background: var(--mint); color: var(--mint-ink); padding: 10px 16px; font-size: 14px; font-weight: 700;
  border-radius: 999px; transform: translateY(-180%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--mint); font-weight: 700;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(56, 189, 248, 0.8); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }

.section { padding-block: clamp(70px, 8vw, 110px); }
.section-head { margin-bottom: clamp(30px, 4vw, 46px); }
.section-head h2 { margin-top: 16px; font-size: clamp(1.9rem, 3.3vw, 2.7rem); }
.section-head .deck { margin-top: 14px; max-width: 56ch; color: var(--muted); font-size: 15px; line-height: 1.9; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: var(--mint-ink); box-shadow: 0 14px 34px -16px rgba(56, 189, 248, 0.7); }
.btn-primary:hover { color: var(--mint-ink); transform: translateY(-1px); box-shadow: 0 18px 40px -14px rgba(56, 189, 248, 0.8); filter: brightness(1.04); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(56, 189, 248, 0.55); color: var(--mint); background: rgba(56, 189, 248, 0.07); }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 16px; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, 0.03);
  color: var(--ink-2); cursor: pointer; transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: rgba(56, 189, 248, 0.55); color: var(--mint); background: rgba(56, 189, 248, 0.08); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s, backdrop-filter 0.25s;
}
.site-header.is-scrolled {
  background: rgba(4, 18, 29, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 8px 22px -10px rgba(56, 189, 248, 0.6); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 17px; font-weight: 800; color: var(--ink); }
.brand-text em { margin-top: 5px; font-style: normal; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.22em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: 16px; }
.site-nav a { position: relative; font-size: 14.5px; color: var(--ink-2); padding-block: 6px; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; }
.nav-bars { position: relative; width: 18px; height: 12px; }
.nav-bars span { position: absolute; left: 0; width: 18px; height: 1.7px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-bars span:nth-child(1) { top: 0; }
.nav-bars span:nth-child(2) { top: 5px; }
.nav-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: rgba(4, 18, 29, 0.97); padding: 10px 0 20px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.mobile-nav a { display: block; padding: 12px 2px; font-size: 15.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { width: 100%; margin-top: 14px; }
.mobile-nav.is-open { display: block; }
body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 66px); padding-bottom: clamp(50px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(75% 62% at 62% 26%, #000 0%, transparent 76%);
  mask-image: radial-gradient(75% 62% at 62% 26%, #000 0%, transparent 76%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 52px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.24); background: rgba(56, 189, 248, 0.07);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: #a5e8fb;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.hero h1 { margin-top: 22px; font-size: clamp(2.55rem, 4.8vw, 4.15rem); line-height: 1.08; letter-spacing: -0.04em; }
.hero h1 .accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin-top: 22px; max-width: 48ch; font-size: 16.5px; line-height: 1.9; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; margin-top: 26px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero-meta li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); margin: 0 13px; vertical-align: middle; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.hero-visual::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), rgba(79, 124, 255, 0.12) 45%, transparent 70%);
  filter: blur(30px); z-index: 0;
}
.phone {
  position: relative; width: 278px; padding: 8px; border-radius: 44px;
  background: linear-gradient(155deg, #2b3f4f, #08141d 55%, #050e15);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.95), 0 0 70px -28px rgba(56, 189, 248, 0.5);
}
.phone-screen { position: relative; border-radius: 37px; overflow: hidden; aspect-ratio: 9 / 16; background: #fff; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone--main { transform: rotate(-2deg); z-index: 2; }
.phone--back {
  position: absolute; right: 0; top: 54px; width: 222px; transform: rotate(3.6deg);
  opacity: 0.92; z-index: 1; filter: saturate(0.92) brightness(0.82);
}
.phone--back .phone-screen { border-radius: 30px; }
.hero-note { position: absolute; bottom: -4px; right: 8%; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); z-index: 3; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  position: relative; padding: 28px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(56, 189, 248, 0.32); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(56, 189, 248, 0.12); }
.feature-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.3); }
.feature-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px;
  border-radius: 14px; background: var(--grad-soft); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #7dd3fc;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.12rem; font-weight: 700; }
.feature p { margin-top: 10px; font-size: 14px; line-height: 1.85; color: var(--muted); }

/* ---------- screens ---------- */
.screens {
  background: linear-gradient(180deg, transparent, rgba(12, 24, 18, 0.85) 12%, rgba(12, 24, 18, 0.85) 88%, transparent);
  border-block: 1px solid var(--line);
}
.screen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; align-items: start; }
.shot { text-align: center; }
.shot .phone { width: 100%; max-width: 228px; margin-inline: auto; padding: 7px; border-radius: 30px; transition: transform 0.35s var(--ease); }
.shot .phone-screen { border-radius: 24px; }
.shot:hover .phone { transform: translateY(-6px); }
.shot figcaption { margin-top: 18px; }
.shot figcaption strong { display: block; font-size: 14.5px; font-weight: 700; }
.shot figcaption span { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--grad); }
.step-num {
  font-family: var(--font-mono); font-size: 26px; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-top: 14px; font-size: 1.12rem; font-weight: 700; }
.step p { margin-top: 9px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.steps-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 36px; padding: 16px 18px;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  font-size: 13px; line-height: 1.8; color: var(--ink-2);
}
.steps-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--mint); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 54px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 26px); }
.faq-aside h2 { margin-top: 16px; font-size: clamp(1.8rem, 2.9vw, 2.4rem); }
.faq-aside p { margin-top: 14px; font-size: 14.5px; line-height: 1.9; color: var(--muted); max-width: 32ch; }
.faq-aside a { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 13.5px; font-weight: 700; color: var(--mint); border-bottom: 1px solid rgba(56, 189, 248, 0.35); padding-bottom: 3px; }
.faq-aside a svg { width: 13px; height: 13px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 0.25s, background-color 0.25s;
  overflow: hidden;
}
.faq-item[open] { border-color: rgba(56, 189, 248, 0.28); background: rgba(56, 189, 248, 0.045); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 22px; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--mint); }
.faq-item .marker { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); }
.faq-item .marker::before, .faq-item .marker::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 8px; height: 1.5px;
  background: var(--ink-2); transform: translate(-50%, -50%); transition: transform 0.25s var(--ease), background-color 0.25s;
}
.faq-item .marker::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .marker { background: var(--mint); border-color: var(--mint); }
.faq-item[open] .marker::before, .faq-item[open] .marker::after { background: #03131e; }
.faq-item[open] .marker::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .answer { padding: 0 56px 20px 22px; font-size: 14px; line-height: 1.95; color: var(--muted); }
.faq-item .answer a { color: var(--mint); }

/* ---------- download ---------- */
.download-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 56px); align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 28px; border: 1px solid var(--line-2);
  background: linear-gradient(150deg, #071c2b, #05141f 55%, #081f30);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}
.download-panel::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), rgba(79, 124, 255, 0.12) 48%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.download-copy { position: relative; }
.download-copy h2 { margin-top: 14px; font-size: clamp(1.75rem, 2.9vw, 2.4rem); }
.download-copy p { margin-top: 14px; max-width: 34ch; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.download-copy .btn { margin-top: 24px; }
.platforms { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.platform {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
}
.platform:hover { border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.08); transform: translateY(-2px); }
.platform-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--grad-soft); color: #7dd3fc; }
.platform-icon svg { width: 18px; height: 18px; }
.platform-text { min-width: 0; }
.platform-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.platform-text span { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.download-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 60px); background: rgba(255, 255, 255, 0.015); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 36ch; font-size: 13px; line-height: 1.9; color: var(--muted); }
.footer-col h3 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.footer-col ul { margin-top: 14px; display: grid; gap: 9px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(34px, 4vw, 52px); padding-block: 20px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.footer-bottom p { max-width: 70ch; }

/* ---------- modal ---------- */
.download-modal { margin: auto; padding: 0; border: 0; background: transparent; max-width: 470px; width: calc(100% - 32px); }
.download-modal::backdrop { background: rgba(2, 7, 5, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; padding: 30px 28px 26px; border-radius: 22px;
  background: linear-gradient(160deg, #0a2233, #04121d);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), 0 0 60px -30px rgba(56, 189, 248, 0.4);
}
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; font-size: 19px; line-height: 1; color: var(--muted); cursor: pointer;
}
.modal-close:hover { color: var(--ink); border-color: var(--line-2); }
.modal-panel h2 { font-size: 1.3rem; }
.modal-sub { margin-top: 6px; font-size: 13px; color: var(--muted); }
.modal-buttons { display: grid; gap: 10px; margin-top: 22px; }
.modal-btn {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background-color 0.2s;
}
.modal-btn:hover { border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.08); }
.modal-btn svg { width: 20px; height: 20px; color: var(--mint); flex: none; }
.modal-btn strong { display: block; font-size: 14.5px; color: var(--ink); }
.modal-btn span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.modal-note { margin-top: 16px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

/* ---------- posts ---------- */
.post-list { display: grid; gap: 16px; margin-top: 8px; }
.post-card {
  display: block; padding: 22px 24px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.3); box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.9); }
.post-card time { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.post-card h2 { margin-top: 8px; font-size: 1.15rem; }
.post-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ---------- doc pages ---------- */
.doc-wrap { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(52px, 7vw, 84px); }
.doc-head { max-width: 800px; }
.doc-head h1 { margin-top: 16px; font-size: clamp(2rem, 3.4vw, 2.85rem); }
.doc-meta { margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.doc-body { max-width: 800px; margin-top: 34px; }
.doc-body h2 { margin-top: 36px; font-size: 1.2rem; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { margin-top: 11px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.doc-body ul { margin-top: 12px; display: grid; gap: 7px; }
.doc-body ul li { position: relative; padding-left: 17px; margin-top: 0; }
.doc-body ul li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); opacity: 0.7; }
.doc-body a { color: var(--mint); border-bottom: 1px solid rgba(56, 189, 248, 0.3); }
.doc-body code { font-family: var(--font-mono); font-size: 0.88em; background: rgba(56, 189, 248, 0.1); border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; }
.doc-back {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
}
.doc-back:hover { border-color: rgba(56, 189, 248, 0.45); color: var(--mint); }
.doc-back svg { width: 14px; height: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 560px; }
  .phone { width: 254px; }
  .phone--back { width: 204px; }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-actions .btn-primary { display: none; }
  .mobile-nav { position: fixed; left: 0; right: 0; top: var(--header-h); padding-inline: 24px; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { min-height: 0; padding-block: 10px 36px; }
  .hero h1 { font-size: clamp(2.1rem, 6.6vw, 3.2rem); }
  .hero-note { display: none; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; }
  .download-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .container { width: min(1160px, 100% - 36px); }
  .hero .lede { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .phone { width: min(270px, 76vw); }
  .phone--back { display: none; }
  .hero-visual { padding-bottom: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 24px 22px; }
  .screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .shot .phone { max-width: 168px; }
  .faq-item .answer { padding-right: 22px; }
  .platforms { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .modal-panel { padding: 26px 20px 22px; }
  .doc-wrap { padding-top: calc(var(--header-h) + 36px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
@media print {
  .site-header, .hero-visual, .download-panel, .mobile-nav { display: none !important; }
  body { background: #fff; color: #111; }
}
