/* ==========================================================================
   ShiRide Official Website — 2026-11-21
   Minimal, spacious, light-first design + Liquid Glass floating header
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f6f7fa;
  --surface: rgba(255, 255, 255, 0.80);
  --surface-solid: #ffffff;
  --surface-soft: rgba(242, 244, 248, 0.72);
  --ink: #111318;
  --ink-secondary: #434b5c;
  --muted: #6e7789;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);

  --accent: #4c5ce8;
  --accent-soft: rgba(76, 92, 232, 0.09);
  --mint: #10b981;
  --mint-soft: rgba(16, 185, 129, 0.12);

  /* Liquid Glass optical stack (Light) */
  --glass-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(255, 255, 255, 0.36) 52%,
    rgba(255, 255, 255, 0.54) 100%
  );
  --glass-bg-scrolled: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.76) 0%,
    rgba(255, 255, 255, 0.46) 52%,
    rgba(255, 255, 255, 0.62) 100%
  );
  --glass-border: rgba(255, 255, 255, 0.92);
  --glass-outline: rgba(15, 23, 42, 0.065);
  --glass-inset-top: rgba(255, 255, 255, 0.98);
  --glass-inset-bottom: rgba(15, 23, 42, 0.05);
  --glass-shadow:
    0 12px 34px -8px rgba(15, 23, 42, 0.10),
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 0 0 1px var(--glass-outline);
  --glass-shadow-scrolled:
    0 18px 46px -10px rgba(15, 23, 42, 0.14),
    0 4px 10px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(15, 23, 42, 0.08);

  --card-shadow:
    0 1px 2px rgba(15, 23, 42, 0.025),
    0 14px 36px -20px rgba(15, 23, 42, 0.09);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --mx: 50%;

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "PingFang SC", "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo",
    "Segoe UI", "Microsoft YaHei", "Malgun Gothic", "Yu Gothic UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1116;
  --surface: rgba(24, 28, 37, 0.78);
  --surface-solid: #171b24;
  --surface-soft: rgba(31, 36, 48, 0.72);
  --ink: #f3f5f9;
  --ink-secondary: #bcc5d6;
  --muted: #8a94a8;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.15);

  --accent: #8291ff;
  --accent-soft: rgba(130, 145, 255, 0.14);
  --mint: #34d399;
  --mint-soft: rgba(52, 211, 153, 0.15);

  --glass-bg: linear-gradient(
    180deg,
    rgba(42, 47, 59, 0.68) 0%,
    rgba(25, 29, 38, 0.50) 55%,
    rgba(31, 36, 47, 0.62) 100%
  );
  --glass-bg-scrolled: linear-gradient(
    180deg,
    rgba(46, 52, 65, 0.78) 0%,
    rgba(23, 27, 36, 0.64) 55%,
    rgba(30, 35, 46, 0.72) 100%
  );
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-outline: rgba(0, 0, 0, 0.35);
  --glass-inset-top: rgba(255, 255, 255, 0.22);
  --glass-inset-bottom: rgba(0, 0, 0, 0.22);
  --glass-shadow:
    0 14px 38px -8px rgba(0, 0, 0, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 0 0 1px var(--glass-outline);
  --glass-shadow-scrolled:
    0 20px 48px -10px rgba(0, 0, 0, 0.58),
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  --card-shadow:
    0 1px 2px rgba(0, 0, 0, 0.24),
    0 16px 38px -20px rgba(0, 0, 0, 0.48);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body > main {
  flex: 1;
}

h1, h2, h3, h4, p, ol, ul {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.mono-num {
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}

.container-narrow {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   Subtle Entrance & Scroll Reveal Motion (Progressive Enhancement)
   ========================================================================== */
@keyframes gentle-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-minimal .glass-badge,
.page-hero .eyebrow {
  animation: gentle-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-minimal h1,
.page-hero h1 {
  animation: gentle-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero-minimal .hero-lead,
.page-hero .page-lead {
  animation: gentle-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.11s both;
}

.hero-minimal .hero-actions,
.hero-minimal .hero-meta {
  animation: gentle-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Soft Daylight Atmosphere (Gives the Liquid Glass header subtle refraction)
   ========================================================================== */
.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.65;
}

.orb-1 {
  width: 680px;
  height: 500px;
  top: -210px;
  left: -120px;
  background: radial-gradient(circle, rgba(188, 218, 255, 0.72) 0%, transparent 70%);
}

.orb-2 {
  width: 640px;
  height: 500px;
  top: -170px;
  right: -130px;
  background: radial-gradient(circle, rgba(218, 210, 255, 0.64) 0%, transparent 70%);
}

.orb-3 {
  width: 560px;
  height: 400px;
  top: 260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(202, 242, 234, 0.42) 0%, transparent 72%);
}

:root[data-theme="dark"] .ambient-orb {
  opacity: 0.20;
}

:root[data-theme="dark"] .orb-1 {
  background: radial-gradient(circle, rgba(96, 136, 235, 0.55) 0%, transparent 70%);
}

:root[data-theme="dark"] .orb-2 {
  background: radial-gradient(circle, rgba(132, 118, 224, 0.48) 0%, transparent 70%);
}

:root[data-theme="dark"] .orb-3 {
  background: radial-gradient(circle, rgba(52, 168, 148, 0.30) 0%, transparent 72%);
}

/* ==========================================================================
   Liquid Glass Floating Pill Header
   ========================================================================== */
.glass-header-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 60;
  padding-inline: 20px;
  pointer-events: none;
  transition: top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-header-wrap.is-scrolled {
  top: 10px;
}

.glass-nav-pill {
  position: relative;
  pointer-events: auto;
  width: min(920px, 100%);
  height: 58px;
  margin-inline: auto;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;

  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px) saturate(210%) contrast(1.02);
  backdrop-filter: blur(24px) saturate(210%) contrast(1.02);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0.5px var(--glass-inset-top),
    inset 0 -1px 1px var(--glass-inset-bottom),
    var(--glass-shadow);
  transition:
    background 0.28s ease,
    box-shadow 0.28s ease,
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.glass-nav-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      260px 90px at var(--mx) 0%,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.44) 0%,
      rgba(255, 255, 255, 0) 48%
    );
  opacity: 0.85;
}

:root[data-theme="dark"] .glass-nav-pill::before {
  background:
    radial-gradient(
      260px 90px at var(--mx) 0%,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 255, 255, 0) 48%
    );
}

