:root,
[data-theme="white"] {
  --canvas: #f6f7f4;
  --canvas-tint: #eef1ec;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-elevated: rgba(255, 255, 255, 0.90);
  --surface-inset: rgba(239, 243, 240, 0.85);
  --text-title: #0f172a;
  --text-body: #425062;
  --text-muted: #5a6778;
  --accent: #19655f;
  --accent-soft: rgba(25, 101, 95, 0.12);
  --accent-pill-bg: #d7ede5;
  --accent-pill-text: #114c47;
  --accent-fg: #ffffff;
  --cta-bg: #19655f;
  --cta-fg: #ffffff;
  --orb-1: rgba(25, 101, 95, 0.18);
  --orb-2: rgba(255, 138, 61, 0.14);
  --glass-border-top: rgba(255, 255, 255, 0.95);
  --glass-border-bottom: rgba(15, 23, 42, 0.09);
  --glass-shadow: 0 20px 48px -16px rgba(15, 23, 42, 0.10), 0 4px 14px -4px rgba(15, 23, 42, 0.05);
  --dock-bg: rgba(247, 249, 248, 0.86);
  --dock-active: rgba(25, 101, 95, 0.16);
  --wordmark: #0f172a;
}

[data-theme="sand"] {
  --canvas: #f1e7d6;
  --canvas-tint: #e8dac2;
  --surface: rgba(255, 252, 246, 0.76);
  --surface-elevated: rgba(255, 252, 246, 0.90);
  --surface-inset: rgba(242, 232, 214, 0.86);
  --text-title: #1e1914;
  --text-body: #473c30;
  --text-muted: #65584a;
  --accent: #8f4f1d;
  --accent-soft: rgba(143, 79, 29, 0.14);
  --accent-pill-bg: rgba(214, 174, 125, 0.36);
  --accent-pill-text: #5a2d0a;
  --accent-fg: #ffffff;
  --cta-bg: #1f1914;
  --cta-fg: #fffcf6;
  --orb-1: rgba(217, 138, 60, 0.18);
  --orb-2: rgba(25, 101, 95, 0.11);
  --glass-border-top: rgba(255, 255, 255, 0.85);
  --glass-border-bottom: rgba(45, 32, 18, 0.11);
  --glass-shadow: 0 20px 48px -16px rgba(45, 32, 18, 0.12), 0 4px 14px -4px rgba(45, 32, 18, 0.06);
  --dock-bg: rgba(251, 246, 237, 0.88);
  --dock-active: rgba(143, 79, 29, 0.16);
  --wordmark: #1e1914;
}

[data-theme="forest"] {
  --canvas: #131c17;
  --canvas-tint: #1a261f;
  --surface: rgba(26, 38, 31, 0.74);
  --surface-elevated: rgba(31, 45, 37, 0.88);
  --surface-inset: rgba(19, 28, 23, 0.86);
  --text-title: #f5f7f5;
  --text-body: #c5cdc8;
  --text-muted: #8b9890;
  --accent: #b0d4ba;
  --accent-soft: rgba(176, 212, 186, 0.18);
  --accent-pill-bg: rgba(176, 212, 186, 0.18);
  --accent-pill-text: #d9f1e2;
  --accent-fg: #101914;
  --cta-bg: #f3f3ed;
  --cta-fg: #121613;
  --orb-1: rgba(55, 215, 195, 0.20);
  --orb-2: rgba(251, 155, 80, 0.11);
  --glass-border-top: rgba(255, 255, 255, 0.22);
  --glass-border-bottom: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 22px 54px -16px rgba(0, 0, 0, 0.50);
  --dock-bg: rgba(24, 35, 29, 0.85);
  --dock-active: rgba(176, 212, 186, 0.22);
  --wordmark: #f5f7f5;
}

