:root {
  --bg: #FAFAF2;
  --bg-soft: #F2F1E9;
  --ink: #1C1917;
  --muted: #8B837E;
  --line: #E5E2D8;
  --green: #CBE6BE;
  --green-deep: #4C7A45;
  --red: #C7503B;
  --dark: #151310;
  --dark-2: #221E1A;
  --radius: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.page {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 20px calc(var(--safe-bottom) + 96px);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 26px;
}

.mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--dark);
  overflow: hidden;
}

.mark::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  right: 5px;
  bottom: 5px;
  border: 2px solid var(--green);
  border-radius: 3px;
}

.mark::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.topbar-note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.lang-btn {
  min-width: 36px;
  height: 27px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.lang-btn.on {
  background: var(--dark);
  color: #F7F6F1;
}

/* ---------- hero ---------- */

.hero {
  padding: 8px 0 30px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--green-deep);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--green);
}

h1 {
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
}

html[lang="en"] h1 {
  font-size: 35px;
  line-height: 1.16;
}

.lead {
  margin-top: 14px;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--dark);
  color: #F7F6F1;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 30px -16px rgba(21, 19, 16, .65);
}

.cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cta.ghost {
  background: transparent;
  color: #F7F6F1;
  box-shadow: inset 0 0 0 1px rgba(247, 246, 241, .35);
}

/* ---------- video ---------- */

.video {
  padding: 6px 0 42px;
  scroll-margin-top: 20px;
}

.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(21, 19, 16, .16);
  box-shadow: 0 26px 50px -34px rgba(21, 19, 16, .55);
}

.video-slot .poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slot .stream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 19, 16, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
}

.play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  fill: currentColor;
}

.video-meta {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- features ---------- */

.features {
  padding: 6px 0 10px;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.sec-head h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.sec-note {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(21, 19, 16, .14);
  background: var(--bg-soft);
}

.shot img {
  width: 100%;
  height: auto;
}

.feature-copy h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.feature-copy p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- outro ---------- */

.outro {
  margin: 34px -20px 0;
  padding: 44px 20px 42px;
  background: var(--dark);
  color: #F7F6F1;
  text-align: center;
}

.outro h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.outro .cta {
  margin-top: 20px;
  box-shadow: none;
}

.footer {
  padding: 18px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- sticky dock ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-bottom) + 14px);
  z-index: 30;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}

.dock.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dock a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--dark);
  color: #F7F6F1;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 18px 40px -18px rgba(21, 19, 16, .8), 0 0 0 6px rgba(250, 250, 242, .9);
}

.dock svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

@media (min-width: 700px) {
  .page {
    padding-bottom: calc(var(--safe-bottom) + 120px);
  }

  h1 {
    font-size: 48px;
  }

  html[lang="en"] h1 {
    font-size: 43px;
  }

  .lead {
    max-width: 400px;
  }
}

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

  .dock {
    transition: none;
  }
}
