:root {
  --primary: #0066cc;
  --primary-focus: #0071e3;
  --primary-on-dark: #2997ff;
  --ink: #1d1d1f;
  --body-color: #1d1d1f;
  --body-on-dark: #ffffff;
  --body-muted: #86868b;
  --ink-muted-80: #333333;
  --ink-muted-48: #7a7a7a;
  --divider-soft: #f0f0f0;
  --hairline: #e0e0e0;
  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --surface-pearl: #fafafc;
  --tile-1: #000000;
  --tile-2: #272729;
  --tile-3: #2a2a2c;
  --tile-4: #252527;
  --chip: #d2d2d7;

  --font-display: "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --font-text: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --nav-h: 44px;

  --shadow-product: 0 3px 5px 30px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] {
  --primary: #2997ff;
  --primary-focus: #0a84ff;
  --ink: #f5f5f7;
  --body-color: #f5f5f7;
  --body-on-dark: #f5f5f7;
  --body-muted: #86868b;
  --canvas: #1d1d1f;
  --parchment: #000000;
  --surface-pearl: #2a2a2c;
  --tile-1: #000000;
  --tile-2: #1d1d1f;
  --tile-3: #111111;
  --tile-4: #000000;
  --divider-soft: #2a2a2c;
  --hairline: #333333;
  --ink-muted-80: #a1a1a6;
  --ink-muted-48: #6e6e73;
  --chip: #424245;
}

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

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

body {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss03";
}

::selection {
  background: var(--primary);
  color: #fff;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  text-decoration: underline;
}

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

.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--tile-1);
  color: var(--body-on-dark);
}

[data-theme="dark"] .global-nav {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-logo-img {
  height: 24px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

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

.theme-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
}

.theme-toggle:hover {
  color: #fff;
}

[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 12px 24px;
  z-index: 999;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: #fff; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-text);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.95); }
.btn:focus-visible { outline: 2px solid var(--primary-focus); outline-offset: 2px; }
.btn:hover { text-decoration: none; }

.btn-primary {
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.374px;
  padding: 11px 22px;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-focus); color: #fff; }

.btn-secondary-on-dark {
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  padding: 11px 22px;
  border-radius: 9999px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary-on-dark:hover { background: rgba(0, 102, 204, 0.08); color: var(--primary); }

[data-theme="dark"] .btn-secondary-on-dark {
  color: var(--primary-on-dark);
  border-color: var(--primary-on-dark);
}

[data-theme="dark"] .btn-secondary-on-dark:hover {
  background: rgba(41, 151, 255, 0.1);
  color: var(--primary-on-dark);
}

.btn-store-hero {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
}

.btn-store-hero:hover { background: var(--primary-focus); color: #fff; }

.btn-nav-cta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.12px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
}

.btn-nav-cta:hover { background: var(--primary-focus); color: #fff; }

.tile {
  padding: 80px 0;
}

.tile-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.tile-content-narrow {
  max-width: 900px;
}

.tile-light {
  background: var(--canvas);
  color: var(--ink);
}

.tile-parchment {
  background: var(--parchment);
  color: var(--ink);
}

.tile-dark {
  background: var(--canvas);
  color: var(--ink);
}

.tile-dark-2 {
  background: var(--parchment);
  color: var(--ink);
}

[lang="zh-CN"] .hero-display {
  line-height: 1.2;
}

[lang="zh-CN"] .display-lg {
  line-height: 1.35;
}

[lang="zh-CN"] .display-md {
  line-height: 1.6;
}

[lang="zh-CN"] .tile-lead {
  line-height: 1.4;
}

[lang="zh-CN"] .tagline {
  line-height: 1.4;
}

[lang="zh-CN"] .tile-body {
  line-height: 1.7;
}

.tile-dark-3 {
  background: var(--canvas);
  color: var(--ink);
}

[data-theme="dark"] .tile-dark {
  background: var(--tile-2);
  color: var(--body-on-dark);
}

[data-theme="dark"] .tile-dark-2 {
  background: var(--tile-3);
  color: var(--body-on-dark);
}

[data-theme="dark"] .tile-dark-3 {
  background: var(--tile-4);
  color: var(--body-on-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  background: linear-gradient(160deg, #e8d5f5 0%, #d4e4f7 15%, #fce4ec 30%, #e8f0fe 45%, #f3e5f5 60%, #e1d7f0 75%, #dbeafe 90%, #fce4d5 100%);
}

[data-theme="dark"] .hero {
  background: linear-gradient(160deg, #1a0a2e 0%, #0a0a2e 20%, #0d0d20 40%, #0a0d25 60%, #150520 80%, #0a1528 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(130, 120, 240, 0.45), transparent 70%);
  top: -120px;
  right: 5%;
  animation: glow-drift-1 8s ease-in-out infinite alternate;
}

.hero-glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 140, 160, 0.4), transparent 70%);
  bottom: 5%;
  left: -5%;
  animation: glow-drift-2 10s ease-in-out infinite alternate;
}

.hero-glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.4), transparent 70%);
  top: 40%;
  left: 45%;
  animation: glow-drift-3 12s ease-in-out infinite alternate;
}

.hero .tile-content {
  position: relative;
  z-index: 1;
}

@keyframes glow-drift-1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, 20px); }
}

