:root {
  color-scheme: light;
  --cream: #fff8ee;
  --paper: rgba(255, 255, 255, 0.78);
  --ink: #542632;
  --muted: #815e66;
  --berry: #8f2944;
  --pink: #ff8390;
  --blush: #ffd9d9;
  --mint: #bfe7ce;
  --butter: #ffe39a;
  --line: rgba(111, 49, 65, 0.13);
  --shadow: 0 24px 70px rgba(115, 57, 67, 0.14);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 7%, rgba(255, 189, 194, 0.58), transparent 28rem),
    radial-gradient(circle at 88% 23%, rgba(191, 231, 206, 0.58), transparent 25rem),
    linear-gradient(155deg, #fffaf3 0%, #fff4ec 45%, #fffaf3 100%);
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image: radial-gradient(rgba(143, 41, 68, 0.15) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}

a {
  color: inherit;
}

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

[data-zh] {
  display: none;
}

html[lang="zh-CN"] [data-en] {
  display: none;
}

html[lang="zh-CN"] [data-zh] {
  display: revert;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(143, 41, 68, 0.14);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav > a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.language-switch {
  min-width: 74px;
  padding: 9px 14px;
  color: var(--berry);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(115, 57, 67, 0.07);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  min-height: 690px;
  gap: clamp(40px, 8vw, 100px);
  padding-block: 54px 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6.8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-description {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  color: #fffaf7;
  background: var(--berry);
  border-radius: 16px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 13px 28px rgba(143, 41, 68, 0.24);
}

.availability {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.app-preview {
  position: relative;
  display: grid;
  min-height: 530px;
  place-items: center;
}

.phone-card {
  position: relative;
  width: min(100%, 375px);
  padding: 20px 20px 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 242, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(143, 41, 68, 0.05);
  transform: rotate(2deg);
}

.phone-top,
.calendar-heading,
.week-row,
.date-grid,
.next-card {
  transform: rotate(-2deg);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 0 5px 20px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 9px 18px;
}

.calendar-heading div {
  display: flex;
  flex-direction: column;
}

.calendar-heading small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.calendar-heading strong {
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.tiny-cake {
  display: grid;
  width: 48px;
  height: 48px;
  background: var(--blush);
  border-radius: 16px;
  place-items: center;
}

.week-row,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.week-row {
  margin-bottom: 7px;
  color: #9d7d84;
  font-size: 0.63rem;
  font-weight: 900;
}

.date-grid {
  row-gap: 8px;
  font-size: 0.72rem;
  font-weight: 780;
}

.date-grid > span {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  margin: auto;
  border-radius: 12px;
  place-items: center;
}

.date-grid .muted {
  color: #c4acb1;
}

.date-grid .birthday-date {
  background: var(--blush);
}

.date-grid .birthday-date.mint {
  background: var(--mint);
}

.date-grid .birthday-date.yellow {
  background: var(--butter);
}

.birthday-date i {
  position: absolute;
  bottom: -4px;
  width: 4px;
  height: 4px;
  background: var(--berry);
  border-radius: 50%;
}

.next-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 21px;
  padding: 13px 15px;
  background: #fff0ec;
  border-radius: 20px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(150deg, #ff8a99, #e9526b);
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.next-card div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.next-card small {
  color: var(--muted);
  font-size: 0.65rem;
}

.next-card strong {
  font-size: 0.79rem;
}

.spark {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  color: var(--berry);
  background: var(--butter);
  border-radius: 19px;
  font-size: 1.3rem;
  place-items: center;
  box-shadow: 0 14px 30px rgba(115, 57, 67, 0.14);
}

.spark-one {
  top: 50px;
  right: 8px;
  transform: rotate(9deg);
}

.spark-two {
  bottom: 58px;
  left: 0;
  color: #fff;
  background: var(--pink);
  transform: rotate(-12deg);
}

.features {
  padding-block: 90px 120px;
}

.section-intro {
  max-width: 650px;
  margin-bottom: 42px;
}

h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

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

.feature-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(115, 57, 67, 0.08);
}

.feature-card.rose {
  background: linear-gradient(145deg, #ffe2e1, #ffcdcf);
}

.feature-card.mint-card {
  background: linear-gradient(145deg, #dcf2e3, #c3e8d0);
}

.feature-card.butter {
  background: linear-gradient(145deg, #fff0bd, #ffe19c);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.64);
  border-radius: 18px;
  font-size: 1.55rem;
  font-weight: 900;
  place-items: center;
}

.feature-card h3 {
  margin: 0 0 9px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: rgba(84, 38, 50, 0.76);
  font-size: 0.96rem;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 100px;
  padding: clamp(34px, 6vw, 68px);
  background: rgba(255, 255, 255, 0.63);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.support h2 {
  max-width: 600px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.email-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 19px;
  background: var(--blush);
  border-radius: 18px;
  font-size: 0.9rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding-block: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.site-footer a {
  font-weight: 750;
  text-decoration: none;
}

.policy-page {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  justify-content: center;
  gap: clamp(44px, 8vw, 100px);
  padding-block: 76px 120px;
}

.policy-aside {
  position: sticky;
  top: 35px;
  align-self: start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(115, 57, 67, 0.1);
}

.policy-aside img {
  display: block;
  margin-bottom: 18px;
  border-radius: 28px;
}

.policy-aside p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.82rem;
}

.policy-aside a {
  color: var(--berry);
  font-size: 0.86rem;
  font-weight: 800;
}

.policy-content h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 5.1rem);
}

.policy-lead {
  margin: 0 0 58px;
  color: var(--muted);
  font-size: 1.17rem;
}

.policy-content h2 {
  margin: 46px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.policy-content p:not(.eyebrow):not(.policy-lead) {
  margin: 0;
  color: #684851;
}

.policy-content a {
  color: var(--berry);
  font-weight: 750;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .app-preview {
    min-height: 580px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .support {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-page {
    grid-template-columns: 1fr;
  }

  .policy-aside {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 18px;
  }

  .policy-aside img {
    grid-row: span 2;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand > span {
    display: none !important;
  }

  nav {
    gap: 13px;
  }

  .hero {
    min-height: auto;
    padding-block: 46px 58px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .app-preview {
    min-height: 510px;
  }

  .phone-card {
    width: calc(100% - 22px);
    padding-inline: 15px;
    border-radius: 34px;
  }

  .spark-one {
    right: 0;
  }

  .spark-two {
    left: 0;
  }

  .features {
    padding-block: 60px 80px;
  }

  .feature-card {
    padding: 26px;
    border-radius: 25px;
  }

  .support {
    margin-bottom: 65px;
    padding: 28px 24px;
    border-radius: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .policy-page {
    gap: 45px;
    padding-block: 45px 80px;
  }

  .policy-aside {
    padding: 18px;
  }

  .policy-aside img {
    width: 78px;
    height: 78px;
    border-radius: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
