/* Layout: the Figma "Home" frame (1440 wide) translated to a centered 1440 column with rounded white panels between open grey sections. Single light theme, as designed. */
:root {
  color-scheme: light;
  --page: #F7F7F7;
  --surface: #FFFFFF;
  --ink: #111111;
  --ink-2: #10100E;
  --muted: #7C7C7C;
  --body: #3A3A3F;
  --secondary: #6E6E73;
  --line: #E6E5EE;
  --chip: #EEEEEE;
  --chip-ink: #565656;
  --aura-100: #EEEDFC;
  --aura-200: #CCCCFF;
  --aura-400: #9B99FF;
  --aura-600: #7066E0;
  --aura-700: #5B57E0;
  --sky: #78C9FA;
  --sky-100: #DFF2FD;
  --sky-300: #9BD6FB;
  --sky-700: #006C94;
  --pink: #E9A6F2;
  --pink-100: #FEE4FE;
  --pink-300: #FDC0FE;
  --pink-700: #D06AD3;
  --success-bg: #E4F4EA;
  --success: #2F7A57;
  --success-dot: #0F9C5A;
  --warn-bg: #FAEEDF;
  --warn: #9D5C0F;
  --track: #F1F1F1;
  --display: "Kanit", "Auralynk SC", "Inter", system-ui, sans-serif;
  --text: "Inter", "Auralynk SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Trirong", Georgia, serif;
  --gutter-l: clamp(16px, 2.4vw, 36px);
  --gutter-r: clamp(16px, 2.4vw, 36px);
  --gutter-l: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-right, 0px));
  --nav-h: 96px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html[lang="zh-Hans"] #capTitle br, html[lang="zh-Hans"] .hero-copy p br { display: none; }
