:root {
  --bg: #fff9f5;
  --ink: #242124;
  --muted: #726971;
  --pink: #f9dce9;
  --radius: 24px;
  color-scheme: light;
  font-family: Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #8056aa;
  outline-offset: 5px;
}
p {
  line-height: 1.7;
  color: var(--muted);
}
.wrap {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}
header {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 400;
  margin-top: 5px;
}
nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav {
  font-size: 15px;
  color: var(--muted);
}
.language {
  font-size: 14px;
  padding: 12px 0;
}
.button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 205px;
  min-height: 64px;
  padding: 10px 25px;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 36px;
  font-size: 18px;
  font-weight: 600;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button span {
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 400;
  opacity: 0.75;
  margin-top: 4px;
}
.button:hover {
  transform: translateY(-2px);
  background: #443640;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--pink);
}
.button.compact {
  min-width: 150px;
  min-height: 46px;
  font-size: 15px;
}
.hero {
  text-align: center;
  max-width: 1600px;
  margin: auto;
}
.hero-copy {
  padding-top: 46px;
  position: relative;
  z-index: 1;
}
h1 {
  font-size: clamp(46px, 6.1vw, 86px);
  line-height: 1.22;
  letter-spacing: -3px;
  margin: 0 0 30px;
  font-weight: 750;
}
h1 span {
  display: block;
}
.hero-copy p {
  font-size: 21px;
  margin: 0 auto 25px;
  max-width: 800px;
}
.downloads {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-art {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}
.section {
  padding-top: 66px;
  text-align: center;
}
h2 {
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: -1.3px;
  margin: 0 0 18px;
}
h3 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.section-intro {
  font-size: 19px;
  margin: 0 0 34px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.lifestyle {
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  background: #fce9db;
}
.lifestyle > div:first-child {
  padding: 28px 28px 0;
}
.lifestyle p {
  font-size: 16px;
  margin: 0;
  min-height: 54px;
}
.lifestyle-1 {
  background: #f8e2ef;
}
.lifestyle-2 {
  background: #eee1fb;
}
.scene {
  height: 245px;
  background-size: 1440px 600px;
  background-repeat: no-repeat;
  background-position: -150px -350px;
}
.lifestyle-1 .scene {
  background-position: -1040px -300px;
}
.lifestyle-2 .scene {
  background-position: -1015px -140px;
}
.lifestyle .scene.scene-photo {
  background-size: cover;
  background-position: center;
}
.screen-card {
  border-radius: var(--radius);
  padding: 34px 25px 30px;
}
.screen-card p {
  font-size: 16px;
  min-height: 55px;
  margin: 0 0 24px;
}
.screen-card img {
  width: min(100%, 260px);
  height: auto;
  aspect-ratio: 393/852;
  object-fit: contain;
  display: block;
  margin: auto;
  border: 8px solid white;
  border-radius: 28px;
  box-shadow: 0 12px 32px #5f405414;
}
.caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.protocol {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 50px;
  background: #f8eeeb;
  border-radius: 30px;
  margin-top: 66px;
  padding: 42px;
}
.protocol h2 {
  font-size: 35px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
}
.plan {
  background: white;
  padding: 20px 25px 26px;
  border-radius: 24px;
}
.plan > .caption {
  text-align: right;
  margin: 0 0 12px;
}
.plan ol {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan li {
  flex: 1;
  text-align: center;
  border-radius: 30px;
  background: #fbf7f4;
  padding: 16px 3px;
  font-size: 10px;
  color: var(--muted);
}
.plan li b {
  display: block;
  font-size: 16px;
  margin-top: 5px;
}
.plan .current {
  background: var(--pink);
}
.plan-task {
  margin-top: 22px;
  padding: 19px 16px;
  background: #fff9f5;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.plan-task small {
  color: var(--muted);
  text-align: right;
}
.closing {
  text-align: center;
  padding-block: 80px 60px;
}
.closing p {
  margin-bottom: 26px;
}
.store-downloads {
  margin: 30px auto 0;
  max-width: 860px;
  font-size: 14px;
  scroll-margin-top: 50px;
}
.store-downloads h3 {
  font-size: 24px;
}
.store-downloads > p {
  margin-bottom: 8px;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.store-grid a {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid #e5d8d5;
  border-radius: 18px;
  background: #fffdfb;
  transition:
    transform 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.store-grid a:hover {
  transform: translateY(-2px);
  border-color: #c9aab8;
  background: var(--pink);
}
.store-grid .store-card-featured {
  grid-column: 1 / -1;
  background: var(--pink);
}
.store-grid strong {
  font-size: 16px;
}
.store-grid span {
  color: var(--muted);
  font-size: 12px;
}
.store-downloads .store-note {
  margin: 16px 0 0;
  font-size: 12px;
}
footer {
  border-top: 1px solid #e9dfdc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 32px;
  font-size: 13px;
  color: var(--muted);
}
footer .brand {
  font-size: 21px;
  color: var(--ink);
}
footer > div {
  text-align: center;
}
footer > div > a {
  display: inline-block;
  padding: 10px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 10;
  padding: 16px;
  background: white;
}
.skip:focus {
  top: 10px;
}
html[lang='en'] h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -3px;
}
html[lang='en'] .brand {
  font-size: 23px;
}
html[lang='en'] h2 {
  font-size: 36px;
}
html[lang='en'] h3 {
  font-size: 26px;
}
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .wrap {
    width: calc(100% - 48px);
  }
  .hero-copy {
    padding-top: 38px;
  }
  .hero-copy p {
    font-size: 18px;
  }
  .protocol {
    gap: 25px;
    padding: 30px;
    grid-template-columns: 1fr;
  }
  .scene {
    height: 200px;
  }
  .lifestyle > div:first-child {
    padding: 22px 20px 0;
  }
  .lifestyle p {
    min-height: 80px;
  }
  .card-grid {
    gap: 16px;
  }
  .screen-card {
    padding: 25px 14px;
  }
  h3 {
    font-size: 24px;
  }
  .screen-card p {
    min-height: 80px;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }
  header {
    min-height: 84px;
    gap: 10px;
  }
  .brand,
  html[lang='en'] .brand {
    font-size: 20px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .compact {
    display: none;
  }
  .hero-copy {
    padding-top: 32px;
  }
  h1,
  html[lang='en'] h1 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }
  .hero-copy p {
    font-size: 16px;
    max-width: 330px;
  }
  .button {
    min-width: 150px;
    font-size: 15px;
    padding: 10px 15px;
    min-height: 60px;
  }
  .downloads {
    gap: 12px;
  }
  .store-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-art {
    margin-top: 25px;
  }
  h2,
  html[lang='en'] h2 {
    font-size: 30px;
    letter-spacing: -0.7px;
  }
  .section {
    padding-top: 45px;
  }
  .section-intro {
    font-size: 16px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lifestyle p {
    min-height: 35px;
  }
  .scene {
    height: 210px;
    background-position: -150px -380px;
  }
  .screen-card {
    padding: 28px 24px;
  }
  .screen-card p {
    min-height: 0;
    margin-bottom: 22px;
  }
  .screen-card img {
    width: 245px;
  }
  .protocol {
    margin-top: 45px;
    padding: 25px 20px;
    gap: 20px;
  }
  .protocol h2 {
    font-size: 28px;
  }
  .plan {
    padding: 15px 12px;
  }
  .plan ol {
    gap: 5px;
  }
  .plan li {
    font-size: 8px;
  }
  .plan-task {
    font-size: 13px;
    padding: 14px 10px;
  }
  .closing {
    padding-block: 55px 40px;
  }
  footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
@media (max-width: 430px) {
  .store-grid {
    grid-template-columns: 1fr;
  }
}
.lifestyle-0 .scene.scene-photo {
  background-image: url('/assets/cards/eat-well.webp');
}
.lifestyle-1 .scene.scene-photo {
  background-image: url('/assets/cards/essentials.webp');
}
.lifestyle-2 .scene.scene-photo {
  background-image: url('/assets/cards/memories.webp');
}
.screen-card:nth-child(1) {
  background: #fbe8ed;
}
.screen-card:nth-child(2) {
  background: #f8e8f5;
}
.screen-card:nth-child(3) {
  background: #efe6fa;
}
