:root {
  --ink: #171717;
  --muted: #6f6f73;
  --soft-muted: #98989d;
  --paper: #fbfbfa;
  --surface: #f1f1ef;
  --surface-strong: #e7e7e3;
  --accent: #c26f4d;
  --accent-dark: #9a4d32;
  --line: rgba(23, 23, 23, 0.1);
  --white: #ffffff;
  --content: 1120px;
  --narrow: 760px;
  --radius: 24px;
  --radius-small: 14px;
  --shadow: 0 20px 70px rgba(23, 23, 23, 0.09);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-cjk: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-cjk);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body[data-locale="en"] { font-family: var(--font); }

a { color: inherit; }

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

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(194, 111, 77, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 9px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header__inner,
.site-footer__inner,
.container {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand__icon { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 5px 16px rgba(23, 23, 23, 0.14); }

.brand__english { color: var(--muted); font-size: 13px; font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a, .language-link { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-nav a:hover, .language-link:hover { color: var(--ink); }
.site-nav__cta { color: var(--ink) !important; font-weight: 700; }

.menu-toggle {
  display: none;
  padding: 8px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu { display: none; }

.hero {
  padding: 120px 0 104px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero__lead {
  max-width: 560px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--accent); }
.button--primary:hover { background: var(--accent-dark); }
.button--light { color: var(--ink); background: var(--white); }
.button--light:hover { background: #f0f0ed; }
.button--secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.hero .button--secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.24); }
.hero .button--secondary:hover { background: rgba(255, 255, 255, 0.1); }

.hero__visual { position: relative; min-height: 360px; }
.hero__glow { position: absolute; width: 340px; height: 340px; right: 0; top: 0; background: rgba(194, 111, 77, 0.25); border-radius: 50%; filter: blur(50px); }
.hero__card { position: absolute; inset: 40px 0 0 50px; padding: 30px; background: #242424; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32); transform: rotate(3deg); }
.hero__card-bar { display: flex; justify-content: space-between; margin-bottom: 54px; color: rgba(255, 255, 255, 0.45); font-size: 12px; }
.hero__script { max-width: 360px; margin-left: auto; color: rgba(255, 255, 255, 0.92); font-size: clamp(21px, 2.5vw, 30px); line-height: 1.45; }
.hero__script span { color: var(--accent); }
.hero__status { position: absolute; right: 24px; bottom: 22px; color: rgba(255, 255, 255, 0.48); font-size: 12px; }

.section { padding: 108px 0; }
.section--soft { background: var(--surface); }
.section--dark { color: var(--white); background: var(--ink); }
.section__heading { max-width: 720px; margin-bottom: 48px; }
.section__heading h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); font-weight: 650; letter-spacing: -0.055em; line-height: 1.03; }
.section__heading p { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.section--dark .section__heading p { color: rgba(255, 255, 255, 0.62); }

.story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.story__quote { margin: 0; font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; }
.story__copy { color: var(--muted); font-size: 18px; }
.story__copy p { margin: 0 0 20px; }

.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.workflow-card { min-height: 220px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); }
.workflow-card__number { color: var(--accent); font-size: 13px; font-weight: 700; }
.workflow-card h3 { margin: 52px 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.workflow-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.device-card { padding: 30px; background: var(--surface); border-radius: var(--radius); }
.device-card__label { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.device-card h3 { margin: 16px 0 10px; font-size: 26px; letter-spacing: -0.04em; }
.device-card p { margin: 0; color: var(--muted); }

.feature-list { display: grid; gap: 110px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-row:nth-child(even) .feature-row__visual { order: -1; }
.feature-row__visual { padding: 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-row__visual img { width: 100%; border-radius: 12px; }
.feature-row h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.05em; line-height: 1.06; }
.feature-row p { margin: 0; color: var(--muted); font-size: 17px; }
.feature-row__tag { margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.screenshot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.screenshot-card { margin: 0; }
.screenshot-card img { width: 100%; border-radius: 16px; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16); }
.screenshot-card figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.screenshot-card--watch img { max-width: 160px; margin: 0 auto; }

.screenshot-story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 34px; align-items: end; }
.screenshot-story__mac { grid-row: span 2; }
.screenshot-story__mac img { width: 100%; border-radius: 18px; box-shadow: 0 26px 70px rgba(23, 23, 23, 0.18); }
.screenshot-story__companion { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(150px, 0.28fr); gap: 22px; align-items: end; }
.screenshot-story__companion img { width: 100%; border-radius: 18px; box-shadow: 0 22px 55px rgba(23, 23, 23, 0.16); }
.screenshot-story__companion .screenshot-card--watch img { width: min(100%, 168px); margin: 0 auto; }
.screenshot-story__caption { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.screenshot-story__caption strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 17px; }
.screenshot-story__caption span { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.price-card--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-card__badge { position: absolute; top: -13px; right: 22px; padding: 4px 10px; color: var(--white); background: var(--accent); border-radius: 999px; font-size: 11px; font-weight: 700; }
.price-card h3 { margin: 0; font-size: 21px; }
.price-card__price { margin: 28px 0 10px; font-size: 40px; font-weight: 650; letter-spacing: -0.06em; }
.price-card__price small { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.price-card p { margin: 0; color: var(--muted); font-size: 14px; }

.privacy-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 32px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.privacy-strip h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.privacy-strip p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.58); }

.page-hero { padding: 100px 0 72px; background: var(--surface); }
.page-hero h1 { max-width: 760px; margin: 0; font-size: clamp(44px, 6vw, 76px); letter-spacing: -0.065em; line-height: 1; }
.page-hero p { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 19px; }
.content-narrow { width: min(calc(100% - 40px), var(--narrow)); margin: 0 auto; }
.prose h2 { margin: 54px 0 14px; font-size: 30px; letter-spacing: -0.04em; line-height: 1.15; }
.prose h3 { margin: 34px 0 10px; font-size: 21px; }
.prose p { margin: 0 0 18px; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.25em; color: var(--muted); }
.prose li { margin: 8px 0; }
.prose strong { color: var(--ink); }
.prose .callout { margin: 28px 0; padding: 22px 24px; background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-small) var(--radius-small) 0; }
.prose .callout p { margin: 0; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 22px 24px; background: var(--surface); border-radius: var(--radius-small); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 14px 0 0; color: var(--muted); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.support-card { padding: 26px; background: var(--surface); border-radius: var(--radius-small); }
.support-card h2 { margin: 0 0 8px; font-size: 22px; }
.support-card p { margin: 0; color: var(--muted); }
.support-card ol { margin-bottom: 0; padding-left: 1.3em; color: var(--muted); }
.contact-warning { display: none; margin-top: 14px; padding: 12px 14px; color: #7e4b22; background: #fff1d9; border-radius: 10px; font-size: 13px; }
.contact-warning[hidden] { display: none; }

.site-footer { padding: 56px 0 32px; background: var(--surface); }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.site-footer__brand p { max-width: 280px; color: var(--muted); font-size: 14px; }
.site-footer__heading { margin: 0 0 12px; font-size: 13px; font-weight: 700; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-footer__links a:hover { color: var(--ink); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--soft-muted); font-size: 12px; }

.root-choice { display: grid; min-height: 100vh; place-content: center; justify-items: center; padding: 30px; text-align: center; }
.root-choice__icon { width: 82px; height: 82px; border-radius: 23px; box-shadow: 0 18px 44px rgba(23, 23, 23, 0.18); }
.root-choice h1 { margin: 0; font-size: clamp(36px, 7vw, 70px); letter-spacing: -0.06em; line-height: 1; }
.root-choice__lead { color: var(--muted); }
.root-choice__actions { display: flex; gap: 12px; margin-top: 22px; }

@media (max-width: 1199px) {
  .hero__grid { gap: 40px; }
  .feature-row { gap: 44px; }
  .screenshot-grid { grid-template-columns: repeat(3, 1fr); }
  .screenshot-story { grid-template-columns: 1fr; gap: 28px; }
  .screenshot-story__mac { grid-row: auto; }
}

@media (max-width: 767px) {
  .site-header__inner, .site-footer__inner, .container { width: min(calc(100% - 32px), var(--content)); }
  .site-header__inner { min-height: 62px; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu { display: grid; gap: 2px; padding: 10px 16px 18px; border-top: 1px solid var(--line); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 11px 0; color: var(--muted); text-decoration: none; }
  .hero { padding: 80px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 270px; }
  .hero__card { inset: 26px 12px 0 12px; padding: 22px; }
  .hero__script { font-size: 22px; }
  .section { padding: 76px 0; }
  .story, .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-row__visual { order: 0; }
  .workflow-grid, .device-grid, .pricing-grid, .support-grid { grid-template-columns: 1fr; }
  .workflow-card { min-height: auto; }
  .workflow-card h3 { margin-top: 30px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .screenshot-card--watch img { max-width: 120px; }
  .screenshot-story__companion { grid-template-columns: minmax(0, 0.7fr) minmax(112px, 0.3fr); gap: 12px; }
  .screenshot-story__companion .screenshot-card--watch img { width: min(100%, 120px); }
  .privacy-strip { align-items: flex-start; flex-direction: column; padding: 24px; }
  .page-hero { padding: 72px 0 54px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; gap: 4px; margin-top: 34px; }
  .root-choice__actions { flex-direction: column; width: min(260px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