html[lang="zh-Hans"] .hero-copy p br:nth-of-type(2) { display: inline; }
#ctaTitle { white-space: pre-line; }
.stat .lead { white-space: pre-line; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
@supports (overflow: clip) { body { overflow-x: clip; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--page); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { -webkit-appearance: none; appearance: none; font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--aura-700); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1800px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.h-display { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 44px); line-height: 1.18; letter-spacing: -0.01em; color: var(--ink-2); margin: 0; text-wrap: balance; }
.eyebrow { font-weight: 500; font-size: clamp(16px, 1.6vw, 20px); line-height: 1; letter-spacing: -0.01em; color: var(--muted); margin: 0; }
.lead { font-weight: 300; font-size: 18px; line-height: 26px; color: var(--ink-2); margin: 0; }
.center { text-align: center; }
.stack-c { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; height: 56px; padding: 0 25px; background: var(--aura-600); color: #fff; border: 0; font-weight: 600; font-size: 18px; letter-spacing: 0.05em; text-decoration: none; transition: background .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--aura-700); }
.btn:active { transform: translateY(1px); }
.btn-outline { height: 38px; border-radius: 12px; border: 1px solid var(--aura-700); background: transparent; color: var(--aura-700); font-size: 14px; letter-spacing: 0.05em; padding: 0 25px; }
.btn-outline:hover { background: var(--aura-100); }
/* header + hero call-to-action pairs */
.nav-ctas { display: flex; align-items: center; gap: 12px; }
.btn-sm { height: 38px; border-radius: 12px; font-size: 14px; letter-spacing: 0.05em; padding: 0 22px; }
.btn-ghost { background: transparent; color: var(--aura-700); box-shadow: inset 0 0 0 1px var(--aura-600); }
.btn-ghost:hover { background: var(--aura-100); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; align-self: flex-start; }
.hero-ctas .btn-outline { height: 56px; font-size: 18px; min-width: 149.2px; }
.hero-ctas .btn:not(.btn-outline) { min-width: 191.9px; }
html[lang="zh-Hans"] .hero-ctas .btn { min-width: 125.61px; font-weight: 500; }
@media (max-width: 1240px) { .hero-ctas { align-self: center; justify-content: center; } }
@media (min-width: 1141px) and (max-width: 1300px) { .nav .wrap .links { gap: clamp(14px, 1.8vw, 26px); } .nav .wrap .links a { white-space: nowrap; font-size: 14.5px; } .nav .wrap .tools { gap: 16px; margin-right: 0; } .nav-ctas { gap: 10px; } .nav-ctas .btn { padding: 0 16px; } }
@media (max-width: 760px) { .nav-ctas .btn-sm { display: none; } }
@media (max-width: 760px) {
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { padding: 0 20px; height: 52px; border-radius: 16px; }
  .hero-ctas .btn-outline { min-width: 128.2px; border-radius: 12px; }
  .hero-ctas .btn:not(.btn-outline) { min-width: 166.1px; }
  html[lang="zh-Hans"] .hero-ctas .btn { min-width: 107.2px; }
}
@media (max-width: 350px) {
  .hero-ctas .btn-outline, .hero-ctas .btn:not(.btn-outline) { min-width: 0; padding: 0 14px; }
}

/* ---------- Nav ---------- */
.nav { position: -webkit-sticky; position: sticky; top: 0; top: env(safe-area-inset-top, 0px); z-index: 50; transition: box-shadow .25s; }
.nav::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: var(--nav-h); pointer-events: none; background: var(--page); }
@supports (backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px)) {
  .nav::before { background: rgba(247,247,247,.88); background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; height: var(--nav-h); gap: 24px; }
.nav .brand { display: block; width: 175px; flex: none; margin-left: clamp(0px, 3vw, 34px); }
.nav .brand img { width: 100%; height: auto; aspect-ratio: 7 / 2; object-fit: contain; }
footer .mark img { aspect-ratio: auto; object-fit: cover; object-position: left center; }
.nav .links { display: flex; gap: 28px; margin: 0 auto; padding-right: 60px; }
.nav .links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; transition: color .2s; }
.nav .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--aura-700); transform: scaleX(0); transition: transform .25s; }
.nav .links a:hover { color: var(--aura-700); }
.nav .links a.active { color: var(--aura-700); }
.nav .links a.active::after { transform: scaleX(1); }
.nav .tools { display: flex; align-items: center; gap: 30px; margin-right: clamp(0px, 2vw, 30px); }
.icon-btn { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.lang { position: relative; }
.lang-menu { position: absolute; top: calc(100% + 14px); right: -14px; z-index: 5; min-width: 150px; padding: 6px; display: flex; flex-direction: column; background: var(--surface); border-radius: 14px; box-shadow: 0 12px 32px rgba(17,17,17,0.12), 0 0 0 1px var(--line); }
.lang-menu a, .m-lang a { border: 0; background: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink); text-align: left; }
.lang-menu a:hover { background: var(--aura-100); }
.lang-menu a[aria-checked="true"] { color: var(--aura-700); }
.lang-menu a[aria-checked="true"]::after { content: "✓"; font-weight: 600; }
.m-lang { display: flex; gap: 8px; padding: 16px 0 0; }
.m-lang a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.m-lang a[aria-checked="true"] { border-color: var(--aura-700); color: var(--aura-700); background: var(--aura-100); }
.menu-btn { display: none; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.menu-btn svg, .menu-btn[aria-expanded="true"] img { display: none; }
.menu-btn[aria-expanded="true"] { border-color: transparent; background: transparent; }
.menu-btn[aria-expanded="true"] svg { display: block; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc(760px * var(--s, 1))); align-items: center; min-height: calc(661px * var(--s, 1)); }
.hero-copy { padding: 0 0 calc(56px * var(--s, 1)) clamp(0px, 4.5vw, 64px); display: flex; flex-direction: column; gap: 32px; max-width: 714px; position: relative; z-index: 2; }
.hero-copy h1 { font-family: var(--display); font-weight: 500; font-size: min(44px, 7.6vw); line-height: calc(52 / 44); letter-spacing: -0.01em; color: var(--ink-2); margin: 0; white-space: nowrap; }
.hero-copy h1 .hero-accent { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--aura-600); display: inline-block; max-width: 100%; }
html[lang="zh-Hans"] :is(.hero-copy h1, .h-display) { font-family: "Auralynk SC", var(--text); font-weight: 350; letter-spacing: .04em; }
html[lang="zh-Hans"] .hero-copy h1 .hero-accent { font-family: "Auralynk SC", var(--text); font-style: normal; font-weight: 350; letter-spacing: .04em; }
.hero-caption-track { display: inline-grid; max-width: 100%; }
.hero-caption-track > span { grid-area: 1 / 1; align-self: start; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.hero-caption-track > .on { opacity: 1; transform: none; }
.hero-copy p { margin: 0; font-weight: 300; font-size: 18px; line-height: 26px; letter-spacing: 0.01em; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 760px) { .hero-copy p { white-space: normal; max-width: 34em; } .hero-copy p br { display: none; } }
.hero-copy .btn { align-self: flex-start; }
.dots { display: flex; flex-wrap: wrap; gap: 8px; }
.dots .chip { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 0 0 1px rgba(17,17,17,0.05); color: #6E6E73; font: 500 13px/1 var(--text); letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 1240px) { .dots { justify-content: center; } }

.hero-art-box { position: relative; height: calc(661px * var(--s, 1)); }
.hero-art { position: absolute; left: 0; top: calc(-150px * var(--s, 1)); width: 760px; height: 811px; transform-origin: top left; transform: scale(var(--s, 1)); }
.anim [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s ease var(--d, 0s), translate .9s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.anim [data-reveal].in { opacity: 1; translate: 0 0; }
.hero-art .scene { position: absolute; inset: 0; transition: opacity .7s ease; }
.hero-art .scene:not(.on) { opacity: 0; }
.hero-art .scene > * { position: absolute; }
.hero-art .s-blob { left: 214px; top: 226px; width: 405px; height: 515px; background: var(--surface); border-radius: 100px; transform: rotate(23.88deg); }
.hero-art .s-photo { left: 111px; top: 213px; width: 570px; height: auto; }
.hero-art .s-spark { left: 497px; top: 315px; width: 17px; height: 17px; animation: twinkle 3.2s ease-in-out infinite; }
.hero-art .s-ring { left: 69px; top: 427px; width: 123px; height: 123px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 20px 8px rgba(0,0,0,0.1); display: grid; place-items: center; animation: floatB 6.2s ease-in-out -1s infinite; }
.hero-art .s-ring img { animation: ringSpin 14s linear infinite; }
@keyframes ringSpin { to { rotate: 360deg; } }
.hero-art .s-leaf { left: 601px; top: 339px; width: 100px; height: 100px; animation: bob 6s ease-in-out infinite; }
.hero-art .s-pill { left: 487px; top: 489px; display: flex; align-items: center; gap: 11px; height: 48px; padding: 0 18px; border-radius: 999px; background: var(--success-bg); box-shadow: 0 4px 16px rgba(17,17,17,0.06); transform: rotate(1.17deg); font-weight: 600; font-size: 20px; color: var(--success-dot); white-space: nowrap; animation: floatA 5.2s ease-in-out infinite; }
.hero-art .s-lotion { left: 526px; top: 568px; width: 77px; height: 115px; animation: floatC 6.8s ease-in-out -2s infinite; }
.hero-art .s-profit { left: 450px; top: 666px; display: flex; flex-direction: column; gap: 3px; padding: 15px 27px; background: var(--surface); border-radius: 5.45px 27.25px 27.25px 27.25px; box-shadow: 0 0 10.9px 5.45px rgba(0,0,0,0.1); animation: floatB 6.4s ease-in-out -3.2s infinite; }
/* Hero entrance: each scene's pieces pop in with a little bounce whenever the scene appears */
@keyframes blobIn { 0% { opacity: 0; scale: .55; } 70% { opacity: 1; scale: 1.04; } 100% { opacity: 1; scale: 1; } }
@keyframes photoIn { 0% { opacity: 0; clip-path: inset(100% 0 0 0); } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes popIn { 0% { opacity: 0; scale: .4; rotate: -12deg; } 60% { opacity: 1; scale: 1.08; rotate: 4deg; } 80% { scale: .97; rotate: -2deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes swingIn { 0% { opacity: 0; scale: .5; rotate: 40deg; } 55% { opacity: 1; scale: 1.05; rotate: -14deg; } 75% { rotate: 8deg; } 90% { rotate: -3deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes spinIn { 0% { opacity: 0; scale: .3; rotate: -200deg; } 70% { opacity: 1; scale: 1.08; rotate: 12deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes squashIn { 0% { opacity: 0; scale: .3 1.4; } 45% { opacity: 1; scale: 1.18 .82; } 65% { scale: .92 1.08; } 82% { scale: 1.04 .97; } 100% { opacity: 1; scale: 1 1; } }
.hero-art .scene.on .blob, .hero-art .scene.on .s-blob { animation: blobIn .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-art .scene.on .photo, .hero-art .scene.on .s-photo { animation: photoIn .9s cubic-bezier(.2,.8,.2,1) .1s both; }
.hero-art .scene.on .dryer { animation: swingIn 1s ease-out .5s both, bob 6s ease-in-out 1.5s infinite; }
.hero-art .scene.on .pill { animation: popIn .7s ease-out .65s both, floatA 5.2s ease-in-out 1.35s infinite; }
.hero-art .scene.on .appt { animation: popIn .7s ease-out .8s both, floatB 6.4s ease-in-out 1.5s infinite; }
.hero-art .scene.on .avatars { animation: popIn .7s ease-out .95s both, floatC 5.8s ease-in-out 1.65s infinite; }
.hero-art .scene.on .spark, .hero-art .scene.on .s-spark { animation: popIn .6s ease-out 1.15s both, twinkle 3.2s ease-in-out 1.75s infinite; }
.hero-art .scene.on .s-ring { animation: spinIn .9s ease-out .5s both, floatB 6.2s ease-in-out 1.4s infinite; }
.hero-art .scene.on .s-leaf { animation: swingIn 1s ease-out .65s both, bob 6s ease-in-out 1.65s infinite; }
.hero-art .scene.on .s-pill { animation: popIn .7s ease-out .8s both, floatA 5.2s ease-in-out 1.5s infinite; }
.hero-art .scene.on .s-lotion { animation: squashIn .8s ease-out .95s both, floatC 6.8s ease-in-out 1.75s infinite; }
.hero-art .scene.on .s-profit { animation: popIn .7s ease-out 1.05s both, floatB 6.4s ease-in-out 1.75s infinite; }
.hero-art .s-profit b { font-weight: 600; font-size: 46.3px; letter-spacing: -0.68px; line-height: 1.2; color: var(--ink); }
.hero-art .s-profit small { font-size: 17.7px; color: var(--secondary); }
.hero-art .blob { left: 268px; top: 214px; width: 381px; height: 557px; background: var(--surface); border-radius: 958px; transform: rotate(-172.49deg); }
.hero-art .photo { left: 0; top: 0; width: 659px; height: 811px; }
.hero-art .dryer { left: 480px; top: 191px; width: 194px; height: 194px; animation: bob 6s ease-in-out infinite; }
.hero-art .spark { left: 467px; top: 335px; width: 17px; height: 17px; animation: twinkle 3.2s ease-in-out infinite; }
.hero-art .pill { left: 452px; top: 430px; display: flex; align-items: center; gap: 11px; height: 48px; padding: 0 18px; border-radius: 999px; background: var(--success-bg); box-shadow: 0 4px 16px rgba(17,17,17,0.06); transform: rotate(1.17deg); font-weight: 600; font-size: 20px; color: var(--success-dot); white-space: nowrap; }
.hero-art .pill i { width: 16px; height: 16px; border-radius: 50%; background: var(--success-dot); }
.hero-art .appt { left: 60px; top: 594px; width: auto; height: 90px; background: var(--surface); border-radius: 31px; box-shadow: 0 10.5px 28px rgba(182,182,182,0.14); display: flex; align-items: center; gap: 13px; padding: 0 30px 0 19px; }
.hero-art .appt .av { width: 49px; height: 49px; border-radius: 50%; background: var(--aura-100); color: var(--aura-700); display: grid; place-items: center; font-weight: 600; font-size: 16px; flex: none; }
.hero-art .appt b { display: block; font-weight: 600; font-size: 18.3px; color: var(--ink); }
.hero-art .appt small { display: block; margin-top: 4px; font-size: 11.9px; color: var(--secondary); }
.hero-art .appt img { margin-left: auto; width: 26px; height: 26px; }
.hero-art .avatars { left: 359px; top: 637px; width: 281px; height: 155px; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes floatA { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floatB { 0%,100% { translate: 0 0; } 50% { translate: 4px -7px; } }
@keyframes floatC { 0%,100% { translate: 0 0; } 50% { translate: -3px -9px; } }
.hero-art .pill { animation: floatA 5.2s ease-in-out infinite; }
.hero-art .appt { animation: floatB 6.4s ease-in-out -1.6s infinite; }
.hero-art .avatars { animation: floatC 5.8s ease-in-out -3s infinite; }
@keyframes twinkle { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .6; } }
.scroll-cue { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; border: 0; text-decoration: none; z-index: 3; box-shadow: 0 6px 18px rgba(17,17,17,0.04); }
.scroll-cue img { transition: transform .25s; }
.scroll-cue:hover img { transform: translateY(3px); }

/* ---------- Glows ---------- */
/* No single word left alone on the last line */
p, li, h1, h2, h3, h4, .lead, .tab-desc { text-wrap: pretty; }
main :is(p, li, h3, .tab-desc) { text-wrap: balance; }
@media (min-width: 761px) and (max-width: 1020px) { main .stat h3 { font-size: clamp(18px, 2.3vw, 24px); white-space: nowrap; } }
.glow-zone { position: relative; isolation: isolate; }
.glow-zone::before { content: ""; position: absolute; z-index: -1; inset: 18% 0 -8% 0; background:
  radial-gradient(38% 42% at 30% 60%, rgba(204,204,255,0.55), transparent 70%),
  radial-gradient(34% 46% at 72% 52%, rgba(120,201,250,0.30), transparent 70%),
  radial-gradient(26% 34% at 50% 30%, rgba(233,166,242,0.28), transparent 70%);
  filter: blur(40px); pointer-events: none; }

/* ---------- Panels ---------- */
.panel { position: relative; background: var(--surface); border-radius: clamp(32px, 6vw, 80px); margin: 0 clamp(0px, 1.4vw, 14px); }
.panel::after { content: ""; position: absolute; z-index: -1; left: 12%; right: 12%; bottom: -150px; height: 300px; pointer-events: none; background: radial-gradient(50% 50% at 50% 38%, rgba(160,150,245,0.5), rgba(204,204,255,0.28) 45%, rgba(204,204,255,0) 75%); filter: blur(26px); }

/* Why */
#why { padding-top: 64px; }
.why { padding-block: 80px 96px; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.why .stack-c { max-width: 900px; margin: 0 auto; }
.how-sub { max-width: 860px; text-align: center; margin-top: 4px; }
.results-sub { max-width: 720px; text-align: center; margin-top: 4px; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 600px)); justify-content: center; gap: clamp(48px, 6vw, 110px); margin-top: 56px; }
.compare h3 { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 24px; letter-spacing: -0.01em; margin: 0 0 40px; text-align: center; color: var(--ink); }
.compare .ours h3 { color: var(--aura-600); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; padding: 20px 0; border-top: 1px solid #CDCDD6; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.compare li:first-child { border-top: 0; padding-top: 0; }
.compare li .two { display: block; }
.compare .theirs li { font-weight: 300; }
.compare .ours li { font-weight: 500; }
.compare .ours li { border-top-color: #CBC8F2; }
.compare .ours li { align-items: flex-start; }
.compare .ours li img, .compare .ours li::before { width: 24px; height: 24px; flex: none; margin-top: 2px; }
@supports (grid-template-rows: subgrid) {
  .compare { grid-template-rows: repeat(6, auto); row-gap: 0; }
  .compare > div, .compare ul { display: grid; grid-template-rows: subgrid; }
  .compare > div { grid-row: 1 / -1; }
  .compare ul { grid-row: 2 / -1; }
}

/* Capabilities: AI tabs */
#capabilities { padding-top: 160px; }
.cap-head { margin-bottom: 56px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.tab { border: 0; border-radius: 20px; padding: 16px 24px; background: var(--chip); color: var(--chip-ink); font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 24px; letter-spacing: -0.01em; transition: background .2s, color .2s; }
.tab:not([aria-selected="true"]) { background: #FFFFFF; color: var(--aura-700); box-shadow: 0 0 0 1px var(--aura-200), 0 2px 8px rgba(112,102,224,0.06); }
.tab:not([aria-selected="true"]):hover { background: var(--aura-100); }
.tab[aria-selected="true"] { background: var(--aura-600); color: #fff; }
.tab-desc { max-width: 591px; margin: 32px auto 0; text-align: center; min-height: 52px; transition: opacity .3s ease, translate .3s ease; }
.tab-desc.swap { opacity: 0; translate: 0 6px; }
.app-shot { max-width: 1180px; margin: 40px auto 0; position: relative; }
.app-shot img { display: block; width: 100%; height: auto; }
.app-shot img + img { position: absolute; inset: 0; }
.app-shot img { opacity: 0; scale: .985; transition: opacity .6s ease, scale .8s cubic-bezier(.2,.8,.2,1); }
.app-shot img.on { opacity: 1; scale: 1; }

/* Capabilities: carousel */
.more-head { margin-top: 140px; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; gap: 16px; }
.more-head + * {}
.carousel-zone { margin-top: 130px; }
#capabilities .carousel-zone { margin-top: 56px; }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter-l), calc((var(--vw, 100vw) - 1400px) / 2)); padding-left: max(var(--gutter-l), calc((var(--vw, 100vw) - 1400px) / 2)); padding-right: var(--gutter-r); padding-bottom: 8px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel, .ind-grid { -webkit-overflow-scrolling: touch; }
.feature { flex: 0 0 min(500px, 84vw); scroll-snap-align: start; background: var(--surface); border-radius: 40px; overflow: hidden; display: flex; flex-direction: column; }
.feature .txt { padding: 40px 40px 0; display: flex; flex-direction: column; gap: 20px; min-height: 162px; }
.feature h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 24px; letter-spacing: -0.01em; color: var(--aura-600); }
.feature .art { aspect-ratio: 500 / 482; width: 100%; height: auto; object-fit: cover; margin-top: auto; }
.feature-artwork { position: relative; aspect-ratio: 500 / 482; margin-top: auto; }
.feature-artwork .art { position: absolute; aspect-ratio: auto; }
.feature-artwork-locations .art { width: 93.6%; left: 2.6%; top: -.2075%; }
.feature-artwork-retail .art { left: 0; top: -4.7718%; }
.feature:has(.feature-artwork) .txt { position: relative; z-index: 1; }
@media (max-width: 640px) { .feature-line-break { display: none; } }
@media (min-width: 761px) {
  html[lang="en"] .feature:has(.feature-artwork) .lead { position: relative; top: 7px; max-width: 380px; }
}
/* Feature cards: lift on hover, illustrations breathe, soft glow, slide-in as the carousel moves */
.carousel { padding-top: 72px; margin-top: -72px; padding-bottom: 72px; scroll-snap-type: none; overscroll-behavior-x: contain; }
.carousel.looping { max-width: 2400px; margin-inline: auto; overflow-anchor: none; }
.carousel-track { position: relative; display: flex; flex: 0 0 auto; gap: inherit; }
@media (any-pointer: fine) {
  .carousel { cursor: grab; -webkit-user-select: none; user-select: none; }
  .carousel.dragging { cursor: grabbing; }
}
.car-ctl { margin-top: -41px !important; position: relative; }
.feature { position: relative; isolation: isolate; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.feature .art { transform-origin: 50% 80%; animation: artFloat 7s ease-in-out infinite; transition: scale .6s cubic-bezier(.2,.8,.2,1), opacity .7s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
.carousel.looping .art { animation: none; }
.feature:nth-child(6n + 2) .art { animation-delay: -1.4s; }
.feature:nth-child(6n + 3) .art { animation-delay: -2.8s; }
.feature:nth-child(6n + 4) .art { animation-delay: -4.2s; }
.feature:nth-child(6n + 5) .art { animation-delay: -5.6s; }
.feature:nth-child(6n + 6) .art { animation-delay: -3.5s; }
@keyframes artFloat { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(-.6deg); } }
.feature h3 { transition: letter-spacing .4s, color .3s; }
.carousel:not(.dragging):not(.looping) .feature:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(112,102,224,0.10), 0 0 40px 2px rgba(204,204,255,0.45); }
.carousel:not(.dragging):not(.looping) .feature:hover .art { scale: 1.045; }
.carousel:not(.dragging) .feature:hover h3 { color: var(--aura-700); }
.anim .carousel:not(.looping) .feature:not(.vis) .art { opacity: 0; translate: 40px 16px; }
.anim .carousel:not(.looping) .feature:not(.vis) .txt { opacity: 0; translate: 24px 0; }
.feature .txt { transition: opacity .6s ease, translate .7s cubic-bezier(.2,.8,.2,1); }
.car-ctl { display: flex; gap: 16px; margin-top: 23px; padding-left: max(var(--gutter-l), calc((var(--vw, 100vw) - 1400px) / 2)); }
.car-ctl button { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; transition: opacity .2s, background .2s; }
.car-ctl button:hover { background: var(--aura-100); }
.car-ctl button[aria-disabled="true"] { opacity: .4; cursor: default; background: var(--surface); }
.car-ctl .prev img { transform: rotate(90deg); }
.car-ctl .next img { transform: rotate(-90deg); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 480px)); justify-content: center; gap: 40px; margin-top: 64px; }
.how-card .visual { position: relative; height: 461px; border-radius: 40px; overflow: hidden; background: var(--surface) center / cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 40px; }
.how-card .txt { padding: 41px 20px 0; display: flex; flex-direction: column; gap: 20px; }
.how-card h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 24px; letter-spacing: -0.01em; color: var(--ink); }
.ui-card { background: var(--surface); border-radius: 16px; width: 304px; max-width: 100%; }
.mini-row { display: flex; align-items: center; gap: 9.6px; width: 243px; max-width: 80%; height: 50px; padding: 0 13px; background: var(--surface); border-radius: 11px; opacity: .7; }
.av { border-radius: 50%; display: grid; place-items: center; font-weight: 600; flex: none; }
.mini-row .av { width: 27px; height: 27px; font-size: 10.4px; background: var(--line); color: var(--aura-700); }
.mini-row .t { flex: 1; min-width: 0; }
.mini-row .t b { display: block; font-weight: 600; font-size: 11.2px; color: var(--secondary); }
.mini-row .t small { display: block; font-size: 9.6px; color: #828282; margin-top: 1.6px; }
.mini-row > small { font-size: 9.6px; color: #828282; }
.appt-card { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 32px rgba(48,40,120,0.12); }
.appt-card .row { display: flex; align-items: center; gap: 12px; }
.appt-card .row .av { width: 40px; height: 40px; font-size: 13px; background: var(--aura-100); color: var(--aura-700); }
.appt-card .row .t { flex: 1; min-width: 0; }
.appt-card .row .t .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.appt-card .row .t b { font-weight: 600; font-size: 16px; }
.appt-card .row .t small { display: block; margin-top: 2px; font-size: 13px; color: var(--secondary); white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 999px; background: var(--success-bg); color: var(--success); font-weight: 600; font-size: 11px; line-height: 1; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.appt-card .foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.appt-card .foot span { font-size: 13px; color: var(--secondary); }
.appt-card .foot span b { font-size: 15px; color: var(--ink); margin-left: 6px; }
.appt-card .foot .pay { border: 0; border-radius: 10px; padding: 8px 16px; background: var(--aura-600); color: #fff; font-weight: 600; font-size: 13px; }
.shifts { padding: 18px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(20,90,140,0.12); }
.shifts .hd { display: flex; align-items: center; justify-content: space-between; }
.shifts .hd b { font-weight: 600; font-size: 15px; }
.shifts .hd small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--secondary); }
.shift { display: flex; align-items: center; gap: 10px; height: 30px; }
.shift .av { width: 30px; height: 30px; font-size: 13px; }
.shift span { width: 70px; font-size: 13px; color: var(--body); }
.shift .track { flex: 1; min-width: 0; height: 10px; border-radius: 100px; background: var(--track); overflow: hidden; }
.shift .track i { display: block; height: 10px; width: var(--w, 110px); border-radius: 6px; transition: width 2s cubic-bezier(.25,.8,.25,1); }
.how-card.in .shift:nth-of-type(2) .track i { transition-delay: .7s; }
.how-card.in .shift:nth-of-type(3) .track i { transition-delay: 1s; }
.how-card.in .shift:nth-of-type(4) .track i { transition-delay: 1.3s; }
.stock { width: 264px; max-width: 100%; padding: 14px 16px; border-radius: 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 32px rgba(20,90,140,0.14); }
.stock .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--warn-bg); display: grid; place-items: center; flex: none; }
.stock b { display: block; font-weight: 600; font-size: 14px; }
.stock small { display: block; margin-top: 2px; font-size: 12px; color: var(--secondary); }
.revenue { padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 12px 32px rgba(120,40,130,0.12); }
.revenue > small { font-size: 13px; color: var(--secondary); }
.revenue .val { display: flex; align-items: baseline; gap: 10px; }
.revenue .val b { font-weight: 600; font-size: 30px; letter-spacing: -0.5px; }
.revenue .val span { font-weight: 600; font-size: 13px; color: var(--success); }
.revenue svg { display: block; width: 100%; height: 54px; }
.revenue .locs { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.revenue .locs div { display: flex; justify-content: space-between; color: var(--body); }
.revenue .locs b { color: var(--ink); font-weight: 700; }

/* How it works: micro-interactions */
.how-card .ui-card, .how-card .mini-row { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, opacity 1.1s ease, translate 1.3s cubic-bezier(.2,.8,.2,1); }
.anim .how-card.in .mini-row { transition-delay: 0s, 0s, .7s, .7s; }
.how-card:hover .ui-card { transform: translateY(-4px); }
.how-card:hover .appt-card { box-shadow: 0 18px 40px rgba(48,40,120,0.18); }
.how-card:hover .shifts, .how-card:hover .stock { box-shadow: 0 18px 40px rgba(20,90,140,0.18); }
.how-card:hover .revenue { box-shadow: 0 18px 40px rgba(120,40,130,0.18); }
.status::before { animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47,122,87,.45); } 70%, 100% { box-shadow: 0 0 0 6px rgba(47,122,87,0); } }
.appt-card .foot .pay { transition: background .25s, transform .15s; min-width: 92px; }
.appt-card .foot .pay:hover { background: var(--aura-700); }
.appt-card .foot .pay:active { transform: scale(.96); }
.appt-card .foot .pay.paid { background: var(--success); }
.appt-card .foot span i { font-style: normal; }
/* Front-desk queue: check out, then the line moves up */
.queue { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 304px; max-width: 100%; }
.queue .q-main { position: relative; overflow: visible; }
.queue .pay.press { transform: scale(.88); }
.queue .status.paid { background: var(--success); color: #fff; }
.queue .status.paid::before { background: #fff; animation: none; }
.queue.advance .q-top { transform: translateY(-22px); opacity: 0 !important; transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .5s; }
.queue.advance .q-main { transform: translateY(-78px) scale(.8); opacity: 0; transition: transform .65s cubic-bezier(.4,0,.2,1), opacity .55s; }
.queue.advance .q-bot { transform: translateY(-84px) scale(1.18); opacity: 0 !important; transition: transform .65s cubic-bezier(.4,0,.2,1), opacity .5s; }
.queue.no-tr, .queue.no-tr * { transition: none !important; }
.queue.advance > * { transition-delay: 0s !important; }
.queue .q-main.enter { animation: cardIn .8s cubic-bezier(.2,.8,.2,1) both; }
.queue .q-bot.enter { animation: rowIn .6s ease-out .25s both; }
.queue .q-top.enter { animation: rowIn .5s ease-out both; }
@keyframes cardIn { 0% { opacity: 0; transform: translateY(46px) scale(.86); } 60% { opacity: 1; transform: translateY(-5px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(16px); } to { opacity: .7; transform: none; } }
.coin { position: absolute; right: 22px; bottom: 54px; padding: 4px 10px; border-radius: 999px; background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 13px; opacity: 0; pointer-events: none; white-space: nowrap; }
.coin.go { animation: coinUp 1.3s ease-out both; }
@keyframes coinUp { 0% { opacity: 0; transform: translateY(10px) scale(.7); } 20% { opacity: 1; transform: translateY(-6px) scale(1.08); } 70% { opacity: 1; transform: translateY(-26px) scale(1); } 100% { opacity: 0; transform: translateY(-40px); } }
.shifts .spin { transform-box: fill-box; transform-origin: center; animation: spin 4s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes spin { 0% { rotate: 0deg; } 22%, 100% { rotate: 360deg; } }
.stock .ic svg { transform-origin: 50% 80%; }
.revenue .line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 3s cubic-bezier(.3,.7,.2,1) .8s; }
.revenue .area { transition: opacity 1.4s ease 2.4s; }
.revenue .val b { font-variant-numeric: tabular-nums; }
/* states set only when the script runs, so the page reads complete without it */
.anim .how-card:not(.in) .shift .track i { width: 0; }
.anim .how-card:not(.in) .stock { opacity: 0; translate: 0 14px; }
.anim .how-card.in .stock { transition-delay: 0s, 0s, 1.8s, 1.8s; }
.anim .how-card:not(.in) .mini-row:first-child { opacity: 0; translate: 0 -10px; }
.anim .how-card:not(.in) .mini-row:last-child { opacity: 0; translate: 0 10px; }
.anim .how-card:not(.in) .revenue .line { stroke-dashoffset: 1; }
.anim .how-card:not(.in) .revenue .area { opacity: 0; }
.anim .how-card.in .stock .ic svg { animation: wiggle .9s ease 3.2s 1; }
@keyframes wiggle { 0%,100% { rotate: 0deg; } 20% { rotate: -14deg; } 40% { rotate: 12deg; } 60% { rotate: -8deg; } 80% { rotate: 4deg; } }

/* Results */
#results { padding-top: 220px; }
.results { padding-block: 100px 96px; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.results .stack-c { max-width: 900px; margin: 0 auto; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; gap: clamp(32px, 7vw, 120px); margin-top: 80px; text-align: center; }
.stat .num { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 7vw, 90px); line-height: 1.11; margin: 0; letter-spacing: -0.03em; position: relative; }
.odo { display: inline-flex; }
.odo .col { display: inline-block; height: 1.11em; overflow: hidden; margin-right: -0.05em; }
.odo + span { margin-left: 0.02em; }
.odo .strip { display: flex; flex-direction: column; transition: transform 1.9s cubic-bezier(.16,.84,.24,1); will-change: transform; }
.odo .strip span { display: block; height: 1.11em; line-height: 1.11em; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stat h3 { margin: 12px 0 24px; font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--ink); }
.stat:nth-child(1) .num { color: var(--aura-400); }
.stat:nth-child(2) .num { color: var(--sky); }
.stat:nth-child(3) .num { color: var(--pink); }

/* CTA + footer */
.cta { padding-block: 133px 0; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.cta h2 { max-width: 600px; text-align: center; }
footer { margin-top: 150px; }
footer .wrap { display: flex; align-items: center; gap: 24px; padding-block: 0 56px; }
footer .rule { height: 1px; background: #E1E1E1; border: 0; margin: 0 0 40px; width: 100%; }
footer .mark { width: 44px; height: 39px; overflow: hidden; flex: none; margin-left: clamp(0px, 3vw, 50px); }
footer .mark img { width: 137.5px; max-width: none; height: 39px; }
footer .info { display: flex; flex-wrap: wrap; gap: 16px 80px; margin-left: auto; margin-right: clamp(0px, 5vw, 66px); font-size: 16px; color: #000; }
footer .info span { user-select: all; }
.landing-footer .wrap { --footer-end-inset: min(2vw, 28px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 52px 24px; padding-bottom: 38px; }
.landing-footer :is(.info, .footer-legal) { justify-content: flex-end; margin-inline-end: var(--footer-end-inset); }
.landing-footer .footer-legal { grid-column: 1 / -1; column-gap: 36px; font-size: 12px; line-height: 16px; }

/* ---------- Demo modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) var(--gutter-r) max(16px, env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.modal { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.modal.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.modal-card { position: relative; width: 787px; max-width: 100%; max-height: 100%; overflow-y: auto; overscroll-behavior-y: contain; background: var(--surface); border-radius: 40px; padding: 43px 50px 48px 53px; translate: 0 18px; scale: .98; transition: translate .4s cubic-bezier(.2,.8,.2,1), scale .4s cubic-bezier(.2,.8,.2,1); }
.modal.open .modal-card { translate: 0 0; scale: 1; }
.modal-card h2 { margin: 0 0 49px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 28px; letter-spacing: -0.01em; color: var(--ink-2); }
html[lang="zh-Hans"] .modal-card :is(h2, h3) { font-family: "Auralynk SC", var(--text); }
html[lang="zh-Hans"] #demoTitle { max-width: 290px; text-wrap: initial; }
@media (min-width: 761px) {
  html[lang="zh-Hans"] #demoTitle { min-height: 56px; margin-bottom: 21px; }
}
.modal-close { position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--chip); display: grid; place-items: center; transition: background .2s; }
.modal-close:hover { background: #E4E4E4; }
.demo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 30px; }
.demo-form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select { width: 100%; height: 28px; padding: 0 22px 0 0; border: 0; border-bottom: 1px solid #2D2928; border-radius: 0; background: transparent; font: 400 16px/28px var(--text); letter-spacing: 0.01em; color: #2D2928; outline: none; appearance: none; -webkit-appearance: none; transition: border-color .2s; }
.field input::placeholder { color: #2D2928; opacity: 1; }
.field input:focus, .field select:focus { border-bottom-color: var(--aura-600); border-bottom-width: 2px; }
.field input:focus::placeholder { color: #9A9A9A; }
.field select:invalid { color: #2D2928; }
.field select option { color: var(--ink); }
.field.select::after { content: ""; position: absolute; right: 0; top: 11px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #2D2928; pointer-events: none; }
.field.bad input, .field.bad select { border-bottom-color: #C2413A; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.form-foot small { font-size: 12px; line-height: 28px; letter-spacing: 0.03em; text-transform: uppercase; color: #2D2928; }
.form-foot .btn { height: 48px; border-radius: 16px; font-size: 16px; }
.form-error { grid-column: 1 / -1; margin: -8px 0 0; font-size: 13px; color: #C2413A; }
.sent { text-align: center; padding: 40px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sent .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--success-bg); display: grid; place-items: center; }
.sent h3 { margin: 6px 0 0; font-family: var(--display); font-weight: 500; font-size: 28px; }
.sent p { margin: 0; max-width: 420px; font-weight: 300; font-size: 18px; line-height: 26px; color: var(--ink-2); }
.sent small { color: #828282; font-size: 12px; }
body.locked { overflow: hidden; }
html.overlay-scroll-lock { overflow-anchor: none; scroll-behavior: auto; }
@supports (scrollbar-gutter: stable) { html { scrollbar-gutter: stable; } }
body.viewport-locked { position: fixed; top: var(--locked-scroll-top); left: 0; right: 0; width: 100%; overflow: hidden; }
.modal-card, .chat-body { -webkit-overflow-scrolling: touch; }
@media (min-width: 820px) { html[lang="zh-Hans"] .tab-desc { max-width: none; white-space: nowrap; } }

/* ---------- Log in modal ---------- */
.login-card { width: 480px; padding: 48px 44px 46px; }
.login-card .mark { display: block; width: 56px; height: 50px; overflow: hidden; margin-bottom: 21px; }
.login-card .mark img { width: 175px; max-width: none; height: 50px; }
.login-card h2 { margin: 0 0 19px; padding-right: 40px; }
.login-card .lead { font-size: 16px; line-height: 24px; margin: 0 0 40px; }
.login-form { display: grid; row-gap: 20px; }
@media (min-width: 761px) {
  .login-form .field input { height: 56px; padding: 0 18px; border: 0; border-radius: 14px; background: #F2F2F4; color: var(--ink); }
  .login-form .field input::placeholder { color: #6E6E73; }
  .login-form .field input:focus { box-shadow: inset 0 0 0 2px var(--aura-600); }
  .login-form .field.bad input { box-shadow: inset 0 0 0 1.5px #C2413A; }
  .login-form .field.pw input { padding-right: 52px; }
  .login-form .pw-toggle { right: 10px; top: 10px; }
}
.field.pw input { padding-right: 34px; }
.pw-toggle { position: absolute; right: -8px; top: -6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; color: #6E6E73; transition: color .2s; }
.pw-toggle:hover { color: var(--aura-700); }
.pw-toggle .eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .eye { display: none; }
.pw-toggle[aria-pressed="true"] .eye-off { display: block; }
.login-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; }
.link-btn { border: 0; background: none; padding: 2px 0; font: 500 14px/20px var(--text); color: var(--aura-700); cursor: pointer; text-decoration: none; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.login-form .btn { width: 100%; height: 52px; border-radius: 16px; font-size: 16px; margin-top: 15px; }
.login-msg { margin: -12px 0 0; font-size: 13px; line-height: 18px; color: #C2413A; }
.login-msg.ok { color: #6E6E73; }
.login-alt { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--ink-2); }
.login-alt a { color: var(--aura-700); font-weight: 600; text-decoration: none; }
.login-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
#loginHelp[data-mode="pw"] [data-k="user"], #loginHelp[data-mode="user"] [data-k="pw"] { display: none; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; margin: 22px auto 0; }
.help-sent { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }
.help-sent .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--success-bg); display: grid; place-items: center; }
.help-sent h3 { margin: 4px 0 0; font-family: var(--display); font-weight: 500; font-size: 24px; }
.help-sent p { margin: 0; font-weight: 300; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.mobile-menu .m-login { display: flex; align-items: center; gap: 10px; }

/* ---------- Variant: dark blocks for Why + Results ---------- */
html[data-blocks="navy"] { --blk-bg: #13163A; --blk-glow: rgba(112,102,224,0.38); --blk-glow-2: rgba(120,201,250,0.14); --blk-accent: #B4B0FF; }
html[data-blocks="sage"] { --blk-bg: #E4EDE8; --blk-glow: rgba(255,255,255,0.75); --blk-glow-2: rgba(160,210,180,0.35); }
html[data-blocks="sage"] .panel.why::after, html[data-blocks="sage"] .panel.results::after { background: radial-gradient(50% 50% at 50% 38%, rgba(120,190,150,0.55), rgba(170,215,188,0.32) 45%, rgba(200,230,212,0) 75%); }
html[data-blocks="sage"] .stat:nth-child(3) .num { color: #5DBB8C; }
html[data-blocks="sage"] :is(.compare li, .compare .ours li) { border-top-color: rgba(28,72,52,0.12); }
html[data-dark][data-blocks="brand"] { --blk-bg: #7066E0; --blk-glow: rgba(255,255,255,0.22); --blk-glow-2: rgba(151,86,212,0.45); --blk-accent: #FFFFFF; }
html[data-dark][data-blocks="brand"] :is(.why, .results) .eyebrow, html[data-dark][data-blocks="brand"] .compare h3 { color: rgba(255,255,255,0.8); }
html[data-dark][data-blocks="brand"] .compare .theirs li { color: rgba(255,255,255,0.72); }
html[data-dark][data-blocks="brand"] .compare li, html[data-dark][data-blocks="brand"] .compare .ours li { border-top-color: rgba(255,255,255,0.42); }
html[data-dark][data-blocks="brand"] .stat .lead { color: rgba(255,255,255,0.8); }
html[data-dark][data-blocks="brand"] .stat:nth-child(1) .num { color: #E2E0FF; }
html[data-dark][data-blocks="brand"] .stat:nth-child(2) .num { color: #B8E6FF; }
html[data-dark][data-blocks="brand"] .stat:nth-child(3) .num { color: #FBD3FD; }
html[data-blocks="purple"] { --blk-bg: #251B5E; --blk-glow: rgba(151,86,212,0.45); --blk-glow-2: rgba(112,102,224,0.30); --blk-accent: #C9C4FF; }
html[data-blocks] .panel.why, html[data-blocks] .panel.results {
  background: radial-gradient(70% 55% at 50% 0%, var(--blk-glow), transparent 70%), radial-gradient(45% 50% at 100% 100%, var(--blk-glow-2), transparent 70%), var(--blk-bg);
  transition: background .4s ease;
}
html[data-dark] .panel.why::after, html[data-dark] .panel.results::after { opacity: 1; left: 6%; right: 6%; bottom: -190px; height: 380px; background: radial-gradient(50% 50% at 50% 36%, rgba(140,128,245,0.85), rgba(178,170,255,0.5) 45%, rgba(204,204,255,0) 78%); filter: blur(30px); }
html[data-dark] :is(.why, .results) .h-display { color: #FFFFFF; }
html[data-dark] :is(.why, .results) .eyebrow { color: rgba(255,255,255,0.62); }
html[data-dark] .compare h3 { color: rgba(255,255,255,0.72); }
html[data-dark] .compare .ours h3 { color: var(--blk-accent); }
html[data-dark] .compare li { color: rgba(255,255,255,0.9); border-top-color: rgba(255,255,255,0.22); }
html[data-dark] .compare .theirs li { color: rgba(255,255,255,0.6); }
html[data-dark] .compare .ours li { border-top-color: rgba(255,255,255,0.22); }
html[data-dark] .compare .ours li img { display: none; }
html[data-dark] .compare .ours li::before { content: ""; width: 24px; height: 24px; flex: none; background: var(--blk-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M10.5801 16.25L17.3001 9.53002L16.2501 8.48002L10.5801 14.15L7.73013 11.3L6.68013 12.35L10.5801 16.25ZM12.0001 21.5C10.6868 21.5 9.45013 21.25 8.29013 20.75C7.13013 20.25 6.1268 19.5733 5.28013 18.72C4.43346 17.8667 3.7568 16.8634 3.25013 15.71C2.74346 14.5567 2.49346 13.32 2.50013 12C2.5068 10.68 2.7568 9.44668 3.25013 8.30002C3.74346 7.15335 4.42013 6.14669 5.28013 5.28002C6.14013 4.41335 7.14346 3.73668 8.29013 3.25002C9.4368 2.76335 10.6735 2.51335 12.0001 2.50002C13.3268 2.48668 14.5601 2.73668 15.7001 3.25002C16.8401 3.76335 17.8468 4.44002 18.7201 5.28002C19.5935 6.12002 20.2701 7.12669 20.7501 8.30002C21.2301 9.47335 21.4801 10.7067 21.5001 12C21.5201 13.2934 21.2701 14.5267 20.7501 15.7C20.2301 16.8734 19.5535 17.88 18.7201 18.72C17.8868 19.56 16.8801 20.2367 15.7001 20.75C14.5201 21.2634 13.2868 21.5134 12.0001 21.5ZM12.0001 20C14.2335 20 16.1268 19.2267 17.6801 17.68C19.2335 16.1334 20.0068 14.24 20.0001 12C19.9935 9.76002 19.2201 7.86668 17.6801 6.32002C16.1401 4.77335 14.2468 4.00002 12.0001 4.00002C9.75346 4.00002 7.86346 4.77335 6.33013 6.32002C4.7968 7.86668 4.02013 9.76002 4.00013 12C3.98013 14.24 4.7568 16.1334 6.33013 17.68C7.90346 19.2267 9.79346 20 12.0001 20Z%22 fill=%22%23000%22/%3E%3C/svg%3E%0A") center / 24px no-repeat; mask: url("data:image/svg+xml,%3Csvg width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M10.5801 16.25L17.3001 9.53002L16.2501 8.48002L10.5801 14.15L7.73013 11.3L6.68013 12.35L10.5801 16.25ZM12.0001 21.5C10.6868 21.5 9.45013 21.25 8.29013 20.75C7.13013 20.25 6.1268 19.5733 5.28013 18.72C4.43346 17.8667 3.7568 16.8634 3.25013 15.71C2.74346 14.5567 2.49346 13.32 2.50013 12C2.5068 10.68 2.7568 9.44668 3.25013 8.30002C3.74346 7.15335 4.42013 6.14669 5.28013 5.28002C6.14013 4.41335 7.14346 3.73668 8.29013 3.25002C9.4368 2.76335 10.6735 2.51335 12.0001 2.50002C13.3268 2.48668 14.5601 2.73668 15.7001 3.25002C16.8401 3.76335 17.8468 4.44002 18.7201 5.28002C19.5935 6.12002 20.2701 7.12669 20.7501 8.30002C21.2301 9.47335 21.4801 10.7067 21.5001 12C21.5201 13.2934 21.2701 14.5267 20.7501 15.7C20.2301 16.8734 19.5535 17.88 18.7201 18.72C17.8868 19.56 16.8801 20.2367 15.7001 20.75C14.5201 21.2634 13.2868 21.5134 12.0001 21.5ZM12.0001 20C14.2335 20 16.1268 19.2267 17.6801 17.68C19.2335 16.1334 20.0068 14.24 20.0001 12C19.9935 9.76002 19.2201 7.86668 17.6801 6.32002C16.1401 4.77335 14.2468 4.00002 12.0001 4.00002C9.75346 4.00002 7.86346 4.77335 6.33013 6.32002C4.7968 7.86668 4.02013 9.76002 4.00013 12C3.98013 14.24 4.7568 16.1334 6.33013 17.68C7.90346 19.2267 9.79346 20 12.0001 20Z%22 fill=%22%23000%22/%3E%3C/svg%3E%0A") center / 24px no-repeat; }
html[data-dark] .stat h3 { color: #FFFFFF; }
html[data-dark] .stat .lead { color: rgba(255,255,255,0.66); }
html[data-dark] .stat:nth-child(1) .num { color: #ADABFF; }
html[data-dark] .stat:nth-child(3) .num { color: #F0B8F7; }

/* Variant control (floating) */
.vctl { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--text); }
.vctl-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 999px; background: #111111; color: #FFFFFF; font: 600 14px/1 var(--text); letter-spacing: 0.01em; box-shadow: 0 10px 28px rgba(17,17,17,0.22); transition: transform .2s, background .2s; }
.vctl-btn:hover { background: #2A2A30; transform: translateY(-1px); }
.vctl-panel { width: 360px; max-width: calc(100vw - 40px); padding: 16px; background: var(--surface); border-radius: 18px; box-shadow: 0 18px 48px rgba(17,17,17,0.18), 0 0 0 1px var(--line); transform-origin: bottom right; animation: vIn .22s cubic-bezier(.2,.8,.2,1); }
@keyframes vIn { from { opacity: 0; scale: .96; translate: 0 6px; } }
.vctl-panel h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.vctl-panel p { margin: 0 0 12px; font-size: 12px; line-height: 17px; color: var(--secondary); }
.vseg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vseg button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: 500 12px/1 var(--text); color: var(--body); transition: border-color .2s, background .2s, color .2s; }
.vseg button:hover { border-color: var(--aura-200); }
.vseg button[aria-checked="true"] { border-color: var(--aura-700); background: var(--aura-100); color: var(--aura-700); }
.vseg .sw { width: 36px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(17,17,17,0.08); }
.vctl-note { margin: 12px 0 0 !important; font-size: 11px !important; }

/* Capabilities: 6-up grid variant */
.cap-grid { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter-r) 0 var(--gutter-l); box-sizing: content-box; }
html[data-cap="grid"] .carousel, html[data-cap="grid"] .car-ctl { display: none; }
html[data-cap="grid"] .cap-grid { display: grid; }
.g-card { position: relative; overflow: hidden; background: var(--surface); border-radius: 40px; padding-bottom: 32px; transition: translate .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.g-card:hover { translate: 0 -4px; box-shadow: 0 26px 60px -24px rgba(112,102,224,0.45); }
.g-card img { display: block; width: 215px; height: 215px; object-fit: contain; border-radius: 40px 0 0 0; mix-blend-mode: multiply; transition: scale .4s cubic-bezier(.2,.8,.2,1); transform-origin: 40% 60%; }
.g-card:hover img { scale: 1.04; }
.g-card .txt { padding: 0 32px; }
.g-card h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 24px; letter-spacing: -0.01em; color: var(--aura-600); }
.g-card .lead { margin-top: 20px; font-size: 18px; line-height: 26px; }
.anim .carousel-zone:not(.in) .g-card { opacity: 0; translate: 0 24px; }
.anim .carousel-zone.in .g-card { transition: opacity .7s ease calc(var(--i) * 90ms), translate .8s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 90ms), box-shadow .35s; }
@media (max-width: 1060px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: minmax(0, 1fr); } .g-card img { width: 180px; height: 180px; } }
.vgroup + .vgroup { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.vseg.two { grid-template-columns: repeat(2, 1fr); }
.vseg.five { grid-template-columns: repeat(5, 1fr); }
.vseg.five .sw { width: 30px; }
.vseg .ic { width: 36px; height: 22px; display: grid; place-items: center; color: currentColor; }

/* Hero backdrop variant: tinted copies of the photos swap in (see setHero) */


/* Hero background variant: light purple wash behind the nav + hero, fading back to the page grey */
html[data-herobg="purple"] body { background: linear-gradient(180deg, #ECEAFC 0px, #F1F0FD 640px, var(--page) 1040px) no-repeat, var(--page); }
html[data-herobg="purple"] .nav:not(.scrolled)::before { background: color-mix(in srgb, #ECEAFC 88%, transparent); }

/* Capability tabs: one swipeable row on smaller screens */
@media (max-width: 900px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter-l); margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r)); padding: 2px var(--gutter-r) 6px var(--gutter-l); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; white-space: nowrap; scroll-snap-align: start; padding: 12px 20px; font-size: 15px; border-radius: 16px; }
  .tab:first-child { margin-left: auto; } .tab:last-child { margin-right: auto; }
}

/* ---------- Variant: light purple bands behind Why + Results ---------- */
/* Keep the Figma wash and mask fixed. Move the line art on its own layer. */
html :is(#why, #results) { position: relative; z-index: 0; }

html :is(#why, #results)::after,
html :is(#why, #results) > .wave-band {
  content: ""; position: absolute; z-index: -2; inset-inline: 0; top: var(--wave-top); bottom: var(--wave-bottom); pointer-events: none;
  background: #EAE6FD;
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat; }
html :is(#why, #results)::after { background: var(--wave-image) center var(--wave-offset, 0%) / var(--wave-size, 100% 100%) no-repeat, #EAE6FD; }
html :is(#why, #results).has-wave-band::after { content: none; }
html #results { --wave-top: -16px; --wave-bottom: -564px; }
@media (min-width: 761px) { html[lang="zh-Hans"] #results { --wave-top: 54px; --wave-bottom: -634px; } }
html #why { --wave-top: -140px; --wave-bottom: -480px; }
.wave-band { overflow: hidden; overflow: clip; }
.wave-band::before { content: ""; position: absolute; inset: 0;
  background: var(--wave-image) center var(--wave-offset, 0%) / var(--wave-size, 100% 100%) no-repeat; }
.wave-band .wave-lines, .legal-wash::after {
  position: absolute; inset: -44px -7%;
  background: url("wave-lines.svg?ver=29fcc9c39c78") center / 100% 100% no-repeat;
  opacity: .9;
}
/* The Results lines sit below the statistics card in the Figma composition. */
#results .wave-lines { top: 25%; bottom: -29%; }
@media (prefers-reduced-motion: reduce) {
  html :is(#why, #results).has-wave-band::after { content: ""; }
  html :is(#why, #results) > .wave-band { display: none; }
}
html :is(#why, #results) .panel::after { opacity: 1; background: radial-gradient(42% 46% at 36% 40%, rgba(112,102,224,0.55), rgba(130,120,232,0.25) 50%, rgba(130,120,232,0) 75%), radial-gradient(42% 46% at 64% 40%, rgba(160,150,245,0.45), rgba(204,204,255,0) 72%); }
html :is(.hero, #capabilities, #how, #demo, footer) { position: relative; z-index: 1; }

/* Card glow drifts slowly along the bottom edge of the card */
@keyframes glowDrift { 0% { translate: -14% 0; scale: 1 1; } 50% { scale: 1.08 .94; } 100% { translate: 14% 0; scale: 1 1; } }
.panel::after { animation: glowDrift 5s ease-in-out infinite alternate; }
.panel.results::after { animation-delay: -2.5s; }
@media (prefers-reduced-motion: reduce) { .panel::after { animation: none; } }

/* ---------- AI chat widget ---------- */
.chat-dock { position: sticky; bottom: 0; z-index: 95; height: 0; margin-top: 150px; }
.chat-dock + footer { margin-top: 0; }
.chat-fab, .chat-tip, .chat-panel { --chat-edge: max(24px, env(safe-area-inset-bottom, 0px)); }
.chat-fab { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: var(--chat-edge); z-index: 1; width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(75% 75% at 18% 15%, #5DCAFF 0%, rgba(93,202,255,0) 70%), radial-gradient(70% 70% at 92% 40%, #F5A0F7 0%, rgba(245,160,247,0) 70%), radial-gradient(80% 80% at 35% 100%, #9B99FF 0%, rgba(155,153,255,0) 75%), #A7A5FF; box-shadow: 0 12px 30px rgba(155,153,255,0.45), inset 0 1px 0 rgba(255,255,255,0.45); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.chat-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(155,153,255,0.55), inset 0 1px 0 rgba(255,255,255,0.45); }
.chat-fab::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(155,153,255,0.45); animation: fabPulse 2.6s ease-out infinite; }
@keyframes fabPulse { 0% { opacity: .9; scale: .9; } 100% { opacity: 0; scale: 1.35; } }
.chat-fab .ic-open, .chat-fab .ic-close { transition: opacity .2s, rotate .3s; }
.chat-fab .ic-open { display: grid; place-items: center; line-height: 0; }
.chat-fab svg, .chat-av svg { display: block; }
.chat-fab .ic-close { position: absolute; opacity: 0; rotate: -90deg; }
.chat-fab[aria-expanded="true"] .ic-open { opacity: 0; rotate: 90deg; }
.chat-fab[aria-expanded="true"] .ic-close { opacity: 1; rotate: 0deg; }
.chat-fab[aria-expanded="true"]::before { display: none; }
.chat-tip { position: absolute; right: calc(max(24px, env(safe-area-inset-right, 0px)) + 72px); bottom: calc(var(--chat-edge) + 12px); padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: var(--surface); box-shadow: 0 8px 24px rgba(17,17,17,0.12); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; opacity: 0; translate: 8px 0; pointer-events: none; transition: opacity .3s, translate .3s; }
.chat-tip.show { opacity: 1; translate: 0 0; }
.chat-panel { --chat-panel-rise: min(var(--chat-footer-offset, 0px), max(0px, calc(100vh - 480px)));
  position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(var(--chat-edge) + 76px + var(--chat-panel-rise)); z-index: 96; width: 380px; max-width: calc(100vw - 32px); height: min(600px, calc(100vh - 140px - var(--chat-panel-rise))); display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: 24px; box-shadow: 0 24px 60px rgba(40,30,110,0.22), 0 0 0 1px rgba(17,17,17,0.05); transform-origin: bottom right; opacity: 0; scale: .92; translate: 0 12px; visibility: hidden; transition: opacity .25s ease, scale .3s cubic-bezier(.2,.8,.2,1), translate .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; }
.chat-panel.open { opacity: 1; scale: 1; translate: 0 0; visibility: visible; transition: opacity .25s ease, scale .3s cubic-bezier(.2,.8,.2,1), translate .3s cubic-bezier(.2,.8,.2,1); }
.chat-head { display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 16px 18px; background: linear-gradient(135deg, #EEF7FE 0%, #EEEBFF 55%, #FCEEFC 100%); border-bottom: 1px solid var(--line); }
.chat-av { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(75% 75% at 18% 15%, #5DCAFF 0%, rgba(93,202,255,0) 70%), radial-gradient(70% 70% at 92% 40%, #F5A0F7 0%, rgba(245,160,247,0) 70%), radial-gradient(80% 80% at 35% 100%, #9B99FF 0%, rgba(155,153,255,0) 75%), #A7A5FF; flex: none; }
.chat-av::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--success-dot); box-shadow: 0 0 0 2px #fff; }
.chat-head b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.chat-head small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--secondary); }
.chat-x { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.7); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.chat-x:hover { background: #fff; }
.chat-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.chat-body > *, .chat-head, .chat-quick, .chat-form, .chat-foot { flex-shrink: 0; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 21px; animation: msgIn .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes msgIn { from { opacity: 0; translate: 0 6px; } }
.msg.bot { align-self: flex-start; background: #F3F2FA; color: var(--ink); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--aura-600); color: #fff; border-bottom-right-radius: 6px; }
.msg a { color: var(--aura-700); font-weight: 600; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 14px; background: #F3F2FA; border-radius: 18px; border-bottom-left-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #A6A1D8; animation: dot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px; }
.chat-quick button { border: 1px solid var(--aura-200); background: #fff; color: var(--aura-700); border-radius: 999px; min-height: 29px; padding: 6px 12px; font: 500 13px/1 var(--text); cursor: pointer; transition: background .2s; }
.chat-quick button:hover, .chat-quick button[aria-pressed="true"] { background: var(--aura-100); }
.chat-form { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: 400 14.5px var(--text); color: var(--ink); outline: none; background: #FAFAFC; transition: border-color .2s; }
.chat-form input:focus { border-color: var(--aura-600); background: #fff; }
.chat-send { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--aura-600); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s; }
.chat-send:hover { background: var(--aura-700); }
.chat-send:disabled { opacity: .45; cursor: default; }
.chat-foot { margin: 0; min-height: 46px; padding: 13px 16px 10px; text-align: center; font-size: 11px; color: #9A9AA3; }
@media (max-width: 560px), (any-pointer: coarse) and (max-height: 480px) {
  .chat-fab { --chat-edge: max(16px, env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; right: max(16px, env(safe-area-inset-right, 0px)); }
  .chat-panel { inset: 0; width: auto; max-width: none; height: 100%; height: 100dvh; border-radius: 0; box-shadow: none; transform-origin: bottom right; }
  .chat-head { min-height: 73px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .chat-head, .chat-body, .chat-quick, .chat-form, .chat-foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .chat-form { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .chat-form input { font-size: 16px; }
  body.chat-open { overflow: hidden; }
  body.chat-open .chat-fab { opacity: 0; pointer-events: none; }
  .chat-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .chat-fab::before { animation: none; } }
@media (max-width: 360px) { .nav .wrap .brand { width: 112px; } .nav .wrap .tools { gap: 6px; } .nav .tools .btn-outline { padding: 0 10px; font-size: 12px; } }

/* ---------- Industries (variant) ---------- */
.dots { display: none !important; }
#industries { padding-top: 120px; position: relative; z-index: 1; }
.ind-head { max-width: 760px; margin: 0 auto; text-align: center; }
.ind-sub { max-width: 640px; margin-top: 4px; }
@media (min-width: 900px) { html[lang="zh-Hans"] .ind-sub { max-width: none; white-space: nowrap; } html[lang="zh-Hans"] .ind-head { max-width: none; } }
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1400px; margin: 56px auto 0; }
.ind-card { position: relative; border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 2px rgba(17,17,17,0.04), 0 0 0 1px rgba(17,17,17,0.04); transition: translate .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.ind-card:hover { translate: 0 -6px; box-shadow: 0 24px 48px -20px rgba(112,102,224,0.35), 0 0 0 1px rgba(17,17,17,0.04); }
.ind-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); }
@supports not (aspect-ratio: 4 / 5) { .ind-photo::before { content: ""; display: block; padding-top: 125%; } }
.ind-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2,.8,.2,1); z-index: 1; }
.ind-card:hover .ind-photo img { scale: 1.05; }
.ind-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; letter-spacing: .04em; color: rgba(17,17,17,0.35); }
.ind-card { display: flex; flex-direction: column; }
.ind-txt { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.ind-txt h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--ink); }
.ind-txt p { margin: 10px 0 0; font-weight: 300; font-size: 16px; line-height: 23px; color: var(--ink-2); }
.ind-tags { list-style: none; margin: auto 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ind-tags li { padding: 5px 11px; border-radius: 999px; background: transparent; border: 1px solid #DCD9F5; color: #5C5C66; font-size: 12.5px; font-weight: 500; }
.anim .ind-grid:not(.in) .ind-card { opacity: 0; translate: 0 28px; }
.anim .ind-grid.in .ind-card { transition: opacity .7s ease calc(var(--i) * 110ms), translate .8s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 110ms), box-shadow .4s; }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  #industries { padding-top: 88px; }
  .ind-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter-l); gap: 14px; margin: 36px calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); padding: 0 var(--gutter-r) 8px var(--gutter-l); scrollbar-width: none; }
  .ind-grid::-webkit-scrollbar { display: none; }
  .ind-card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-art-box { max-width: 100%; }
  .hero-copy { padding: 72px 0 0; align-items: center; text-align: center; margin: 0 auto; }
  .hero-copy .btn { align-self: center; }
  .hero-art-box { height: calc(661px * var(--s, 1)); margin: 40px auto 0; width: calc(760px * var(--s, 1)); }
  .hero-art { transform: scale(var(--s, 1)); top: calc(-150px * var(--s, 1)); }
  .scroll-cue { bottom: -28px; }
  .how-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 401px)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1140px) {
  .nav .links { display: none; }
  .menu-btn { display: grid; }
  .nav .tools { gap: 18px; margin-left: auto; }
  .mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior-y: contain; padding: 8px var(--gutter-r) 20px var(--gutter-l); background: var(--page); border-bottom: 1px solid var(--line); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 14px 4px; text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--line); }
  .mobile-menu:lang(en) a { font-size: 16px; }
  .mobile-menu a.active { color: var(--aura-700); }
  .mobile-menu .btn { margin-top: 16px; }
  .mobile-menu a.btn { justify-content: center; padding: 0 25px; height: 52px; border-bottom: 0; color: #fff; font-size: 18px; font-weight: 600; }
  .mobile-menu a.btn-outline { border-bottom: 1px solid var(--aura-700); color: var(--aura-700); }
  .mobile-menu .m-lang { padding-bottom: 8px; }
}
@media (max-width: 1060px) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 72px; }
  .nav .brand { width: 140px; margin-left: 0; }
  .nav .tools .icon-btn { display: none; }
  .nav .tools { gap: 10px; }
  .nav .btn-outline { height: 36px; padding: 0 14px; }
  .auralynk-landing .h-display { font-size: clamp(26px, 8.21vw, 32px); }
  .hero-copy p { font-size: 17px; line-height: 25px; }
  #capabilities { padding-top: 112px; }
  .carousel-zone { margin-top: 80px; }
  .more-head { margin-top: 96px; }
  #capabilities .carousel-zone { margin-top: 40px; }
  .compare { column-gap: clamp(18px, 5vw, 32px); margin-top: 40px; }
  .compare h3 { font-size: 17px; line-height: 22px; margin-bottom: 18px; text-align: left; }
  .compare :is(h3, li) { overflow-wrap: anywhere; }
  .compare li { font-size: 13px; line-height: 20px; padding: 14px 0; justify-content: flex-start; align-items: flex-start; text-align: left; gap: 6px; }
  .compare li:first-child { padding-top: 0; }
  .compare li .two br { display: none; }
  .compare .ours li img, html[data-dark] .compare .ours li::before { width: 16px; height: 16px; margin-top: 2px; -webkit-mask-size: 16px; mask-size: 16px; }
  .why { padding-left: clamp(22px, 6vw, 40px); padding-right: clamp(22px, 6vw, 40px); }
  #how { padding-top: 112px; }
  #results { padding-top: 140px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .cta { padding-top: 96px; gap: 40px; }
  footer { margin-top: 96px; }
  .chat-dock { margin-top: 96px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  .landing-footer .wrap { --footer-end-inset: 0px; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 32px; }
  .landing-footer .footer-legal { column-gap: 20px; }
  .landing-footer .info > span:last-child { align-self: flex-start; text-align: left; }
  footer .rule { margin-bottom: 32px; }
  footer .mark { margin-left: 0; }
  footer .info { margin: 0; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
  .modal { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
  .modal-card { padding: 28px 22px 16px; border-radius: 28px; }
  .modal-card h2 { font-size: 24px; margin-bottom: 64px; padding-right: 40px; }
  html[lang] #demoTitle { max-width: 190px; min-height: 56px; padding-right: 0; margin-bottom: 36px; }
  .modal-close { top: 22px; right: 18px; }
  .login-card { padding: 32px 22px 28px; }
  .login-card .modal-close { right: 6px; }
  .login-card .mark { margin-bottom: 18px; }
  .login-card h2 { margin-bottom: 32px; }
  .login-card .lead { margin-bottom: 34px; }
  .login-form { row-gap: 30px; }
  .login-links { margin-top: -11px; }
  .login-form .btn { margin-top: 3px; }
  .demo-form { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; gap: 16px; }
  .form-foot small { text-align: left; }
  .how-card .visual { height: 420px; padding: 24px; }
}

/* On touch screens the visual viewport can shrink independently when the keyboard opens. */
@media (any-pointer: coarse) {
  .modal.open {
    top: var(--overlay-top, 0px);
    bottom: auto;
    height: var(--overlay-height, 100%);
  }
  .chat-panel.open {
    bottom: calc(var(--chat-edge) + max(76px + var(--chat-panel-rise), var(--overlay-bottom, 0px)));
    height: min(600px, calc(var(--overlay-height, 100vh) - 48px - max(0px, 92px + var(--chat-panel-rise) - var(--overlay-bottom, 0px))));
  }
  .chat-panel.keyboard-compact .chat-quick, .chat-panel.keyboard-compact .chat-foot { display: none; }
}
@media (any-pointer: coarse) and (max-width: 560px), (any-pointer: coarse) and (max-height: 480px) {
  .chat-panel.open { top: var(--overlay-top, 0px); bottom: auto; height: var(--overlay-height, 100%); }
}

/* How it works: video + new cards */
#how { padding-top: 156px; }
.how-cta { margin-top: 32px; }
.how-video { position: relative; max-width: 1000px; margin: 64px auto 0; }
.how-video img { display: block; width: 100%; height: auto; }
.how-video .play { position: absolute; left: 50%; top: 52%; translate: -50% -50%; width: 88px; height: 88px; border: 0; border-radius: 50%; background: rgba(40,40,48,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; transition: scale .3s cubic-bezier(.2,.8,.2,1), background .3s; }
.how-video .play svg { margin-left: -1px; }
.how-video .play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; box-shadow: 0 0 0 3px rgba(112,102,224,.45); animation: playPulse 2.4s ease-out infinite; }
.how-video .play:hover { scale: 1.08; background: rgba(112,102,224,.85); }
@keyframes playPulse { 0% { opacity: 1; scale: .96; } 70%, 100% { opacity: 0; scale: 1.5; } }
#capabilities { padding-top: 156px; }
#capabilities .more-head { margin-top: 0; }
.how-card .visual .ui-card { font-family: var(--body-font, inherit); }
.sched-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 304px; max-width: 100%; }
.sched { padding: 16px 16px 8px; box-shadow: 0 12px 32px rgba(140,90,30,0.12); }
.sched .hd, .insights .hd { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; }
.sched .hd b { font-weight: 600; font-size: 14px; }
.sched .hd small, .insights .hd small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--secondary); }
.slot { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); min-height: 58px; }
.slot .tm { width: 36px; font-size: 12px; color: var(--secondary); flex: none; }
.blk { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 6px; background: #F3F2FD; box-shadow: inset 3px 0 0 #7066E0; }
.blk b { display: block; font-weight: 600; font-size: 13px; }
.blk small { display: block; font-size: 11px; color: var(--secondary); margin-top: 1px; }
.blk .tag { font-style: normal; font-size: 10.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: #E6E4FB; color: var(--aura-700); white-space: nowrap; }
.blk.walk { background: #FDF5EA; box-shadow: inset 3px 0 0 #D69A4E; }
.blk.walk .tag { background: #FBE7CC; color: #9D5C0F; }
.toast { width: 100%; padding: 12px 14px; border-radius: 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 32px rgba(140,90,30,0.14); }
.toast .ok { width: 32px; height: 32px; border-radius: 9px; background: var(--success-bg); display: grid; place-items: center; flex: none; }
.toast b { display: block; font-weight: 600; font-size: 13px; }
.toast small { display: block; font-size: 11.5px; color: var(--secondary); margin-top: 1px; }
.insights { padding: 18px 18px 20px; box-shadow: 0 12px 32px rgba(120,40,130,0.12); }
.insights .hd { padding-bottom: 4px; }
.insights .hd small:first-child { font-size: 13px; }
.insights .val { display: flex; align-items: baseline; gap: 10px; }
.insights .val b { font-weight: 700; font-size: 32px; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; transition: color .4s; }
.insights .val b.bump { color: var(--aura-700); }
.insights .val span { font-weight: 600; font-size: 13px; color: var(--success); }
.insights .res { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.insights .res > small { font-size: 12px; color: var(--secondary); }
.insights .bar { display: grid; grid-template-columns: 62px 1fr 30px; align-items: center; gap: 10px; font-size: 13px; }
.insights .bar .track { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
/* Move the full-width bar inside its rounded track so the fill keeps its shape. */
.insights .bar .track i { display: block; height: 100%; width: 100%; border-radius: inherit; transform: translateX(calc((var(--v) - 1) * 100%)); transition: transform 1.2s cubic-bezier(.3,.7,.2,1); }
.insights .bar em { font-style: normal; font-size: 12px; color: var(--secondary); text-align: right; font-variant-numeric: tabular-nums; }
.client { padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 32px rgba(20,90,140,0.12); }
.client .hd { display: flex; align-items: center; gap: 12px; }
.client .av { width: 44px; height: 44px; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--pink-100); }
.client .t { flex: 1; min-width: 0; }
.client .t b { display: block; font-weight: 600; font-size: 16px; }
.client .t small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--secondary); margin-top: 2px; }
.client .pts { position: relative; text-align: right; }
.client .pts b { display: block; font-weight: 700; font-size: 19px; color: var(--aura-600); font-variant-numeric: tabular-nums; }
.client .pts small { font-size: 11px; color: var(--secondary); }
.client .plus { position: absolute; right: 0; top: -14px; font-weight: 700; font-size: 12px; color: var(--success); opacity: 0; pointer-events: none; }
.client .plus.go { animation: coinUp 1.3s ease-out both; }
.client .cloud.sync { animation: cloudPulse 1s ease; }
@keyframes cloudPulse { 0%,100% { scale: 1; } 40% { scale: 1.3; } }
.client .alert { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #FDECEA; color: #B42318; font-weight: 500; font-size: 13px; }
.client .prefs { display: flex; flex-direction: column; gap: 8px; }
.client .prefs > small { font-size: 12px; color: var(--secondary); }
.client .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.client .chips span { padding: 4px 8px; border-radius: 999px; background: var(--line); font-size: 11px; white-space: nowrap; color: var(--body); }
.how-card:hover .sched, .how-card:hover .toast { box-shadow: 0 18px 40px rgba(140,90,30,0.18); }
.how-card:hover .insights { box-shadow: 0 18px 40px rgba(120,40,130,0.18); }
.how-card:hover .client { box-shadow: 0 18px 40px rgba(20,90,140,0.18); }
.how-card .visual .spin { transform-box: fill-box; transform-origin: center; animation: spin 4s cubic-bezier(.4,0,.2,1) infinite; }
/* entrance + looping moments (only once the card is on screen) */
.slot, .client .alert, .client .chips span { transition: opacity .7s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
.anim .how-card:not(.in) .slot { opacity: 0; translate: 0 12px; }
.anim .how-card.in .slot { transition-delay: calc(.35s + var(--i) * .15s); }
.anim .how-card.in .blk.walk { animation: walkIn 8s cubic-bezier(.2,.8,.2,1) 1.2s infinite both; }
.anim .how-card:not(.in) .toast { opacity: 0; }
.anim .how-card.in .toast { animation: toastIn 8s cubic-bezier(.2,.8,.2,1) 1.2s infinite both; }
@keyframes walkIn { 0% { opacity: 0; translate: 16px 0; scale: .96; } 8% { opacity: 1; translate: 0 0; scale: 1.03; } 12% { scale: 1; } 8%, 22% { box-shadow: inset 3px 0 0 #D69A4E, 0 0 0 3px rgba(214,154,78,.35); } 30%, 88% { opacity: 1; translate: 0 0; scale: 1; box-shadow: inset 3px 0 0 #D69A4E, 0 0 0 0 rgba(214,154,78,0); } 96%, 100% { opacity: 0; translate: 0 0; } }
@keyframes toastIn { 0%, 16% { opacity: 0; translate: 0 14px; scale: .94; } 24% { opacity: 1; translate: 0 -3px; scale: 1.02; } 28%, 86% { opacity: 1; translate: 0 0; scale: 1; } 94%, 100% { opacity: 0; translate: 0 8px; scale: .97; } }
.anim .how-card:not(.in) .insights .bar .track i { transform: translateX(-100%); }
.anim .how-card.in .insights .bar:nth-of-type(1) .track i { transition-delay: .6s; }
.anim .how-card.in .insights .bar:nth-of-type(2) .track i { transition-delay: .8s; }
.anim .how-card.in .insights .bar:nth-of-type(3) .track i { transition-delay: 1s; }
.anim .how-card:not(.in) .client .alert { opacity: 0; translate: 0 10px; }
.anim .how-card.in .client .alert { transition-delay: .7s; }
.anim .how-card.in .client .alert svg { animation: wiggle .9s ease 1.6s 1; }
.anim .how-card:not(.in) .client .chips span { opacity: 0; translate: 0 8px; }
.anim .how-card.in .client .chips span { transition-delay: calc(1.1s + var(--i) * .15s); }
@media (max-width: 760px) { #how { padding-top: 112px; } #capabilities { padding-top: 112px; } .how-video { margin-top: 40px; } .how-video .play { width: 64px; height: 64px; } .how-video .play svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .how-video .play::after { animation: none; } }

/* Start Free Trial form */
#trialModal .modal-card h2 { margin-bottom: 21px; }
.modal-sub { margin: 0 0 34px; font-weight: 300; font-size: 16px; line-height: 24px; color: var(--secondary); }
.field textarea { width: 100%; min-height: 84px; padding: 2px 0 6px; border: 0; border-bottom: 1px solid #2D2928; border-radius: 0; background: transparent; font: 400 16px/26px var(--text); letter-spacing: 0.01em; color: #2D2928; outline: none; resize: vertical; transition: border-color .2s; }
.field textarea::placeholder { color: #2D2928; opacity: 1; }
.field textarea:focus { border-bottom-color: var(--aura-600); border-bottom-width: 2px; }
.field textarea:focus::placeholder { color: #9A9A9A; }
.field select:not([required]):has(option[value=""]:checked) { color: #2D2928; }
.legal-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 14px; line-height: 1.5; cursor: pointer; }
.legal-consent input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--aura-700); cursor: pointer; }
.legal-consent a, .legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.login-legal { justify-content: center; margin-top: 18px; color: var(--secondary); font-size: 14px; }
#trialForm button:disabled, #loginForm button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 760px) { .modal-sub { margin-bottom: 28px; font-size: 15px; } }

/* Filled grey fields for the demo + trial forms */
.demo-form { column-gap: 16px; row-gap: 16px; }
.demo-form .field input, .demo-form .field select, .demo-form .field textarea { height: 56px; padding: 0 18px; border: 0; border-radius: 14px; background: #F2F2F4; box-shadow: inset 0 0 0 1px transparent; font: 400 16px/24px var(--text); color: var(--ink); transition: background .2s, box-shadow .2s; }
.demo-form .field select { padding-right: 44px; cursor: pointer; }
.demo-form .field textarea { height: auto; min-height: 120px; padding: 16px 18px; resize: vertical; }
.demo-form .field input::placeholder, .demo-form .field textarea::placeholder { color: #6E6E73; }
.demo-form .field select:invalid { color: #6E6E73; }
.demo-form .field select:not([required]):has(option[value=""]:checked) { color: #6E6E73; }
.demo-form .field input:hover, .demo-form .field select:hover, .demo-form .field textarea:hover { background: #ECECEF; }
.demo-form .field input:focus, .demo-form .field select:focus, .demo-form .field textarea:focus { border: 0; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--aura-600); }
.demo-form .field input:focus::placeholder, .demo-form .field textarea:focus::placeholder { color: #A1A1A6; }
.demo-form .field.select::after { right: 20px; top: 50%; margin-top: -2px; width: 8px; height: 8px; border: 0; border-right: 2px solid #2D2928; border-bottom: 2px solid #2D2928; rotate: 45deg; translate: 0 -50%; }
.demo-form .field.bad input, .demo-form .field.bad select, .demo-form .field.bad textarea { background: #FDF1F0; box-shadow: inset 0 0 0 1.5px #C2413A; }
.demo-form .form-error { margin: 0; }
.demo-form .form-foot { margin-top: 8px; }
.demo-form .form-foot .btn { height: 52px; padding: 0 32px; }
@media (min-width: 761px) {
  #demoForm .form-foot .btn { min-width: 174px; }
  #trialForm .form-foot .btn { min-width: 190px; }
  #trialForm .form-foot { margin-top: 6px; }
}
@media (max-width: 760px) {
  #trialModal .modal-card h2 { margin-bottom: 18px; }
  #trialModal .modal-sub { margin-bottom: 26px; }
  html[lang="zh-Hans"] #trialModal .modal-sub { margin-bottom: 50px; }
  .demo-form { row-gap: 12px; }
  .demo-form .field input, .demo-form .field select { height: 52px; }
  .demo-form .form-foot { margin-top: 8px; gap: 22px; }
}

/* Chinese: break lines only at punctuation/phrase gaps, never in the middle of a word */
html[lang="zh-Hans"] :is(p, h1, h2, h3, li, small, .lead) { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
html[lang="zh-Hans"] .how-card .txt p { text-wrap: pretty; }
html[lang="zh-Hans"] :is(h1:not(#heroTitle), h2) { text-wrap: balance; }
@media (max-width: 420px) { html[lang="zh-Hans"] #ctaTitle { font-size: clamp(22px, 7.18vw, 28px); line-height: calc(36 / 28); } }
.lang-menu a, .m-lang a { text-decoration: none; }
.mobile-menu .m-lang a { padding: 8px 16px; font-size: 15px; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--aura-700);
  outline-offset: 3px;
}
.preview-status {
  margin: 0; color: var(--secondary); font-size: 13px; line-height: 1.45;
}
.how-video .preview-status {
  position: absolute; inset: auto 12px 12px; width: fit-content; max-width: calc(100% - 24px);
  margin-inline: auto; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); background: var(--surface); text-align: center;
}
/* Keep decorative animation on hold whenever its section is outside the viewport. */
.anim :is(.hero:not(.motion-active) .hero-art *, .feature:not(.motion-active) .art, .how-card:not(.motion-active) *),
.anim .how-video:not(.motion-active) .play::after,
.anim .panel:not(.motion-active)::after {
  animation-play-state: paused;
}
html body.auralynk-document main { min-height: 58vh; padding-block: 56px; }
.legal-dialog { width: min(880px, calc(100% - 32px)); max-height: min(820px, calc(100dvh - 48px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: var(--surface); overflow: hidden; }
.legal-dialog[open] { display: flex; flex-direction: column; }
.legal-dialog::backdrop { background: rgb(22 17 46 / .55); }
body:has(.legal-dialog[open]) { overflow: hidden; }
.legal-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(20px, 4vw, 36px); background: #F2EEFF; border-bottom: 1px solid var(--line); }
.legal-dialog-header h2 { margin: 0; font: 500 22px/1.2 var(--display); }
.legal-dialog-header form { margin: 0; padding: 0; border: 0; outline: none; }
.legal-dialog-close {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border: none; outline: none; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}
.legal-dialog-close:focus,
.legal-dialog-close:focus-visible {
  outline: none !important; border: 0 !important; border: none !important; box-shadow: none !important;
}
.legal-dialog-close::-moz-focus-inner { border: 0; padding: 0; }
.legal-dialog-scroll { overflow: auto; overscroll-behavior: contain; outline: none; }
.legal-dialog-scroll:focus { outline: none; }
.legal-dialog-body { position: relative; isolation: isolate; padding: clamp(12px, 3vw, 30px); background: var(--page); }
.legal-dialog-status { margin: 12px 8px; }
.legal-wash {
  position: absolute; inset-inline: 0; z-index: -1; pointer-events: none; overflow: hidden;
  aspect-ratio: 1440 / 1346.9; max-height: 100%; background: #EAE6FD;
  -webkit-mask: var(--wave-mask) center / contain no-repeat;
  mask: var(--wave-mask) center / contain no-repeat;
}
.legal-wash-top { top: 0; }
.legal-wash-bottom { bottom: 0; }
.legal-wash::before {
  content: ""; position: absolute; inset: 0;
  background: var(--wave-image) center / contain no-repeat;
}
.legal-wash::after { content: ""; }
@media (prefers-reduced-motion: no-preference) {
  .legal-wash::after { animation: legal-wave-drift 14s ease-in-out infinite alternate paused; }
  .legal-wash.is-visible::after { animation-play-state: running; }
}
@keyframes legal-wave-drift {
  from { transform: translate3d(-3%, -3%, 0); }
  to { transform: translate3d(3%, 3%, 0); }
}
.legal-document { max-width: 760px; margin-inline: auto; line-height: 1.7; overflow-wrap: anywhere; }
.legal-dialog .legal-document { padding: clamp(16px, 4vw, 42px); border-radius: clamp(16px, 4vw, 32px); background: var(--surface); }
.legal-document h1 { margin: 0 0 16px; font: 600 clamp(28px, 5vw, 48px)/1.1 var(--display); text-align: center; }
.legal-document h2 { margin: 36px 0 10px; font-size: 24px; line-height: 1.3; }
.legal-document h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.4; }
.legal-document :is(p, ul) { margin: 0 0 16px; }
.legal-document ul { padding-inline-start: 24px; list-style: disc; }
.legal-document li + li { margin-top: 5px; }
.legal-document :is(.legal-updated, .legal-version) { font-size: 14px; color: var(--secondary); }
.legal-document .legal-version { margin-top: 32px; }
@media (max-width: 760px) {
  .legal-wash { aspect-ratio: 390 / 1482.25; }
  .legal-dialog-header { padding: 12px clamp(16px, 4vw, 24px); }
  .legal-dialog-header h2 { font-size: clamp(16px, 4.2vw, 18px); line-height: 1.25; }
  .legal-document h1 { font-size: clamp(18px, 4.8vw, 21px); line-height: 1.25; margin-bottom: 12px; }
  .legal-document h2 { font-size: 17px; line-height: 1.3; margin: 24px 0 8px; }
  .legal-document h3 { font-size: 15px; line-height: 1.35; margin: 18px 0 6px; }
}
.auralynk-document-footer { margin-top: 24px; }
.auralynk-document-footer .legal-links { flex-direction: row; gap: 6px 22px; }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--nav-h) + var(--wp-admin--admin-bar--height, 32px)); }
body.admin-bar .nav { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) {
  body.admin-bar .nav { top: 0; }
}


/* Figma homepage layout. Preserve the mobile reading order at small widths. */
#why, .auralynk-legal { --wave-image: url("figma-why-wave.svg?ver=a4aac9723b13"); --wave-mask: url("figma-why-mask.svg?ver=d03185baa8f5"); }
#results { --wave-image: url("figma-results-wave.svg?ver=7dff8ced42a3"); --wave-mask: url("figma-results-mask.svg?ver=89c72e3bbde3"); }
html[lang="zh-Hans"] #why { --wave-image: url("figma-why-wave-zh.svg?ver=bdf3d6a06594"); --wave-mask: url("figma-why-mask-zh.svg?ver=00848c8524a3"); }
html[lang="zh-Hans"] #results { --wave-image: url("figma-results-wave-zh.svg?ver=8b2b36bbc37b"); --wave-mask: url("figma-results-mask-zh.svg?ver=865ef56bcda3"); }
html #results { --wave-size: 191% 116%; --wave-offset: 20%; }
.auralynk-landing #main-content { display: flex; flex-direction: column; }
.auralynk-landing .hero-copy > p { max-width: 405px; white-space: normal; }
html[lang="zh-Hans"] .hero-copy > p { max-width: 510px; }
.auralynk-landing #why .eyebrow { font-weight: 700; }
.auralynk-landing #whyTitle { font-weight: 500; }
.auralynk-landing .compare h3 { text-align: left; }
.auralynk-landing .compare li { justify-content: flex-start; text-align: left; align-items: flex-start; }
.auralynk-landing .compare .ours li:nth-child(-n+2) { color: var(--aura-700); }
.auralynk-landing .ind-txt { padding-bottom: 34px; }
.auralynk-landing .feature .txt { padding-top: 34px; padding-bottom: 4px; gap: 22px; }
.trial-offer { margin: 16px 0 0; text-align: center; font-size: 16px; line-height: 1.5; }
.trial-offer strong, .trial-offer span { display: block; }
.trial-offer strong { color: var(--aura-700); font-family: var(--display); font-size: 24px; font-weight: 500; }
footer .info a { color: inherit; text-decoration: none; }
footer .info a:hover { text-decoration: underline; }
@media (min-width: 1301px) {
  .auralynk-landing:lang(en) .nav .links a { font-size: 16px; }
}
.auralynk-landing:lang(en) .hero-copy > p { letter-spacing: normal; }
.auralynk-landing:lang(en) #industries .eyebrow { font-weight: 700; }
.auralynk-landing:lang(en) .trial-offer strong { line-height: 24px; letter-spacing: -.01em; }
.auralynk-landing:lang(en) .trial-offer span { font: 300 18px/24px var(--display); }
.auralynk-landing:lang(en) footer .info { line-height: 24px; }
.auralynk-landing #why .compare li { font-weight: 500; }
.auralynk-landing #why .compare :is(li:nth-child(-n+2), strong) { font-weight: 700; }
@media (min-width: 761px) {
  .auralynk-landing #why { padding-top: 120px; }
  .auralynk-landing .compare { margin-top: 76px; }
  .auralynk-landing .compare h3 { margin-bottom: 46px; }
  .auralynk-landing .ind-sub { max-width: 505px; white-space: normal; }
  .auralynk-landing #capabilities { padding-top: 84px; }
  .auralynk-landing #how { padding-top: 108px; }
  .auralynk-landing #how .how-intro { display: none; }
  .auralynk-landing #how .how-cta { margin-top: 0; }
  .auralynk-landing .how-video { margin-top: 68px; }
}
@media (max-width: 760px) {
  .auralynk-landing .hero { order: 0; }
  .auralynk-landing #industries { order: 1; }
  .auralynk-landing #why { order: 2; }
  .auralynk-landing #how { order: 3; }
  .auralynk-landing #capabilities { order: 4; }
  .auralynk-landing #results { order: 5; }
  .auralynk-landing #demo { order: 6; }
  .auralynk-landing #why .eyebrow { font-weight: 500; }
  .auralynk-landing .hero-copy > p { max-width: 32ch; }
  .auralynk-landing #how .trial-offer { display: none; }
  html #results { --wave-size: 100% 100%; --wave-offset: 0%; }
  #why, .auralynk-legal { --wave-image: url("figma-why-wave-mobile.svg?ver=78c49a72669f"); --wave-mask: url("figma-why-mask-mobile.svg?ver=9d9610110d36"); }
  #results { --wave-image: url("figma-results-wave-mobile.svg?ver=6e859a5a9aad"); --wave-mask: url("figma-results-mask-mobile.svg?ver=89766552ac85"); }
  html[lang="zh-Hans"] #why { --wave-image: url("figma-why-wave-mobile-zh.svg?ver=1dc8d0917d23"); --wave-mask: url("figma-why-mask-mobile-zh.svg?ver=82b72d6a4e54"); }
  html[lang="zh-Hans"] #results { --wave-image: url("figma-results-wave-mobile-zh.svg?ver=3e9c8f5ac626"); --wave-mask: url("figma-results-mask-mobile-zh.svg?ver=237e3f9fe772"); }
}
