:root {
  --bg: #F7F5F0;
  --card: #FFFFFF;
  --raised: #EFEBE3;
  --ink: #1A1916;
  --ink2: #3A3833;
  --ink3: #78746B;
  --accent: #F2541B;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Instrument Sans", -apple-system, "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.06; }
h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.1; word-break: keep-all; }
h3 { font-size: 20px; }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink2); margin-top: 22px; max-width: 34em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.cta.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(26, 25, 22, .06); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 14px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(20px, 4vw, 48px); transition: background .4s, backdrop-filter .4s; }
.nav.solid { background: rgba(247, 245, 240, .72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.nav nav { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }

section { padding: clamp(100px, 14vw, 180px) clamp(20px, 6vw, 96px); }

/* ① hero */
.hero { position: relative; min-height: 100vh; padding: 0; overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.08); opacity: 0; transition: opacity 1.6s var(--ease), transform 2.4s var(--ease); will-change: transform; }
.loaded .hero-media img { opacity: 1; transform: scale(1); }
.hero-text { position: relative; padding: 0 clamp(20px, 6vw, 96px); max-width: 760px; }
.hero-text > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.loaded .hero-text > * { opacity: 1; transform: none; }
.loaded .hero-text > :nth-child(2) { transition-delay: .15s; }
.loaded .hero-text > :nth-child(3) { transition-delay: .3s; }
.loaded .hero-text > :nth-child(4) { transition-delay: .45s; }
.scroll-hint { position: absolute; bottom: 32px; left: 50%; width: 22px; height: 36px; border: 1.5px solid rgba(26, 25, 22, .35); border-radius: 12px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink2); animation: hint 1.8s infinite var(--ease); }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ② talk: sticky phone */
.talk { padding-top: 0; padding-bottom: 0; height: 400vh; position: relative; }
.talk-inner { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw; max-width: 1180px; margin: 0 auto; }
.talk-steps { list-style: none; margin-top: 40px; border-left: 2px solid var(--raised); }
.talk-steps li { padding: 14px 0 14px 24px; margin-left: -2px; border-left: 2px solid transparent; opacity: .35; transition: opacity .5s var(--ease), border-color .5s; }
.talk-steps li.on { opacity: 1; border-color: var(--ink); }
.talk-steps p { color: var(--ink3); font-size: 16px; }
.note { margin-top: 32px; color: var(--ink3); font-size: 15px; }
.phone-wrap { display: flex; justify-content: center; }
.phone { position: relative; width: 340px; height: 700px; background: #fff; border-radius: 52px; border: 10px solid #1d1c1a; box-shadow: 0 40px 80px -30px rgba(60, 40, 20, .35), 0 0 0 1px rgba(0, 0, 0, .04); overflow: hidden; display: flex; flex-direction: column; }
.phone-bar { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 13px; font-weight: 600; }
.phone-bar .dots { letter-spacing: -2px; font-size: 9px; }
.chat-head { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0 10px; font-size: 15px; border-bottom: 1px solid #f1efea; }
.chat-head img { width: 26px; height: 26px; }
.scene { position: absolute; inset: 96px 0 72px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; background: #fff; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.55; pointer-events: none; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .4s; }
.scene > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scene.on > * { opacity: 1; transform: none; }
.scene.on > :nth-child(2) { transition-delay: .35s; }
.scene.on > :nth-child(3) { transition-delay: .8s; }
.scene.on > :nth-child(4) { transition-delay: 1.3s; }
.scene.on > :nth-child(5) { transition-delay: 1.8s; }
.scene.on > :nth-child(6) { transition-delay: 2.2s; }
.msg { max-width: 86%; }
.msg.me { align-self: flex-end; background: #f0eeea; padding: 9px 13px; border-radius: 18px 18px 6px 18px; }
.msg.ai { color: var(--ink); }
.work { font-size: 12px; color: var(--ink3); display: flex; align-items: center; gap: 6px; }
.work::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3cb371; }
.file { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #eceae4; border-radius: 14px; width: 82%; }
.file.me-file { align-self: flex-end; }
.file b { display: block; font-weight: 500; font-size: 13px; }
.file small { color: var(--ink3); font-size: 12px; }
.ficon { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; font-weight: 600; flex: none; }
.ficon.x { background: #21a366; }
.ficon.p { background: #e5483b; }
.voice { display: flex; gap: 10px; align-items: center; }
.wave { display: flex; gap: 3px; align-items: center; height: 18px; }
.wave i { width: 3px; background: var(--ink2); border-radius: 2px; height: 30%; animation: wv 1s infinite ease-in-out; }
.wave i:nth-child(2n) { animation-delay: .15s; } .wave i:nth-child(3n) { animation-delay: .3s; } .wave i:nth-child(4n) { animation-delay: .45s; }
@keyframes wv { 50% { height: 100%; } }
.transcript { align-self: flex-end; font-size: 12px; color: var(--ink3); max-width: 80%; text-align: right; }
.scene.call { align-items: center; justify-content: center; text-align: center; background: #26241f; color: #fff; inset: 0; padding-top: 80px; z-index: 3; }
.call-av { position: relative; width: 120px; height: 120px; }
.call-av img { width: 120px; height: 120px; position: relative; z-index: 1; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ring 2s infinite var(--ease); }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.scene.call b { font-size: 20px; margin-top: 18px; }
.scene.call small { color: rgba(255, 255, 255, .6); }
.caption { margin-top: 60px; padding: 0 20px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.call-btns { display: flex; gap: 28px; margin-top: auto; margin-bottom: 40px; }
.call-btns span { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.call-btns .end { background: #e5483b; }
.composer { margin: auto 12px 14px; padding: 12px 18px; border-radius: 24px; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .07); color: #aaa; font-size: 14px; position: relative; z-index: 2; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; max-width: 1180px; margin: 0 auto; }

/* ③ lock screen */
.lock { position: relative; height: 560px; border-radius: 40px; background: linear-gradient(160deg, #d9cbb7, #a8907a 55%, #6e5a4a); padding: 54px 22px; color: #fff; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(60, 40, 20, .45); max-width: 380px; justify-self: center; width: 100%; }
.lock-time { font-size: 76px; font-weight: 300; text-align: center; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-date { text-align: center; opacity: .8; margin-top: 6px; }
.notes { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.note-card { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #1d1c1a; opacity: 0; transform: translateY(-30px) scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.note-card.in { opacity: 1; transform: none; }
.note-card img { width: 36px; height: 36px; }
.note-card div { flex: 1; }
.note-card b { font-size: 14px; }
.note-card p { font-size: 13px; }
.note-card time { font-size: 12px; opacity: .6; align-self: flex-start; }

/* ④ project */
.proj-stage { position: relative; height: 480px; max-width: 900px; margin: 60px auto 0; }
.proj-card { position: absolute; left: 50%; top: 50%; width: 340px; transform: translate(-50%, -50%) scale(var(--s, .96)); opacity: var(--o, 0); background: var(--card); border-radius: 24px; padding: 26px 28px; box-shadow: 0 30px 60px -30px rgba(60, 40, 20, .3); }
.proj-card b { font-size: 20px; }
.proj-card ul { list-style: none; margin-top: 14px; }
.proj-card li { padding: 9px 0; border-top: 1px solid #f1efea; font-size: 15px; color: var(--ink2); display: flex; align-items: center; gap: 10px; }
.dot { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.dot { background: transparent; }
.pa { position: absolute; width: 96px; height: 96px; left: 50%; top: 50%; margin: -48px; z-index: 2; transform: translate(var(--x), var(--y)); will-change: transform; }

/* ⑤ apps */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; justify-items: center; }
.app { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: var(--ink2); opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.in .app { opacity: 1; transform: none; }
.app i { width: 84px; height: 84px; border-radius: 22px; background: radial-gradient(120% 120% at 20% 10%, var(--a), var(--b)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 30px -16px var(--a); transition: transform .4s var(--ease); }
.app:hover i { transform: translateY(-6px) rotate(-3deg); }

/* ⑤b windows, ⑥ privacy: wide image */
.win, .mine { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.win-media, .mine-media { position: absolute; inset: 0; clip-path: inset(var(--clip, 12%) round 32px); transition: clip-path .1s linear; }
.win-media img, .mine-media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; transform: scale(var(--zoom, 1.1)); }
.win-media::after, .mine-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,245,240,.94) 0%, rgba(247,245,240,.78) 32%, rgba(247,245,240,0) 58%); }
.win-text, .mine-text { position: relative; max-width: 520px; opacity: var(--t, 0); transform: translateY(calc((1 - var(--t, 0)) * 30px)); }
.facts { list-style: none; margin-top: 34px; display: grid; gap: 14px; }
.facts li { color: var(--ink2); font-size: 15px; }
.facts b { display: block; color: var(--ink); font-size: 16px; }

/* ⑦ steps */
.start { position: relative; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1000px; margin: 80px auto 0; position: relative; z-index: 1; }
.steps li { text-align: center; opacity: .25; transition: opacity .6s var(--ease); }
.steps li.on { opacity: 1; }
.steps .n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); font-weight: 600; margin-bottom: 18px; transition: background .5s, color .5s; }
.steps li.on .n { background: var(--ink); color: #fff; }
.steps p { color: var(--ink3); margin-top: 6px; font-size: 15px; }
.steps-line { position: absolute; left: 50%; width: min(66%, 660px); transform: translateX(-50%); height: 4px; top: calc(clamp(100px, 14vw, 180px) + 230px); }
.steps-line path { stroke: var(--ink); stroke-width: 3; fill: none; stroke-dasharray: 1000; stroke-dashoffset: var(--dash, 1000); }

/* ⑧ faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { margin-bottom: 40px; }
details { border-top: 1px solid #e4e0d8; padding: 22px 4px; }
details:last-child { border-bottom: 1px solid #e4e0d8; }
summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink2); margin-top: 12px; }

/* ⑨ end */
.end { text-align: center; }
.end-device { width: min(560px, 90%); margin: 0 auto 20px; mask-image: radial-gradient(closest-side, #000 70%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); }

.foot { padding: 50px clamp(20px, 6vw, 96px) 40px; border-top: 1px solid #e4e0d8; font-size: 14px; color: var(--ink3); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.legal { margin-top: 24px; font-size: 12px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* sub pages */
.page { min-height: 100vh; padding-top: 140px; max-width: 1080px; margin: 0 auto; }
.page h1 { font-size: clamp(38px, 5vw, 68px); }

@media (max-width: 860px) {
  .talk { height: 380vh; }
  .talk-inner { grid-template-columns: 1fr; align-content: center; gap: 20px; padding: 70px 20px 0; }
  .talk-copy h2 { font-size: 30px; }
  .talk-steps { display: flex; border: 0; margin-top: 14px; gap: 6px; }
  .talk-steps li { padding: 6px 10px; border: 0; border-radius: 99px; margin: 0; }
  .talk-steps li.on { background: var(--ink); color: #fff; }
  .talk-steps p, .talk .note, .talk .eyebrow { display: none; }
  .talk-steps h3 { font-size: 14px; }
  .phone { width: 280px; height: 560px; border-radius: 44px; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps-line { display: none; }
  .steps li { opacity: 1; }
  .hero { align-items: flex-start; padding-top: 96px; }
  .hero-media { top: 50%; }
  .hero-text { z-index: 2; }
  .hero-media::before { content: ""; position: absolute; inset: 0 0 auto; height: 30%; z-index: 1; background: linear-gradient(var(--bg), rgba(247,245,240,0)); }
  .hero-media img { object-position: 74% 50%; }
  .hero-text h1 { font-size: 46px; }
  .lead br { display: none; }
  .proj-stage { height: 400px; margin-top: 30px; }
  .page h1, .cl h1 { word-break: keep-all; }
  .cl h1 { font-size: 32px !important; }
  .win-text, .mine-text { background: rgba(247, 245, 240, .86); padding: 24px; border-radius: 24px; backdrop-filter: blur(10px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .talk { height: auto; }
  .talk-inner { position: static; height: auto; }
}