[data-theme="ocean"] {
  --canvas: #071c35;
  --canvas-tint: #0e2646;
  --surface: rgba(14, 38, 70, 0.74);
  --surface-elevated: rgba(18, 46, 84, 0.88);
  --surface-inset: rgba(8, 24, 46, 0.86);
  --text-title: #f2f7fc;
  --text-body: #c6d2e2;
  --text-muted: #8999b2;
  --accent: #7db9ff;
  --accent-soft: rgba(125, 185, 255, 0.18);
  --accent-pill-bg: rgba(125, 185, 255, 0.18);
  --accent-pill-text: #d2e8ff;
  --accent-fg: #07162b;
  --cta-bg: #eef4fc;
  --cta-fg: #07162b;
  --orb-1: rgba(125, 185, 255, 0.22);
  --orb-2: rgba(55, 215, 195, 0.13);
  --glass-border-top: rgba(255, 255, 255, 0.24);
  --glass-border-bottom: rgba(255, 255, 255, 0.07);
  --glass-shadow: 0 22px 54px -16px rgba(2, 10, 22, 0.58);
  --dock-bg: rgba(11, 32, 60, 0.86);
  --dock-active: rgba(125, 185, 255, 0.22);
  --wordmark: #f2f7fc;
}

[data-theme="dark"] {
  --canvas: #090909;
  --canvas-tint: #141414;
  --surface: rgba(22, 22, 24, 0.78);
  --surface-elevated: rgba(28, 28, 30, 0.92);
  --surface-inset: rgba(14, 14, 16, 0.88);
  --text-title: #fafafa;
  --text-body: #cacace;
  --text-muted: #94949c;
  --accent: #37d7c3;
  --accent-soft: rgba(55, 215, 195, 0.18);
  --accent-pill-bg: rgba(55, 215, 195, 0.18);
  --accent-pill-text: #aef5ec;
  --accent-fg: #071b18;
  --cta-bg: #ffffff;
  --cta-fg: #090909;
  --orb-1: rgba(55, 215, 195, 0.18);
  --orb-2: rgba(251, 155, 80, 0.11);
  --glass-border-top: rgba(255, 255, 255, 0.20);
  --glass-border-bottom: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 22px 54px -16px rgba(0, 0, 0, 0.65);
  --dock-bg: rgba(20, 20, 22, 0.86);
  --dock-active: rgba(55, 215, 195, 0.20);
  --wordmark: #fafafa;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--text-body);
  font-family: ui-rounded, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(95px);
  transition: background 0.6s ease;
}

.orb-1 {
  width: 68vw;
  max-width: 860px;
  height: 540px;
  top: -190px;
  left: -14vw;
  background: radial-gradient(circle, var(--orb-1) 0%, transparent 70%);
}

.orb-2 {
  width: 58vw;
  max-width: 760px;
  height: 500px;
  bottom: -140px;
  right: -12vw;
  background: radial-gradient(circle, var(--orb-2) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.font-serif {
  font-family: 'Newsreader', Georgia, 'New York', 'Times New Roman', serif;
  letter-spacing: -0.025em;
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border-bottom);
  box-shadow:
    inset 0 1px 0 0 var(--glass-border-top),
    var(--glass-shadow);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.glass-elevated {
  background: var(--surface-elevated);
}

/* Header */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  margin: 14px auto 0;
  padding: 0 24px;
  max-width: 1180px;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px 9px 18px;
  border-radius: 999px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--wordmark);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 9px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--text-title);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-inset);
  color: var(--text-title);
  border: 1px solid var(--glass-border-bottom);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lang-select:hover {
  background: var(--accent-soft);
}

.theme-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--surface-inset);
  border: 1px solid var(--glass-border-bottom);
}

.theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(128, 128, 128, 0.28);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-dot:hover {
  transform: scale(1.12);
}

.theme-dot.is-active {
  box-shadow: 0 0 0 2px var(--canvas), 0 0 0 3.5px var(--accent);
  transform: scale(1.08);
}

