:root {
  --ink: #11131a;
  --ink-soft: #585b65;
  --paper: #f4f2ec;
  --paper-deep: #e8e5dd;
  --white: #fffefa;
  --line: rgba(17, 19, 26, 0.14);
  --line-strong: rgba(17, 19, 26, 0.26);
  --blue: #4f7dff;
  --blue-deep: #315fe0;
  --lime: #d6ff43;
  --night: #111219;
  --night-soft: #1c1e27;
  --shadow: 0 30px 80px rgba(26, 28, 38, 0.14);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max-width: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 19, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 26, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

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

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

html[data-language="en"] [data-lang-content="zh-Hans"],
html[data-language="zh-Hans"] [data-lang-content="en"],
.copy-zh {
  display: none;
}

html[data-language="zh-Hans"] .copy-en {
  display: none;
}

html[data-language="zh-Hans"] .copy-zh {
  display: inline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.88);
  backdrop-filter: blur(22px) saturate(150%);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(17, 19, 26, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
  transition: right 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.language-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.65);
}

.language-switch button {
  min-width: 42px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: white;
  background: var(--ink);
}

.hero {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 740px;
  margin: 0 auto;
  padding: 92px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(79, 125, 255, 0.13);
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(3.6rem, 6.7vw, 6.7rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.062em;
}

.hero h1 em {
  position: relative;
  color: var(--blue-deep);
  font-style: italic;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 9px 26px rgba(17, 19, 26, 0.2);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 254, 250, 0.65);
}

.release-note {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.79rem;
}

.app-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.app-stage::before {
  content: "";
  position: absolute;
  inset: 8% -8% 3% 3%;
  z-index: -2;
  border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
  background: var(--blue);
  opacity: 0.15;
  filter: blur(1px);
  transform: rotate(-7deg);
}

.app-stage::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -18px;
  bottom: 34px;
  z-index: -1;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(1px);
}

.mac-window {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: white;
  background: rgba(17, 18, 25, 0.96);
  box-shadow: 0 42px 100px rgba(17, 19, 26, 0.28);
  animation: stage-in 850ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.mac-menubar {
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 650;
}

.traffic-lights {
  display: flex;
  gap: 7px;
  margin-right: auto;
}

.traffic-lights span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.menubar-reading {
  padding: 6px 11px;
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.11);
  font-variant-numeric: tabular-nums;
}

.context-panel {
  padding: 26px;
}

.task-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-name {
  margin: 8px 0 24px;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.25;
}

.meter-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 24px;
}

.ring {
  --value: 80%;
  width: 110px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--blue) var(--value), rgba(255, 255, 255, 0.11) 0);
}

.ring::before {
  content: "80%";
  width: 82px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--night);
  font-size: 1.3rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.metric-list {
  margin: 0;
}

.metric-list div {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.metric-list div:last-child {
  border-bottom: 0;
}

.metric-list dt {
  color: rgba(255, 255, 255, 0.49);
  font-size: 0.76rem;
}

.metric-list dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.privacy-strip {
  margin-top: 24px;
  padding: 13px 15px;
  border: 1px solid rgba(214, 255, 67, 0.21);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(214, 255, 67, 0.06);
  font-size: 0.72rem;
  text-align: center;
}

.section {
  padding: 110px 0;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section-dark {
  color: white;
  background: var(--night);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.58fr);
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 60px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.57);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.feature-card {
  grid-column: span 6;
  min-height: 280px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 250, 0.66);
  transition: transform 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--white);
}

.feature-index {
  margin-bottom: auto;
  color: var(--blue-deep);
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
}

.feature-card h3 {
  margin: 40px 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.feature-card p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.privacy-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.13);
}

.privacy-point {
  min-height: 250px;
  padding: 32px;
  background: var(--night);
}

.privacy-point strong {
  display: block;
  margin-bottom: 44px;
  color: var(--lime);
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}

.privacy-point h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.privacy-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.requirement-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 250, 0.72);
}

.requirement-card span {
  color: var(--blue-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.requirement-card h3 {
  margin: 18px 0 8px;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
}

.requirement-card p {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  width: min(calc(100% - 40px), 960px);
  margin: 0 auto;
  padding: 112px 0 72px;
}

.page-hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.8rem);
}

.page-hero p {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.content-shell {
  width: min(calc(100% - 40px), 960px);
  margin: 0 auto;
  padding-bottom: 120px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 72px;
}

.support-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 250, 0.72);
}

.support-card .number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-size: 0.77rem;
  font-weight: 800;
}

.support-card h2,
.support-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.support-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.faq-section h2,
.policy h2 {
  margin: 70px 0 24px;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--blue-deep);
  font-size: 1.45rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 760px;
  padding: 0 44px 24px 0;
  color: var(--ink-soft);
}

.faq-answer p {
  margin-top: 0;
}

.faq-answer code,
.policy code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--paper-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.84em;
}

.contact-panel {
  margin-top: 72px;
  padding: 38px;
  border-radius: var(--radius-md);
  color: white;
  background: var(--night);
}

.contact-panel h2 {
  margin: 0 0 10px;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.contact-panel p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.contact-panel a {
  color: var(--lime);
}

.policy {
  padding: 12px 0 120px;
}

.policy-meta {
  margin: 0 0 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.policy h2:first-of-type {
  margin-top: 0;
}

.policy p,
.policy li {
  max-width: 800px;
  color: #3e414a;
}

.policy ul {
  padding-left: 1.2em;
}

.policy li + li {
  margin-top: 8px;
}

.policy-callout {
  margin: 54px 0;
  padding: 28px 30px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(79, 125, 255, 0.08);
}

.policy-callout strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-shell {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.footer-shell p {
  margin-right: auto;
}

.footer-shell a {
  text-decoration: none;
}

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

@keyframes stage-in {
  from {
    transform: translateY(28px) scale(0.96);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

  .app-stage {
    min-height: 520px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .privacy-board {
    grid-template-columns: 1fr;
  }

  .privacy-point {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
    background-size: 22px 22px;
  }

  .nav-shell {
    width: min(calc(100% - 28px), var(--max-width));
    min-height: 68px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero,
  .section-shell,
  .page-hero,
  .content-shell,
  .footer-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    min-height: 0;
    padding: 62px 0 76px;
    gap: 42px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .app-stage {
    min-height: auto;
    padding: 28px 0 54px;
  }

  .app-stage::before {
    inset: 8% 0 3% 3%;
    transform: none;
  }

  .app-stage::after {
    right: 0;
  }

  .mac-window {
    transform: none;
    border-radius: 20px;
    animation-name: stage-in-mobile;
  }

  .meter-row {
    grid-template-columns: 1fr;
  }

  .ring {
    width: 100px;
  }

  .section {
    padding: 78px 0;
  }

  .feature-card,
  .support-grid > * {
    grid-column: 1 / -1;
  }

  .feature-card {
    min-height: 250px;
    padding: 26px;
  }

  .requirements,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 74px 0 50px;
  }

  .support-card {
    min-height: 230px;
  }

  .footer-shell {
    padding: 34px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-shell p {
    margin: 0 0 10px;
  }
}

@keyframes stage-in-mobile {
  from {
    transform: translateY(20px) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

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