/* elements with the hidden attribute stay out of the way, whatever display a later rule gives them */
[hidden] { display: none !important; }
/* Uni Motivator — site styles. Plain CSS, no build step. */

@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --page: #F5F6F8;
  --zone: #ECEEF3;
  --card: #FFFFFF;
  --ink: #0F2547;
  --text: #1B2436;
  --muted: #5A6478;
  --line: #D9DDE5;
  --accent: #96651B;
  --accent-bg: #F5ECDD;
  --accent-on: #8A5C16;
  --skel: #E4E7ED;
  --ok: #1F7A4D;
  --ok-bg: #E3F2EA;
  --err: #B3261E;
  --err-bg: #FBE9E7;
  --focus: #2F6FDE;
  --dim: #B8C2D6;
  --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC";
  --f-body: "Inter", var(--cjk), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Manrope", var(--cjk), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(15, 37, 71, .05), 0 14px 32px -14px rgba(15, 37, 71, .22);
  --shadow-lg: 0 2px 6px rgba(15, 37, 71, .05), 0 30px 60px -28px rgba(15, 37, 71, .32);
  --r-card: 18px;
  --gut: 32px;
  --navh: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 12px); }
html.reduce { scroll-behavior: auto; }
body {
  margin: 0;
  background-color: var(--page);
  background-image: radial-gradient(rgba(15, 37, 71, .04) 1px, transparent 1.2px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-feature-settings: "tnum" 1;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); color: var(--ink); font-weight: 800; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.no-focusvisible :focus { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.wrap-wide { width: 100%; max-width: calc(1282px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

.eyebrow {
  font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.lang-zh .eyebrow { letter-spacing: .12em; }
.h2 { font-size: 48px; line-height: 1.15; letter-spacing: -.02em; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 800; }
.lang-zh .h2, .lang-zh .hero-title, .lang-zh .big-line { letter-spacing: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.note, .hint { font-size: 15px; color: var(--muted); }

/* ---------- Buttons & pills ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(15, 37, 71, .6); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
@media (hover: hover) {
  .btn:hover, .pill:hover, .cur:hover, .seg-btn:hover { transform: translateY(-3px); }
  .btn-primary:hover { box-shadow: 0 16px 30px -14px rgba(15, 37, 71, .7); }
  .btn-ghost:hover { border-color: #C3C9D5; }
}
.btn:active, .pill:active, .cur:active { transform: scale(.97); }

.pill {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-family: var(--f-head); font-weight: 700; font-size: 17px; box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, background-color .22s;
}
.pill:hover { border-color: var(--accent); }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-on);
  font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* ripple */
.ripple-dot {
  position: absolute; border-radius: 50%; pointer-events: none; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  background: currentColor; opacity: .28; transform: scale(0); animation: ripple .5s ease-out forwards;
}
@keyframes ripple { to { transform: scale(14); opacity: 0; } }

/* segmented control (lang switch, tabs) */
.seg {
  position: relative; display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px;
  background: var(--zone); border: 1px solid var(--line);
}
.seg-btn {
  position: relative; z-index: 1; min-height: 40px; padding: 0 16px; border: 0; background: transparent; border-radius: 999px;
  font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: color .25s ease, transform .22s ease;
}
.seg-btn[aria-pressed="true"], .seg-btn[aria-selected="true"] { color: var(--ink); }
.seg-thumb {
  position: absolute; z-index: 0; left: 4px; top: 4px; height: 40px; width: 0; border-radius: 999px;
  background: var(--card); box-shadow: 0 1px 2px rgba(15, 37, 71, .08), 0 4px 12px -4px rgba(15, 37, 71, .18);
  transition: left .35s cubic-bezier(.3, .7, .2, 1), top .35s cubic-bezier(.3, .7, .2, 1), width .35s cubic-bezier(.3, .7, .2, 1), height .35s;
}
.no-js .seg-thumb { display: none; }
.no-js .seg-btn[aria-pressed="true"], .no-js .seg-btn[aria-selected="true"] { background: var(--card); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: var(--navh);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(245, 246, 248, .94); box-shadow: 0 1px 0 var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav.scrolled { background: rgba(245, 246, 248, .78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.nav-in { height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; }
.logo { font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nav-links { display: flex; margin: 0 auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(15, 37, 71, .05); }
.nav-right { display: flex; align-items: center; }
.nav-right > * + * { margin-left: 10px; }
.lang .seg-btn { min-height: 34px; padding: 0 12px; font-size: 14px; min-width: 44px; }
.lang .seg-thumb { height: 34px; }

.dd { position: relative; }
.chev { display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.dd.open .chev { transform: translateY(1px) rotate(225deg); }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 320px; padding: 8px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd.open .dd-menu, .no-js .dd:hover .dd-menu, .no-js .dd:focus-within .dd-menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .js .dd:hover .dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
}
.dd-item { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.dd-item:hover { background: var(--page); }
.dd-name { display: block; font-family: var(--f-head); font-weight: 800; font-size: 15px; color: var(--ink); }
.dd-desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; padding: 0; }
.bars { position: relative; display: block; width: 18px; height: 14px; margin: 0 auto; }
.bars i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s ease, opacity .35s ease, top .35s ease; }
.bars i:nth-child(1) { top: 0; } .bars i:nth-child(2) { top: 6px; } .bars i:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mprog { display: none; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: transparent; }
.mprog i { display: block; height: 100%; width: 0; background: var(--accent); }

/* drawer */
.drawer-back { position: fixed; z-index: 60; left: 0; top: 0; right: 0; bottom: 0; background: rgba(15, 37, 71, .28); opacity: 0; transition: opacity .3s; }
.drawer {
  position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto;
  background: var(--card); border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px -20px rgba(15, 37, 71, .35);
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform .35s cubic-bezier(.3, .7, .2, 1);
}
.drawer.open { transform: none; } .drawer-back.open { opacity: 1; }
.drawer-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 10px; }
.drawer-links a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--zone); text-decoration: none; font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--ink); }
.drawer-h { margin: 20px 0 6px; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.drawer-dl .dd-item { padding: 10px 0; min-height: 44px; border-radius: 0; }
.drawer-gh { width: 100%; margin-top: 16px; min-height: 48px; }

/* chapter progress (desktop) */
.chap { position: fixed; z-index: 40; left: 22px; top: 50%; transform: translate(-12px, -50%); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
.chap.show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity .3s, transform .3s; }
.chap a { display: flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--dim); font-family: var(--f-head); font-weight: 700; font-size: 12px; }
.chap i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 10px; transition: transform .3s, background-color .3s; }
.chap a.on { color: var(--accent); } .chap a.on i { transform: scale(1.5); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--navh) + 88px) 0 0; text-align: center; overflow: hidden; }
.glow {
  position: absolute; z-index: 0; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 160, 76, .22), rgba(214, 160, 76, .08) 55%, rgba(214, 160, 76, 0));
  transform: translate(50vw, 300px); will-change: transform;
}
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hero-title { font-size: 80px; line-height: 1.04; letter-spacing: -.035em; margin: 8px auto 22px; max-width: 980px; }
.hero .lead { margin: 0 auto; font-size: 20px; max-width: 620px; }
.cta { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; }
.cta > * { margin: 0 6px 10px; }
.magnet { display: inline-block; transition: transform .25s ease-out; }
.cta-mob { display: none; }
.facts { margin-top: 10px; font-size: 15px; color: var(--muted); }
.mob-hint { display: none; }
.hero-shot { position: relative; z-index: 1; margin-top: 64px; }
.unfold { position: relative; transform-origin: 50% 0; will-change: transform; }