@keyframes glow-drift-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, -30px); }
}

@keyframes glow-drift-3 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-15px, -20px); }
}

[data-theme="dark"] .hero-glow { opacity: 0.15; }

.hero-logo {
  width: 168px;
  height: 168px;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.12));
}

.hero-logo.fade-in-up {
  animation: fadeInUp 0.8s 0.1s ease forwards, logo-float 4s 1s ease-in-out infinite;
}

.download-logo {
  width: 168px;
  height: 168px;
  margin: 0 auto 24px;
  display: block;
}

.hero-display {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.28px;
  margin-bottom: 8px;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.display-md {
  font-family: var(--font-text);
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.47;
  letter-spacing: -0.374px;
  margin-bottom: 16px;
}

.tile-lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.196px;
  margin-bottom: 12px;
}

.hero .tile-lead {
  margin-bottom: 48px;
}

.tile-dark .tile-lead,
.tile-dark-2 .tile-lead {
  color: var(--body-muted);
}

.tile-dark .tile-body,
.tile-dark-2 .tile-body {
  color: var(--body-muted);
}

.tile-light .tile-body {
  color: var(--body-muted);
}

[data-theme="dark"] .tile-dark .tile-lead,
[data-theme="dark"] .tile-dark-2 .tile-lead,
[data-theme="dark"] .tile-dark .tile-body,
[data-theme="dark"] .tile-dark-2 .tile-body {
  color: var(--body-muted);
}

.tile-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.374px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.tile-dark .tile-body,
.tile-dark-2 .tile-body {
  color: var(--body-muted);
}

.tile-light .tile-body {
  color: var(--body-muted);
}

.tile-caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: -0.224px;
  color: var(--body-muted);
}

.tile-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tagline {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: 0.231px;
  margin-bottom: 8px;
}

.body-strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.374px;
  margin-bottom: 4px;
}

.hero-video-wrap {
  max-width: 840px;
  margin: 0 auto 20px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;
  position: relative;
  cursor: pointer;
}

.hero-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.video-expand-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(210, 210, 215, 0.64);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.video-expand-btn:hover {
  background: rgba(210, 210, 215, 0.85);
  transform: scale(1.05);
}

.video-expand-btn:active {
  transform: scale(0.95);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0 8px 40px;
  background: #000;
}

.video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-modal-close:active {
  transform: scale(0.95);
}

.features-section {
  position: relative;
  overflow: hidden;
}

.features-section .tile-content {
  position: relative;
  z-index: 1;
}

