:root {
  --ink: #211f1b;
  --muted: #68645d;
  --yellow: #ffed65;
  --yellow-deep: #d5bd00;
  --pink: #f9ced2;
  --mint: #cfebe9;
  --sky: #a0d6f1;
  --paper: #fffef9;
  --line: rgba(33, 31, 27, 0.14);
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--content));
  height: 88px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 750;
  width: max-content;
}
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
}
.brand-mark::before,
.brand-mark::after,
.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yellow);
  top: 10px;
}
.brand-mark::before { left: 7px; }
.brand-mark::after { left: 15px; }
.brand-mark span::before { left: 23px; }
.brand-mark span::after {
  width: 16px;
  height: 7px;
  left: 9px;
  top: 19px;
  border: 2px solid var(--yellow);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: transparent;
}
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 650; }
.nav-links a { padding: 10px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-color: var(--ink); }
.language-switch {
  justify-self: end;
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(33, 31, 27, 0.25);
  border-radius: 8px;
}
.language-switch button {
  border: 0;
  border-radius: 5px;
  padding: 7px 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.language-switch button.active { background: var(--ink); color: var(--yellow); }

.hero {
  position: relative;
  min-height: max(700px, calc(100svh - 48px));
  overflow: hidden;
  background: var(--yellow);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 39%;
  height: 100%;
  background: var(--pink);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(7vw, calc((100vw - var(--content)) / 2));
  top: 50%;
  width: min(560px, 45vw);
  transform: translateY(-48%);
}
.eyebrow, .section-label {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 122px);
  line-height: 0.92;
  font-weight: 850;
}
.hero h1 small {
  display: block;
  margin-top: 18px;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 650;
}
.hero-description {
  max-width: 500px;
  margin: 32px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.availability { font-size: 13px; font-weight: 750; }
.hero-actions a {
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease;
}
.hero-actions a:hover { background: var(--ink); color: var(--yellow); }
.hero-device {
  position: absolute;
  z-index: 3;
  width: clamp(280px, 28vw, 410px);
  right: max(8vw, calc((100vw - var(--content)) / 2 + 20px));
  bottom: -26%;
  border: 9px solid var(--ink);
  border-radius: 42px;
  overflow: hidden;
  background: white;
  box-shadow: 0 34px 70px rgba(33, 31, 27, 0.25);
  transform: rotate(2deg);
}
.hero-device img { width: 100%; }
.hero-note {
  position: absolute;
  z-index: 4;
  right: 4vw;
  bottom: 28px;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 750;
}

.manifesto {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 124px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--line);
}
.section-index { margin: 7px 0 0; font-size: 14px; font-weight: 800; }
.manifesto h2, .section-heading h2, .ritual-copy h2, .support-section h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.12;
}
.manifesto div > p {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.8;
}

.daily-ritual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 720px;
  background: var(--mint);
}
.ritual-art { display: grid; place-items: center; padding: 70px; background: white; }
.ritual-art img { width: min(100%, 580px); }
.ritual-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(40px, 7vw, 120px); }
.ritual-copy h2 { font-size: clamp(42px, 5vw, 72px); }
.ritual-copy ol { list-style: none; padding: 0; margin: 58px 0 0; }
.ritual-copy li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid rgba(33, 31, 27, 0.2);
}
.ritual-copy li:last-child { border-bottom: 1px solid rgba(33, 31, 27, 0.2); }
.ritual-copy li span { font-size: 12px; font-weight: 800; }
.ritual-copy li p { margin: 0; line-height: 1.6; }

