:root {
  --paper: #F5F2EC;
  --paper-2: #EEE8DF;
  --card: #FFFFFF;
  --ink: #211C1A;
  --muted: #6E625A;
  --line: #E4DCD1;
  --accent: #8C4F29;
  --accent-deep: #6E3A1B;
  --accent-soft: #F3E6DA;
  --gold: #C9A45C;
  --green: #2E8552;
  --shadow: 0 24px 60px rgba(60, 38, 22, 0.12);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 68px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.site { overflow-x: clip; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 12px; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--accent), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
  padding: 0 max(20px, calc((100% - 1160px) / 2));
  background: rgba(245, 242, 236, .72);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(245, 242, 236, .9); }

.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.wordmark-mark { width: 34px; height: 34px; }
.wordmark-mark rect { fill: var(--ink); }
.wordmark-mark .mark-body { fill: var(--paper); }
.wordmark-mark .mark-handle { fill: none; stroke: var(--paper); stroke-width: 1.9; stroke-linecap: round; }

.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--ink); background: rgba(33, 28, 26, .05); }
.site-nav a.is-active { color: var(--ink); background: rgba(33, 28, 26, .07); }

.header-cta { padding: 9px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(33, 28, 26, .2); }

.nav-toggle { display: none; position: relative; width: 42px; height: 42px; margin-left: auto; border: 0; border-radius: 12px; background: rgba(33, 28, 26, .06); cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.is-nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.is-nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .2s; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px rgba(33, 28, 26, .18); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(33, 28, 26, .24); }
.btn-ghost { border: 1px solid #D6CCBF; background: rgba(255, 255, 255, .5); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: 48px 0 40px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 22px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 14px; font-weight: 600; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.hero h1 span { display: block; }
@media (min-width: 901px) { .hero h1 span { white-space: nowrap; } }
.hero h1 span:last-child { color: var(--accent); }
.lede { max-width: 30em; margin: 24px 0 32px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.hero-stats { display: flex; gap: 36px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt { color: var(--muted); font-size: 14px; }
.hero-stats dd { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.hero-stage { position: relative; aspect-ratio: 1; max-width: 540px; width: 100%; justify-self: center; transform: translateY(var(--drift, 0px)); }
.hero-orb { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F6D9BC, rgba(246, 217, 188, 0) 62%), radial-gradient(circle at 70% 75%, #E4E9DC, rgba(228, 233, 220, 0) 60%); filter: blur(10px); animation: orb 12s ease-in-out infinite alternate; }
.hero-card { position: absolute; inset: 8%; overflow: hidden; border-radius: 36px; background: #CFCECC; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
.hero-renders figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.hero-renders figure.is-on { opacity: 1; transform: none; }
.hero-renders img { width: 100%; height: 100%; object-fit: cover; }
.hero-renders figcaption { position: absolute; left: 20px; top: 20px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; }
.hero-dots { position: absolute; right: 20px; bottom: 28px; display: flex; gap: 6px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(33, 28, 26, .25); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.hero-dots button.is-on { width: 22px; background: var(--ink); }

.float-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #fff; box-shadow: 0 14px 30px rgba(60, 38, 22, .14); font-size: 14px; font-weight: 600; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip-a { left: -2%; top: 44%; animation-delay: -1s; }
.chip-b { right: -2%; top: 30%; animation-delay: -3s; }
.chip-c { left: 4%; bottom: 14%; animation-delay: -2s; }
.chip-d { right: 6%; bottom: 4%; animation-delay: -4.5s; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot-gold { background: linear-gradient(135deg, #E6CD8F, #B48A3E); }
.dot-green { background: var(--green); box-shadow: 0 0 0 4px rgba(46, 133, 82, .15); }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes orb { from { transform: scale(1) rotate(0); } to { transform: scale(1.08) rotate(20deg); } }

/* scene index */
.scene-index { position: sticky; top: var(--header-h); z-index: 40; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin-top: 12px; scrollbar-width: none; background: linear-gradient(var(--paper) 72%, rgba(245, 242, 236, 0)); }
.scene-index::-webkit-scrollbar { display: none; }
.scene-index { transition: opacity .35s, transform .35s var(--ease); }
.scene-index.is-idle { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.scene-index a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.scene-index a b { color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; }
.scene-index a:hover { transform: translateY(-2px); border-color: #D2C4B4; }
.scene-index a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.scene-index a.is-active b { color: var(--gold); }

/* scene */
.scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy visual"; gap: 64px; align-items: center; padding: 96px 0; border-bottom: 1px solid var(--line); }
.scene.scene-flip { grid-template-areas: "visual copy"; }
.scene-copy { grid-area: copy; max-width: 520px; }
.scene-flip .scene-copy { justify-self: end; }
.scene-visual { grid-area: visual; display: flex; justify-content: center; transform: translateY(var(--drift, 0px)); }
.scene-label { margin-bottom: 14px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.scene h2, .section-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.scene-copy > p:not(.scene-label) { margin-top: 20px; font-size: 17px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; }

/* phone */
.phone { --pw: 300px; position: relative; width: var(--pw); height: calc(var(--pw) * 2.05); padding: 9px; border-radius: 48px; background: #26211F; box-shadow: 0 40px 80px rgba(40, 26, 16, .22), inset 0 0 0 2px #5A4F49; flex: none; }
.phone::before { content: ""; position: absolute; left: -3px; top: 120px; width: 3px; height: 34px; border-radius: 3px; background: #5A4F49; box-shadow: 0 46px #5A4F49; }
.phone::after { content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 56px; border-radius: 3px; background: #5A4F49; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 39px; background: var(--paper); font-size: 13px; line-height: 1.45; }
.phone-dark .phone-screen { background: #151312; color: #F4EEE7; }
.phone-status { position: relative; display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 10px 26px 0; font-size: 12px; font-weight: 600; }
.phone-status span:last-child { letter-spacing: -2px; font-size: 9px; }
.phone-status i { position: absolute; left: 50%; top: 10px; width: 84px; height: 24px; border-radius: 20px; background: #0F0D0C; transform: translateX(-50%); }
.phone-title { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 12px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.phone-dark .phone-title { border-color: rgba(255, 255, 255, .08); }
.phone-title h3 { font-size: 16px; font-weight: 600; }
.phone-title > span { color: var(--accent); font-size: 20px; line-height: 1; }
.phone-dark .phone-title > span { color: var(--gold); }
.phone-body { padding: 16px; }
.phone-home { position: absolute; left: 50%; bottom: 8px; z-index: 6; width: 110px; height: 5px; border-radius: 5px; background: rgba(33, 28, 26, .8); transform: translateX(-50%); }
.phone-dark .phone-home { background: rgba(255, 255, 255, .7); }

.p-overline { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.phone-dark .p-overline { color: #A99C92; }
.p-field { min-height: 76px; padding: 12px; border: 1.5px solid #D9C3B0; border-radius: 14px; background: #fff; }
.p-field p { font-size: 14px; min-height: 20px; }
[data-caret].is-on p::after, .aiimg.is-on .p-field p::after { content: ""; display: inline-block; width: 2px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: caret .7s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.p-bubble { margin: 0 0 14px 34px; padding: 11px 13px; border-radius: 16px 16px 4px 16px; background: var(--accent-soft); color: var(--accent-deep); font-size: 13px; }
.p-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 14px; border: 0; border-radius: 13px; background: var(--ink); color: #fff; font: 600 14px/1 inherit; font-family: inherit; transition: transform .18s, background .18s; }
.p-action.is-pressed { transform: scale(.95); background: var(--accent); }
.p-action-ghost { background: var(--accent-soft); color: var(--accent-deep); }
.p-card { padding: 4px 14px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(60, 38, 22, .06); }
.p-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); font-size: 12.5px; }
.p-row:last-child { border-bottom: 0; }
.p-row span { color: var(--muted); flex: none; }
.p-row b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-align: right; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.sw-black { background: #242221; }
.sw-gold { background: linear-gradient(135deg, #E6CD8F, #B48A3E); }
.p-done { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #E5F1E8; color: #1F6A3E; font-weight: 600; }
.p-done i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-style: normal; font-size: 12px; }

.phone-keyboard { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 8px 4px 26px; background: #D4D6DB; }
.kb-row { display: flex; justify-content: center; gap: 5px; margin-bottom: 8px; }
.kb-row span { display: grid; place-items: center; flex: 1; max-width: 25px; height: 36px; border-radius: 6px; background: #fff; box-shadow: 0 1px 0 #8B8D92; font-size: 15px; transition: background .12s; }
.kb-row span.is-hit { background: #E9D5C3; }
.kb-bottom span { max-width: none; font-size: 12px; background: #B4B8BF; }
.kb-bottom span:nth-child(2) { flex: 3.4; background: #fff; }

/* step visibility */
[data-demo] [data-at], [data-demo] [data-until] { transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear 0s; }
[data-demo] .is-off { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
[data-demo] .phone-keyboard.is-off { transform: translateY(100%); }
.phone-body > .is-off, .phone-screen > .is-off:not(.phone-keyboard):not(.phone-home) { position: absolute; left: 0; right: 0; }

/* photo */
.viewfinder { position: relative; margin: 12px 14px 0; aspect-ratio: 1; overflow: hidden; border-radius: 20px; }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; }
.vf-corner { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; opacity: .9; }
.c1 { left: 12px; top: 12px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.c2 { right: 12px; top: 12px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.c3 { left: 12px; bottom: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.c4 { right: 12px; bottom: 12px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.vf-flash { position: absolute; inset: 0; background: #fff; }
[data-demo] .vf-flash.is-on { animation: flash .6s ease-out forwards; }
@keyframes flash { from { opacity: .95; } to { opacity: 0; } }
.vf-scan { position: absolute; left: 0; right: 0; top: 0; height: 36%; background: linear-gradient(180deg, rgba(201, 164, 92, 0), rgba(201, 164, 92, .45)); border-bottom: 2px solid #F2D594; }
[data-demo] .vf-scan.is-on { animation: scan 1.4s var(--ease) forwards; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(280%); } }
.vf-tag { position: absolute; padding: 4px 10px; border-radius: 999px; background: rgba(21, 19, 18, .78); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vf-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
[data-demo] .vf-tag.is-off { transform: scale(.7); }
.t1 { left: 44%; top: 6%; transition-delay: .05s; }
.t2 { left: 18%; top: 46%; transition-delay: .2s; }
.t3 { right: 4%; top: 30%; transition-delay: .35s; }
.t4 { left: 10%; bottom: 10%; transition-delay: .5s; }
.vf-strip { display: flex; gap: 8px; padding: 12px 14px; }
.vf-thumb { display: grid; place-items: center; flex: 1; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #847870; font-size: 18px; }
.vf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vf-thumb-side img { transform: scaleX(-1) scale(1.3) translateX(8%); }
.vf-empty { border: 1.5px dashed rgba(255, 255, 255, .2); background: none; }
.vf-shutter { position: absolute; left: 50%; bottom: 30px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; border: 4px solid #fff; background: #fff; box-shadow: inset 0 0 0 4px #151312; transition: transform .18s; }
.vf-shutter.is-pressed { transform: scale(.88); }
.p-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 18px 18px 30px; border-radius: 24px 24px 0 0; background: var(--paper); color: var(--ink); box-shadow: 0 -12px 30px rgba(0, 0, 0, .3); }
[data-demo] .p-sheet.is-off { transform: translateY(100%); }

/* css bag */
.canvas-area { position: relative; display: grid; place-items: center; height: 262px; margin: 12px 14px 0; border-radius: 20px; background: radial-gradient(circle at 50% 110%, #E3DDD3, #F0EBE4 60%); overflow: hidden; }
.canvas-warm { background: radial-gradient(circle at 50% 110%, #E7D7C3, #F3EBE1 62%); }
.cbag { --w: 170; --h: 130; --d: 44; --body: #A0612F; --side: color-mix(in srgb, var(--body) 78%, #000); --trim: color-mix(in srgb, var(--body) 70%, #000); --hw: #C9A45C; position: relative; width: calc(var(--w) * 1px + var(--d) * .5px); height: calc(var(--h) * 1px + 70px); margin-top: 20px; transition: width .7s var(--ease), height .7s var(--ease); }
.cbag, .cbag * { transition-property: width, height, background, border-color, opacity, transform, left, right, top, bottom; transition-duration: .7s; transition-timing-function: var(--ease); }
.cb-front { position: absolute; left: 0; bottom: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); border-radius: 4px 4px 12px 12px; background: linear-gradient(160deg, color-mix(in srgb, var(--body) 88%, #fff), var(--body) 55%); box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .12); }
.cb-side { position: absolute; bottom: 5px; left: calc(var(--w) * 1px - 2px); width: calc(var(--d) * .5px); height: calc(var(--h) * 1px - 5px); background: var(--side); border-radius: 0 6px 10px 0; transform: skewY(-24deg); transform-origin: 0 100%; }
.cb-stitch { position: absolute; inset: 8px; border: 1.5px dashed rgba(255, 255, 255, .45); border-radius: 3px 3px 8px 8px; }
.cb-handle { position: absolute; left: calc(var(--w) * .28px); bottom: calc(var(--h) * 1px - 4px); width: calc(var(--w) * .44px); height: 62px; border: 9px solid var(--trim); border-bottom: 0; border-radius: 60px 60px 0 0; }
.cb-handle-back { left: calc(var(--w) * .28px + var(--d) * .35px); bottom: calc(var(--h) * 1px + var(--d) * .2px); opacity: .55; z-index: -1; }
.cb-pocket { position: absolute; left: 20%; right: 20%; top: 38%; bottom: 16%; border-radius: 4px 4px 8px 8px; background: color-mix(in srgb, var(--body) 90%, #000); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18); }
.cb-zip::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--hw) 0 3px, transparent 3px 5px); }
.cb-zip::after { content: ""; position: absolute; right: 6px; top: 3px; width: 5px; height: 12px; border-radius: 2px; background: var(--hw); }
.cb-ring { position: absolute; bottom: calc(var(--h) * 1px - 12px); width: 14px; height: 14px; border: 3px solid var(--hw); border-radius: 50%; }
.r1 { left: 6px; }
.r2 { left: calc(var(--w) * 1px - 20px); }
.cb-strap { position: absolute; left: 12px; right: calc(var(--d) * .5px + 12px); bottom: calc(var(--h) * 1px - 6px); height: 104px; border: 6px solid var(--trim); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.cb-logo { position: absolute; left: 50%; top: 18%; display: grid; place-items: center; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 1.5px solid var(--hw); color: var(--hw); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
[data-demo] .cb-logo.is-off { transform: scale(2.2); }
[data-demo] .cb-strap.is-off { transform: translateY(-30px); }
[data-demo] .cb-pocket.is-off { transform: translateY(20px); }
.cbag-build { --w: 168; --h: 124; --body: #3E4A5C; --trim: #2A3240; }
.cbag-build .cb-strap, .cbag-build .cb-ring { --trim: #2A3240; }

.cb-dim { position: absolute; left: 50%; bottom: 14px; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--accent-deep); font-size: 12px; font-weight: 700; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.cb-dim::after { content: " mm"; font-weight: 500; }

.sliders { display: grid; gap: 18px; padding: 22px 18px; }
.sl { display: grid; grid-template-columns: 22px 1fr 42px; align-items: center; gap: 12px; font-size: 13px; }
.sl span { color: var(--muted); }
.sl b { text-align: right; font-variant-numeric: tabular-nums; }
.sl-track { position: relative; height: 6px; border-radius: 6px; background: #E2DAD0; }
.sl-track i { --p: 40; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 1%); border-radius: 6px; background: var(--accent); transition: width .7s var(--ease); }
.sl-track i::after { content: ""; position: absolute; right: -11px; top: -8px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .22); }

/* material */
.mat-panel { padding: 16px 16px 0; }
.mat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 7px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; transition: border-color .3s, box-shadow .3s; }
.mat i { width: 18px; height: 18px; border-radius: 50%; }
[data-demo] .mat[data-at], [data-demo] .mat[data-until] { opacity: 1; visibility: visible; transform: none; position: static; }
[data-demo] .mat.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(33, 28, 26, .08); }
[data-demo] .mat.is-off { opacity: 1; visibility: visible; transform: none; position: static; }
.m-caramel { background: #A0612F; }
.m-olive { background: #6F7446; }
.m-cognac { background: #7A3B24; }
.m-navy { background: #2D3A55; }
.m-gold { background: linear-gradient(135deg, #E6CD8F, #B48A3E); }
.m-silver { background: linear-gradient(135deg, #F0F1F3, #9EA3A9); }
.m-gun { background: linear-gradient(135deg, #7A7A80, #333338); }

/* parts tree */
.tree { padding: 14px 16px; }
.tree-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border-radius: 12px; background: #fff; font-size: 13px; }
.tree-row small { margin-left: auto; color: var(--muted); font-size: 11px; }
.ti { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-style: normal; font-size: 12px; }
.tree-new.is-on { animation: glow 1.4s var(--ease); }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(140, 79, 41, .45); } 100% { box-shadow: 0 0 0 10px rgba(140, 79, 41, 0); } }
.tree .is-off { display: none; }

/* present */
.studio { --studio: 0; position: relative; margin: 12px 14px 0; aspect-ratio: 1; overflow: hidden; border-radius: 20px; background: #E9DCCB; }
.studio::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #F3E6D4 0 58%, #B98D63 58% 100%); opacity: calc(1 - var(--studio)); transition: opacity .8s; mix-blend-mode: multiply; }
.studio img { width: 100%; height: 100%; object-fit: cover; }
.preset-row { display: flex; gap: 8px; padding: 14px; }
.preset { flex: 1; padding: 9px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: center; font-size: 12px; }
[data-demo] .preset.is-on { border-color: var(--ink); }
[data-demo] .preset.is-off { opacity: 1; visibility: visible; transform: none; position: static; }
.views, .turntable, .aiimg { position: absolute; left: 0; right: 0; top: 96px; padding: 4px 14px; }
.views-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.v { position: relative; overflow: hidden; aspect-ratio: 1.25; border-radius: 12px; background: #CFCECC; opacity: 0; transform: scale(.85); }
.views.is-on .v { animation: pop .5s var(--ease) forwards; }
.v img { width: 100%; height: 100%; object-fit: cover; }
.v em { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, .85); font-style: normal; font-size: 10px; font-weight: 600; }
.v2 img { transform: scale(1.25) translate(3%, 2%); }
.v3 img { transform: scaleX(-1) scale(1.15); }
.v4 img { transform: scaleX(-1) scale(1.35) translateX(-3%); }
.v5 img { transform: scale(1.9) translateY(30%); }
.v6 img { transform: scale(2) translateX(-30%); }
.v7 img { transform: scale(3.4) translate(16%, -3%); }
.v8 img { transform: scale(2.2) translate(5%, -22%); }
.views.is-on .v2 { animation-delay: .12s; } .views.is-on .v3 { animation-delay: .24s; } .views.is-on .v4 { animation-delay: .36s; }
.views.is-on .v5 { animation-delay: .48s; } .views.is-on .v6 { animation-delay: .6s; } .views.is-on .v7 { animation-delay: .72s; } .views.is-on .v8 { animation-delay: .84s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.tt-stage { overflow: hidden; aspect-ratio: 1; border-radius: 20px; background: #CFCECC; perspective: 600px; }
.tt-stage img { width: 100%; height: 100%; object-fit: cover; }
.turntable.is-on .tt-stage img { animation: turn 2.2s var(--ease) infinite alternate; }
@keyframes turn { from { transform: rotateY(-28deg) scale(1.05); } to { transform: rotateY(28deg) scale(1.05); } }
.tt-bar { height: 6px; margin: 14px 0 4px; border-radius: 6px; background: #E2DAD0; overflow: hidden; }
.tt-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--green); }
.turntable.is-on .tt-bar i { animation: fill 2s linear forwards; }
@keyframes fill { to { width: 100%; } }
.step-bar i { --p: 25; width: calc(var(--p) * 1%); background: var(--accent); transition: width .7s var(--ease); }
.aiimg .p-field { min-height: 0; margin-bottom: 12px; }
.ai-scene { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 20px; background: #CFCECC; }
.ai-scene img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.3) saturate(1.2); transform: scale(1.08); }
.ai-scene::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(222, 150, 80, .35), rgba(120, 70, 40, .2) 55%, rgba(80, 50, 30, .35)), repeating-linear-gradient(90deg, rgba(90, 60, 40, .12) 0 18px, transparent 18px 46px); mix-blend-mode: multiply; opacity: 0; transition: opacity 1.2s .9s; }
.ai-sun { position: absolute; right: -20%; top: -20%; z-index: 2; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 150, .85), rgba(255, 214, 150, 0) 65%); opacity: 0; transition: opacity 1.2s 1.1s; }
.aiimg.is-on .ai-scene::before, .aiimg.is-on .ai-sun { opacity: 1; }

/* ai generate */
.ai-gen, .ai-result { position: absolute; left: 0; right: 0; top: 96px; padding: 4px 16px; }
.gen-stage { position: relative; overflow: hidden; aspect-ratio: 1.15; border-radius: 20px; background: radial-gradient(circle at 50% 115%, #E3DDD3, #F0EBE4 62%); }
.gen-wire { position: absolute; inset: 6% 10%; width: 80%; height: 88%; }
.gen-wire path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ai-gen.is-on .gen-wire path { animation: draw .9s var(--ease) forwards; }
.ai-gen.is-on .gen-wire path:nth-child(2) { animation-delay: .25s; } .ai-gen.is-on .gen-wire path:nth-child(3) { animation-delay: .45s; }
.ai-gen.is-on .gen-wire path:nth-child(4) { animation-delay: .7s; } .ai-gen.is-on .gen-wire path:nth-child(5) { animation-delay: .95s; } .ai-gen.is-on .gen-wire path:nth-child(6) { animation-delay: 1.2s; }
.gen-sweep { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); }
.ai-gen.is-on .gen-sweep { animation: sweep 1.3s ease-in-out infinite; }
@keyframes sweep { to { left: 110%; } }
.gen-title { margin: 16px 0 0; font-size: 15px; font-weight: 600; }
.gen-bar { margin-top: 10px; }
.gen-bar i { background: var(--accent); }
.ai-gen.is-on .gen-bar i { animation: fill 2.5s cubic-bezier(.4, 0, .2, 1) forwards; }
.gen-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; font-size: 12.5px; }
.gen-list li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.gen-list i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #E2DAD0; color: transparent; font-style: normal; font-size: 10px; }
.ai-gen.is-on .gen-list i { animation: tick .3s var(--ease) forwards; }
.ai-gen.is-on .gen-list li:nth-child(1) i { animation-delay: .5s; } .ai-gen.is-on .gen-list li:nth-child(2) i { animation-delay: 1.1s; }
.ai-gen.is-on .gen-list li:nth-child(3) i { animation-delay: 1.7s; } .ai-gen.is-on .gen-list li:nth-child(4) i { animation-delay: 2.2s; }
@keyframes tick { to { background: var(--green); color: #fff; } }
.ai-render { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 20px; background: #CFCECC; }
.ai-render img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3) translateY(-14%); }
.ai-result.is-on .ai-render img { animation: materialize 1.1s var(--ease) both, sway 3.2s 1.1s ease-in-out infinite alternate; }
@keyframes materialize { from { opacity: 0; filter: blur(14px) brightness(1.5); transform: scale(.92) translateY(2%); } to { opacity: 1; filter: none; transform: scale(1.3) translateY(-14%); } }
@keyframes sway { from { transform: scale(1.3) translateY(-14%) rotate(0); } to { transform: scale(1.32) translateY(-14.5%) rotate(-1.5deg); } }
.ai-glint { position: absolute; top: 0; bottom: 0; left: -50%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
.ai-result.is-on .ai-glint { animation: sweep 1s .9s ease-out both; }
.ai-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #1F6A3E; font-size: 12px; font-weight: 700; }
.ai-badge i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-style: normal; font-size: 10px; }
.ai-result.is-on .ai-badge { animation: badge .5s 1s var(--ease) both; }
@keyframes badge { from { opacity: 0; transform: scale(.6); } }
.ai-dims { display: flex; gap: 8px; margin-top: 14px; }
.ai-dims span { flex: 1; padding: 8px 0; border-radius: 12px; background: #fff; text-align: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ai-result.is-on .ai-dims span { animation: rise .5s var(--ease) backwards; }
.ai-result.is-on .ai-dims span:nth-child(1) { animation-delay: 1.2s; } .ai-result.is-on .ai-dims span:nth-child(2) { animation-delay: 1.3s; } .ai-result.is-on .ai-dims span:nth-child(3) { animation-delay: 1.4s; }
.ai-result .p-action { margin-top: 12px; }

/* make */
.pattern, .bom, .steps-card { position: absolute; left: 0; right: 0; top: 96px; padding: 4px 16px; }
.pattern-svg { width: 100%; height: auto; border-radius: 14px; background: #fff; }
.pattern-svg .tiles path { fill: none; stroke: #D8CFC4; stroke-dasharray: 4 4; }
.pattern-svg .pieces path { fill: rgba(140, 79, 41, .06); stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pattern.is-on .pieces path { animation: draw 1.1s var(--ease) forwards; }
.pattern.is-on .pieces path:nth-child(2) { animation-delay: .2s; } .pattern.is-on .pieces path:nth-child(3) { animation-delay: .4s; }
.pattern.is-on .pieces path:nth-child(4) { animation-delay: .55s; } .pattern.is-on .pieces path:nth-child(5) { animation-delay: .7s; } .pattern.is-on .pieces path:nth-child(6) { animation-delay: .85s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pattern-svg text { fill: var(--accent-deep); font-size: 10px; text-anchor: middle; opacity: 0; }
.pattern.is-on text { animation: pop 1s 1.2s forwards; }
.bom .p-row { background: #fff; padding: 11px 12px; margin-bottom: 6px; border-radius: 12px; border: 0; }
.bom.is-on .p-row { animation: rise .5s var(--ease) backwards; }
.bom.is-on .p-row:nth-child(3) { animation-delay: .08s; } .bom.is-on .p-row:nth-child(4) { animation-delay: .16s; } .bom.is-on .p-row:nth-child(5) { animation-delay: .24s; } .bom.is-on .p-row:nth-child(6) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.steps-card { top: 110px; }
.steps-card h4 { margin: 18px 0 10px; font-size: 20px; }
.steps-card h4.is-off { position: absolute; }
.step-note { color: var(--muted); font-size: 13px; }
.steps-card .p-action { margin-top: 26px; }

/* share */
.share-pane, .community { position: absolute; left: 0; right: 0; top: 96px; padding: 6px 16px; }
.sync-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; margin-bottom: 14px; border-radius: 999px; background: #E5F1E8; color: #1F6A3E; font-size: 12px; font-weight: 600; }
.sync-pill .dot { width: 8px; height: 8px; }
.share-card { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(60, 38, 22, .06); }
.share-card img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.share-card div { display: grid; gap: 2px; min-width: 0; }
.share-card span { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.share-files span { padding: 5px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; }
.toast { margin: 16px auto 0; width: fit-content; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.comm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comm-card { overflow: hidden; border-radius: 14px; background: #fff; }
.cc-img { display: block; overflow: hidden; aspect-ratio: 1.1; background: #CFCECC; }
.comm-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.8) translateY(-22%); }
.comm-card b, .comm-card span { display: block; padding: 0 10px; font-size: 12px; }
.comm-card b { padding-top: 8px; }
.comm-card span { padding-bottom: 8px; color: var(--muted); font-size: 11px; }
.community.is-on .comm-card { animation: rise .5s var(--ease) backwards; }
.community.is-on .comm-card:nth-child(2) { animation-delay: .1s; } .community.is-on .comm-card:nth-child(3) { animation-delay: .2s; } .community.is-on .comm-card:nth-child(4) { animation-delay: .3s; }
.phone-title h3.is-off { display: none; }

/* sections */
.section-head { margin-bottom: 40px; }
.templates { padding: 110px 0 90px; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; padding: 10px 0 30px; }
.marquee.is-looping .marquee-track { animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tpl { flex: none; width: 260px; margin: 0 20px 0 0; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(60, 38, 22, .07); transition: transform .35s var(--ease), box-shadow .35s; }
.tpl:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(60, 38, 22, .13); }
.tpl img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #CFCECC; }
.tpl figcaption { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.tpl figcaption span { padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; }
.tpl-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tpl-more span { padding: 8px 16px; border: 1px dashed #CDBFAE; border-radius: 999px; color: var(--muted); font-size: 14px; }

.more { padding: 90px 0; border-top: 1px solid var(--line); }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { padding: 24px; border-radius: 22px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(60, 38, 22, .1); }
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; }

.membership { padding: 90px 0; border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: 26px; background: #fff; }
.plan h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 8px; }
.plan li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li:last-child { border: 0; }
.plan li b { font-variant-numeric: tabular-nums; }
.plan .btn { margin-top: auto; }
.plan-pro { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.plan-pro li { border-color: rgba(255, 255, 255, .12); }
.plan-pro li b { color: var(--gold); }
.plan-pro .btn-primary { margin-top: 20px; background: #fff; color: var(--ink); }
.plan-tag { padding: 3px 10px; border-radius: 999px; background: rgba(201, 164, 92, .2); color: var(--gold); font-size: 13px; font-weight: 600; }

.start { margin-top: 30px; padding: 72px 56px; border-radius: 36px; background: linear-gradient(135deg, #3A2618, #8C4F29); color: #fff; text-align: center; }
.start h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; }
.start-steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; padding: 0; margin: 32px 0 36px; }
.start-steps li { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; background: rgba(255, 255, 255, .1); font-size: 16px; }
.start-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 13px; }
.start .actions { justify-content: center; }

.faq { padding: 110px 0 80px; }
.faq-list { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #fff; color: var(--accent); font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); font-size: 16px; }
.faq details[open] p { animation: rise .4s var(--ease); }

.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 36px 0 48px; border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { color: var(--muted); font-size: 15px; text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* dot rail */
.dot-rail { position: fixed; right: 22px; top: 50%; z-index: 45; display: flex; flex-direction: column; gap: 12px; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .4s; }
.dot-rail.is-shown { opacity: 1; pointer-events: auto; }
.dot-rail a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(33, 28, 26, .2); transition: transform .3s var(--ease), background .3s; }
.dot-rail a:hover, .dot-rail a.is-active { background: var(--accent); transform: scale(1.35); }
.dot-rail span { position: absolute; right: 20px; top: 50%; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; transform: translate(6px, -50%) scale(.74); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.dot-rail a:hover span { opacity: 1; transform: translate(0, -50%) scale(.74); }

.to-top { position: fixed; right: 20px; bottom: 22px; z-index: 45; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 18px; text-decoration: none; box-shadow: 0 12px 26px rgba(33, 28, 26, .22); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .phone { opacity: 0; transform: translateY(60px) rotate(-2deg); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .scene-flip .phone { transform: translateY(60px) rotate(2deg); }
.js .phone.is-in { opacity: 1; transform: none; }
.js .tile { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s; }
.js .more-grid.is-in .tile { opacity: 1; transform: none; }
.js .more-grid.is-in .tile:hover { transform: translateY(-5px); }
.more-grid.is-in .tile:nth-child(2) { transition-delay: .06s; } .more-grid.is-in .tile:nth-child(3) { transition-delay: .12s; } .more-grid.is-in .tile:nth-child(4) { transition-delay: .18s; }
.more-grid.is-in .tile:nth-child(5) { transition-delay: .24s; } .more-grid.is-in .tile:nth-child(6) { transition-delay: .3s; } .more-grid.is-in .tile:nth-child(7) { transition-delay: .36s; } .more-grid.is-in .tile:nth-child(8) { transition-delay: .42s; }

@media (max-width: 1100px) {
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .dot-rail { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  html { scroll-padding-top: calc(var(--header-h) + 58px); }
  .site-header { gap: 12px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; gap: 2px; margin: 0; padding: 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
  .site-nav a { padding: 13px 14px; font-size: 16px; color: var(--ink); }
  .is-nav-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }
  .hero { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-top: 36px; }
  .hero-stage { max-width: 440px; }
  .scene, .scene.scene-flip { grid-template-columns: 1fr; grid-template-areas: "copy" "visual"; gap: 44px; padding: 72px 0; }
  .scene-flip .scene-copy { justify-self: start; }
  .plans { grid-template-columns: 1fr; }
  .start { padding: 56px 24px; border-radius: 28px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero-stats { gap: 22px; }
  .hero-stats dd { font-size: 24px; }
  .float-chip { padding: 8px 12px; font-size: 12px; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
  .phone { --pw: 280px; }
  .more-grid { grid-template-columns: 1fr; }
  .tpl { width: 210px; }
  .faq summary { font-size: 16px; }
  .btn { flex: 1 1 auto; }
  .to-top { right: 14px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track .tpl[aria-hidden] { display: none; }
}