.theme-dot[data-set-theme="white"] { background: #f6f7f4; }
.theme-dot[data-set-theme="sand"] { background: #f1e7d6; }
.theme-dot[data-set-theme="forest"] { background: #131c17; }
.theme-dot[data-set-theme="ocean"] { background: #071c35; }
.theme-dot[data-set-theme="dark"] { background: #090909; }

.mobile-theme-cycle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--glass-border-bottom);
  background: var(--surface-inset);
  color: var(--text-title);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.pill-cta:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.pill-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-title);
  border: 1px solid var(--glass-border-bottom);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.pill-secondary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-pill-bg);
  color: var(--accent-pill-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  color: var(--text-title);
  margin: 0;
}

.section {
  padding: 40px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  margin-top: 12px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 12px 0 0;
}

/* Hero Section */
.hero {
  padding: 34px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.hero-grid > *,
.grid-3 > *,
.grid-2 > *,
.bento-grid > *,
.editorial-band > * {
  min-width: 0;
}

.hero-title {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  margin-top: 18px;
  color: var(--text-title);
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 20px 0 28px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions .pill-cta,
.hero-actions .pill-secondary {
  padding: 13px 22px;
  font-size: 15px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border-bottom);
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Dual-Device Hero Stage: Titanium iPhone + Floating Watch Pill */
.phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 100%;
  max-width: 350px;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(145deg, #2b323b 0%, #161a1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 34px 72px -18px rgba(15, 23, 42, 0.34),
    0 10px 24px -8px rgba(15, 23, 42, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.phone-screen {
  position: relative;
  border-radius: 38px;
  background: var(--canvas);
  overflow: hidden;
  min-height: 672px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-orb-top {
  position: absolute;
  width: 280px;
  height: 220px;
  top: -70px;
  left: -60px;
  background: radial-gradient(circle, var(--orb-1), transparent 72%);
  filter: blur(36px);
  pointer-events: none;
}

.phone-orb-bottom {
  position: absolute;
  width: 240px;
  height: 220px;
  bottom: -60px;
  right: -60px;
  background: radial-gradient(circle, var(--orb-2), transparent 72%);
  filter: blur(36px);
  pointer-events: none;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-title);
  position: relative;
  z-index: 2;
}

.phone-island {
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #0a0c0e;
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 10px;
  position: relative;
  z-index: 2;
}

.phone-trip-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-title);
}

.phone-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--glass-border-bottom);
  color: var(--text-title);
}

.phone-content {
  padding: 4px 18px 86px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.phone-panel {
  display: none;
  animation: fadeSlide 0.24s ease;
}

.phone-panel.is-active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-greeting {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.phone-serif-title {
  font-size: 29px;
  line-height: 1.08;
  font-weight: 500;
  color: var(--text-title);
  margin-bottom: 6px;
}

.phone-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.phone-weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 14px;
}

.phone-card {
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 12px;
}

.phone-card-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}

.phone-card-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.phone-card-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-body);
  margin-bottom: 12px;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.phone-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.phone-chip {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-title);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.phone-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-inset);
  border: 1px solid var(--glass-border-bottom);
  margin: 10px 0 12px;
  font-size: 12px;
  font-weight: 600;
}

.phone-segmented span {
  text-align: center;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--text-muted);
}

.phone-segmented span.active {
  background: var(--surface-elevated);
  color: var(--text-title);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-map-stub {
  height: 146px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(25, 101, 95, 0.14), rgba(255, 138, 61, 0.10)),
    repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(128, 140, 135, 0.09) 22px, rgba(128, 140, 135, 0.09) 23px),
    repeating-linear-gradient(90deg, transparent, transparent 26px, rgba(128, 140, 135, 0.09) 26px, rgba(128, 140, 135, 0.09) 27px);
  border: 1px solid var(--glass-border-bottom);
  position: relative;
  overflow: hidden;
  padding: 12px;
}

.map-pin {
  position: absolute;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border-bottom);
  font-size: 12.5px;
}

.phone-row:last-child {
  border-bottom: none;
}

.phone-dock-wrap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
}

.phone-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--dock-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-bottom);
  box-shadow: inset 0 1px 0 var(--glass-border-top), 0 12px 26px rgba(0, 0, 0, 0.12);
}

.dock-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 6px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dock-tab.is-active {
  background: var(--dock-active);
  color: var(--text-title);
}

.dock-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  display: none;
}

.dock-tab.is-active .dock-dot {
  display: inline-block;
}

.driver-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: var(--surface-elevated);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 24px 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}

.driver-overlay.is-open {
  display: flex;
}