.style-section { padding: 128px 24px 140px; background: var(--paper); }
.section-heading { width: min(100%, 860px); margin: 0 auto 76px; text-align: center; }
.section-heading > p:last-child {
  width: min(100%, 680px);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.style-gallery {
  width: min(100%, 910px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: start;
}
.style-item { text-align: center; }
.style-item.classic-item { padding-top: 80px; }
.screenshot-shell {
  width: min(100%, 345px);
  margin: 0 auto;
  border: 8px solid var(--ink);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(33, 31, 27, 0.16);
}
.style-item h3 { margin: 28px 0 8px; font-size: 24px; }
.style-item p { max-width: 340px; margin: 0 auto; color: var(--muted); line-height: 1.7; }

.ipad-section { padding: 124px 24px 100px; color: white; background: #252832; overflow: hidden; }
.section-heading.light > p:last-child { color: rgba(255,255,255,0.68); }
.ipad-frame {
  width: min(94%, 1320px);
  margin: 0 auto -9%;
  padding: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 26px;
  background: #111217;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.ipad-frame img { border-radius: 15px; }

.memory-section { padding: 150px 24px 130px; background: var(--sky); }
.memory-list {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(33,31,27,0.28);
  border-bottom: 1px solid rgba(33,31,27,0.28);
}
.memory-list article { min-height: 220px; padding: 28px 24px; border-right: 1px solid rgba(33,31,27,0.28); }
.memory-list article:last-child { border-right: 0; }
.memory-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-weight: 800;
}
.memory-list h3 { margin: 44px 0 10px; font-size: 21px; }
.memory-list p { margin: 0; color: #45433f; line-height: 1.65; }

.support-section {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 130px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: end;
}
.support-section h2 { font-size: clamp(42px, 5vw, 70px); }
.support-section p:not(.section-label) { max-width: 620px; color: var(--muted); line-height: 1.75; }
.support-email {
  justify-self: end;
  padding: 18px 0 10px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

footer {
  min-height: 180px;
  padding: 42px max(24px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  color: white;
  background: var(--ink);
}
footer .brand-mark { background: var(--yellow); }
footer .brand-mark::before, footer .brand-mark::after, footer .brand-mark span::before { background: var(--ink); }
footer .brand-mark span::after { border-color: var(--ink); }
.legal-links { display: flex; gap: 28px; font-size: 13px; }
.legal-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer > p { justify-self: end; margin: 0; font-size: 12px; color: rgba(255,255,255,0.58); }

@media (max-width: 820px) {
  .site-header { width: calc(100% - 32px); height: 72px; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { min-height: max(720px, calc(100svh - 36px)); }
  .hero::before { width: 100%; height: 38%; top: auto; bottom: 0; }
  .hero-copy { left: 24px; top: 120px; width: calc(100% - 48px); transform: none; text-align: center; }
  .hero h1 { font-size: clamp(58px, 18vw, 82px); }
  .hero-description { margin: 22px auto 0; max-width: 520px; font-size: 16px; line-height: 1.65; }
  .hero-actions { justify-content: center; margin-top: 22px; }
  .hero-device { width: 198px; right: calc(50% - 99px); bottom: -162px; border-width: 6px; border-radius: 28px; transform: none; }
  .hero-note { display: none; }
  .manifesto { padding: 90px 0; grid-template-columns: 1fr; gap: 28px; }
  .daily-ritual { grid-template-columns: 1fr; }
  .ritual-art { padding: 64px 30px; }
  .ritual-copy { padding: 80px 24px; }
  .style-section { padding: 96px 20px 110px; }
  .style-gallery { gap: 24px; }
  .style-item.classic-item { padding-top: 40px; }
  .screenshot-shell { border-width: 5px; border-radius: 25px; }
  .ipad-section { padding: 100px 14px 80px; }
  .ipad-frame { width: 106%; margin-left: -3%; margin-bottom: -2%; padding: 6px; border-radius: 14px; }
  .ipad-frame img { border-radius: 8px; }
  .memory-section { padding: 100px 20px; }
  .memory-list { grid-template-columns: repeat(2, 1fr); }
  .memory-list article:nth-child(2) { border-right: 0; }
  .memory-list article:nth-child(-n+2) { border-bottom: 1px solid rgba(33,31,27,0.28); }
  .support-section { padding: 96px 0; grid-template-columns: 1fr; gap: 30px; }
  .support-email { justify-self: start; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .footer-brand, footer > p { justify-self: center; }
  .legal-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .brand { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark::before, .brand-mark::after, .brand-mark span::before { top: 8px; }
  .brand-mark::before { left: 5px; }
  .brand-mark::after { left: 13px; }
  .brand-mark span::before { left: 21px; }
  .brand-mark span::after { left: 7px; top: 17px; }
  .language-switch button { padding: 6px 8px; }
  .hero { min-height: 760px; }
  .hero-copy { top: 100px; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .hero h1 small { margin-top: 10px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-device { bottom: -190px; width: 188px; right: calc(50% - 94px); }
  .manifesto h2, .section-heading h2, .ritual-copy h2, .support-section h2 { font-size: 38px; }
  .style-gallery { grid-template-columns: 1fr; gap: 72px; }
  .style-item.classic-item { padding-top: 0; }
  .screenshot-shell { width: 250px; }
  .section-heading { margin-bottom: 54px; }
  .memory-list { grid-template-columns: 1fr; }
  .memory-list article { min-height: 190px; border-right: 0; border-bottom: 1px solid rgba(33,31,27,0.28); }
  .memory-list article:last-child { border-bottom: 0; }
}

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