:root {
  --paper: #fffdf8;
  --paper-2: #f9f6ef;
  --ink: #202a4a;
  --muted: #7180a2;
  --blue: #4f5ee8;
  --blue-dark: #3445ca;
  --soft-blue: #edf0ff;
  --yellow: #ffe457;
  --coral: #ff816d;
  --sky: #68bdf4;
  --mint: #8fe0c2;
  --lilac: #c5b9ff;
  --line: rgba(32, 42, 74, .14);
  --shadow: 0 28px 70px rgba(31, 43, 80, .14);
  --radius: 30px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 2%, rgba(255, 228, 87, .12), transparent 26rem),
    linear-gradient(90deg, rgba(32, 42, 74, .015) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 32px 32px, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, summary { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: min(1220px, calc(100% - 32px));
  height: 76px;
  margin: 14px auto 0;
  padding: 0 16px 0 12px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 24px;
  background: rgba(255, 253, 248, .82);
  box-shadow: 0 10px 35px rgba(32, 42, 74, .08);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand b { color: var(--blue); }
.nav-links { margin-left: auto; display: flex; gap: 24px; }
.nav-links a, .site-footer nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible, .site-footer nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle {
  height: 40px;
  min-width: 68px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.8);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}
.language-toggle .lang-zh { color: var(--blue); }
html[lang="en"] .language-toggle .lang-zh { color: var(--muted); }
html[lang="en"] .language-toggle .lang-en { color: var(--blue); }
.small-cta {
  padding: 11px 16px;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.section { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero {
  min-height: 830px;
  padding: 100px 0 80px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.eyebrow, .kicker {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35c968;
  box-shadow: 0 0 0 6px rgba(53,201,104,.12);
}
h1, h2, h3, p { text-wrap: balance; }
h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(52px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -.065em;
}
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-lede {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 760;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 14px 35px rgba(79,94,232,.24); }
.button.primary:hover { background: var(--blue-dark); box-shadow: 0 18px 45px rgba(79,94,232,.3); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.75); }
.hero-facts { display: flex; gap: 30px; margin: 42px 0 0; }
.hero-facts div { padding-left: 16px; border-left: 2px solid var(--line); }
.hero-facts dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts dd { margin: 6px 0 0; font-size: 14px; font-weight: 740; }

.hero-visual { position: relative; min-height: 660px; display: grid; place-items: center; }
.sun-disc {
  position: absolute;
  width: min(560px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 -35px 80px rgba(255,129,109,.14), 0 40px 80px rgba(255,207,62,.16);
}
.phone-shell {
  position: relative;
  border: 9px solid #1d2541;
  border-radius: 48px;
  background: #0e1220;
  overflow: hidden;
  box-shadow: 0 38px 80px rgba(32,42,74,.3), inset 0 0 0 2px rgba(255,255,255,.25);
}
.phone-main { width: min(328px, 64vw); transform: rotate(2.5deg); }
.phone-shell img { width: 100%; height: auto; }
.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 50%;
  width: 35%;
  height: 24px;
  border-radius: 999px;
  background: #101426;
  transform: translateX(-50%);
}
.floating-note {
  position: absolute;
  left: 0;
  top: 90px;
  width: 190px;
  padding: 18px 20px 22px;
  background: #fff;
  clip-path: polygon(4% 0, 96% 0, 100% 8%, 97% 18%, 100% 30%, 97% 42%, 100% 54%, 97% 66%, 100% 78%, 97% 90%, 94% 100%, 5% 100%, 0 94%, 3% 81%, 0 68%, 3% 55%, 0 42%, 3% 28%, 0 14%);
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
}
.floating-note span { color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.floating-note strong { display: block; margin-top: 8px; font-size: 16px; line-height: 1.45; }
.floating-stamp {
  position: absolute;
  right: -12px;
  bottom: 80px;
  width: 160px;
  padding: 13px;
  background: white;
  clip-path: polygon(8% 0, 13% 3%, 20% 0, 27% 3%, 34% 0, 41% 3%, 48% 0, 55% 3%, 62% 0, 69% 3%, 76% 0, 83% 3%, 92% 0, 100% 8%, 97% 17%, 100% 25%, 97% 33%, 100% 41%, 97% 49%, 100% 57%, 97% 65%, 100% 73%, 97% 81%, 100% 92%, 92% 100%, 83% 97%, 76% 100%, 69% 97%, 62% 100%, 55% 97%, 48% 100%, 41% 97%, 34% 100%, 27% 97%, 20% 100%, 13% 97%, 8% 100%, 0 92%, 3% 82%, 0 73%, 3% 64%, 0 55%, 3% 46%, 0 37%, 3% 28%, 0 18%, 3% 8%);
  box-shadow: var(--shadow);
  transform: rotate(10deg);
}
.floating-stamp img { aspect-ratio: 4 / 5; object-fit: cover; }
.floating-tool {
  position: absolute;
  left: -52px;
  bottom: 48px;
  width: 180px;
  filter: drop-shadow(0 24px 24px rgba(32,42,74,.2));
  transform: rotate(-8deg);
}

.ticker { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.55); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 26px; animation: ticker 30s linear infinite; }
.ticker span { font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.ticker i { color: var(--coral); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.ritual { padding-block: 130px; }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2, .knowledge-intro h2, .privacy-card h2, .testflight-paper h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.section-heading > p:last-child, .knowledge-intro > p:not(.kicker) {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.ritual-board {
  padding: clamp(22px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 70px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 42px;
  background: linear-gradient(145deg, #f1f3ff, #fffdf8 55%, #fff6d7);
  box-shadow: var(--shadow);
}
.workbench { display: grid; gap: 24px; }
.crop-stage {
  position: relative;
  aspect-ratio: 1.08;
  padding: 9%;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: #dfe4ee;
  overflow: hidden;
}
.crop-photo { width: 78%; aspect-ratio: 1; overflow: hidden; background: white; transition: clip-path .35s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.crop-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.52); }
.crop-stage[data-edge="fine"] .crop-photo { clip-path: polygon(5% 0, 10% 3%, 15% 0, 20% 3%, 25% 0, 30% 3%, 35% 0, 40% 3%, 45% 0, 50% 3%, 55% 0, 60% 3%, 65% 0, 70% 3%, 75% 0, 80% 3%, 85% 0, 90% 3%, 95% 0, 100% 5%, 97% 10%, 100% 15%, 97% 20%, 100% 25%, 97% 30%, 100% 35%, 97% 40%, 100% 45%, 97% 50%, 100% 55%, 97% 60%, 100% 65%, 97% 70%, 100% 75%, 97% 80%, 100% 85%, 97% 90%, 100% 95%, 95% 100%, 90% 97%, 85% 100%, 80% 97%, 75% 100%, 70% 97%, 65% 100%, 60% 97%, 55% 100%, 50% 97%, 45% 100%, 40% 97%, 35% 100%, 30% 97%, 25% 100%, 20% 97%, 15% 100%, 10% 97%, 5% 100%, 0 95%, 3% 90%, 0 85%, 3% 80%, 0 75%, 3% 70%, 0 65%, 3% 60%, 0 55%, 3% 50%, 0 45%, 3% 40%, 0 35%, 3% 30%, 0 25%, 3% 20%, 0 15%, 3% 10%, 0 5%); }
.crop-stage[data-edge="wave"] .crop-photo { clip-path: polygon(5% 2%, 10% 0, 15% 2%, 20% 0, 25% 2%, 30% 0, 35% 2%, 40% 0, 45% 2%, 50% 0, 55% 2%, 60% 0, 65% 2%, 70% 0, 75% 2%, 80% 0, 85% 2%, 90% 0, 95% 2%, 100% 7%, 98% 12%, 100% 17%, 98% 22%, 100% 27%, 98% 32%, 100% 37%, 98% 42%, 100% 47%, 98% 52%, 100% 57%, 98% 62%, 100% 67%, 98% 72%, 100% 77%, 98% 82%, 100% 87%, 98% 92%, 93% 100%, 88% 98%, 83% 100%, 78% 98%, 73% 100%, 68% 98%, 63% 100%, 58% 98%, 53% 100%, 48% 98%, 43% 100%, 38% 98%, 33% 100%, 28% 98%, 23% 100%, 18% 98%, 13% 100%, 8% 98%, 0 93%, 2% 88%, 0 83%, 2% 78%, 0 73%, 2% 68%, 0 63%, 2% 58%, 0 53%, 2% 48%, 0 43%, 2% 38%, 0 33%, 2% 28%, 0 23%, 2% 18%, 0 13%, 2% 8%); }
.crop-stage[data-edge="soft"] .crop-photo { clip-path: inset(1% round 15%); }
.crop-stage.cut-complete .crop-photo { transform: translateY(-12px) rotate(-2deg) scale(.96); filter: drop-shadow(0 14px 14px rgba(32,42,74,.22)); }
.cut-flash { position: absolute; inset: 0; background: rgba(255,255,255,.8); opacity: 0; pointer-events: none; }
.crop-stage.cut-complete .cut-flash { animation: flash .55s ease-out; }
@keyframes flash { 10% { opacity: 1; } 100% { opacity: 0; } }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice {
  min-height: 128px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  cursor: pointer;
  font-size: 12px;
  font-weight: 740;
  transition: border .2s, background .2s, transform .2s;
}
.choice img { height: 76px; width: 100%; object-fit: contain; }
.choice span { display: block; margin-top: 4px; }
.choice.active { border-color: var(--blue); background: var(--soft-blue); transform: translateY(-4px); }
.ritual-controls { padding-block: 12px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.step-number { margin-top: 22px; color: var(--coral); font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.ritual-controls h3 { margin: 8px 0 10px; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.04em; }
.ritual-controls > p { margin: 0; color: var(--muted); line-height: 1.7; }
.edge-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; margin-top: 18px; }
.edge {
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  cursor: pointer;
}
.edge.active { border: 2px solid var(--blue); color: var(--blue); background: var(--soft-blue); }
.edge-sample { display: block; height: 24px; margin-bottom: 8px; background: var(--blue); }
.edge-sample.fine { clip-path: polygon(0 30%, 5% 0, 10% 30%, 15% 0, 20% 30%, 25% 0, 30% 30%, 35% 0, 40% 30%, 45% 0, 50% 30%, 55% 0, 60% 30%, 65% 0, 70% 30%, 75% 0, 80% 30%, 85% 0, 90% 30%, 95% 0, 100% 30%, 100% 70%, 95% 100%, 90% 70%, 85% 100%, 80% 70%, 75% 100%, 70% 70%, 65% 100%, 60% 70%, 55% 100%, 50% 70%, 45% 100%, 40% 70%, 35% 100%, 30% 70%, 25% 100%, 20% 70%, 15% 100%, 10% 70%, 5% 100%, 0 70%); }
.edge-sample.wave { border-radius: 999px 15px 999px 15px; transform: scaleY(.55); }
.edge-sample.soft { border-radius: 9px; }
.edge b { font-size: 12px; }
.cut-button {
  width: 100%;
  min-height: 60px;
  margin-top: 26px;
  border: 0;
  border-radius: 18px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(79,94,232,.22);
}
.cut-button:active { transform: translateY(2px); }
.cut-icon { margin-right: 8px; }
.cut-status { width: 100%; margin-top: 12px !important; text-align: center; font-size: 13px; }

.features { padding-block: 100px 130px; }
.feature-story {
  min-height: 720px;
  margin-top: 28px;
  padding: clamp(30px, 6vw, 78px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  border-radius: 42px;
  overflow: hidden;
}
.feature-story.reverse .feature-copy { order: 2; }
.feature-story.reverse .device-card { order: 1; }
.feature-blue { background: #e9edff; }
.feature-coral { background: #fff0eb; }
.feature-yellow { background: #fff7d8; }
.feature-index { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.feature-copy h3 { margin: 18px 0 20px; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.08; letter-spacing: -.055em; }
.feature-copy > p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding: 13px 16px 13px 44px; border-radius: 14px; background: rgba(255,255,255,.64); font-weight: 690; }
.feature-list li::before { content: "✓"; position: absolute; left: 16px; color: var(--blue); font-weight: 900; }
.device-card {
  width: min(340px, 100%);
  margin: auto;
  border: 8px solid var(--ink);
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 30px 55px rgba(32,42,74,.2);
  background: var(--ink);
}
.device-card img { width: 100%; }
.tilt-right { transform: rotate(3deg); }
.tilt-left { transform: rotate(-3deg); }
.music-composition { position: relative; display: grid; place-items: center; min-height: 620px; }
.music-phone { width: 330px; transform: rotate(2deg); }
.music-ticket {
  position: absolute;
  left: 2%;
  bottom: 8%;
  width: 210px;
  padding: 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(-7deg);
}
.music-ticket > span { grid-row: 1 / 3; font-size: 32px; color: var(--blue); }
.music-ticket strong { align-self: end; }
.music-ticket small { color: #35a861; }

.notebooks { padding-block: 120px; }
.book-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.book-card {
  margin: 0;
  min-width: 0;
  padding: 30px 18px 20px;
  border-radius: 28px;
  transition: transform .3s ease;
}
.book-card:hover { transform: translateY(-10px) rotate(-1deg); }
.book-card img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(32,42,74,.17)); }
.book-card figcaption { display: grid; gap: 5px; margin-top: 10px; text-align: center; }
.book-card figcaption span { color: var(--muted); font-size: 12px; }
.book-card.sunshine { background: #fff6c5; }
.book-card.coral { background: #ffebe7; }
.book-card.sky { background: #e4f5ff; }
.book-card.lilac { background: #f0ebff; }

.knowledge { padding-block: 120px; }
.knowledge-intro { max-width: 810px; margin: 0 auto 70px; text-align: center; }
.knowledge-intro > p:not(.kicker) { margin-inline: auto; }
.album-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.album-tags span { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 12px; font-weight: 700; }
.knowledge-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 34px;
  background: #f9f5ec;
  box-shadow: var(--shadow);
  overflow: hidden;
  perspective: 1400px;
}
.album-page {
  position: relative;
  min-height: 650px;
  padding: 52px clamp(24px, 4vw, 50px);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.8), transparent 24%),
    linear-gradient(90deg, rgba(90,68,40,.025) 1px, transparent 1px),
    #fbf7ef;
  background-size: auto, 20px 20px, auto;
}
.left-page { transform-origin: right center; transform: rotateY(2deg); box-shadow: inset -18px 0 28px rgba(32,42,74,.06); }
.right-page { transform-origin: left center; transform: rotateY(-2deg); box-shadow: inset 18px 0 28px rgba(32,42,74,.06); }
.page-label { display: block; margin-bottom: 34px; font-size: 15px; font-weight: 850; letter-spacing: .06em; text-align: center; }
.portrait-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.portrait-grid.four { grid-template-columns: repeat(2, 1fr); }
.portrait-stamp { margin: 0; text-align: center; }
.portrait-stamp img {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 7%;
  object-fit: cover;
  background: white;
  clip-path: polygon(5% 0, 10% 3%, 15% 0, 20% 3%, 25% 0, 30% 3%, 35% 0, 40% 3%, 45% 0, 50% 3%, 55% 0, 60% 3%, 65% 0, 70% 3%, 75% 0, 80% 3%, 85% 0, 90% 3%, 95% 0, 100% 5%, 97% 10%, 100% 15%, 97% 20%, 100% 25%, 97% 30%, 100% 35%, 97% 40%, 100% 45%, 97% 50%, 100% 55%, 97% 60%, 100% 65%, 97% 70%, 100% 75%, 97% 80%, 100% 85%, 97% 90%, 100% 95%, 95% 100%, 90% 97%, 85% 100%, 80% 97%, 75% 100%, 70% 97%, 65% 100%, 60% 97%, 55% 100%, 50% 97%, 45% 100%, 40% 97%, 35% 100%, 30% 97%, 25% 100%, 20% 97%, 15% 100%, 10% 97%, 5% 100%, 0 95%, 3% 90%, 0 85%, 3% 80%, 0 75%, 3% 70%, 0 65%, 3% 60%, 0 55%, 3% 50%, 0 45%, 3% 40%, 0 35%, 3% 30%, 0 25%, 3% 20%, 0 15%, 3% 10%, 0 5%);
  filter: drop-shadow(0 8px 8px rgba(32,42,74,.12));
}
.portrait-stamp figcaption { display: grid; gap: 5px; margin-top: 12px; }
.portrait-stamp small { color: var(--muted); line-height: 1.4; }
.page-number { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; }
.knowledge-proof { margin-top: 42px; padding: clamp(30px, 6vw, 76px); display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; border-radius: 38px; background: #dff4ff; }
.knowledge-phone { width: 310px; transform: rotate(-2deg); }
.knowledge-proof blockquote { margin: 0; position: relative; }
.knowledge-proof blockquote > span { position: absolute; left: -30px; top: -80px; color: var(--sky); font-family: Georgia, serif; font-size: 160px; line-height: 1; opacity: .45; }
.knowledge-proof blockquote p { position: relative; margin: 0; font-size: clamp(28px, 4vw, 48px); font-weight: 750; line-height: 1.35; letter-spacing: -.04em; }

.privacy { padding-block: 110px; }
.privacy-card {
  padding: clamp(34px, 6vw, 76px);
  display: grid;
  grid-template-columns: 90px 1fr 270px;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  border-radius: 42px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}
.privacy-mark { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; background: var(--mint); color: var(--ink); font-size: 40px; }
.privacy-card .kicker { color: var(--mint); }
.privacy-card h2 { font-size: clamp(34px, 4vw, 54px); }
.privacy-card p:not(.kicker) { max-width: 720px; color: #b8c1db; line-height: 1.75; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.privacy-links a { color: #fff; font-weight: 760; text-underline-offset: 5px; }
.privacy-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.privacy-points li { padding: 16px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.055); }
.privacy-points b { color: var(--mint); font-size: 11px; }
.privacy-points span { font-weight: 700; }

.testflight { padding-block: 70px 140px; }
.testflight-paper {
  position: relative;
  padding: clamp(38px, 6vw, 82px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background: #fff;
  clip-path: polygon(2% 0, 5% 1.3%, 8% 0, 11% 1.3%, 14% 0, 17% 1.3%, 20% 0, 23% 1.3%, 26% 0, 29% 1.3%, 32% 0, 35% 1.3%, 38% 0, 41% 1.3%, 44% 0, 47% 1.3%, 50% 0, 53% 1.3%, 56% 0, 59% 1.3%, 62% 0, 65% 1.3%, 68% 0, 71% 1.3%, 74% 0, 77% 1.3%, 80% 0, 83% 1.3%, 86% 0, 89% 1.3%, 92% 0, 95% 1.3%, 98% 0, 100% 4%, 98.8% 8%, 100% 12%, 98.8% 16%, 100% 20%, 98.8% 24%, 100% 28%, 98.8% 32%, 100% 36%, 98.8% 40%, 100% 44%, 98.8% 48%, 100% 52%, 98.8% 56%, 100% 60%, 98.8% 64%, 100% 68%, 98.8% 72%, 100% 76%, 98.8% 80%, 100% 84%, 98.8% 88%, 100% 92%, 98% 100%, 95% 98.7%, 92% 100%, 89% 98.7%, 86% 100%, 83% 98.7%, 80% 100%, 77% 98.7%, 74% 100%, 71% 98.7%, 68% 100%, 65% 98.7%, 62% 100%, 59% 98.7%, 56% 100%, 53% 98.7%, 50% 100%, 47% 98.7%, 44% 100%, 41% 98.7%, 38% 100%, 35% 98.7%, 32% 100%, 29% 98.7%, 26% 100%, 23% 98.7%, 20% 100%, 17% 98.7%, 14% 100%, 11% 98.7%, 8% 100%, 5% 98.7%, 2% 100%, 0 96%, 1.2% 92%, 0 88%, 1.2% 84%, 0 80%, 1.2% 76%, 0 72%, 1.2% 68%, 0 64%, 1.2% 60%, 0 56%, 1.2% 52%, 0 48%, 1.2% 44%, 0 40%, 1.2% 36%, 0 32%, 1.2% 28%, 0 24%, 1.2% 20%, 0 16%, 1.2% 12%, 0 8%);
  filter: drop-shadow(0 28px 36px rgba(32,42,74,.14));
}
.testflight-logo { width: 100%; border-radius: 30px; }
.testflight-paper .eyebrow { margin-bottom: 16px; }
.testflight-paper > div > p:not(.eyebrow) { max-width: 700px; color: var(--muted); line-height: 1.7; }
details { margin-top: 24px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
summary { cursor: pointer; color: var(--blue); font-weight: 780; }
details ol { margin: 18px 0 4px; padding-left: 20px; color: var(--muted); line-height: 1.75; }

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 30px;
  padding: 30px 0 8px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
}
.footer-brand img { width: 40px; height: 40px; }
.site-footer p, .site-footer small { color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; gap: 18px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-main { width: min(900px, calc(100% - 40px)); margin: 70px auto 120px; }
.legal-hero { padding: 48px; border-radius: 32px; background: var(--soft-blue); }
.legal-hero h1 { font-size: clamp(42px, 7vw, 70px); }
.legal-hero p { color: var(--muted); line-height: 1.7; }
.legal-content { margin-top: 28px; display: grid; gap: 18px; }
.legal-section { padding: 28px 32px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.legal-section h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.035em; }
.legal-section h3 { margin: 24px 0 8px; }
.legal-section p, .legal-section li { color: #536180; line-height: 1.75; }
.legal-section a { color: var(--blue); }
.legal-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.legal-meta span { padding: 8px 12px; border-radius: 999px; background: white; color: var(--muted); font-size: 12px; font-weight: 700; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.support-card h2 { margin-top: 0; }
.support-card p { color: var(--muted); line-height: 1.7; }
.support-card code { word-break: break-all; }
.back-link { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 28px; color: var(--blue); font-weight: 760; text-decoration: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .site-header { gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-visual { min-height: 720px; }
  .hero-facts { justify-content: center; }
  .ritual-board, .feature-story, .knowledge-proof { grid-template-columns: 1fr; }
  .feature-story.reverse .feature-copy, .feature-story.reverse .device-card { order: initial; }
  .feature-story { text-align: center; }
  .feature-list { text-align: left; }
  .book-row { grid-template-columns: repeat(2, 1fr); }
  .knowledge-spread { grid-template-columns: 1fr; }
  .left-page, .right-page { transform: none; box-shadow: inset 0 -18px 28px rgba(32,42,74,.05); }
  .privacy-card { grid-template-columns: 72px 1fr; }
  .privacy-points { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .testflight-paper { grid-template-columns: 150px 1fr; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 20px); height: 66px; margin-top: 8px; border-radius: 19px; }
  .brand { font-size: 15px; }
  .brand img { width: 40px; height: 40px; }
  .small-cta { display: none; }
  .language-toggle { min-width: 62px; }
  .section { width: min(100% - 24px, 1180px); }
  .hero { min-height: auto; padding: 70px 0 50px; }
  h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-actions { width: 100%; }
  .button { width: 100%; }
  .hero-facts { width: 100%; gap: 10px; }
  .hero-facts div { flex: 1; padding-left: 8px; }
  .hero-facts dd { font-size: 12px; }
  .hero-visual { min-height: 580px; }
  .phone-main { width: 270px; }
  .floating-note { left: -4px; top: 70px; width: 142px; padding: 14px; }
  .floating-note strong { font-size: 13px; }
  .floating-stamp { right: -4px; bottom: 58px; width: 118px; }
  .floating-tool { left: -20px; bottom: 22px; width: 125px; }
  .ticker-track { gap: 18px; }
  .ritual, .notebooks, .knowledge, .privacy { padding-block: 80px; }
  .ritual-board { border-radius: 28px; }
  .choice-row { gap: 6px; }
  .choice { min-height: 102px; padding: 6px; }
  .choice img { height: 58px; }
  .edge-choices { gap: 6px; }
  .feature-story { min-height: auto; margin-inline: -4px; padding: 42px 24px; border-radius: 28px; }
  .feature-copy h3 { font-size: 38px; }
  .music-composition { min-height: 560px; }
  .music-ticket { left: 0; width: 180px; }
  .book-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .book-card { padding: 18px 10px 14px; border-radius: 20px; }
  .knowledge-spread { border-radius: 24px; }
  .album-page { min-height: 560px; padding: 38px 18px; }
  .portrait-grid { gap: 10px; }
  .portrait-stamp b { font-size: 13px; }
  .portrait-stamp small { font-size: 10px; }
  .knowledge-proof { gap: 48px; text-align: center; }
  .knowledge-proof blockquote > span { left: 0; }
  .privacy-card { grid-template-columns: 1fr; border-radius: 28px; }
  .privacy-points { grid-column: auto; grid-template-columns: 1fr; }
  .testflight { padding-bottom: 90px; }
  .testflight-paper { grid-template-columns: 1fr; text-align: center; padding: 46px 28px; }
  .testflight-logo { width: 120px; margin: auto; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .support-grid { grid-template-columns: 1fr; }
  .legal-hero, .legal-section { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Official Android download: reuse the site's stamp-shaped paper card. */
.download-actions { margin-top: 28px; }
.download-actions > .button { min-height: 56px; }
.download-file-info { margin: 16px 0 8px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.7; }
.download-free { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.download-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 13px; line-height: 1.6; }
.download-links a { color: var(--blue); text-underline-offset: 4px; }
@media (max-width: 640px) { .download-links { justify-content: center; } }
