/* Landing-only design: existing Cove identity, native type, restrained motion.
   DESIGN_VARIANCE: 5; MOTION_INTENSITY: 3; VISUAL_DENSITY: 3. */
body.landing {
  --page: #faf9fb;
  --surface: #fff;
  --surface-soft: #f0edf5;
  --ink: #292430;
  --ink-soft: #696270;
  --accent-strong: #71429d;
  --max: 1120px;
  overflow-x: auto;
  -webkit-font-smoothing: auto;
}
.landing .shell {
  width: min(calc(100% - 64px), var(--max));
}
.landing h1,
.landing h2,
.landing h3,
.landing strong,
.landing nav a {
  white-space: nowrap;
  text-wrap: nowrap;
}
.landing section {
  scroll-margin-top: 110px;
}
.landing h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 45px);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.landing h3 {
  font-weight: 580;
}
.landing p {
  margin: 0;
}
.landing .brand img {
  width: 105px;
  height: 30px;
}
.landing .topbar {
  min-height: 76px;
}
.landing .topbar-wrap {
  border-bottom: 1px solid var(--line);
}
.landing .topbar-links {
  display: flex;
  gap: 26px;
}
.landing .language-switch {
  border-radius: 8px;
  padding: 3px;
}
.landing .language-switch button {
  min-width: 40px;
  border-radius: 5px;
}
.landing .button {
  border-radius: 10px;
  gap: 22px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 550;
}
.landing .button-primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}
.landing .button:hover {
  transform: translateY(-2px);
  background: #62378b;
}
.landing .quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--accent-strong);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.landing .quiet-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--surface);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.landing-hero {
  padding-top: 68px;
  text-align: center;
}
.landing-hero .eyebrow {
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: none;
}
.landing-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.3;
}
.landing-hero .hero-lede {
  max-width: 650px;
  margin: 23px auto 0;
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.landing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 28px;
}
.hero-stage {
  margin-top: 62px;
  padding: 32px;
  border-radius: 20px;
  background: #eeeaf2;
}
.product-screen {
  margin: 0;
}
.product-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 42px -22px rgba(45, 26, 62, 0.3);
}
.product-screen img[data-lang="en"] {
  display: none;
}
.lang-en .product-screen img[data-lang="en"] {
  display: block;
}
.lang-en .product-screen img[data-lang="zh"] {
  display: none;
}
.section-intro {
  max-width: 750px;
}
.section-intro > p:not(.section-kicker) {
  max-width: 660px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}
