/* QuickDashboard landing page — Liquid Glass */
:root {
  color-scheme: light;
  --bg: #eef1f8;
  --bg-2: #f7f9fe;
  --ink: #0b1020;
  --ink-soft: #2c3448;
  --muted: #5d6579;
  --faint: #8a92a6;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --glass-line: rgba(255, 255, 255, 0.72);
  --line: rgba(15, 23, 42, 0.09);
  --primary: #0a84ff;
  --primary-deep: #0066d6;
  --violet: #6b5cff;
  --green: #30b66f;
  --orange: #ff9f0a;
  --red: #ff453a;
  --shadow-lg: 0 30px 90px rgba(29, 44, 90, 0.16);
  --shadow-md: 0 16px 44px rgba(29, 44, 90, 0.12);
  --shadow-sm: 0 6px 18px rgba(29, 44, 90, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-h: 68px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070a14;
  --bg-2: #0b1020;
  --ink: #f4f7ff;
  --ink-soft: #d6dcf0;
  --muted: #9aa3ba;
  --faint: #6f7890;
  --glass: rgba(20, 26, 46, 0.55);
  --glass-strong: rgba(24, 31, 54, 0.86);
  --glass-line: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.09);
  --primary: #4da3ff;
  --primary-deep: #2f8fff;
  --shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.42);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: color-mix(in srgb, var(--primary) 28%, transparent); }

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

