:root {
  --bg: #F5F4EF;
  --surface: #FFFFFF;
  --ink: #262C29;
  --sub: #5F665F;
  --faint: #9AA097;
  --line: #E6E3DA;
  --em: #4FA98C;
  --deep: #2F6F58;
  --soft: #E5F1EC;
  --warm: #DE896F;
  --hero-a: #DEF1E8;
  --hero-b: #E7EDFB;
  --radius: 28px;
  --shadow: 0 18px 50px rgba(38, 44, 41, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1114;
    --surface: #171C21;
    --ink: #E7EAEE;
    --sub: #A3ABB5;
    --faint: #6A737D;
    --line: #232A31;
    --em: #4FC4A0;
    --deep: #7FD8B8;
    --soft: #13271F;
    --hero-a: #173A30;
    --hero-b: #1C2C41;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang HK", "PingFang TC",
        "Hiragino Sans", "Noto Sans TC", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
a { color: var(--deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
@media (max-width: 420px) { .top nav { gap: 14px; } .brand { font-size: 16px; } }
.top nav a { color: var(--sub); }
.top nav a.lang { font-weight: 600; color: var(--ink); }
@media (max-width: 720px) { .top nav a.hide-sm { display: none; } }

/* Buttons */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  padding: 12px 20px 12px 16px; border-radius: 14px;
  font-weight: 600; line-height: 1.15;
}
.store:hover { text-decoration: none; opacity: 0.9; }
.store svg { width: 24px; height: 24px; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; }
.store span { font-size: 18px; }
.store.sm { padding: 8px 14px 8px 12px; border-radius: 11px; }
.store.sm span { font-size: 14px; }
.store.sm svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--hero-a), var(--hero-b));
  padding: 72px 0 0;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: end; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--deep); background: var(--surface); padding: 6px 12px; border-radius: 99px;
}
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.06; letter-spacing: -0.02em; margin: 18px 0 18px; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--sub); max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding-bottom: 72px; }
.hero-cta .note { color: var(--sub); font-size: 14px; }
.hero .phone { justify-self: center; width: min(380px, 100%); }
.hero .phone img {
  border-radius: 34px 34px 0 0; box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { padding-bottom: 8px; }
  .hero .phone { width: min(320px, 82%); }
}

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--surface); }
.kicker { font-size: 14px; font-weight: 700; color: var(--em); letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 16px; }
.section-lead { color: var(--sub); font-size: 19px; max-width: 40em; margin: 0 0 44px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.flip .shot { order: -1; }
.shot img { width: min(360px, 100%); margin: 0 auto; border-radius: 30px; box-shadow: var(--shadow); }
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split.flip .shot { order: 0; }
}

ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ul.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
ul.ticks li::before {
  content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--soft); color: var(--deep); font-weight: 800; font-size: 14px; margin-top: 1px;
}
ul.ticks b { display: block; }
ul.ticks span { color: var(--sub); font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--bg); border-radius: var(--radius); padding: 30px 30px 0; overflow: hidden;
  display: flex; flex-direction: column;
}
section:not(.alt) .card { background: var(--surface); }
.card h3 { font-size: 23px; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--sub); margin: 0 0 24px; }
.card img { width: min(300px, 92%); margin: auto auto 0; border-radius: 26px 26px 0 0; box-shadow: var(--shadow); }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.widgets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; align-items: center; }
.widgets img { width: 100%; }
.widgets .tall { grid-row: span 2; }
@media (max-width: 760px) { .widgets { grid-template-columns: minmax(0, 1fr); } .widgets .tall { grid-row: auto; } }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--surface); border-radius: 22px; padding: 26px; }
section.alt .tile { background: var(--bg); }
.tile .ico { font-size: 28px; line-height: 1; margin-bottom: 14px; }
.tile h3 { margin: 0 0 6px; font-size: 19px; }
.tile p { margin: 0; color: var(--sub); font-size: 15.5px; }
@media (max-width: 860px) { .trio { grid-template-columns: minmax(0, 1fr); } }

.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.langs span { background: var(--soft); color: var(--deep); padding: 7px 14px; border-radius: 99px; font-size: 15px; font-weight: 600; }

/* Closing */
.closing { text-align: center; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); }
.closing img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 20px; box-shadow: var(--shadow); }
.closing .section-lead { margin-left: auto; margin-right: auto; }

footer { padding: 36px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--sub); }

/* Split with friends: numbered steps beside the video */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
ol.steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
ol.steps li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deep); color: #fff; font-weight: 700; font-size: 14px; margin-top: 2px; }
ol.steps b { display: block; }
ol.steps span { color: var(--sub); font-size: 16px; }
.fine { color: var(--sub); font-size: 14px; margin-top: 16px; }
.shot video { display: block; width: min(360px, 100%); height: auto; margin: 0 auto; border-radius: 30px; box-shadow: var(--shadow); background: #000; }

/* Setting up automatic filing: three shortcut cards */
.setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.setup .card { text-align: left; padding: 22px; }
.setup .card h3 { margin: 0 0 2px; font-size: 20px; }
.setup .card > .fine:first-of-type { margin: 0 0 14px; }
.setup ol.steps span { font-size: 15px; color: var(--ink); }
.setup ol.steps b { display: inline; }
.tip { margin-top: 20px; padding: 16px 20px; border-radius: 18px; background: var(--soft); display: grid; gap: 4px; }
.tip span { color: var(--sub); font-size: 15px; }
@media (max-width: 900px) { .setup { grid-template-columns: minmax(0, 1fr); } }

/* The user's own setup recordings, under each card's steps */
.vids { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 16px auto 4px; max-width: 260px; }
.vids.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; }
.vids video { width: 100%; height: auto; border-radius: 18px; background: #000; box-shadow: var(--shadow); }