.driver-hanzi {
  font-size: 27px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--text-title);
  margin: 12px 0 8px;
}

/* Grids & Bento */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.card {
  border-radius: 26px;
  padding: 28px;
}

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

.svg-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-pill-bg);
  color: var(--accent-pill-text);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 9px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-body);
}

.check-dot {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

/* Interactive Local Card Bento Showcase */
.card-switcher {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-inset);
  border: 1px solid var(--glass-border-bottom);
  margin: 16px 0;
  gap: 4px;
}

.card-switch-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.card-switch-btn.is-active {
  background: var(--cta-bg);
  color: var(--cta-fg);
}

.local-script-box {
  border-radius: 20px;
  padding: 20px;
  background: var(--surface-inset);
  border: 1px solid var(--glass-border-bottom);
}

.local-script-main {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  margin: 8px 0 6px;
}

.local-script-sub {
  font-size: 14.5px;
  color: var(--text-body);
  margin: 0 0 14px;
}

/* Watch Mini Showcase inside Bento */
.watch-shell {
  margin-top: 18px;
  border-radius: 34px;
  padding: 16px;
  background: #121715;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f7f5;
  box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.35);
}

.watch-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #b0d4ba;
  margin-bottom: 10px;
}

.watch-pill {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.watch-pill:last-child {
  margin-bottom: 0;
}

/* Editorial No-Box Trust Band */
.editorial-band {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border-bottom);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.editorial-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 8px;
}

.editorial-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Theme Picker Cards */
.theme-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.theme-card {
  border-radius: 22px;
  padding: 18px;
  text-align: start;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.22s ease, border-color 0.22s ease;
  font-family: inherit;
}

.theme-card:hover {
  transform: translateY(-3px);
}

.theme-card.is-active {
  border-color: var(--accent);
}

.theme-card-preview {
  height: 76px;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theme-card-pill {
  width: 54%;
  height: 10px;
  border-radius: 999px;
}

.theme-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
}

.theme-card-hex {
  font-size: 12px;
  color: var(--text-muted);
}

/* Pricing & Subscription Conversion */
.billing-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
}

.billing-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.billing-btn.is-active {
  background: var(--cta-bg);
  color: var(--cta-fg);
}

.savings-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-pill-text);
  background: var(--accent-pill-bg);
  padding: 6px 12px;
  border-radius: 999px;
}

.plan-card {
  border-radius: 28px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.plan-card.is-featured {
  border: 1.5px solid var(--accent);
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-title);
  margin: 14px 0 4px;
  line-height: 1.1;
}

.plan-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-subnote {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-cta {
  width: 100%;
  padding: 13px 18px;
  font-size: 14.5px;
}

.ai-strip {
  margin-top: 16px;
  border-radius: 22px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Download + FAQ */
.download-banner {
  border-radius: 32px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.faq-item {
  border-radius: 20px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-title);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text-body);
}

/* About the Developer */
.dev-panel {
  border-radius: 30px;
  padding: 36px;
}

.dev-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 38px;
  align-items: start;
}

.dev-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--glass-border-bottom);
  background: var(--surface-inset);
}

.dev-photo-frame img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.dev-photo-caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.dev-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.dev-heading {
  margin: 8px 0 16px;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.15;
  font-weight: 500;
  color: var(--text-title);
}

.dev-paragraphs {
  display: grid;
  gap: 14px;
}

.dev-paragraphs p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-body);
}

.dev-sig-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border-bottom);
}

.dev-signature {
  font-size: 19px;
  font-style: italic;
  color: var(--text-title);
}

.dev-origin-strip,
.dev-kpi-strip {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border-bottom);
}

.dev-origin-lead {
  margin: 6px 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-body);
}

.dev-origin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dev-origin-item {
  margin: 0;
}

.dev-origin-shot {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--glass-border-bottom);
  background: #09090b;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.25);
}

.dev-origin-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.dev-origin-item figcaption {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
}

.dev-kpi-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dev-kpi-tile {
  padding: 20px;
  border-radius: 20px;
  background: var(--surface-inset);
  border: 1px solid var(--glass-border-bottom);
}