/* ---------- ambient background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 46%, var(--bg));
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
}

.orb-a {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  left: -12vw; top: -14vw;
  background: radial-gradient(circle at 35% 35%, rgba(10, 132, 255, 0.5), rgba(107, 92, 255, 0.18) 58%, transparent 72%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.orb-b {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  right: -10vw; top: 8vh;
  background: radial-gradient(circle at 60% 40%, rgba(255, 159, 10, 0.28), rgba(255, 69, 58, 0.12) 55%, transparent 72%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.orb-c {
  width: 44vw; height: 44vw; min-width: 360px; min-height: 360px;
  left: 26vw; bottom: -22vw;
  background: radial-gradient(circle at 50% 50%, rgba(48, 182, 111, 0.24), rgba(10, 132, 255, 0.14) 55%, transparent 74%);
  animation: drift-c 30s ease-in-out infinite alternate;
}

:root[data-theme="dark"] .orb { opacity: 0.34; }

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

@keyframes drift-a { to { transform: translate3d(7vw, 5vw, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-6vw, 7vh, 0) scale(1.12); } }
@keyframes drift-c { to { transform: translate3d(4vw, -6vh, 0) scale(1.06); } }

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--shadow-sm);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}
:root[data-theme="dark"] .glass {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-sm);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-icon { border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand-name { font-size: 16.5px; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: 10px;
}
.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--glass-strong) 70%, transparent);
  cursor: pointer;
  transition: transform 0.2s var(--spring), background 0.2s ease;
}
.theme-toggle:hover { transform: scale(1.06); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s var(--spring), box-shadow 0.22s ease, background 0.22s ease, opacity 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2b97ff, var(--primary-deep));
  box-shadow: 0 10px 26px rgba(10, 132, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(10, 132, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
.btn-ghost {
  color: var(--ink);
  background: color-mix(in srgb, var(--glass-strong) 74%, transparent);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-small { padding: 8px 15px; font-size: 14px; }
.btn-large { padding: 14px 24px; font-size: 15.5px; border-radius: 16px; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 76px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(48, 182, 111, 0.16);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 5.1vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.gradient-text {
  background: linear-gradient(92deg, var(--primary) 0%, var(--violet) 46%, #ff7a59 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 0 0 30px;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-size: 13.5px;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta li + li::before { content: "·"; margin-right: 12px; color: var(--faint); }

.hero-visual { position: relative; }
.window {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform 0.6s var(--spring);
}
.hero-visual:hover .window { transform: perspective(1400px) rotateY(0) rotateX(0); }
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--glass-strong) 70%, transparent);
}
.traffic { display: inline-flex; gap: 6px; }
.traffic i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }
.window-url {
  flex: 1;
  padding: 3px 12px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--faint);
  font-size: 11.5px;
  text-align: center;
}
.window-dots { color: var(--faint); font-size: 12px; letter-spacing: 1px; }
.window-screen { background: #0b1020; }
.window-screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip-ico {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--primary) 13%, transparent);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 11.5px;
}
.chip-a { top: 7%; left: -26px; }
.chip-b { right: -18px; top: 30%; animation-delay: -2.2s; }
.chip-c { bottom: -18px; left: 12%; animation-delay: -4.1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- sections ---------- */
.section { padding: clamp(46px, 7vw, 86px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head h2, .split h2, .privacy-copy h2, .cta-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.section-sub { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.7; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--spring), box-shadow 0.35s ease, border-color 0.3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.32), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
:root[data-theme="dark"] .feature-card::before {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(120, 170, 255, 0.12), transparent 62%);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.feature-icon svg { width: 21px; height: 21px; }
.tone-blue { background: linear-gradient(145deg, #d9ebff, #b6d8ff); color: #0768d0; }
.tone-orange { background: linear-gradient(145deg, #ffedd2, #ffd9a3); color: #b96a00; }
.tone-green { background: linear-gradient(145deg, #d9f7e5, #b2ecc9); color: #177a45; }
.tone-purple { background: linear-gradient(145deg, #e9e4ff, #d3c8ff); color: #5b3fd6; }
.tone-cyan { background: linear-gradient(145deg, #d7f4f7, #b0e8ee); color: #0a7c88; }
.tone-slate { background: linear-gradient(145deg, #e8ecf4, #d2d9e6); color: #46536b; }
:root[data-theme="dark"] .tone-blue { background: linear-gradient(145deg, rgba(10,132,255,.28), rgba(10,132,255,.14)); color: #8cc4ff; border-color: rgba(140,196,255,.22); }
:root[data-theme="dark"] .tone-orange { background: linear-gradient(145deg, rgba(255,159,10,.26), rgba(255,159,10,.12)); color: #ffc46b; border-color: rgba(255,196,107,.2); }
:root[data-theme="dark"] .tone-green { background: linear-gradient(145deg, rgba(48,182,111,.26), rgba(48,182,111,.12)); color: #7fe0a8; border-color: rgba(127,224,168,.2); }
:root[data-theme="dark"] .tone-purple { background: linear-gradient(145deg, rgba(107,92,255,.3), rgba(107,92,255,.14)); color: #b9adff; border-color: rgba(185,173,255,.22); }
:root[data-theme="dark"] .tone-cyan { background: linear-gradient(145deg, rgba(48,209,224,.24), rgba(48,209,224,.11)); color: #8fe6ee; border-color: rgba(143,230,238,.2); }
:root[data-theme="dark"] .tone-slate { background: linear-gradient(145deg, rgba(148,163,190,.22), rgba(148,163,190,.1)); color: #c2ccdf; border-color: rgba(194,204,223,.18); }
.feature-card h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -0.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.68; }

/* ---------- gallery ---------- */
.gallery { border-radius: var(--radius-xl); padding: 18px; }
.gallery-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  width: fit-content;
}
.gallery-tab {
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.gallery-tab:hover { color: var(--ink); }
.gallery-tab.is-active {
  color: var(--ink);
  background: var(--glass-strong);
  box-shadow: 0 4px 14px rgba(20, 30, 60, 0.1);
}
.gallery-stage { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #0b1020; }
.gallery-stage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: 1; transition: opacity 0.28s ease; }
.gallery-stage img.is-fading { opacity: 0; }
.gallery-stage figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(10, 16, 32, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- split / sync ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 4.5vw, 54px);
  border-radius: var(--radius-xl);
}
.split-copy p { color: var(--muted); line-height: 1.72; }
.split-copy h2 { margin-top: 0; }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 17px; height: 17px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.sync-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 260px;
}
.device {
  width: 132px;
  border-radius: 20px;
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.device-screen {
  display: grid;
  place-items: center;
  height: 92px;
  margin-bottom: 10px;
  border-radius: 12px;
  background:
    radial-gradient(120px 80px at 30% 20%, rgba(10, 132, 255, 0.3), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 16%, transparent), color-mix(in srgb, var(--violet) 14%, transparent));
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
}
.device small { color: var(--muted); font-size: 11.5px; }
.sync-line { display: flex; align-items: center; gap: 5px; }
.sync-line span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.25;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.sync-line span:nth-child(2) { animation-delay: 0.24s; }
.sync-line span:nth-child(3) { animation-delay: 0.48s; }
@keyframes pulse-dot { 0%, 100% { opacity: 0.2; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
.sync-badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

/* ---------- privacy ---------- */
.privacy-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(30px, 4.5vw, 56px);
  border-radius: var(--radius-xl);
}
.privacy-copy p { color: var(--muted); line-height: 1.72; }
.privacy-copy h2 { font-size: clamp(26px, 3.2vw, 40px); text-wrap: balance; }
.text-link { display: inline-flex; gap: 6px; margin-top: 8px; color: var(--primary); font-weight: 600; font-size: 14.5px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.privacy-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; align-content: center; }
.privacy-list li {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--glass-strong) 55%, transparent);
  border: 1px solid var(--line);
}
.privacy-list strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.privacy-list span { color: var(--muted); font-size: 13px; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { border-radius: var(--radius-md); padding: 0 20px; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 30px 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 15px;
  color: var(--faint);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.25s var(--spring);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 66ch; }

/* ---------- cta / footer ---------- */
.cta-panel {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 24px;
  border-radius: var(--radius-xl);
}
.cta-icon { margin: 0 auto 18px; border-radius: 16px; box-shadow: var(--shadow-md); }
.cta-panel p { margin: 0 auto 26px; max-width: 42em; color: var(--muted); }

.site-footer { padding: 34px 0 44px; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
.footer-brand img { border-radius: 7px; }
.footer-brand small { color: var(--faint); font-weight: 500; font-family: var(--mono); font-size: 11px; }
.footer-links { display: flex; justify-content: center; gap: 20px; color: var(--muted); font-size: 13.5px; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { margin: 0; color: var(--faint); font-size: 12.5px; }

/* ---------- legal ---------- */
.legal-wrap { padding: clamp(44px, 7vw, 84px) 0 20px; }
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
}
.legal h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.035em; line-height: 1.1; }
.legal .updated { margin: 0 0 30px; color: var(--faint); font-size: 13px; }
.legal h2 { margin: 34px 0 10px; font-size: 20px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 20px; margin: 8px 0 0; display: grid; gap: 7px; }
.legal a { color: var(--primary); font-weight: 600; }
.legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal .callout {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}
.back-link { display: inline-flex; gap: 6px; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--spring), transform 0.6s var(--spring);
}

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 680px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .privacy-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-nav { display: none; }
  .brand-name { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; }
  .chip-a { left: 6px; }
  .chip-b { right: 4px; }
  .chip-c { left: 8%; }
  .window { transform: none; }
  .gallery-tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .gallery-tab { flex: 1; padding: 8px 10px; }
  .sync-visual { gap: 8px; flex-wrap: wrap; }
  .hero-meta { gap: 6px 0; flex-direction: column; }
  .hero-meta li + li::before { display: none; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .float-chip, .sync-line span { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass, .site-header {
    background: var(--bg-2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(15, 23, 42, 0.28); --glass-line: rgba(15, 23, 42, 0.28); }
  :root[data-theme="dark"] { --line: rgba(255, 255, 255, 0.3); --glass-line: rgba(255, 255, 255, 0.3); }
}