.glass-nav-pill::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  opacity: 0.72;
}

:root[data-theme="dark"] .glass-nav-pill::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.glass-header-wrap.is-scrolled .glass-nav-pill {
  width: min(860px, 100%);
  background: var(--glass-bg-scrolled);
  box-shadow:
    inset 0 1px 0.5px var(--glass-inset-top),
    inset 0 -1px 1px var(--glass-inset-bottom),
    var(--glass-shadow-scrolled);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-copy small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
}

.site-nav a {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

:root[data-theme="dark"] .site-nav a:hover,
:root[data-theme="dark"] .site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nav-tools {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.glass-icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-secondary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.glass-icon-btn:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

:root[data-theme="dark"] .glass-icon-btn:hover {
  background: rgba(255, 255, 255, 0.10);
}

.theme-icon {
  grid-area: 1 / 1;
}

.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }

/* Language Switcher Button & Floating Liquid Glass Menu */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: 560;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

:root[data-theme="dark"] .lang-btn:hover,
:root[data-theme="dark"] .lang-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.10);
}

.lang-menu-anchor {
  position: relative;
  width: min(920px, 100%);
  margin-inline: auto;
  pointer-events: none;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-header-wrap.is-scrolled .lang-menu-anchor {
  width: min(860px, 100%);
}

.lang-menu {
  position: absolute;
  top: 10px;
  right: 0;
  width: 176px;
  padding: 6px;
  border-radius: 20px;
  pointer-events: auto;
  display: grid;
  gap: 2px;
  background: var(--glass-bg-scrolled);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0.5px var(--glass-inset-top),
    inset 0 -1px 1px var(--glass-inset-bottom),
    var(--glass-shadow-scrolled);
}

.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

:root[data-theme="dark"] .lang-menu a:hover,
:root[data-theme="dark"] .lang-menu a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.10);
}