.demo-pill {
  position: absolute; z-index: 3; right: 28px; top: -22px; display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap;
}
.demo-pill b { color: var(--accent); font-weight: 800; margin: 0 2px; }
.demo-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; }

/* window frame for screenshots */
.frame {
  display: block; max-width: 1282px; margin: 0 auto; text-decoration: none; border-radius: 12px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.frame-bar { display: flex; align-items: center; height: 28px; padding-left: 12px; background: #FAFBFC; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-right: 7px; }
.frame-body { position: relative; display: block; height: 0; padding-top: 70.3125%; background: var(--skel); overflow: hidden; }
.frame-body img { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.js img.sk { opacity: 0; transition: opacity .4s ease; }
.js img.sk.loaded { opacity: 1; }
.hero .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 140px 0; }
.sec-head { text-align: center; max-width: 860px; margin: 0 auto 56px; }
.sec-head .lead { margin: 18px auto 0; }

/* headline reveal */
.clause { display: inline-block; }
.js:not(.reduce) .js-reveal .clause { opacity: 0; transform: translateY(.45em); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.js:not(.reduce) .js-reveal.in .clause { opacity: 1; transform: none; }

/* highlighter */
mark {
  color: var(--accent-on); padding: 0 .08em; border-radius: 4px;
  background: linear-gradient(var(--accent-bg), var(--accent-bg)) no-repeat 0 88% / 100% 86%;
}
.js:not(.reduce) .js-reveal mark { background-size: 0% 86%; transition: background-size .4s ease; }
.js:not(.reduce) .js-reveal.in mark { background-size: 100% 86%; }

/* intro */
.intro { background: var(--zone); }
.intro .sec-head { margin-bottom: 18px; }
.flip-hint { text-align: center; font-size: 15px; color: var(--muted); margin-bottom: 30px; }
.no-js .flip-hint { display: none; }
.flips { display: -ms-grid; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 24px; gap: 24px; }
.flip { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; -webkit-perspective: 1400px; perspective: 1400px; -webkit-tap-highlight-color: transparent; }
.flip-in { display: grid; min-height: 260px; transition: transform .5s cubic-bezier(.3, .7, .2, 1); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.face {
  grid-area: 1 / 1; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-card);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.front { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.back { background: var(--accent-bg); border: 1px solid #EAD9BC; transform: rotateY(180deg); }
.idx { font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--dim); margin-bottom: auto; padding-bottom: 28px; }
.back .idx { color: #C9A877; }
.ft, .bt { font-family: var(--f-head); font-weight: 700; font-size: 24px; line-height: 1.3; color: var(--ink); }
.bt { color: var(--ink); }
.js .flip.is-flipped .flip-in { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) {
  .js .flip:hover .flip-in { transform: rotateY(180deg); }
}
/* without JS: show both faces stacked, no flipping */
.no-js .flip { cursor: default; }
.no-js .flip-in { display: block; min-height: 0; }
.no-js .face { -webkit-backface-visibility: visible; backface-visibility: visible; }
.no-js .back { transform: none; margin-top: 10px; }
.reduce .flip-in { transition: none; }
.intro .note { text-align: center; margin-top: 28px; }

/* answer */
.answer { text-align: center; padding: 160px 0; }
.big-line { font-family: var(--f-head); font-weight: 800; font-size: 46px; line-height: 1.22; letter-spacing: -.02em; color: var(--ink); max-width: 980px; margin: 0 auto; }
.big-line .u { transition: color .25s ease; }
.js:not(.reduce) .js-light .u { color: var(--dim); }
.js:not(.reduce) .js-light .u.lit { color: var(--ink); }
.part-pills { margin-top: 48px; display: flex; justify-content: center; flex-wrap: wrap; }
.part-pills .pill { margin: 0 8px 12px; }

/* ---------- Meter ---------- */
.meter { padding-top: 120px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-top .badge { margin-left: 12px; }

.calc { padding: 32px 36px 36px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-gap: 48px; gap: 48px; margin-top: 26px; }
.calc-in { margin: 0; }
.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.field label, .field legend { display: block; padding: 0; margin-bottom: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.inp {
  display: flex; align-items: center; height: 56px; padding: 0 18px; border-radius: 14px;
  background: var(--page); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.inp:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(47, 111, 222, .18); background: #fff; }
.inp-sym { font-family: var(--f-head); font-weight: 800; color: var(--accent); margin-right: 6px; font-size: 20px; }
.inp input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0; outline: none;
  font-family: var(--f-head); font-weight: 800; font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums;
}
.field.bad .inp { border-color: var(--err); background: var(--err-bg); }
.field.bad .inp:focus-within { box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.shake { animation: shake .42s ease; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.err { min-height: 0; color: var(--err); font-size: 15px; font-weight: 700; margin-top: 6px; }
.err:empty { margin-top: 0; }
.curs { display: flex; flex-wrap: wrap; margin: 0 -4px; }
.cur { position: relative; overflow: hidden; margin: 0 4px 8px; border-radius: 999px; cursor: pointer; transition: transform .22s ease; }
.cur input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cur span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s;
}
.cur input:checked + span { background: var(--accent-bg); color: var(--accent-on); border-color: #E6CFA8; }
.cur input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc-in .hint { margin-top: 2px; }

.calc-out { border-left: 1px solid var(--zone); padding-left: 48px; min-width: 0; transition: opacity .25s; }
.calc-out.stale { opacity: .45; }
.out-label { font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lang-zh .out-label { letter-spacing: .1em; }
.rate { font-family: var(--f-head); font-weight: 800; font-size: 96px; line-height: 1.05; letter-spacing: -.03em; color: var(--ink); margin: 6px 0 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rate .sym, .spent .js-sym { color: var(--accent); font-size: .5em; letter-spacing: 0; margin-right: .08em; vertical-align: .55em; }
.spent .js-sym { vertical-align: .35em; font-size: .55em; }
.meterbar { padding-top: 26px; border-top: 1px solid var(--zone); }
.spent { font-family: var(--f-head); font-weight: 800; font-size: 44px; line-height: 1.15; color: var(--ink); margin: 6px 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 12px; border-radius: 12px; background: var(--zone); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 12px; background: var(--ink); transition: width 1s linear; }
.reduce .bar i { transition: none; }
.bar-ends { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--muted); }
.formula { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* states */
.states { margin-top: 120px; text-align: center; }
.tabs { margin: 0 auto; }
.state-panels { position: relative; margin-top: 26px; text-align: left; }
.state { margin: 0 0 56px; }
.state figcaption { text-align: center; color: var(--muted); font-size: 17px; margin: 0 auto 22px; max-width: 640px; min-height: 1.65em; }
.state-name { display: block; font-family: var(--f-head); font-weight: 800; color: var(--ink); font-size: 20px; }
.js .state { margin: 0; }
.js .state-name { display: none; }
.js .state { position: absolute; left: 0; right: 0; top: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.js .state.is-on { position: relative; opacity: 1; visibility: visible; transition: opacity .45s ease; }

/* small cards */
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 24px; gap: 24px; margin-top: 120px; }
.mini { padding: 26px 24px 26px; display: flex; flex-direction: column; min-width: 0; }
.mini-desc { margin: 8px 0 20px; font-size: 16px; color: var(--muted); }

/* compare */
.cmp { margin-top: auto; }
.cmp-box {
  position: relative; height: 0; padding-top: 38.333%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--skel);
  touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none;
}
.cmp-img { position: absolute; left: 0; top: 0; max-width: none; width: 213.333%; margin-left: -10%; margin-top: -36.667%; pointer-events: none; -webkit-user-drag: none; }
.cmp-clip { position: absolute; left: 0; top: 0; right: 0; bottom: 0; -webkit-clip-path: inset(0 50% 0 0); clip-path: inset(0 50% 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 37, 71, .15); pointer-events: none; }
.cmp-handle {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: ew-resize; display: flex; align-items: center; justify-content: center;
}
.cmp-handle i { width: 16px; height: 10px; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.no-js .cmp-handle { display: none; }
.cmp-ends { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--muted); }

/* tones */
.tone-tabs .seg-btn { padding: 0 12px; font-size: 14px; min-height: 38px; }
.tone-tabs .seg-thumb { height: 38px; }
.tone-lines { position: relative; margin-top: 18px; min-height: 120px; }
.tone-line { font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--ink); margin-bottom: 14px; }
.tone-name { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.js .tone-name { display: none; }
.js .tone-line { position: absolute; left: 0; right: 0; top: 0; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.js .tone-line.is-on { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
.no-js .tone-tabs { display: none; }

/* tab drawing */
.tabdraw { margin-top: auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--zone); }
.tabstrip { display: flex; align-items: flex-end; padding: 10px 10px 0; }
.tabx { display: flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 10px 10px 0 0; min-width: 0; }
.tabx-on { background: #fff; flex: 0 1 auto; box-shadow: 0 -1px 0 var(--line); }
.tabx-off { flex: 0 0 64px; }
.fav { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 9px; }
.tabx-off .fav { background: var(--dim); }
.tab-t { font-family: var(--f-body); font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-ph { display: block; width: 30px; height: 8px; border-radius: 6px; background: var(--dim); opacity: .6; }
.tabbody { background: #fff; padding: 14px 14px 40px; }
.urlbar { display: block; height: 28px; border-radius: 999px; background: var(--page); border: 1px solid var(--zone); }

.trans { margin-top: 160px; text-align: center; font-size: 40px; max-width: 900px; }

/* ---------- action bar / toast / lightbox ---------- */
.actbar { display: none; }
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: 28px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .25s; }
.js-copy .ok { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; font-size: 20px; }
.js-copy .lbl { transition: opacity .2s; }
.js-copy.done { background: var(--ok); }
.js-copy.done .lbl { opacity: 0; }
.js-copy.done .ok { opacity: 1; transform: none; }

.lb { position: fixed; z-index: 80; left: 0; top: 0; right: 0; bottom: 0; background: rgba(15, 37, 71, .86); display: flex; flex-direction: column; opacity: 0; transition: opacity .25s; }
.lb.open { opacity: 1; }
.lb-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 64px 16px 24px; }
.lb-scroll img { max-width: 100%; max-width: min(100%, 1280px); width: auto; margin: 0 auto; border-radius: 10px; background: var(--skel); }
.lb-close { position: absolute; top: 12px; right: 12px; }

/* ---------- Mid widths ---------- */
@media (max-width: 1100px) {
  .hero-title { font-size: 68px; }
  .rate { font-size: 76px; }
  .calc-grid { gap: 36px; grid-gap: 36px; }
  .calc-out { padding-left: 36px; }
  .chap { display: none; }
}
@media (max-width: 960px) {
  .nav-links, .dd, .gh, .nav-dl { display: none; }
  .menu-btn { display: block; }
  .no-js .menu-btn { display: none; }
  .no-js .gh { display: inline-flex; }
  .minis { grid-template-columns: 1fr 1fr; }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-in { min-width: 0; }
  .calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--zone); padding-top: 28px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --gut: 20px; --navh: 60px; }
  body { font-size: 16px; padding-bottom: 0; }
  .js body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav-in { padding: 0 12px 0 20px; }
  .logo { font-size: 18px; }
  .nav-right > * + * { margin-left: 8px; }
  .mprog { display: block; }
  .h2 { font-size: 30px; line-height: 1.22; }
  .h3 { font-size: 19px; }
  .lead { font-size: 17px; }
  .eyebrow { font-size: 13px; }
  .note, .hint, .formula { font-size: 16px; }

  .hero { padding-top: calc(var(--navh) + 40px); }
  .hero-title { font-size: 40px; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
  .hero .lead { font-size: 17px; }
  .cta { margin-top: 26px; flex-direction: column; align-items: stretch; }
  .cta > * { margin: 0 0 10px; }
  .cta .btn { width: 100%; }
  .magnet { display: none; }
  .js .cta-mob { display: inline-flex; }
  .no-js .magnet { display: block; }
  .facts { font-size: 15px; }
  .mob-hint { display: block; margin-top: 4px; font-size: 15px; color: var(--accent-on); font-weight: 700; }
  .hero-shot { margin-top: 48px; }
  .demo-pill { right: 50%; transform: translateX(50%); top: -20px; font-size: 14px; padding: 8px 14px; }
  .glow { width: 480px; height: 480px; margin: -240px 0 0 -240px; transform: translate(30vw, 260px); }
  .js:not(.reduce) .glow { animation: drift 9s ease-in-out 2 alternate; }

  /* crops */
  .frame-body.crop-hero { padding-top: 42.1875%; }
  .crop-hero img { width: 200%; max-width: none; margin-left: -9.375%; margin-top: -29.6875%; }
  .frame-body.crop-state { padding-top: 64.2857%; }
  .crop-state img { width: 182.857%; max-width: none; margin-left: -7.143%; margin-top: -12.857%; }
  .frame { position: relative; }
  .js .frame.zoom::after {
    content: "⤢"; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, .92); border: 1px solid var(--line); color: var(--ink); font-size: 18px; line-height: 34px; text-align: center;
  }
  .hero .frame { border-radius: 12px; }

  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 36px; }
  .flips { grid-template-columns: 1fr; gap: 14px; grid-gap: 14px; }
  .flip-in { min-height: 180px; }
  .face { padding: 22px 22px; }
  .idx { padding-bottom: 18px; }
  .ft, .bt { font-size: 21px; }

  .answer { padding: 100px 0; }
  .big-line { font-size: 28px; line-height: 1.3; }
  .part-pills { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .part-pills .pill { margin: 0 0 10px; justify-content: center; }

  .meter { padding-top: 88px; }
  .calc { padding: 22px 18px 24px; margin: 0 -4px; }
  .calc-grid { margin-top: 18px; gap: 24px; grid-gap: 24px; }
  .cur span { padding: 0 13px; }
  .rate { font-size: 52px; margin-bottom: 22px; }
  .spent { font-size: 34px; }

  .states { margin-top: 88px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; width: 100%; }
  .tabs .seg-btn { min-height: 44px; padding: 0 8px; white-space: normal; line-height: 1.2; }
  .tabs .seg-thumb { border-radius: 18px; }
  .state figcaption { font-size: 16px; margin-bottom: 16px; min-height: 3.3em; }

  .minis { display: flex; margin: 88px calc(-1 * var(--gut)) 0; padding: 4px var(--gut) 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); }
  .minis::-webkit-scrollbar { display: none; }
  .mini { flex: 0 0 84%; margin-right: 14px; scroll-snap-align: start; padding: 22px 18px; }
  .cmp, .tabdraw { margin-top: 4px; }
  .mini:last-child { margin-right: 0; }
  .tone-tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; width: 100%; }
  .tone-tabs .seg-btn { min-height: 44px; white-space: normal; line-height: 1.2; }
  .tone-tabs .seg-thumb { border-radius: 18px; height: 44px; }
  .tone-tabs .seg-btn:last-of-type { grid-column: 1 / 3; }
  .tone-line { font-size: 19px; }
  .tone-lines { min-height: 110px; }

  .trans { margin-top: 100px; font-size: 26px; }

  .js .actbar {
    display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 246, 248, .96); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .3s cubic-bezier(.3, .7, .2, 1);
  }
  .js .actbar.show { transform: none; }
  .actbar .btn { flex: 1; min-height: 48px; }
  .actbar .btn + .btn { margin-left: 10px; }
  .toast { bottom: calc(24px + env(safe-area-inset-bottom)); }
  .actbar.show ~ .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .lb-scroll { padding: 64px 0 24px; }
  .lb-scroll img { border-radius: 0; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 36px; }
  .rate { font-size: 46px; }
  .lang .seg-btn { padding: 0 10px; min-width: 40px; }
}
@keyframes drift { from { transform: translate(10vw, 200px); } to { transform: translate(70vw, 420px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Without JavaScript ---------- */
.no-js .lang, .no-js #state-tabs { display: none; }
.no-js .nav { background: rgba(245, 246, 248, .96); box-shadow: 0 1px 0 var(--line); }

/* =====================================================================
   Round 2 — 02 Slacking → footer
   ===================================================================== */
.wrap-narrow { max-width: 880px; }
.trans-plain { color: var(--ink); }

/* ---------- 02 Slacking ---------- */
.slk-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-gap: 64px; gap: 64px; align-items: center; }
.slk-text .lead { margin-top: 18px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; }
.points li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.points li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px; gap: 16px; margin-top: 30px; }
.thumb { margin: 0; }
.thumb .frame { box-shadow: var(--shadow); border-radius: 10px; }
.thumb .frame-bar { height: 16px; padding-left: 8px; }
.thumb .frame-bar i { width: 6px; height: 6px; margin-right: 4px; }
.thumb figcaption { margin-top: 8px; text-align: center; font-size: 15px; color: var(--muted); }

.slk-stage { -webkit-perspective: 1200px; perspective: 1200px; }
.slk-tilt { transition: transform .4s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.slk {
  position: relative; overflow: hidden; min-height: 440px; padding: 64px 32px 40px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow-lg);
}
.js .slk.animating { transition: height .35s cubic-bezier(.3, .7, .2, 1); }
.slk-skin {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 0;
  background: linear-gradient(135deg, #FFC38A 0%, #F58FA6 100%);
  -webkit-clip-path: circle(0 at var(--cx, 50%) var(--cy, 50%)); clip-path: circle(0 at var(--cx, 50%) var(--cy, 50%));
  transition: -webkit-clip-path .5s cubic-bezier(.3, .7, .2, 1), clip-path .5s cubic-bezier(.3, .7, .2, 1), opacity .35s ease;
}
.slk.on .slk-skin { -webkit-clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); }
.slk.done .slk-skin { opacity: 0; }
.slk.done { min-height: 280px; }
.slk-badge { position: absolute; z-index: 2; top: 18px; right: 18px; }
.slk.on .slk-badge { background: rgba(255, 255, 255, .85); color: #2B1030; }
.slk-pane { position: relative; z-index: 1; display: none; width: 100%; }
.slk-pane.is-on { display: block; }
.js .slk-pane.is-on { animation: paneIn .35s ease both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.slk-run { color: #2B1030; }
.slk-label { font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: inherit; opacity: .8; }
.slk-done .slk-label { color: var(--muted); opacity: 1; }
.slk-amt { font-family: var(--f-head); font-weight: 800; font-size: 76px; line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 16px; white-space: nowrap; }
.slk-amt .js-sym { font-size: .45em; letter-spacing: 0; margin-right: .1em; vertical-align: .6em; }
.slk-eq {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, .9);
  font-family: var(--f-head); font-weight: 700; font-size: 17px; color: #2B1030; max-width: 100%;
}
.slk-eq.empty { visibility: hidden; }
.slk-emoji { margin-right: 8px; font-size: 20px; }
.slk-eq.pop { animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(.9); } 60% { transform: scale(1.05); } 100% { transform: none; } }
.slk-dur { margin: 14px 0 26px; font-size: 18px; }
.slk-back { background: #fff; color: #2B1030; border-color: rgba(43, 16, 48, .12); }
.slk-line { font-family: var(--f-head); font-weight: 800; font-size: 26px; line-height: 1.35; color: var(--ink); margin: 12px auto 24px; max-width: 460px; }

/* price carousel */
.prices { margin-top: 120px; }
.prices-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.car-arrows { display: flex; }
.car-btn { width: 44px; height: 44px; margin-left: 10px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .22s, border-color .2s, opacity .2s; }
.car-btn span { width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.car-prev span { transform: translateX(2px) rotate(135deg); }
.car-next span { transform: translateX(-2px) rotate(-45deg); }
.car-btn[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) { .car-btn:not([disabled]):hover { transform: translateY(-3px); border-color: #C3C9D5; } }
.car {
  position: relative; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gut)); padding: 6px var(--gut) 20px; scroll-padding: 0 var(--gut);
}
.car::-webkit-scrollbar { display: none; }
.car.dragging { scroll-snap-type: none; }
.car.dragging .pc { pointer-events: none; }
.car-track { display: flex; list-style: none; margin: 0; padding: 0; }
.pc {
  flex: 0 0 196px; margin-right: 16px; scroll-snap-align: start; display: flex; flex-direction: column; min-height: 188px; padding: 22px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); -webkit-user-select: none; user-select: none;
}
.pc:last-child { margin-right: 0; }
.pc-e { font-size: 38px; line-height: 1; }
.pc-n { display: block; margin-top: auto; padding-top: 18px; font-family: var(--f-head); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--ink); }
.pc-n::first-letter { text-transform: uppercase; }
.pc-p { display: block; margin-top: 6px; font-family: var(--f-head); font-weight: 800; font-size: 22px; color: var(--accent); }
.fine .car { cursor: none; }
.drag-cur {
  position: fixed; z-index: 30; left: 0; top: 0; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; pointer-events: none;
  font-family: var(--f-head); font-weight: 700; font-size: 14px; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .2s, transform .2s;
}
.car.cur-on .drag-cur { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.no-js .drag-cur, .no-js .car-arrows, .no-js .car-dots { display: none; }
.car-dots { display: flex; justify-content: center; flex-wrap: wrap; margin: 4px 0 14px; }
.car-dots span { display: block; width: 18px; height: 22px; cursor: pointer; position: relative; }
.car-dots span::before { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 6px; border-radius: 6px; background: var(--dim); transition: background-color .25s, left .25s, width .25s; }
.car-dots span.on::before { left: 2px; width: 14px; background: var(--accent); }
.prices .note { text-align: center; }

/* ---------- 03 Ledger ---------- */
.lg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-gap: 56px; gap: 56px; align-items: start; }
.lg-stick { position: -webkit-sticky; position: sticky; top: calc(var(--navh) + 40px); }
.lg-frame, .lg-mshot.crop-classes { overflow: visible; }
.lg-frame .frame-bar, .lg-mshot.crop-classes .frame-bar { border-radius: 11px 11px 0 0; }
.lg-frame .frame-body, .lg-mshot.crop-classes .frame-body { overflow: visible; border-radius: 0 0 11px 11px; }
.lg-shot { position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 0 0 11px 11px; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.lg-shot.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.lg-shot[data-step="1"] { overflow: visible; }
.lg-shot img { position: absolute; left: 0; top: 0; width: 100%; }
.lg-shot[data-step="1"] img { border-radius: 0 0 11px 11px; }
.lg-share { background: var(--page); }
.frame-body .lg-share img { left: 50%; top: 4%; width: auto; height: 92%; max-width: none; transform: translateX(-50%); border-radius: 10px; box-shadow: var(--shadow); }
.clipbox { position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 0 0 11px 11px; }
.lg-step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.js .lg-step { opacity: .35; transition: opacity .35s ease; }
.js .lg-step.is-on { opacity: 1; }
.lg-num { font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; }
.lg-step .h3 { font-size: 32px; letter-spacing: -.01em; margin-bottom: 12px; }
.lg-step > p:not(.lg-num) { font-size: 18px; color: var(--muted); }
.lg-full { align-self: flex-start; margin-top: 20px; }
.lg-mshot { display: none; }
.lg-mshare { max-width: 360px; margin: 0 auto; }
.lg-mshare img { border-radius: 12px; box-shadow: var(--shadow-lg); background: var(--skel); }

/* spotlight + hotspots */
.spot {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(circle 150px at var(--sx, 50%) var(--sy, 30%), rgba(245, 246, 248, 0) 0, rgba(245, 246, 248, 0) 136px, rgba(245, 246, 248, .66) 150px);
}
.spot.on { opacity: 1; }
.hs { position: absolute; z-index: 3; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.hs-dot { position: relative; display: block; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.hs-n {
  display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 8px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 14px; box-shadow: 0 0 0 6px rgba(150, 101, 27, .22);
  transition: transform .22s ease, box-shadow .22s ease;
}
.hs-dot:hover .hs-n, .hs-dot[aria-expanded="true"] .hs-n { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(150, 101, 27, .28); }
.hs-tip {
  position: absolute; z-index: 4; top: calc(100% + 2px); left: 50%; width: -webkit-max-content; width: max-content; max-width: 260px;
  padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; text-align: left;
  font-family: var(--f-body); font-weight: 400; font-size: 14px; line-height: 1.45; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; pointer-events: none;
}
.hs-l .hs-tip { left: 0; transform: translate(0, 4px); }
.hs-r .hs-tip { left: auto; right: 0; transform: translate(0, 4px); }
.hs-dot[aria-expanded="true"] .hs-tip, .hs-dot:focus-visible .hs-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .22s ease, transform .22s ease; }
.hs-l[aria-expanded="true"] .hs-tip, .hs-l:focus-visible .hs-tip, .hs-r[aria-expanded="true"] .hs-tip, .hs-r:focus-visible .hs-tip { transform: none; }
@media (hover: hover) {
  .hs-dot:hover .hs-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .22s ease, transform .22s ease; }
  .hs-l:hover .hs-tip, .hs-r:hover .hs-tip { transform: none; }
}

/* rules cards */
.rules { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-gap: 24px; gap: 24px; margin-top: 96px; }
.rules .card { padding: 30px 28px; }
.rules p { color: var(--muted); margin-top: 10px; }
.rule-h { font-size: 34px; line-height: 1.15; letter-spacing: -.02em; }
.rule-big p { font-size: 18px; }

/* ---------- Privacy ---------- */
.privacy { background: var(--zone); }
.flow { position: relative; max-width: 1000px; margin: 0 auto 80px; padding-top: 120px; }
.flow-cloud { position: absolute; left: 50%; top: 0; transform: translateX(-50%); text-align: center; }
.cloud-box { display: inline-block; padding: 10px 24px; border-radius: 999px; border: 1.5px dashed #AAB3C5; background: var(--page); font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--muted); }
.cloud-box s { text-decoration: line-through; -webkit-text-decoration-color: var(--err); text-decoration-color: var(--err); text-decoration-thickness: 2px; }
.cloud-cut { position: absolute; left: 50%; top: 100%; height: 72px; border-left: 1.5px dashed #AAB3C5; }
.cloud-cut::before, .cloud-cut::after { content: ""; position: absolute; left: -10px; top: 30px; width: 18px; height: 2px; border-radius: 2px; background: var(--err); transform: rotate(45deg); }
.cloud-cut::after { transform: rotate(-45deg); }
.flow-row { display: flex; align-items: center; }
.node {
  flex: 0 0 230px; padding: 22px 18px; text-align: center; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-family: var(--f-head); font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ink);
}
.node-main { border: 1.5px solid #E6CFA8; background: #FFFCF6; }
.link { position: relative; flex: 1; height: 2px; margin: 0 8px; background: #C9D0DC; }
.beam { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #D69A3C; box-shadow: 0 0 12px 4px rgba(214, 154, 60, .5); opacity: 0; }
.flow.in .b1 { animation: beamA 2.6s ease-in-out 2; }
.flow.in .b2 { animation: beamB 2.6s ease-in-out 2; }
@keyframes beamA { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 44% { left: 100%; opacity: 1; } 50%, 100% { left: 100%; opacity: 0; } }
@keyframes beamB { 0%, 50% { left: 0; opacity: 0; } 56% { opacity: 1; } 94% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 24px; gap: 24px; }
.pcard { padding: 28px 26px; }
.pcard p { color: var(--muted); margin-top: 8px; }
.pcard:nth-child(4) { grid-column: 1 / 4; }

/* ---------- Get started ---------- */
.eds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 24px; gap: 24px; -webkit-perspective: 1200px; perspective: 1200px; }
.ed { display: flex; flex-direction: column; padding: 30px 28px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; will-change: transform; }
.ed:hover { box-shadow: var(--shadow-lg); }
.ed-size { margin: 12px 0 14px; font-family: var(--f-head); font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.ed-req { color: var(--text); }
.ed-sys { margin: 6px 0 auto; color: var(--muted); font-size: 15px; }
.ed-btn { align-self: flex-start; margin-top: 26px; }
.tested {
  margin-top: 24px; padding: 30px 32px; background: var(--accent-bg); border: 1.5px solid #E6CFA8;
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr); grid-gap: 28px; gap: 28px; align-items: center;
}
.tested-h { font-size: 26px; line-height: 1.2; color: var(--ink); }
.tested p { font-size: 18px; color: var(--text); }
.steps-wrap { position: relative; margin-top: 96px; }
.track { position: absolute; left: 12.5%; right: 12.5%; top: 22px; height: 3px; border-radius: 3px; background: var(--line); }
.track-fill { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--accent); }
.no-js .track-fill { width: 100%; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 24px; gap: 24px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-n {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--card); border: 2px solid var(--line);
  font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--muted); transition: background-color .3s, border-color .3s, color .3s;
}
.step.on .step-n, .no-js .step-n { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-t { margin-top: 16px; font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--ink); }
.step-d { margin-top: 6px; max-width: 250px; font-size: 16px; color: var(--muted); }
.sources { margin-top: 80px; padding: 28px 32px; }
.sources p { color: var(--muted); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-h { text-align: center; margin-bottom: 40px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa-h { margin: 0; font-size: inherit; }
.qa-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 18px 4px; border: 0; background: none;
  text-align: left; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--ink);
}
.qa-ic { flex: 0 0 auto; width: 10px; height: 10px; margin: 0 6px 0 18px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); transition: transform .35s ease; }
.qa-q[aria-expanded="true"] .qa-ic { transform: translateY(-3px) rotate(45deg); }
.js .qa-a { height: 0; overflow: hidden; visibility: hidden; transition: height .35s cubic-bezier(.3, .7, .2, 1), visibility 0s linear .35s; }
.js .qa.open .qa-a { visibility: visible; transition: height .35s cubic-bezier(.3, .7, .2, 1); }
.qa-a p { padding: 0 4px 24px; color: var(--text); max-width: 760px; }
.qa-a a { color: var(--ink); font-weight: 700; }
.no-js .qa-ic { display: none; }

/* ---------- Closing ---------- */
.final { text-align: center; padding: 170px 0; }
.final-h { font-size: 64px; line-height: 1.08; letter-spacing: -.03em; max-width: 920px; margin: 0 auto 36px; }
.lang-zh .final-h { letter-spacing: 0; }

/* ---------- Footer (the only dark area) ---------- */
.foot { background: #0F2547; color: #fff; padding: 76px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.5fr; grid-gap: 48px; gap: 48px; }
.foot-col { margin: 0; padding: 0; list-style: none; }
.foot-logo { font-family: var(--f-head); font-weight: 800; font-size: 22px; }
.foot-sub { margin-top: 6px; color: #B8C2D6; font-size: 15px; }
.foot-line { margin-top: 14px; color: #B8C2D6; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; color: #fff; text-decoration: none; font-weight: 700; }
.foot-links a:hover { text-decoration: underline; }
.foot-notes li { color: #B8C2D6; font-size: 15px; margin-bottom: 10px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); color: #B8C2D6; font-size: 14px; }
.foot :focus-visible { outline-color: #8FB4FF; }

/* ---------- Round 2: no-JS ---------- */
.no-js .lg { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.no-js .lg-stick { display: none; }
.no-js .lg-mshot { display: block; margin-top: 24px; }
.no-js .lg-step { min-height: 0; padding: 32px 0; }

/* ---------- Round 2: mid widths ---------- */
@media (max-width: 1100px) {
  .slk-grid { gap: 40px; grid-gap: 40px; }
  .slk-amt { font-size: 60px; }
  .node { flex-basis: 190px; font-size: 16px; }
}
@media (max-width: 960px) {
  .slk-grid { grid-template-columns: minmax(0, 1fr); }
  .slk-stage { order: -1; }
  .lg { grid-template-columns: minmax(0, 1fr); }
  .lg-stick { display: none; }
  .lg-mshot { display: block; margin-top: 22px; }
  .lg-full { display: none; }
  .lg-step, .js .lg-step { min-height: 0; padding: 28px 0; opacity: 1; }
  .rules { grid-template-columns: 1fr 1fr; }
  .rule-big { grid-column: 1 / 3; }
  .eds { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid .foot-col:first-child { grid-column: 1 / 3; }
}

/* ---------- Round 2: phone ---------- */
@media (max-width: 760px) {
  .js body { padding-bottom: 0; }
  .js .foot { padding-bottom: calc(40px + 76px + env(safe-area-inset-bottom)); }

  .slk-grid { gap: 32px; grid-gap: 32px; }
  .slk { min-height: 340px; padding: 60px 18px 30px; }
  .slk.done { min-height: 240px; }
  .js:not(.reduce) .slk-tilt.float { animation: floaty 4s ease-in-out 2; }
  .slk-amt { font-size: 46px; }
  .slk-eq { font-size: 15px; padding: 6px 14px; }
  .slk-line { font-size: 21px; }
  .thumbs { gap: 12px; grid-gap: 12px; }

  .prices { margin-top: 88px; }
  .car-arrows { display: none; }
  .pc { flex-basis: 62%; min-height: 170px; }
  .car-dots span { cursor: default; }

  .lg-mshot.crop-classes .frame-body { padding-top: 51.786%; }
  .crop-classes .clipbox img { position: absolute; left: 0; top: 0; width: 152.38%; max-width: none; margin-left: -9.524%; margin-top: -13.69%; }
  .lg-mshot.crop-classes .hs { left: var(--mx); top: var(--my); }
  .hs-tip { max-width: 240px; }
  .crop-stats .frame-body { padding-top: 56.14%; }
  .crop-stats img { width: 224.56%; max-width: none; margin-left: -14.035%; margin-top: -29.82%; }
  .lg-mshare { max-width: 280px; }
  .lg-step .h3 { font-size: 26px; }
  .lg-step > p:not(.lg-num) { font-size: 17px; }

  .rules { grid-template-columns: minmax(0, 1fr); margin-top: 64px; gap: 14px; grid-gap: 14px; }
  .rule-big { grid-column: auto; }
  .rule-h { font-size: 28px; }

  .flow { padding-top: 0; margin-bottom: 56px; }
  .flow-cloud { position: static; transform: none; margin-bottom: 18px; }
  .cloud-cut { display: none; }
  .flow-row { flex-direction: column; align-items: stretch; }
  .node { flex: 0 0 auto; }
  .link { flex: 0 0 auto; width: 2px; height: 44px; margin: 6px auto; }
  .beam { left: 50%; top: 0; margin: -5px 0 0 -5px; }
  .flow.in .b1 { animation-name: beamAy; }
  .flow.in .b2 { animation-name: beamBy; }
  .pcards, .eds { display: flex; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); }
  .pcards::-webkit-scrollbar, .eds::-webkit-scrollbar { display: none; }
  .pcard, .ed { flex: 0 0 82%; margin-right: 14px; scroll-snap-align: start; }
  .pcard:last-child, .ed:last-child { margin-right: 0; }
  .ed-size { font-size: 34px; }

  .tested { display: block; padding: 24px 22px; }
  .tested-h { font-size: 24px; margin-bottom: 10px; }
  .tested p { font-size: 17px; }
  .steps-wrap { margin-top: 64px; }
  .track { left: 22px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; margin-left: -1.5px; }
  .track-fill { width: 100%; height: 0; }
  .no-js .track-fill { height: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; grid-gap: 28px; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-column-gap: 16px; column-gap: 16px; text-align: left; align-items: start; }
  .step-n { grid-row: 1 / 3; }
  .step-t { margin-top: 8px; }
  .step-d { max-width: none; }
  .sources { margin-top: 56px; padding: 24px 22px; }

  .qa-q { font-size: 17px; min-height: 56px; }
  .final { padding: 110px 0; }
  .final-h { font-size: 36px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; grid-gap: 32px; }
  .foot-grid .foot-col:first-child { grid-column: auto; }
  .foot-links a { min-height: 44px; }
}
@keyframes beamAy { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 44% { top: 100%; opacity: 1; } 50%, 100% { top: 100%; opacity: 0; } }
@keyframes beamBy { 0%, 50% { top: 0; opacity: 0; } 56% { opacity: 1; } 94% { top: 100%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.reduce .flow.in .beam { animation: none; }

/* phones/tablets: hotspot bubbles near the edge must not widen the page (no sticky here) */
@media (max-width: 960px) { .ledger { overflow-x: hidden; } }
.nw { white-space: nowrap; }
.lg-mshot { width: 100%; }
@media (max-width: 960px) { .lg-step[data-step="1"] .lg-full { display: inline-flex; } }
.no-js .slk-stage { display: none; }

/* ============ live dashboards (assets/live) ============ */
.live-box { position: absolute; left: 0; top: 0; overflow: hidden; opacity: 0; transition: opacity .3s ease; background: #F4F5F7; }
.live-box.ready { opacity: 1; }
.live-box iframe.live { position: absolute; left: 0; top: 0; width: 1280px; height: 900px; border: 0; transform-origin: 0 0; background: #F4F5F7; }
.live-still { pointer-events: none; }
.reduce .live-box { transition: none; }
/* the nav download is a plain link now */
.nav-dl { white-space: nowrap; }

/* ============ 02 Slacking: guided live demo ============ */
.slk-head { margin-bottom: 28px; }
.slk-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0 auto 40px; max-width: 980px; }
.slk-points li { margin: 0; }
.slk-demo { position: relative; max-width: 900px; margin: 0 auto; }
.slk-try { display: block; margin: 0 0 16px; font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--ink); text-align: center; }
.slk-try .dot { display: inline-block; vertical-align: middle; position: relative; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; animation: slk-dot 1.6s ease-in-out infinite; }
@keyframes slk-dot { 50% { opacity: .3; } }
.slk-frame { box-shadow: var(--shadow); }
.js .frame-body.slk-body { padding-top: 0; height: 690px; }
.slk-body iframe.slk-live { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #F4F5F7; opacity: 0; transition: opacity .3s ease; }
.slk-body.ready iframe.slk-live { opacity: 1; }
.slk-body.ready img { visibility: hidden; }
.reduce .slk-try .dot { animation: none; }
.reduce .slk-body iframe.slk-live { transition: none; }
@media (max-width: 760px) {
  .slk-points { display: block; margin-bottom: 28px; }
  .slk-points li { margin-bottom: 10px; }
  .slk-try { font-size: 15px; }
}
