:root {
  --ink: #3b2e4e;
  --purple: #9274d9;
  --purple-dark: #6f55bd;
  --cream: #fff4e6;
  --mint: #dff3f1;
  --green: #6ed36a;
  --orange: #ff8a3d;
  --yellow: #ffd257;
  --pink: #ff8db4;
  --text: #443653;
  --muted: #7d7288;
  --line: rgba(59, 46, 78, .13);
  --shadow: 0 24px 70px rgba(59, 46, 78, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 24%, rgba(146, 116, 217, .12), transparent 32%),
    linear-gradient(180deg, #e6f4f2 0%, #fff6eb 64%, #fffaf4 100%);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(255, 252, 246, .86);
  border-bottom: 1px solid rgba(59, 46, 78, .07);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--ink); font-size: 20px; white-space: nowrap; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--yellow); padding: 6px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 850; color: rgba(59, 46, 78, .66); }
.nav-links a:hover { color: var(--ink); }

.hero {
  min-height: calc(100dvh - 76px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 54px;
  padding: 52px 0 56px;
}
.hero > div:first-child { max-width: 560px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-dark);
  background: rgba(146, 116, 217, .13);
  border: 1px solid rgba(146, 116, 217, .25);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
}
.hero h1 {
  margin: 22px 0 18px;
  color: var(--ink);
  font-size: clamp(52px, 6vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}
.lead { font-size: clamp(18px, 1.8vw, 22px); color: rgba(68, 54, 83, .74); max-width: 540px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 20px;
  font-weight: 950;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 18px 34px rgba(255, 138, 61, .28);
}
.button.secondary { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 2px rgba(59, 46, 78, .07), 0 14px 28px rgba(59, 46, 78, .08); }
.app-store-button {
  min-width: 216px;
  gap: 10px;
  background: #17131f;
  box-shadow: 0 18px 36px rgba(59, 46, 78, .24);
}
.store-mark {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}
.hero-art { position: relative; min-height: 560px; }
.showcase-card {
  position: relative;
  min-height: 560px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 210, 87, .26), transparent 24%),
    radial-gradient(circle at 80% 74%, rgba(146, 116, 217, .12), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,244,230,.45)),
    #dff3f1;
  box-shadow: 0 32px 96px rgba(59, 46, 78, .12);
  border: 1px solid rgba(255,255,255,.86);
}
.showcase-card::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 32px;
  border: 2px dashed rgba(255, 210, 87, .72);
  opacity: .5;
}
.phone {
  position: absolute;
  width: 226px;
  border-radius: 36px;
  padding: 9px;
  background: #14121b;
  box-shadow: 0 34px 76px rgba(59, 46, 78, .24);
  margin: 0;
}
.phone-primary {
  right: 82px;
  top: 62px;
  z-index: 3;
}
.phone-float {
  left: 116px;
  bottom: 58px;
  width: 190px;
  z-index: 4;
  transform: rotate(-4deg);
}
.phone img { border-radius: 28px; aspect-ratio: 1206 / 2622; object-fit: cover; }

.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.section h2 { margin: 0; color: var(--ink); font-size: clamp(34px, 4.8vw, 58px); line-height: 1.05; letter-spacing: 0; }
.section-copy { color: var(--muted); max-width: 520px; margin: 0; font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(59, 46, 78, .07);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--cream);
}
.feature h3 { margin: 18px 0 8px; color: var(--ink); font-size: 22px; }
.feature p { margin: 0; color: var(--muted); }

.cozy-section { padding-top: 22px; }
.cozy-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .86);
  box-shadow: 0 22px 64px rgba(59, 46, 78, .08);
}
.cozy-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.cozy-illustration {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(59, 46, 78, .12);
}

.flow { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: center; }
.flow-visual { width: 100%; border-radius: 28px; box-shadow: var(--shadow); background: var(--cream); }
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 8px;
}
.step-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 22px;
}
.step h3 { margin: 0 0 4px; color: var(--ink); }
.step p { margin: 0; color: var(--muted); }

.screenshots { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 26px; }
.shot {
  padding: 12px;
  border-radius: 40px;
  background: #15121d;
  box-shadow: var(--shadow);
}
.shot img { border-radius: 30px; }

.privacy-band {
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.privacy-band h2 { color: #fff; }
.privacy-band p { color: rgba(255,255,255,.72); margin: 10px 0 0; max-width: 680px; }
.link-list { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer {
  padding: 36px 0 48px;
  color: rgba(68, 54, 83, .68);
}
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }

.legal-page { background: #fffaf4; }
.legal-main { padding: 54px 0 88px; }
.legal-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
}
.legal-toc a { display: block; padding: 7px 0; color: var(--muted); font-weight: 800; }
.legal-card {
  padding: clamp(24px, 4vw, 54px);
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(59, 46, 78, .07);
}
.legal-card h1 { color: var(--ink); font-size: clamp(36px, 5vw, 62px); line-height: 1; margin: 0 0 12px; }
.legal-card h2 { color: var(--ink); margin: 42px 0 12px; font-size: 26px; }
.legal-card h3 { color: var(--ink); margin: 24px 0 8px; }
.legal-card p, .legal-card li { color: rgba(68, 54, 83, .82); }
.legal-card ul { padding-left: 22px; }
.meta { color: var(--muted); font-weight: 800; margin-bottom: 28px; }
.notice {
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 210, 87, .22);
  border: 1px solid rgba(255, 210, 87, .55);
}

@media (max-width: 900px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 12px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 38px; gap: 34px; }
  .hero > div:first-child { max-width: 680px; }
  .hero-art { min-height: 520px; }
  .showcase-card { min-height: 520px; }
  .phone-primary { right: 34px; top: 58px; }
  .phone-float { left: 54px; bottom: 42px; }
  .cozy-card { grid-template-columns: 1fr; }
  .cozy-illustration { max-width: 520px; justify-self: center; }
  .feature-grid, .flow { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .privacy-band { grid-template-columns: 1fr; padding: 28px; }
  .legal-shell { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }
  .brand span { display: none; }
  .nav-links { gap: 10px; font-size: 13px; }
  .nav-links a:nth-child(2) { display: none; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .lead { font-size: 17px; }
  .hero-art { min-height: 430px; }
  .showcase-card { min-height: 430px; border-radius: 28px; }
  .showcase-card::before { inset: 18px; border-radius: 22px; }
  .phone { width: 152px; border-radius: 28px; padding: 7px; }
  .phone img { border-radius: 22px; }
  .phone-primary { right: 24px; top: 58px; }
  .phone-float { left: 26px; bottom: 32px; width: 132px; transform: rotate(-3deg); }
  .cozy-card { padding: 22px; border-radius: 22px; }
  .screenshots { grid-template-columns: 1fr; }
  .feature, .step { padding: 18px; }
}