.section-kicker {
  color: var(--accent-strong);
  font-size: 13px;
  margin-bottom: 18px !important;
}
.safety-section {
  padding-top: 130px;
}
.safety-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 70px;
  margin-top: 60px;
  align-items: start;
}
.safety-statement {
  padding: 38px 30px;
  background: var(--surface-soft);
  border-radius: 12px;
}
.safety-statement > p:first-child {
  font-size: 27px;
  line-height: 1.65;
  letter-spacing: -0.035em;
}
.protection-layers {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}
.protection-layers > span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px 20px;
  font-size: 14px;
  white-space: nowrap;
}
.protection-layers > span:nth-child(2) {
  margin-left: 14px;
}
.protection-layers > span:nth-child(3) {
  margin-left: 28px;
}
.landing .small-copy {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.protection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 30px;
}
.protection {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.protection h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.protection p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.backup-note {
  margin: 44px 0 23px;
  padding: 22px 26px;
  border-left: 2px solid var(--accent);
  background: var(--surface-soft);
}
.backup-note strong {
  font-size: 15px;
  font-weight: 600;
}
.backup-note p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}
.sync-section {
  padding: 112px 0;
  margin-top: 100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sync-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 54px;
  margin-top: 45px;
}
.sync-facts strong {
  font-size: 21px;
  font-weight: 550;
}
.sync-facts p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
  margin-top: 12px;
}
.editor-section {
  padding-top: 120px;
}
.editor-section > .product-screen {
  margin-top: 44px;
  padding: 30px;
  background: var(--surface-soft);
  border-radius: 16px;
}
.editor-caption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 30px 0;
}
.editor-caption strong {
  font-size: 22px;
  font-weight: 550;
}
.editor-caption p {
  color: var(--ink-soft);
  font-size: 15px;
}
.performance-section {
  padding-top: 112px;
}
.performance-rows {
  margin-top: 48px;
}
.performance-rows article {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 60px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.performance-rows h3 {
  margin: 0;
  font-size: 42px;
  font-weight: 500;
  color: var(--accent-strong);
  letter-spacing: -0.04em;
}
.performance-rows strong {
  font-size: 20px;
  font-weight: 550;
}
.performance-rows p {
  max-width: 540px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}
.journal-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 55px;
  align-items: center;
  padding-top: 110px;
}
.journal-section h2 {
  font-size: 30px;
}
.journal-section p {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}
.devices-section {
  padding-top: 140px;
}
.device-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 44px;
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 38px 0;
}
.device-list > div {
  display: flex;
  flex-direction: column;
  padding: 0 34px;
  gap: 12px;
}
.device-list > div + div {
  border-left: 1px solid var(--line);
}
.device-list strong {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.device-list > div > span {
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.device-list > div:first-child > span {
  color: var(--accent-strong);
}
.closing {
  text-align: center;
  padding: 140px 0 110px;
}
.closing > img {
  margin: 0 auto 24px;
}
.closing p {
  margin: 20px 0 30px;
  color: var(--ink-soft);
}
.landing .site-footer nav {
  flex-wrap: nowrap;
}
@media (prefers-color-scheme: dark) {
  body.landing {
    --page: #19171c;
    --surface: #242128;
    --surface-soft: #2b2532;
    --ink: #f3eff6;
    --ink-soft: #bfb7c8;
    --accent-strong: #c9a7e7;
  }
  .hero-stage {
    background: #2b2532;
  }
  .closing > img {
    filter: invert(1);
  }
  .landing .brand img {
    filter: brightness(1.6);
  }
  .landing .button-primary {
    background: #a775cf;
    border-color: #a775cf;
    color: #1d1127;
  }
  .landing .button:hover {
    background: #bd90dd;
  }
}
@media (max-width: 1000px) {
  .safety-layout {
    gap: 32px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .protection-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .landing .topbar-links {
    gap: 18px;
  }
  .journal-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .journal-section > div {
    max-width: 600px;
  }
}
@media (max-width: 760px) {
  .landing .shell {
    width: calc(100% - 40px);
  }
  .landing .topbar {
    align-items: center;
    gap: 28px;
    width: auto;
    min-width: max-content;
    margin: 0;
    padding: 0 20px;
    min-height: 65px;
  }
  .landing .topbar-wrap {
    overflow-x: auto;
  }
  .landing .topbar-actions {
    gap: 20px;
  }
  .landing .brand img {
    width: 82px;
    height: 26px;
  }
  .landing .topbar-links {
    display: flex;
    gap: 18px;
  }
  .landing-hero {
    padding-top: 46px;
  }
  .landing-hero h1 {
    font-size: 40px;
  }
  .lang-en .landing-hero h1 {
    font-size: clamp(24px, 5.7vw, 40px);
  }
  .landing-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
  }
  .landing-hero .hero-lede {
    font-size: 16px;
    margin-top: 18px;
  }
  .landing-actions {
    gap: 18px;
    flex-wrap: wrap;
  }
  .landing .button {
    width: auto;
  }
  .hero-stage {
    margin-top: 38px;
    padding: 12px;
    border-radius: 12px;
  }
  .product-screen img {
    border-radius: 7px;
  }
  .landing h2 {
    font-size: clamp(23px, 4.8vw, 34px);
  }
  .lang-en h2 {
    font-size: clamp(20px, 4.4vw, 33px);
  }
  .section-intro > p:not(.section-kicker) {
    font-size: 16px;
    margin-top: 18px;
  }
  .safety-section,
  .editor-section,
  .performance-section,
  .journal-section,
  .devices-section {
    padding-top: 80px;
  }
  .safety-layout {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .safety-statement {
    padding: 28px;
  }
  .protection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .protection h3 {
    font-size: 16px;
  }
  .protection p {
    font-size: 14px;
  }
  .backup-note {
    padding: 20px;
  }
  .sync-section {
    margin-top: 70px;
    padding: 70px 0;
  }
  .sync-facts {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 34px;
  }
  .sync-facts p {
    margin-top: 8px;
  }
  .editor-section > .product-screen {
    padding: 12px;
    margin-top: 30px;
  }
  .editor-caption {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 0;
  }
  .performance-rows article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 0;
  }
  .performance-rows h3 {
    font-size: 32px;
  }
  .device-list {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .device-list > div {
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .device-list > div + div {
    border-left: 0;
  }
  .device-list strong {
    font-size: 28px;
  }
  .closing {
    padding: 90px 0 75px;
  }
  .landing .site-footer {
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .landing-hero h1 {
    font-size: 34px;
  }
  .protection-grid {
    grid-template-columns: 1fr;
  }
  .landing-actions {
    flex-direction: column;
  }
  .landing .quiet-link {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .landing .topbar-wrap {
    overflow: visible;
  }
  .landing .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    min-width: 0;
    padding: 12px 20px 0;
  }
  .landing .topbar-actions {
    display: contents;
  }
  .landing .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
  .landing .topbar-links {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    padding: 14px 0 12px;
  }
  .landing .topbar-links a {
    flex-shrink: 0;
  }
}

/* Keep a complete sentence together. Wrap only between sentences;
   a sentence wider than its paragraph remains horizontally scrollable. */
.landing .sentence {
  display: inline-block;
  white-space: nowrap;
  text-wrap: nowrap;
  max-width: none;
}
.landing p {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}
.landing .hero-lede,
.landing .section-intro,
.landing .section-intro > p:not(.section-kicker),
.landing .performance-rows p,
.landing .journal-section > div {
  max-width: none;
}
.landing .safety-layout,
.landing .protection-grid,
.landing .sync-facts,
.landing .editor-caption,
.landing .journal-section {
  grid-template-columns: minmax(0, 1fr);
}
.landing .safety-statement {
  min-width: 0;
}
.landing .protection-layers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.landing .protection-layers > span {
  margin-left: 0;
}
.landing .performance-rows article {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.landing .site-footer > span {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .landing .protection-layers {
    grid-template-columns: minmax(0, 1fr);
  }
}