.lang-menu a[aria-current="true"]::after {
  content: "✓";
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.mobile-drawer {
  pointer-events: auto;
  width: min(920px, 100%);
  margin: 10px auto 0;
  padding: 12px;
  border-radius: 26px;
  background: var(--glass-bg-scrolled);
  -webkit-backdrop-filter: blur(26px) saturate(200%);
  backdrop-filter: blur(26px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-top),
    var(--glass-shadow-scrolled);
}

.mobile-drawer nav {
  display: grid;
  gap: 4px;
}

.mobile-drawer nav a {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-drawer nav a[aria-current="page"],
.mobile-drawer nav a:hover {
  background: rgba(15, 23, 42, 0.055);
}

:root[data-theme="dark"] .mobile-drawer nav a[aria-current="page"],
:root[data-theme="dark"] .mobile-drawer nav a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.drawer-langs {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.drawer-langs a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 520;
  color: var(--ink-secondary);
  background: rgba(15, 23, 42, 0.04);
}

:root[data-theme="dark"] .drawer-langs a {
  background: rgba(255, 255, 255, 0.06);
}

.drawer-langs a[aria-current="true"] {
  color: #ffffff;
  background: #14171f;
}

:root[data-theme="dark"] .drawer-langs a[aria-current="true"] {
  color: #11141c;
  background: #f3f5f9;
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:active {
  transform: scale(0.985);
}

.button-lg {
  height: 48px;
  padding: 0 28px;
  font-size: 14.5px;
}

.button-full {
  width: 100%;
}

.button-primary {
  background: #14171f;
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 26px -10px rgba(15, 23, 42, 0.34);
}

.button-primary:hover {
  background: #272d3b;
  transform: translateY(-1px);
}

:root[data-theme="dark"] .button-primary {
  background: #f4f6fa;
  color: #11141c;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.55);
}

:root[data-theme="dark"] .button-primary:hover {
  background: #ffffff;
}

.button-glass {
  color: var(--ink);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(185%);
  backdrop-filter: blur(16px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-top),
    0 4px 16px rgba(15, 23, 42, 0.04),
    0 0 0 1px var(--glass-outline);
}

.button-glass:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-top),
    0 10px 24px rgba(15, 23, 42, 0.08),
    0 0 0 1px var(--line-strong);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.button-outline:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-top),
    0 4px 14px rgba(15, 23, 42, 0.04),
    0 0 0 1px var(--glass-outline);
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ==========================================================================
   HOME PAGE — Spacious, Quiet, Architectural Minimalism
   ========================================================================== */
.hero-minimal {
  padding: 164px 0 56px;
  text-align: center;
}

.hero-minimal h1 {
  margin-top: 28px;
  font-size: clamp(44px, 6.2vw, 72px);
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, var(--ink) 35%, var(--ink-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Home Real-Device Triptych Showcase (Quiet gallery feel, zero clutter) */
.hero-showcase {
  padding: 8px 0 84px;
}

.triptych-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  max-width: 920px;
  margin-inline: auto;
}

.device-shot {
  margin: 0;
  flex: 0 1 258px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.device-shot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 42px rgba(15, 23, 42, 0.14));
}

:root[data-theme="dark"] .device-shot img {
  filter: drop-shadow(0 30px 54px rgba(0, 0, 0, 0.58));
}

.device-shot.is-center {
  flex-basis: 288px;
  z-index: 2;
}

.device-shot.is-side {
  transform: translateY(18px) scale(0.92);
  opacity: 0.92;
}

@media (hover: hover) {
  .device-shot.is-side:hover {
    transform: translateY(8px) scale(0.95);
    opacity: 1;
  }
}

.pillars-section {
  padding: 20px 0 96px;
}

.pillars-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar-item {
  padding: 32px 24px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-item + .pillar-item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.pillar-index {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.pillar-item h2 {
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.pillar-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

.pillar-more {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 560;
  color: var(--ink-secondary);
  transition: color 0.16s ease, gap 0.16s ease;
}

.quiet-link:hover {
  color: var(--ink);
  gap: 9px;
}

/* Home Download & Changelog Band */
.release-section {
  padding: 24px 0 112px;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.release-left {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.release-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.release-version-big {
  display: block;
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: opacity 0.25s ease;
}

.release-meta-line {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.release-cta-wrap {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.16s ease, background-color 0.16s ease;
}

.qr-trigger:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.release-right {
  padding: 44px;
  display: flex;
  flex-direction: column;
}

.changelog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.changelog-head h2 {
  font-size: 18px;
  font-weight: 620;
}

.changelog-head small {
  font-size: 12px;
  font-weight: 560;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.changelog-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.changelog-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.changelog-list li span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 2px;
}

.changelog-toggle {
  align-self: flex-start;
  margin-top: 14px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.changelog-toggle:hover {
  color: var(--ink);
}

.release-footnote {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   Liquid Glass QR Download Dialog
   ========================================================================== */
.qr-dialog {
  width: min(360px, calc(100% - 32px));
  padding: 0;
  margin: auto;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  color: var(--ink);
  background: var(--glass-bg-scrolled);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  backdrop-filter: blur(28px) saturate(210%);
  box-shadow:
    inset 0 1px 0.5px var(--glass-inset-top),
    inset 0 -1px 1px var(--glass-inset-bottom),
    0 28px 70px -16px rgba(15, 23, 42, 0.28),
    0 0 0 1px var(--glass-outline);
  overflow: hidden;
}

.qr-dialog::backdrop {
  background: rgba(15, 19, 28, 0.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.qr-dialog-inner {
  position: relative;
  padding: 30px 28px 28px;
  text-align: center;
}

.qr-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--muted);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.qr-dialog-close:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

:root[data-theme="dark"] .qr-dialog-close:hover {
  background: rgba(255, 255, 255, 0.10);
}

.qr-dialog-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.qr-dialog h2 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 630;
  letter-spacing: -0.02em;
}

.qr-dialog-box {
  width: 208px;
  height: 208px;
  margin: 22px auto 18px;
  padding: 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 26px -14px rgba(15, 23, 42, 0.18);
}

.qr-dialog-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-dialog-tip {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   SUBPAGE HERO (Features / Community / Support)
   ========================================================================== */
.page-hero {
  padding: 152px 0 64px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(36px, 4.8vw, 54px);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.page-hero p.page-lead {
  max-width: 540px;
  margin: 18px auto 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ==========================================================================
   FEATURES PAGE — Real-Device Segmented Gallery + Editorial Grid + Shizuku
   ========================================================================== */
.gallery-section {
  padding: 0 0 68px;
}

.gallery-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: 44px 52px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.gallery-visual {
  display: grid;
  place-items: center;
}

.gallery-frame {
  position: relative;
  width: min(268px, 100%);
  aspect-ratio: 478 / 958;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  pointer-events: none;
  filter: drop-shadow(0 24px 36px rgba(15, 23, 42, 0.14));
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1), transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] .gallery-slide {
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.56));
}

.gallery-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.gallery-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(185%);
  backdrop-filter: blur(16px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-top),
    0 4px 16px rgba(15, 23, 42, 0.04),
    0 0 0 1px var(--glass-outline);
}

.gallery-tab {
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 540;
  color: var(--ink-secondary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.gallery-tab:hover {
  color: var(--ink);
}

.gallery-tab[aria-selected="true"] {
  color: #ffffff;
  background: #14171f;
}

:root[data-theme="dark"] .gallery-tab[aria-selected="true"] {
  color: #11141c;
  background: #f3f5f9;
}

.gallery-copy-panel {
  margin-top: 32px;
}

.gallery-step {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.gallery-copy-panel h2 {
  margin-top: 10px;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.gallery-copy-panel p {
  margin-top: 14px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.features-section {
  padding: 12px 0 72px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.projection-icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature-card h2 {
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

.feature-note {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--muted);
}

.projection-section {
  padding: 12px 0 84px;
}

.projection-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 330px);
  gap: 44px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.projection-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.projection-title-row h2 {
  font-size: 26px;
  font-weight: 630;
  letter-spacing: -0.025em;
}

.projection-intro {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}

.projection-steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.projection-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
}

.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 620;
  color: var(--ink-secondary);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.projection-steps h3 {
  font-size: 14.5px;
  font-weight: 620;
}

.projection-steps p {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--muted);
}

.projection-aside {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.aside-label {
  font-size: 12px;
  color: var(--muted);
}

.aside-title-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aside-title-row h3 {
  font-size: 24px;
  font-weight: 640;
}

.version-chip {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface-solid);
  border: 1px solid var(--line);
}

.aside-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.aside-actions {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.aside-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  font-size: 12.5px;
  color: var(--muted);
}

.aside-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bottom-cta-band {
  padding: 0 0 96px;
  text-align: center;
}

/* ==========================================================================
   COMMUNITY PAGE
   ========================================================================== */
.community-section {
  padding: 12px 0 104px;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.channel-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.channel-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 560;
  color: var(--muted);
}

.platform-pill svg {
  color: #279ed5;
}

.channel-card h2 {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 630;
  letter-spacing: -0.02em;
}

.channel-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}

.channel-handle {
  margin-top: 14px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 560;
  color: var(--ink-secondary);
}

.channel-card .button {
  margin-top: auto;
}

.feedback-strip {
  margin-top: 28px;
  padding: 32px 36px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.feedback-strip h2 {
  font-size: 19px;
  font-weight: 620;
}

.feedback-strip p {
  margin-top: 6px;
  max-width: 500px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.feedback-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ==========================================================================
   SUPPORT PAGE (WeChat + USDT Aptos)
   ========================================================================== */
.support-section {
  padding: 12px 0 104px;
}

.support-card {
  padding: 38px 34px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.support-card h2 {
  font-size: 22px;
  font-weight: 630;
  letter-spacing: -0.02em;
}

.support-sub {
  margin-top: 8px;
  min-height: 44px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.qr-frame {
  width: 100%;
  max-width: 248px;
  aspect-ratio: 1;
  margin: 22px auto 24px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px -14px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.22s ease;
}

.qr-frame:hover {
  transform: scale(1.02);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.wallet-address {
  width: 100%;
  max-width: 310px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.support-card .button {
  margin-top: auto;
  min-width: 164px;
}

.support-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ========================================================================== */
.legal-switch {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(185%);
  backdrop-filter: blur(16px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-top),
    0 4px 16px rgba(15, 23, 42, 0.04),
    0 0 0 1px var(--glass-outline);
}

.legal-switch a {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-secondary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.legal-switch a[aria-current="page"] {
  color: #ffffff;
  background: #14171f;
}

:root[data-theme="dark"] .legal-switch a[aria-current="page"] {
  color: #11141c;
  background: #f3f5f9;
}

.legal-section {
  padding: 8px 0 104px;
}

.legal-shell {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-article {
  padding: 48px 52px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 20px 24px;
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 13px;
}

.legal-meta-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-meta-grid dt {
  font-size: 11.5px;
  color: var(--muted);
}

.legal-meta-grid dd {
  margin: 0;
  font-weight: 560;
  color: var(--ink);
}

.legal-article p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-secondary);
}

.legal-article p + p {
  margin-top: 14px;
}

.legal-article strong {
  color: var(--ink);
  font-weight: 620;
}

.legal-article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(76, 92, 232, 0.32);
  text-underline-offset: 4px;
}

.legal-article a:hover {
  text-decoration-color: currentColor;
}

.legal-callout {
  margin: 22px 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border-left: 3px solid var(--ink);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
}

.legal-article h2 {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 630;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-article h2 + p,
.legal-article h2 + h3,
.legal-article h2 + ul {
  margin-top: 16px;
}

.legal-article h3 {
  margin-top: 26px;
  font-size: 16px;
  font-weight: 620;
  color: var(--ink);
}

.legal-article h3 + p,
.legal-article h3 + ul {
  margin-top: 10px;
}

.legal-article ul {
  margin-top: 14px;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  color: var(--ink-secondary);
  font-size: 14.5px;
  line-height: 1.88;
}

.legal-article blockquote {
  margin: 18px 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.legal-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.75;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 13px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  font-size: 12px;
  font-weight: 620;
  color: var(--muted);
  background: var(--surface-soft);
  white-space: nowrap;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table td:first-child {
  font-weight: 560;
  color: var(--ink);
  min-width: 140px;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.not-found-main {
  display: grid;
  place-items: center;
  padding: 160px 24px 100px;
  text-align: center;
}

.not-found-code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.not-found-main h1 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 640;
  letter-spacing: -0.03em;
}

.not-found-main p {
  margin-top: 14px;
  color: var(--muted);
}

.not-found-main .button {
  margin-top: 28px;
}

/* ==========================================================================
   Footer — Clean & Complete
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 34px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   Responsive & Mobile Refinement (including 390px screens)
   ========================================================================== */
@media (max-width: 920px) {
  .pillars-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-item {
    padding: 26px 20px 26px 0;
  }

  .pillar-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .pillar-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .release-panel {
    grid-template-columns: 1fr;
  }

  .release-left {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projection-panel,
  .gallery-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px;
  }

  .gallery-controls {
    align-items: center;
    text-align: center;
  }

  .gallery-copy-panel p {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .glass-nav-pill {
    grid-template-columns: 1fr auto;
    padding: 0 10px 0 16px;
  }

  .site-nav,
  .lang-btn,
  .lang-menu-anchor {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
  }

  .feedback-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  /* On mobile phones, visitor is already on phone — hide desktop QR shortcut */
  .qr-trigger {
    display: none;
  }
}

@media (max-width: 600px) {
  .container,
  .container-narrow,
  .legal-shell {
    width: calc(100% - 32px);
  }

  .glass-header-wrap {
    top: 12px;
    padding-inline: 14px;
  }

  .glass-nav-pill {
    height: 54px;
  }

  .hero-minimal {
    padding: 120px 0 36px;
  }

  .hero-showcase {
    padding: 4px 0 52px;
  }

  .device-shot.is-side {
    display: none;
  }

  .device-shot.is-center {
    flex-basis: 236px;
  }

  .gallery-section {
    padding: 0 0 44px;
  }

  .gallery-panel {
    padding: 26px 20px;
  }

  .gallery-frame {
    width: 224px;
  }

  .gallery-tabs {
    border-radius: 20px;
    justify-content: center;
  }

  .gallery-tab {
    padding: 6px 13px;
    font-size: 12.5px;
  }

  .hero-minimal h1 {
    font-size: 38px;
    margin-top: 22px;
  }

  .hero-lead {
    font-size: 15px;
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .pillars-section {
    padding: 12px 0 56px;
  }

  .pillars-strip {
    grid-template-columns: 1fr;
  }

  .pillar-item,
  .pillar-item + .pillar-item {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pillar-item:first-child {
    border-top: 0;
  }

  .release-section {
    padding: 12px 0 72px;
  }

  .release-left,
  .release-right {
    padding: 26px 22px;
  }

  .page-hero {
    padding: 118px 0 38px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p.page-lead {
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card,
  .channel-card,
  .support-card,
  .projection-panel,
  .legal-article {
    padding: 24px 20px;
  }

  .legal-meta-grid {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .support-sub {
    min-height: 0;
  }

  .qr-frame {
    max-width: 220px;
    margin: 18px auto 20px;
  }

  .projection-title-row h2 {
    font-size: 22px;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html.js-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ==========================================================================
   GUIDES & TUTORIAL ARTICLES — 2026-11-29
   Matches ShiRide minimal light-first + Liquid Glass aesthetic
   ========================================================================== */
:root {
  --warn-bg: rgba(245, 158, 11, 0.085);
  --warn-border: #d97706;
  --warn-ink: #92400e;
  --code-bg: #141821;
  --code-surface: #1b202c;
  --code-ink: #eef2ff;
  --code-muted: #9aa5be;
  --code-border: rgba(255, 255, 255, 0.09);
}

:root[data-theme="dark"] {
  --warn-bg: rgba(245, 158, 11, 0.12);
  --warn-border: #f59e0b;
  --warn-ink: #fcd34d;
  --code-bg: #0c0f16;
  --code-surface: #131823;
  --code-ink: #eef2ff;
  --code-muted: #9aa5be;
  --code-border: rgba(255, 255, 255, 0.11);
}

.button-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.guide-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.guide-breadcrumb a {
  transition: color 0.16s ease;
}

.guide-breadcrumb a:hover {
  color: var(--ink);
}

.guide-toc {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(185%);
  backdrop-filter: blur(16px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-inset-top),
    0 4px 16px rgba(15, 23, 42, 0.04),
    0 0 0 1px var(--glass-outline);
}

.guide-toc a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 540;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.guide-toc a:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

:root[data-theme="dark"] .guide-toc a:hover {
  background: rgba(255, 255, 255, 0.10);
}

/* Guides Index Page */
.guide-index-section {
  padding: 0 0 56px;
}

.guide-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 320px);
  gap: 36px;
  align-items: center;
  padding: 40px 44px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.guide-featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 560;
  color: var(--ink-secondary);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.guide-tag-accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}

.guide-featured-body h2 {
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.24;
}

.guide-featured-body p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.guide-featured-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.guide-featured-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.guide-featured-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.guide-featured-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -16px rgba(15, 23, 42, 0.22);
}

:root[data-theme="dark"] .guide-featured-visual img {
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.62);
}

/* Tools Download Band */
.guide-tools-section {
  padding: 12px 0 104px;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-heading-row h2 {
  font-size: 24px;
  font-weight: 630;
  letter-spacing: -0.025em;
}

.section-heading-row p {
  font-size: 13.5px;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.tool-card-embedded {
  background: var(--surface-soft);
  box-shadow: none;
  padding: 20px 18px;
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.tool-card h3 {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 630;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.tool-card p {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--muted);
}

.tool-card .button {
  margin-top: auto;
  text-decoration: none;
}

.legal-article a.button-primary {
  color: #ffffff;
  text-decoration: none;
}

:root[data-theme="dark"] .legal-article a.button-primary {
  color: #11141c;
}

.legal-article a.button-glass,
.legal-article a.button-outline {
  color: var(--ink);
  text-decoration: none;
}

.legal-article .tool-grid {
  margin-top: 20px;
  gap: 14px;
}

.legal-article .tool-card h3 {
  margin-top: 4px;
  font-size: 16px;
}

.legal-article .tool-card p {
  margin-top: 0;
  font-size: 13.5px;
  line-height: 1.75;
}

.legal-article .tool-card .button {
  padding: 0 14px;
  font-size: 13px;
}

/* Guide Article Enhancements */
.guide-callout-warn {
  margin: 22px 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-border);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
}

.guide-callout-warn strong {
  color: var(--warn-ink);
}

.guide-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-secondary);
}

.guide-steps li p {
  margin: 0;
}

.guide-steps .step-badge {
  margin-top: 2px;
}

.guide-inline-code {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
  word-break: break-all;
}

.guide-shot-grid {
  margin: 26px 0 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-shot-single {
  margin: 26px auto 8px;
  max-width: 310px;
}

.guide-shot-card {
  margin: 0;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.guide-shot-card img {
  width: 100%;
  max-width: 268px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, 0.20);
}

:root[data-theme="dark"] .guide-shot-card img {
  box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.62);
}

.guide-shot-card figcaption {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
}

/* Command Copy Card */
.cmd-card {
  margin: 22px 0;
  border-radius: var(--radius-lg);
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  overflow: hidden;
  box-shadow: 0 16px 36px -22px rgba(15, 23, 42, 0.45);
}

.cmd-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--code-surface);
  border-bottom: 1px solid var(--code-border);
}

.cmd-card-label {
  font-size: 12.5px;
  font-weight: 560;
  color: var(--code-muted);
}

.cmd-card .button-primary {
  background: #f4f6fa;
  color: #11141c;
  box-shadow: none;
}

.cmd-card .button-primary:hover {
  background: #ffffff;
}

.cmd-pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--code-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

.cmd-footnote {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Native HTML FAQ Accordion (zero JS) */
.guide-faq-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.guide-faq-item {
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 16px 20px;
}

.guide-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 620;
  color: var(--ink);
}

.guide-faq-item summary::-webkit-details-marker {
  display: none;
}

.guide-faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.guide-faq-item[open] summary::after {
  content: "−";
  color: var(--ink);
}

.guide-faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-secondary);
}

.guide-article-footer {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .guide-featured-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .guide-featured-visual {
    max-width: 380px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .guide-toc {
    border-radius: 20px;
    padding: 6px;
  }

  .guide-toc a {
    padding: 6px 11px;
    font-size: 12.5px;
  }

  .guide-featured-card {
    padding: 24px 20px;
  }

  .guide-shot-grid {
    grid-template-columns: 1fr;
  }

  .cmd-card-head {
    padding: 12px 14px;
  }

  .cmd-pre {
    padding: 14px 16px;
    font-size: 12px;
  }

  .guide-article-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-article-footer .button {
    width: 100%;
  }
}