.dev-kpi-val {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

.dev-kpi-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-title);
}

.dev-kpi-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--glass-border-bottom);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .bento-grid,
  .editorial-band,
  .download-banner,
  .dev-grid {
    grid-template-columns: 1fr;
  }

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

  .theme-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-links {
    display: none;
  }

  .store-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }

  .site-header {
    padding: 0 14px;
  }

  .nav-pill {
    padding: 8px 10px 8px 14px;
    gap: 8px;
  }

  .nav-pill .pill-cta {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .lang-select {
    padding: 6px 8px;
    font-size: 12px;
    max-width: 74px;
  }

  .theme-dots {
    display: none;
  }

  .mobile-theme-cycle {
    display: inline-flex;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero-actions .pill-cta,
  .hero-actions .pill-secondary,
  .store-buttons .pill-cta,
  .store-buttons .pill-secondary {
    width: 100%;
  }

  .grid-2,
  .theme-cards,
  .dev-origin-grid {
    grid-template-columns: 1fr;
  }

  .dev-panel {
    padding: 22px 18px;
  }

  .dev-photo-frame img {
    height: 340px;
  }

  .dev-kpi-tile {
    padding: 16px 14px;
  }

  .download-banner {
    padding: 24px 20px;
  }

  .section {
    padding: 28px 0;
  }
}

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

.developer-link { display: inline-block; margin-top: .65rem; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.developer-story { margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.5rem); scroll-margin-top: 6rem; color: var(--text-body); border-radius: 1.75rem; }
.developer-intro, .developer-shots, .developer-stats { display: grid; gap: 1.25rem; }
.developer-intro { grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
.developer-story figure, .developer-stats dd { margin: 0; }
.developer-story img { display: block; width: 100%; border: 1px solid var(--glass-border-bottom); border-radius: 1rem; }
.developer-photo { height: 380px; object-fit: cover; object-position: 50% 20%; }
.developer-story figcaption, .developer-stats small { display: block; color: var(--text-muted); font-size: .8rem; margin-top: .5rem; }
.developer-label, .developer-part h3 { font-size: .88rem; font-weight: 650; color: var(--accent); }
.developer-story h2, .developer-stats strong { font: normal 2rem/1.15 Georgia, serif; color: var(--text-title); }
.developer-story h2 { margin: .85rem 0; }
.developer-story p { line-height: 1.65; }
.developer-signature, .developer-part { border-top: 1px solid var(--glass-border-bottom); }
.developer-signature { padding-top: 1rem; font: italic 1.15rem Georgia, serif; }
.developer-part { margin-top: 2rem; padding-top: 1.4rem; }
.developer-part h3 { margin: 0 0 .6rem; }
.developer-shots, .developer-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.developer-stats { gap: .8rem; margin-bottom: 0; }
.developer-stats > div { display: grid; background: var(--surface); border: 1px solid var(--glass-border-bottom); border-radius: 1rem; padding: 1rem; }
.developer-stats dd { display: contents; }
.developer-stats strong { grid-row: 1; font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: .35rem; }
.developer-stats dt { font-weight: 600; }
@media (max-width: 700px) {
  .developer-intro, .developer-shots { grid-template-columns: 1fr; }
  .developer-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .developer-shots figure { max-width: 22rem; margin-inline: auto; }
}

.legal-section { padding-block: 24px; }
.legal-section summary { cursor: pointer; font-weight: 700; }
.legal-section address { font-style: normal; line-height: 1.7; }
.storage-notice { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 1000; max-width: 640px; margin-inline: auto; padding: 24px; border-radius: 20px; background: var(--canvas); color: var(--text-body); box-shadow: 0 8px 50px #0004; max-height: 60vh; overflow: auto; border: 1px solid var(--accent); }
.storage-notice[hidden] { display: none; }
.storage-notice h2 { font-size: 20px; margin-top: 0; }
.storage-notice p { line-height: 1.5; }
.storage-notice button { margin-inline-start: 20px; cursor: pointer; }
.footer-links button { background: none; border: 0; color: inherit; font: inherit; padding: 0; cursor: pointer; text-align: start; }