.ornament-float-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.features-ornament {
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.features-ornament img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes ornament-fly-l {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ornament-fly-r {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ornament-fade-in {
  to { opacity: 1; }
}

@keyframes ornament-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-anim {
  opacity: 0;
}

.hero-anim.fade-in-up {
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-anim.fade-in-up.d0 { animation-delay: 0.1s; }
.hero-anim.fade-in-up.d1 { animation-delay: 0.25s; }
.hero-anim.fade-in-up.d2 { animation-delay: 0.4s; }
.hero-anim.fade-in-up.d3 { animation-delay: 0.55s; }
.hero-anim.fade-in-up.d4 { animation-delay: 0.7s; }

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up.d0 { animation-delay: 0.1s; }
.fade-in-up.d1 { animation-delay: 0.25s; }
.fade-in-up.d2 { animation-delay: 0.4s; }
.fade-in-up.d3 { animation-delay: 0.55s; }
.fade-in-up.d4 { animation-delay: 0.7s; }

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.feature-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 24px;
  text-align: left;
  transition: border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 4px 16px rgba(0, 102, 204, 0.1);
  transform: translateY(-2px);
}

[data-theme="dark"] .feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .feature-card:hover {
  border-color: var(--primary-on-dark);
  box-shadow: 0 0 0 1px var(--primary-on-dark), 0 4px 16px rgba(41, 151, 255, 0.15);
}

.card-icon-wrap {
  margin-bottom: 12px;
  color: var(--primary);
  display: flex;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.374px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: -0.224px;
  color: var(--body-muted);
}

#download.tile {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #e8d5f5 0%, #d4e4f7 15%, #fce4ec 30%, #e8f0fe 45%, #f3e5f5 60%, #e1d7f0 75%, #dbeafe 90%, #fce4d5 100%);
}

[data-theme="dark"] #download.tile {
  background: linear-gradient(160deg, #1a0a2e 0%, #0a0a2e 20%, #0d0d20 40%, #0a0d25 60%, #150520 80%, #0a1528 100%);
}

#download .download-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 120, 240, 0.12) 0%, rgba(255, 140, 160, 0.08) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#download .tile-content {
  position: relative;
  z-index: 1;
}

#languages.tile {
  padding-bottom: 64px;
}

#download.tile {
  padding: 72px 0;
}

#how-it-works.tile,
#formats.tile {
  padding: 32px 0;
}

.gallery-strip {
  overflow: hidden;
  padding: 24px 0 80px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: gallery-scroll 30s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes gallery-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

[data-theme="dark"] .gallery-item {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
  text-align: center;
  padding-top: 24px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 48px 28px 40px;
  position: relative;
  transition: border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s;
  will-change: border-color, box-shadow;
}

#how-it-works .step:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 4px 16px rgba(0, 102, 204, 0.1);
  transform: translateY(-2px);
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.step h3 {
  margin-top: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.374px;
}

.step p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--body-muted);
  text-align: center;
  margin: 0 auto;
}

kbd {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 13px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] kbd {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.tile-dark kbd,
.tile-dark-2 kbd {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .tile-dark kbd,
[data-theme="dark"] .tile-dark-2 kbd {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.format-tag {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.224px;
  color: var(--ink);
  transition: border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s;
  cursor: default;
}

.format-tag:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  transform: translateY(-1px);
}

[data-theme="dark"] .format-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--body-on-dark);
}

.lang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.lang-tag {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s;
  cursor: default;
}

.lang-tag:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  transform: translateY(-1px);
}

[data-theme="dark"] .lang-tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--body-on-dark);
}

.shortcuts-table-wrap {
  margin: 48px auto 0;
  max-width: 600px;
  text-align: left;
}

.shortcuts-table {
  width: 100%;
  border-collapse: collapse;
}

.shortcuts-table td {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider-soft);
  color: var(--ink);
}

.shortcuts-table tr:last-child td {
  border-bottom: none;
}

.shortcuts-table td:first-child {
  white-space: nowrap;
  width: 140px;
}

.download-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.site-footer {
  background: var(--parchment);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.374px;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.43;
  color: var(--ink-muted-48);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  color: var(--ink-muted-48);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--ink);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: -0.224px;
  color: var(--ink-muted-48);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 17px;
  font-weight: 400;
  line-height: 2.41;
  letter-spacing: 0;
  color: var(--ink-muted-80);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--divider-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.12px;
  color: var(--ink-muted-48);
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

#how-it-works .step.fade-in,
.feature-card.fade-in {
  transition: border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s, opacity 0.6s ease;
}

@media (max-width: 833px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .tile { padding: 64px 0; }

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

@media (max-width: 1024px) {
  .ornament-float-wrap { display: none; }
}

@media (max-width: 640px) {
  .tile.hero {
    padding-top: calc(var(--nav-h) + 68px);
  }

  .hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 20px;
  }

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

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

.hero-display {
    font-size: 36px;
  }

  .tile-lead {
    font-size: 20px;
  }

  .tile { padding: 48px 0; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .tile-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .tile-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
