/* LMS Intelligence: the company site.
   Navy #13294B (the app's colour), white, the LMS gradient line, IBM Plex Sans Thai (self-hosted, OFL: /fonts/OFL.txt).
   Motion: only transform and opacity move; everything is gated by html.anim (set by js/site.js when the visitor
   has not asked for reduced motion and has not pressed "Pause motion"). Without it every picture shows its
   finished state. */

@font-face { font-family: "IBM Plex Sans Thai"; src: url("/fonts/IBMPlexSansThai-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Thai"; src: url("/fonts/IBMPlexSansThai-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Thai"; src: url("/fonts/IBMPlexSansThai-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy-950: #070F1F;
  --navy-900: #0B1730;
  --navy-800: #13294B;
  --navy-700: #1E3A5F;
  --navy-600: #24477A;
  --blue: #4B7DB6;
  --blue-soft: #8EAFD2;
  --ice: #DCE8F5;
  --copper: #C9A28C;
  --copper-deep: #B8724A;
  --amber: #B7791F;
  --green: #1F7A55;
  --ink: #0F1B2E;
  --slate: #44526A;
  --muted: #5B6777;
  --line: #E1E6EE;
  --page: #F4F6FA;
  --white: #FFFFFF;
  --lms-line: linear-gradient(90deg, #174E8C 0%, #4B7DB6 25%, #8EAFD2 42%, #B7BBC2 56%, #C9A28C 72%, #D08F67 100%);
  --grad-text: linear-gradient(92deg, #A9C6E8 0%, #DCE8F5 38%, #E7C6B1 70%, #D99A72 100%);
  --dark-bg: radial-gradient(1200px 600px at 80% -10%, #1E3F6E 0%, rgba(30, 63, 110, 0) 60%), linear-gradient(160deg, #0B1730 0%, #13294B 60%, #172F55 100%);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", "Leelawadee UI", Thonburi, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.anim { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
/* Thai: stacked vowels and tone marks need room; no letter-spacing (Thai has no spaces between words) */
html[lang="th"] body { line-height: 1.8; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] h4 { line-height: 1.42; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid #4B7DB6; outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: #A9C6E8; }
.nw { white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the two languages: Thai unless the visitor picks English (js/site.js) */
html[lang="th"] .en, html[lang="en"] .th { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.lms-line { height: 3px; background: var(--lms-line); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; color: var(--white); background: rgba(11, 23, 48, 0.92); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(11, 23, 48, 0.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); } }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(255, 255, 255, 0.1); }
.site-header .bar { display: flex; align-items: center; gap: 20px; height: 68px; }
.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--lms-line); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
@supports (animation-timeline: scroll()) {
  html.anim .progress { opacity: 1; animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; flex: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 52px; height: auto; }
.brand-name { font-size: 16.5px; font-weight: 500; letter-spacing: 0.01em; line-height: 1; padding-top: 2px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 8px; overflow: hidden; }
.lang button { appearance: none; border: 0; background: transparent; color: rgba(255, 255, 255, 0.78); font: inherit; font-size: 13px; font-weight: 500;
  padding: 0 10px; min-height: 32px; min-width: 38px; cursor: pointer; line-height: 1; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy-800); }
.lang button:focus-visible { outline-offset: -3px; border-radius: 0; }
.btn-login { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 8px; color: var(--white); font-size: 14.5px; font-weight: 500;
  text-decoration: none; white-space: nowrap; border: 1px solid rgba(255, 255, 255, 0.26); transition: background-color .2s; }
.btn-login:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-login[aria-current="page"] { border-color: var(--copper); }
.btn-demo { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 8px; background: var(--white); color: var(--navy-800);
  font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.btn-demo:hover { background: var(--ice); color: var(--navy-800); }
.menu-btn { display: none; appearance: none; background: transparent; border: 1px solid rgba(255, 255, 255, 0.26); color: var(--white); border-radius: 8px;
  width: 40px; height: 38px; padding: 0; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 8px var(--gutter) 18px; }
  .mobile-nav[data-open="true"] { display: block; }
  .mobile-nav a { display: block; color: var(--white); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-weight: 500; }
  .mobile-nav .mobile-login { border-bottom: 0; color: var(--blue-soft); }
}
@media (max-width: 560px) { .header-tools .btn-login { display: none; } }
@media (max-width: 400px) {
  .brand-mark { width: 44px; } .brand { gap: 7px; } .brand-name { font-size: 14.5px; }
  .site-header .bar { gap: 8px; } .header-tools { gap: 6px; } .btn-demo { padding: 0 11px; font-size: 14px; }
}
@media (max-width: 350px) { .site-header .brand-name { display: none; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center; line-height: 1.3;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--navy-800); color: var(--white); }
.btn-primary:hover { background: var(--navy-600); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-light:hover { background: var(--ice); color: var(--navy-800); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy-800); border-color: #C3D0E0; }
.btn-outline:hover { background: var(--ice); color: var(--navy-800); }
/* the main call to action: a soft halo behind it (opacity only) */
.btn-glow::before { content: ""; position: absolute; inset: -6px; border-radius: 14px; background: radial-gradient(closest-side, rgba(169, 198, 232, 0.55), rgba(169, 198, 232, 0)); opacity: 0; z-index: -1; }
html.anim .btn-glow::before { animation: halo 3.2s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: 0.15; transform: scale(0.96); } 50% { opacity: 0.7; transform: scale(1.04); } }

/* ---------- dark surfaces ---------- */
.on-dark { color: var(--white); }
.dark { position: relative; background: var(--navy-900); background-image: var(--dark-bg); color: var(--white); overflow: hidden; isolation: isolate; }
.dark h2, .dark h3 { color: var(--white); }
/* the cursor-follow glow: one element, moved with transform */
.glow { position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(110, 160, 220, 0.22), rgba(110, 160, 220, 0)); opacity: 0; transition: opacity .4s; will-change: transform; }
.dark.glowing .glow { opacity: 1; }

/* ---------- hero ---------- */
.hero { min-height: min(880px, calc(100svh - 68px)); display: flex; align-items: center; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.mesh { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.mesh i:nth-child(1) { width: 520px; height: 520px; left: -120px; top: -160px; background: #24477A; }
.mesh i:nth-child(2) { width: 460px; height: 460px; right: -80px; top: 10%; background: #2B5C93; opacity: 0.5; }
.mesh i:nth-child(3) { width: 380px; height: 380px; left: 38%; bottom: -200px; background: #8A5A43; opacity: 0.32; }
html.anim .mesh i:nth-child(1) { animation: drift1 22s ease-in-out infinite alternate; }
html.anim .mesh i:nth-child(2) { animation: drift2 26s ease-in-out infinite alternate; }
html.anim .mesh i:nth-child(3) { animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-160px, 140px) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-140px, -120px) scale(1.2); } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(36px, 5vw, 72px); align-items: center;
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.86); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #7FD1A8; flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #7FD1A8; opacity: 0; }
html.anim .dot::after { animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }
.hero h1 { margin-top: 22px; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.12; letter-spacing: -0.025em; }
html[lang="th"] .hero h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.3; letter-spacing: 0; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.45vw, 19.5px); color: rgba(255, 255, 255, 0.82); max-width: 34em; }
.console { margin-top: 26px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 10px; max-width: 34em;
  background: rgba(7, 15, 31, 0.55); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; color: rgba(255, 255, 255, 0.9); }
.console .tag { flex: none; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--copper); padding: 2px 8px; border-radius: 6px; background: rgba(201, 162, 140, 0.12); }
.console .typed { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--blue-soft); vertical-align: -0.18em; margin-left: 2px; }
html.anim .caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; position: relative; z-index: 0; }
.hero .facts-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, 0.7); list-style: none; padding: 0; }
.hero .facts-line li { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts-line li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--copper); transform: rotate(45deg); }
.motion-toggle { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(7, 15, 31, 0.5); color: rgba(255, 255, 255, 0.82); font: inherit; font-size: 13px; cursor: pointer; }
.motion-toggle:hover { color: var(--white); background: rgba(7, 15, 31, 0.8); }
.motion-toggle svg { width: 12px; height: 12px; }
.motion-toggle .when-still, html.still .motion-toggle .when-anim { display: none; }
html.still .motion-toggle .when-still { display: inline; }
html.reduced .motion-toggle { display: none; }
@media (max-width: 900px) { .hero { min-height: 0; } .hero .wrap { grid-template-columns: 1fr; } .motion-toggle { bottom: 12px; } }

/* hero picture: one ordering round as a data flow */
.flow { position: relative; padding: 22px; border-radius: 20px; background: rgba(9, 20, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.66); padding: 0 4px 14px; }
.flow-head b { color: var(--white); font-weight: 600; font-size: 14px; }
.flow-body { position: relative; }
.flow-steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; display: grid; gap: 12px; }
.flow-steps::before { content: ""; position: absolute; left: 11px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.flow-rail { position: absolute; left: 11px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #4B7DB6, #8EAFD2 50%, #D08F67); transform-origin: 50% 0; transform: scaleY(1); }
.flow-pulse { position: absolute; left: 6px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: #DCE8F5; box-shadow: 0 0 0 4px rgba(142, 175, 210, 0.25), 0 0 18px 4px rgba(142, 175, 210, 0.6); opacity: 0; }
.flow-steps li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); transition: background-color .5s, border-color .5s; }
.flow-steps li::before { content: ""; position: absolute; left: -29px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--navy-900); border: 2px solid rgba(255, 255, 255, 0.3); transition: background-color .4s, border-color .4s; }
.flow-steps li.on { background: rgba(142, 175, 210, 0.1); border-color: rgba(142, 175, 210, 0.35); }
.flow-steps li.on::before { background: var(--blue-soft); border-color: var(--blue-soft); }
.flow-steps .who { font-size: 12px; color: rgba(255, 255, 255, 0.6); grid-column: 1 / -1; }
.flow-steps .what { font-size: 15.5px; font-weight: 500; color: var(--white); }
.flow-steps .val { font-size: 15px; font-weight: 600; color: var(--ice); font-variant-numeric: tabular-nums; white-space: nowrap; }
.flow-steps .val.ok { color: #8FDAB6; }
.flow-steps .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.flow-steps .bar span { display: block; height: 100%; width: 100%; background: var(--lms-line); transform-origin: 0 50%; transition: transform .25s linear; }
.flow-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 0 4px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* ---------- facts strip (true product facts, not results) ---------- */
.facts { background: var(--navy-950); color: var(--white); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.facts ul { list-style: none; margin: 0; padding: 30px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts li { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid rgba(142, 175, 210, 0.3); }
.facts b { font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.55; }
@media (max-width: 860px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section.alt { background: var(--page); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--navy-600); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--lms-line); }
.dark .kicker { color: var(--blue-soft); }
.head { max-width: 46em; }
.head.center { margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.head .lede { margin-top: 18px; font-size: clamp(17px, 1.4vw, 19px); color: var(--slate); }
.dark .head .lede { color: rgba(255, 255, 255, 0.78); }

/* scroll reveal (only when motion is on; otherwise everything is simply there) */
html.anim .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.anim .rv.in { opacity: 1; transform: none; }

/* problem -> solution */
.pairs { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; }
.pair .old, .pair .new { padding: 20px 22px; border-radius: var(--radius); display: grid; gap: 4px; }
.pair .old { background: var(--white); border: 1px dashed #C5CCD8; color: var(--slate); }
.pair .new { background: var(--white); border: 1px solid #C9D7E8; box-shadow: 0 18px 40px -28px rgba(19, 41, 75, 0.45); }
.pair small { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.pair .new small { color: var(--navy-600); }
.pair p { font-size: 16.5px; }
.pair .new p { color: var(--ink); font-weight: 500; }
.pair svg.arrow { width: 100%; height: 24px; overflow: visible; }
.arrow path { fill: none; stroke: url(#lmsgrad); stroke-width: 2; stroke-linecap: round; }
.arrow .head-p { stroke-linejoin: round; }
html.anim .rv .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) .25s; }
html.anim .rv.in .draw { stroke-dashoffset: 0; }
@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr; }
  .pair svg.arrow { height: 34px; width: 24px; margin: 0 auto; transform: rotate(90deg); }
}

/* product rows: text + an animated picture */
.prod-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.prod-head .note { color: var(--muted); font-size: 15px; max-width: 26em; }
.feature { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; margin-top: clamp(64px, 8vw, 112px); }
.feature.flip .copy { order: 2; }
.feature .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy-800); color: var(--white); font-weight: 600; font-size: 15px; }
.feature h3 { margin-top: 18px; font-size: clamp(24px, 2.5vw, 32px); }
.feature .copy > p { margin-top: 14px; color: var(--slate); font-size: 17px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 18px; height: 18px; margin-top: -4px; border-radius: 6px; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2313294B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--navy-700);
  background: linear-gradient(90deg, rgba(75, 125, 182, 0.12), rgba(208, 143, 103, 0.14)); border: 1px solid rgba(75, 125, 182, 0.25); }
.ai-chip svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip .copy { order: 0; } }

/* the stage behind every mock-up */
.stage { position: relative; border-radius: 22px; padding: clamp(18px, 3vw, 36px); background: var(--navy-900); background-image: var(--dark-bg); overflow: hidden; isolation: isolate;
  min-height: 420px; display: flex; align-items: center; justify-content: center; box-shadow: 0 40px 80px -40px rgba(19, 41, 75, 0.55); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.stage .caption { position: absolute; left: 16px; bottom: 12px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.win { width: 100%; max-width: 560px; border-radius: 14px; background: var(--white); color: var(--ink); overflow: hidden; font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--navy-800); color: var(--white); font-size: 13px; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); flex: none; }
.win-bar b { font-weight: 600; margin-left: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-bar .pill { margin-left: auto; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); white-space: nowrap; }
.win-body { padding: 14px; }

/* 1. phone counting */
.phone { width: 270px; max-width: 100%; aspect-ratio: 270 / 540; border-radius: 40px; padding: 11px; background: #050B18;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 40px 70px -24px rgba(0, 0, 0, 0.7); position: relative; }
.phone-screen { height: 100%; border-radius: 30px; background: var(--white); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.45; }
.ph-top { background: var(--navy-800); color: var(--white); padding: 20px 16px 12px; }
.ph-top .row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: rgba(255, 255, 255, 0.72); }
.ph-top .title { font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.ph-progress { height: 4px; background: rgba(255, 255, 255, 0.18); margin-top: 10px; border-radius: 3px; overflow: hidden; }
.ph-progress span { display: block; height: 100%; width: 100%; background: var(--lms-line); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.ph-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ph-product { font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.ph-code { position: relative; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.ph-code .bars { width: 64px; height: 18px; flex: none; background: repeating-linear-gradient(90deg, #0F1B2E 0 2px, transparent 2px 3px, #0F1B2E 3px 4px, transparent 4px 6px, #0F1B2E 6px 9px, transparent 9px 10px); opacity: 0.8; position: relative; overflow: hidden; }
.ph-code .beam { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #E5484D; box-shadow: 0 0 8px 2px rgba(229, 72, 77, 0.6); opacity: 0; }
html.anim .scanning .beam { opacity: 1; animation: beam .7s ease-in-out 2 alternate; }
@keyframes beam { from { transform: translateX(0); } to { transform: translateX(62px); } }
.ph-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-field { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; transition: border-color .2s, box-shadow .2s; }
.ph-field.active { border-color: var(--navy-600); box-shadow: inset 0 0 0 1px var(--navy-600); }
.ph-field small { display: block; font-size: 11px; color: var(--muted); }
.ph-field b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-block; min-width: 1ch; }
.ph-field i { font-style: normal; font-size: 11.5px; color: var(--muted); margin-left: 4px; }
.ph-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.ph-pad span { display: flex; align-items: center; justify-content: center; height: 32px; border-radius: 8px; background: var(--page); font-weight: 500; font-size: 14px; transition: background-color .15s, transform .15s; }
.ph-pad span.hit { background: var(--ice); transform: scale(0.94); }
.ph-next { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 10px; background: var(--navy-800); color: var(--white); font-weight: 600; transition: transform .15s, background-color .15s; }
.ph-next.hit { transform: scale(0.97); background: var(--navy-600); }
.ph-sync { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--green); }
.ph-sync::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.float-card { position: absolute; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.96); color: var(--ink); font-size: 12.5px; line-height: 1.4;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); }
.float-card b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--navy-800); }
.stage-count .fc1 { left: 6%; top: 16%; }
.stage-count .fc2 { right: 6%; bottom: 18%; }
html.anim .float-card { animation: bob 6s ease-in-out infinite; }
html.anim .float-card.fc2 { animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 520px) { .stage-count .float-card { display: none; } }

/* 2. suggestion grid */
.grid-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.grid-head .calc { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--navy-600); font-weight: 500; }
.use-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--navy-800); color: var(--white); font-size: 12.5px; font-weight: 600; transition: transform .15s, background-color .2s; }
.use-btn.hit { transform: scale(0.95); background: var(--navy-600); }
.sheet { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.sheet th { font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sheet th:first-child, .sheet td:first-child { text-align: left; }
.sheet td { padding: 8px; border-bottom: 1px solid #EEF1F5; text-align: right; white-space: nowrap; transition: background-color .3s; }
.sheet td:first-child { white-space: normal; }
.sheet td small { display: block; font-size: 11px; color: var(--muted); }
.sheet tr.scan td { background: #F1F6FC; }
.sheet .order { width: 64px; }
.sheet .order span { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 46px; height: 28px; padding: 0 8px; border-radius: 7px; border: 1px solid #CFD9E6; font-weight: 600; color: var(--navy-800); background: var(--white); transition: color .3s, background-color .3s, border-color .3s, transform .3s var(--ease); }
.sheet .order span.ghost { color: #9AA6B6; font-weight: 500; border-style: dashed; }
.sheet .order span.set { background: var(--ice); border-color: #9DB6D3; }
.sheet .order span.pop { transform: scale(1.12); }
/* owner 1 Dec ("add contour here ... in the grid"): เทรนด์ on, as on the real sheet: every month's box shaded by its move
   from the month before (four steps each way, the app's own colours), a small arrow; สั่ง against the last month */
.trend-sw { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--navy-800); }
.trend-sw i { position: relative; width: 28px; height: 16px; border-radius: 999px; background: var(--navy-800); }
.trend-sw i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); }
.sheet.trend th.m, .sheet.trend td.m { border-left: 1px solid #EEF1F5; }
.sheet.trend td.m .arr { font-size: 0.62em; vertical-align: 0.2em; margin-left: 1px; }
.sheet.trend td.up1 { background-color: #F0F7F2; } .sheet.trend td.up2 { background-color: #DDEEE2; }
.sheet.trend td.up3 { background-color: #C4E1CD; } .sheet.trend td.up4 { background-color: #A6D0B3; }
.sheet.trend td.dn1 { background-color: #FBF1F0; } .sheet.trend td.dn2 { background-color: #F4DFDC; }
.sheet.trend td.dn3 { background-color: #EAC7C2; } .sheet.trend td.dn4 { background-color: #DDADA6; }
.sheet.trend td.same { background-color: #F3F4F6; }
.sheet.trend td[class*="up"], .sheet.trend .order[class*="up"] span.set { color: #1F4A2E; }
.sheet.trend td[class*="dn"], .sheet.trend .order[class*="dn"] span.set { color: #6E2820; }
.sheet.trend .order[class*="up"] span.set, .sheet.trend .order[class*="dn"] span.set, .sheet.trend .order.same span.set {
  background: transparent; border-color: rgba(16, 29, 48, .16); }      /* the cell has the colour; the box is clear, as in the app */
.sheet.trend td.up3, .sheet.trend td.up4, .sheet.trend td.dn3, .sheet.trend td.dn4 { font-weight: 600; }
@media (max-width: 520px) { .sheet.trend th.m:nth-of-type(4), .sheet.trend tr td.m:nth-child(4) { display: none; } }
.sheet .order span.none { color: var(--muted); font-weight: 500; border-color: transparent; background: transparent; }
.formula { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--page); font-size: 12.5px; color: var(--slate); line-height: 1.6; }
.formula b { color: var(--navy-800); font-weight: 600; }

/* thinking dots */
.think { display: inline-flex; gap: 3px; }
.think i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.35; }
html.anim .busy .think i { animation: think 1s ease-in-out infinite; }
html.anim .busy .think i:nth-child(2) { animation-delay: .15s; }
html.anim .busy .think i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 50% { opacity: 1; transform: translateY(-3px); } }
.idle .think { display: none; }

/* 3. paper card -> AI rows */
.scan-wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: center; max-width: 640px; }
.card-paper { position: relative; border-radius: 6px; padding: 12px 12px 14px; background: #FBF6EA; color: #2B2A33; transform: rotate(-2.5deg);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7); overflow: hidden; font-size: 11px; }
.card-paper h4 { font-size: 11.5px; font-weight: 600; border-bottom: 1px solid #CBBFA6; padding-bottom: 4px; margin-bottom: 4px; }
.card-paper table { width: 100%; border-collapse: collapse; }
.card-paper td, .card-paper th { border-bottom: 1px solid #DED3BC; padding: 3px 2px; text-align: left; font-weight: 400; }
.card-paper th { font-size: 10px; color: #6A604E; }
.hand { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; color: #1D3C8F; font-size: 12.5px; }
.hand s { color: #7B6F5B; }
.card-paper .beam { position: absolute; left: -10%; right: -10%; top: 0; height: 46px; background: linear-gradient(180deg, rgba(110, 170, 255, 0), rgba(110, 170, 255, 0.35) 70%, rgba(140, 200, 255, 0.9)); opacity: 0; }
html.anim .card-paper.scanning .beam { opacity: 1; animation: sweep 1.8s var(--ease) 1; }
@keyframes sweep { from { transform: translateY(-50px); } to { transform: translateY(240px); } }
.read { border-radius: 12px; background: var(--white); color: var(--ink); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6); font-size: 12.5px; }
.read-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--navy-800); color: var(--white); font-size: 12.5px; font-weight: 500; }
.read-top .think i { background: var(--blue-soft); }
.read-steps { list-style: none; margin: 0; padding: 8px 12px; display: grid; gap: 2px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.read-steps li { display: flex; gap: 8px; align-items: baseline; transition: color .3s; }
.read-steps li b { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--page); color: var(--muted); font-size: 10px; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s; }
.read-steps li.on { color: var(--ink); }
.read-steps li.on b { background: var(--navy-800); color: var(--white); }
.rows { list-style: none; margin: 0; padding: 6px 12px 10px; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #EEF1F5; font-variant-numeric: tabular-nums;
  transition: opacity .4s var(--ease), transform .4s var(--ease); }
.rows li.hide { opacity: 0; transform: translateX(10px); }
.rows .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .flag { grid-column: 1 / -1; font-size: 11px; color: var(--amber); font-weight: 500; margin-top: -2px; }
.rows .fix { grid-column: 1 / -1; font-size: 11px; color: var(--muted); margin-top: -2px; }
.rows .ok { width: 16px; height: 16px; border-radius: 50%; background: #E3F3EB; position: relative; }
.rows .ok::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rows .warn { width: 16px; height: 16px; border-radius: 50%; background: #FBEFD9; position: relative; }
.rows .warn::after { content: "!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--amber); }
@media (max-width: 560px) { .scan-wrap { grid-template-columns: 1fr; } .card-paper { max-width: 300px; margin: 0 auto; } }

/* 4. approval -> P/O */
.approve-wrap { position: relative; width: 100%; max-width: 520px; padding-bottom: 112px; }
.order-lines { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #EEF1F5; }
.order-lines li span:last-child { font-weight: 600; }
.comment { display: flex; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--page); font-size: 12.5px; }
.comment .av { width: 26px; height: 26px; border-radius: 50%; background: var(--copper); color: var(--white); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.comment small { display: block; color: var(--muted); font-size: 11px; }
.approve-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.approve-row .ver { font-size: 12px; color: var(--muted); }
.approve-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 9px; background: var(--navy-800); color: var(--white); font-weight: 600; font-size: 13.5px; overflow: hidden; transition: background-color .3s, transform .15s; }
.approve-btn.hit { transform: scale(0.95); }
.approve-btn.done { background: var(--green); }
.approve-btn .t-done, .approve-btn.done .t-wait { display: none; }
.approve-btn.done .t-done { display: inline; }
.ripple { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); opacity: 0; }
html.anim .approve-btn.hit .ripple { animation: ripple .6s ease-out; }
@keyframes ripple { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(18); } }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 3; opacity: 0; pointer-events: none; transition: transform 1s var(--ease), opacity .3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }
.po { position: absolute; right: -6px; bottom: -6px; width: min(300px, 78%); border-radius: 12px; background: var(--white); color: var(--ink); padding: 12px 14px; z-index: 2;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(19, 41, 75, 0.08); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.po.hide { opacity: 0; transform: translateY(30px) scale(0.96); }
.po-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.po-top b { font-size: 14px; }
.stamp { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--green); border: 2px solid var(--green); border-radius: 6px; padding: 1px 6px; transform: rotate(-6deg); }
.po p { margin-top: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.po .sent { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 500; }
.po .sent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* more features */
.more { list-style: none; margin: clamp(64px, 8vw, 104px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.more li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .3s, transform .3s var(--ease); }
.more li:hover { border-color: #B9CAE0; }
.more li::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(75, 125, 182, 0.12), transparent 60%); }
.more li:hover::after { opacity: 1; }
.more .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--ice); color: var(--navy-800); display: flex; align-items: center; justify-content: center; }
.more .ic svg { width: 20px; height: 20px; }
.more h4 { margin-top: 16px; font-size: 18px; }
.more p { margin-top: 6px; color: var(--slate); font-size: 15.5px; }
@media (max-width: 960px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .more { grid-template-columns: 1fr; } }

/* how it works: five steps along the LMS line */
.steps { position: relative; margin-top: 64px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps-line { position: absolute; left: 20px; right: 20px; top: 19px; height: 4px; border-radius: 4px; background: #DCE2EB; overflow: hidden; }
.steps-line span { position: absolute; inset: 0; background: var(--lms-line); transform-origin: 0 50%; }
html.anim .steps.rv .steps-line span { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
html.anim .steps.rv.in .steps-line span { transform: none; }
.steps li { position: relative; }
.steps .n { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy-800);
  color: var(--navy-800); font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .4s, color .4s; transition-delay: var(--d, 0s); }
.section.alt .steps .n { background: var(--page); }
.section .steps.in .n, html:not(.anim) .section .steps .n { background: var(--navy-800); color: var(--white); }
.steps h3 { margin-top: 20px; font-size: 19px; }
.steps .role { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--navy-600); background: var(--ice); padding: 2px 8px; border-radius: 6px; }
.steps p { margin-top: 8px; color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) {
  .steps ol { grid-template-columns: 1fr; gap: 0; }
  .steps-line { left: 19px; right: auto; top: 20px; bottom: 60px; width: 4px; height: auto; }
  .steps-line span { background: linear-gradient(180deg, #174E8C 0%, #4B7DB6 25%, #8EAFD2 42%, #B7BBC2 56%, #C9A28C 72%, #D08F67 100%); transform-origin: 50% 0; }
  html.anim .steps.rv .steps-line span { transform: scaleY(0); }
  .steps li { padding: 0 0 32px 66px; }
  .steps .n { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 6px; }
}

/* security: lanes that never cross */
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; margin-top: 56px; }
.lanes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; height: 360px; padding: 16px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); }
.lane { position: relative; border-radius: 12px; background: rgba(7, 15, 31, 0.5); border: 1px solid rgba(142, 175, 210, 0.18); overflow: hidden; }
.lane header { position: relative; z-index: 1; padding: 10px; font-size: 12.5px; font-weight: 600; color: var(--ice); text-align: center; background: rgba(19, 41, 75, 0.9); border-bottom: 1px solid rgba(142, 175, 210, 0.2); }
.lane .blocks { position: absolute; left: 10px; right: 10px; top: 48px; display: grid; gap: 8px; }
.lane .blocks i { display: block; height: 22px; border-radius: 6px; background: rgba(142, 175, 210, 0.22); }
.lane:nth-child(2) .blocks i { background: rgba(201, 162, 140, 0.26); }
.lane:nth-child(3) .blocks i { background: rgba(127, 209, 168, 0.22); }
html.anim .lanes.playing .blocks { animation: lane 6s linear infinite; }
html.anim .lanes.playing .lane:nth-child(2) .blocks { animation-duration: 7.5s; }
html.anim .lanes.playing .lane:nth-child(3) .blocks { animation-duration: 5.2s; }
@keyframes lane { from { transform: translateY(0); } to { transform: translateY(-120px); } }
.lanes .lock { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--white); color: var(--navy-800); font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6); }
.lanes .lock svg { width: 14px; height: 14px; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sec-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.sec-list li:first-child { border-top: 0; }
.sec-list .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(142, 175, 210, 0.12); color: var(--ice); display: flex; align-items: center; justify-content: center; }
.sec-list .ic svg { width: 20px; height: 20px; }
.sec-list h3 { font-size: 17.5px; }
.sec-list p { margin-top: 4px; font-size: 15.5px; color: rgba(255, 255, 255, 0.74); }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; } .lanes { height: 300px; } }

/* LMS Operations */
.ops-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: 8px; }
.ops-flow { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) 44px minmax(0, 1.2fr); align-items: center; gap: 6px; }
.bill { position: relative; border-radius: 6px; background: #FFFFFF; color: #2B2A33; padding: 12px; font-size: 10.5px; line-height: 1.6; box-shadow: 0 24px 40px -22px rgba(19, 41, 75, 0.55); overflow: hidden; }
.bill h4 { font-size: 11.5px; text-align: center; border-bottom: 1px dashed #B9C2CF; padding-bottom: 4px; margin-bottom: 4px; }
.bill .ln { display: flex; justify-content: space-between; gap: 6px; }
.bill .ln.total { border-top: 1px dashed #B9C2CF; margin-top: 4px; padding-top: 4px; font-weight: 600; }
.bill .beam { position: absolute; left: 0; right: 0; top: 0; height: 30px; background: linear-gradient(180deg, rgba(75, 125, 182, 0), rgba(75, 125, 182, 0.3)); opacity: 0; }
html.anim .bill.scanning .beam { opacity: 1; animation: sweep2 1.4s var(--ease) 1; }
@keyframes sweep2 { from { transform: translateY(-30px); } to { transform: translateY(200px); } }
.ops-arrow { width: 44px; height: 24px; overflow: visible; }
.ops-arrow path { fill: none; stroke: url(#lmsgrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 6; }
html.anim .ops-flow.playing .ops-arrow path { animation: dash 0.8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }
.xl { border-radius: 10px; background: var(--white); overflow: hidden; box-shadow: 0 24px 40px -22px rgba(19, 41, 75, 0.55); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.xl-top { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: #1F6E43; color: var(--white); font-weight: 600; font-size: 12px; }
.xl-top .think i { background: #CFEBDD; }
.xl table { width: 100%; border-collapse: collapse; }
.xl th, .xl td { border: 1px solid #E4E8EE; padding: 4px 6px; text-align: left; white-space: nowrap; }
.xl th { background: #F3F5F8; color: var(--muted); font-weight: 600; font-size: 10.5px; }
.xl td.r { text-align: right; }
.xl tr.hide td { opacity: 0; }
.xl tr td { transition: opacity .4s; }
.xl tr.fresh td { background: #EAF6EF; }
.deal { margin-top: 26px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--page); }
.deal h3 { font-size: 18px; }
.deal p { margin-top: 6px; color: var(--slate); font-size: 15.5px; }
.deal .btn { margin-top: 16px; }
@media (max-width: 900px) { .ops-panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ops-flow { grid-template-columns: 1fr; } .ops-arrow { transform: rotate(90deg); margin: 0 auto; } }

/* FAQ */
.faq { max-width: 860px; margin: 48px auto 0; display: grid; gap: 10px; }
.faq details { border-radius: 12px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: #B9CAE0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--navy-600); border-bottom: 2px solid var(--navy-600); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .a { padding: 0 20px 20px; color: var(--slate); font-size: 16px; }
.faq .a p + p { margin-top: 10px; }

/* about + contact */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.about .body p { color: var(--slate); font-size: 17.5px; }
.about .body p + p { margin-top: 16px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
.cta { position: relative; border-radius: 26px; padding: clamp(36px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px 56px; align-items: center; }
.cta h2 { font-size: clamp(30px, 3.8vw, 46px); }
.cta .lede { margin-top: 16px; color: rgba(255, 255, 255, 0.8); font-size: 18px; max-width: 32em; }
.cta .choices { display: grid; gap: 12px; }
.cta .choices .btn { width: 100%; justify-content: space-between; }
.cta .mail { display: block; margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.cta .mail a { color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.cta .ring { position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(142, 175, 210, 0.2); z-index: -1; }
.cta .ring + .ring { right: -80px; top: -80px; width: 360px; height: 360px; }
html.anim .cta.in .ring { animation: spin 40s linear infinite; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); font-size: 14.5px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr)); gap: 32px; padding-top: 56px; padding-bottom: 28px; }
.site-footer .brand { color: var(--white); }
.site-footer .tagline { margin-top: 14px; max-width: 26em; }
.site-footer h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.5); margin-bottom: 10px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.foot-links a:hover { color: var(--white); text-decoration: underline; }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.foot-base button { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, 0.82); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html.reduced .foot-base button { display: none; }
.foot-base .when-still, html.still .foot-base .when-anim { display: none; }
html.still .foot-base .when-still { display: inline; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- log in chooser + 404 ---------- */
.page-dark { min-height: calc(100svh - 68px); display: flex; align-items: center; }
.page-dark .wrap { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-dark h1 { font-size: clamp(32px, 4vw, 48px); }
.page-dark .lede { margin-top: 12px; color: rgba(255, 255, 255, 0.78); font-size: 18px; max-width: 34em; }
.choices-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.choice { position: relative; display: flex; flex-direction: column; border-radius: 18px; padding: 30px; overflow: hidden; isolation: isolate; }
.choice::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--lms-line); }
.choice.light { background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.choice.glass { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16); }
.choice h2 { font-size: 26px; }
.choice.light h2 { color: var(--ink); }
.choice .who { margin-top: 4px; font-size: 15px; color: var(--muted); }
.choice.glass .who { color: var(--blue-soft); }
.choice .desc { margin-top: 16px; font-size: 16.5px; color: var(--slate); }
.choice.glass .desc { color: rgba(255, 255, 255, 0.8); }
.choice .spacer { flex: 1; min-height: 28px; }
.choice .small { margin-top: 12px; font-size: 14px; color: var(--muted); }
.choice.glass .small { color: rgba(255, 255, 255, 0.66); }
.choice.glass .small a { color: var(--white); overflow-wrap: anywhere; }
@media (max-width: 760px) { .choices-2 { grid-template-columns: 1fr; } .choice { padding: 26px 22px; } }
.nf-code { font-size: clamp(80px, 14vw, 160px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.page-dark .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* reduced motion: nothing moves on its own; colour changes stay */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }

/* behind the translucent header there is always navy; each section paints its own background */
body { background: var(--navy-900); }
main { background: var(--white); }
.section { background: var(--white); }
.section.alt { background: var(--page); }
.section.dark { background: var(--navy-900); background-image: var(--dark-bg); }
@media (max-width: 430px) { html[lang="en"] .site-header .brand-name { display: none; } }
@media (max-width: 520px) {
  .stage { padding: 14px 12px 34px; min-height: 0; border-radius: 18px; }
  .win-body { padding: 10px; }
  .sheet th, .sheet td { padding: 6px 4px; }
  .sheet .order span { min-width: 38px; padding: 0 6px; }
}

/* =====================================================================================================================
   30 Nov (owner: "take inspiration from Vercel for the vibes, keep the layout"). One layer over the rules above:
   black, white and hairlines; the LMS gradient as the only colour, used as light (a prism glow), not as paint;
   pill buttons; mono labels; the page drawn on a grid with guide lines and + marks. Product pictures keep the app's
   navy, because they show the app. English headings are set tight; Thai keeps its normal spacing.
   ===================================================================================================================== */
:root {
  --black: #0A1730;   /* 30 Nov (owner): the main colour dark blue, not black */
  --surface: #0F1F3D;
  --hair: rgba(255, 255, 255, 0.1);
  --hair-2: rgba(255, 255, 255, 0.16);
  --line: #EBEBEB;
  --line-2: #DADADA;
  --page: #FAFAFA;
  --ink: #0F1B2E;
  --slate: #4D4D4D;
  --muted: #6F6F6F;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "IBM Plex Sans Thai", "Noto Sans Thai", monospace;
  --prism: conic-gradient(from 200deg at 50% 50%, #174E8C, #4B7DB6, #8EAFD2, #DCE8F5, #C9A28C, #D08F67, #174E8C);
  --dark-bg: radial-gradient(900px 480px at 50% -12%, rgba(75, 125, 182, 0.22), rgba(75, 125, 182, 0) 70%), linear-gradient(180deg, #0A1730 0%, #0D1D3A 100%);
}
body { background: var(--black); color: var(--ink); }
a { color: var(--ink); }
a:hover { color: #0A1730; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.04em; }
html[lang="en"] h3, html[lang="en"] h4 { letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid #4B7DB6; outline-offset: 2px; }

/* header: black glass, one hairline */
.site-header { background: rgba(10, 23, 48, 0.88); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(10, 23, 48, 0.68); } }
.site-header::after { background: var(--hair); }
.site-header .bar { height: 64px; }
.nav a { color: #A1A1A1; font-size: 14.5px; border-radius: 999px; padding: 6px 12px; }
.nav a:hover { color: #FFF; background: rgba(255, 255, 255, 0.06); }
.lang { border-color: var(--hair-2); border-radius: 999px; }
.lang button { min-height: 30px; font-family: var(--mono); font-size: 12px; color: #A1A1A1; }
.lang button[aria-pressed="true"] { background: #FFF; color: #0A1730; border-radius: 999px; }
.btn-login { min-height: 34px; padding: 0 14px; border-radius: 999px; border-color: var(--hair-2); font-size: 14px; }
.btn-login:hover { background: rgba(255, 255, 255, 0.06); }
.btn-login[aria-current="page"] { border-color: #FFF; }
.btn-demo { min-height: 34px; padding: 0 16px; border-radius: 999px; background: #FFF; color: #0A1730; font-size: 14px; }
.btn-demo:hover { background: #E6E6E6; color: #0A1730; }
.menu-btn { border-radius: 999px; border-color: var(--hair-2); height: 34px; width: 38px; }
@media (max-width: 1080px) { .mobile-nav { background: var(--black); border-bottom-color: var(--hair); } .mobile-nav .mobile-login { color: #FFF; } }

/* buttons: pills, flat, no halo */
.btn { min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15.5px; font-weight: 500; }
.btn-primary { background: #13294B; color: #FFF; }
.btn-primary:hover { background: #1E3A5F; color: #FFF; }
.btn-light { background: #FFF; color: #0A1730; }
.btn-light:hover { background: #E6E6E6; color: #0A1730; }
.btn-ghost { background: rgba(10, 23, 48, 0.4); color: #EDEDED; border-color: var(--hair-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #FFF; border-color: rgba(255, 255, 255, 0.28); }
.btn-outline { background: #FFF; color: #13294B; border-color: var(--line-2); }
.btn-outline:hover { background: var(--page); color: #0A1730; border-color: #BDBDBD; }
.btn-glow::before { display: none; }

/* dark surfaces: black, a glow from above, a fading grid */
.dark, .section.dark { background: var(--black); background-image: var(--dark-bg); }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top; opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 100%); }
.glow { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)); }

/* hero: the network and the blobs give way to the grid and one prism of light behind the round */
.dark .mesh, .dark #net { display: none; }
.hero::after, .page-dark::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 720px; height: 720px; right: max(-160px, calc(50% - 760px)); top: -220px;
  border-radius: 50%; background: var(--prism); filter: blur(110px); opacity: 0.32; transform: rotate(0deg); }
html.anim .hero::after, html.anim .page-dark::after { animation: prism 24s linear infinite; }
@keyframes prism { to { transform: rotate(360deg); } }
.hero .wrap { border-left: 1px solid var(--hair); border-right: 1px solid var(--hair); }
.eyebrow { font-family: var(--mono); font-size: 12.5px; color: #A1A1A1; border-color: var(--hair-2); background: rgba(10, 23, 48, 0.55); padding: 5px 12px 5px 10px; }
.hero h1 { font-weight: 600; }
html[lang="en"] .hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.05em; }
.grad { background: linear-gradient(92deg, #FFFFFF 0%, #DCE8F5 30%, #8EAFD2 55%, #D99A72 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lede { color: #A1A1A1; }
.console { background: rgba(15, 31, 61, 0.85); border-color: var(--hair); border-radius: 12px; font-family: var(--mono); font-size: 13.5px; color: #EDEDED; }
.console .tag { color: #0A1730; background: #FFF; border-radius: 6px; letter-spacing: 0.02em; }
.caret { background: #FFF; }
.hero .facts-line { font-family: var(--mono); font-size: 12.5px; color: #8F8F8F; }
.hero .facts-line li::before { width: 5px; height: 5px; border-radius: 50%; transform: none; background: #8F8F8F; }
.motion-toggle { background: rgba(10, 23, 48, 0.68); border-color: var(--hair-2); font-family: var(--mono); font-size: 12px; color: #A1A1A1; }
.flow { background: rgba(15, 31, 61, 0.72); border-color: var(--hair-2); border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(10, 23, 48, 0.68), 0 30px 80px -30px rgba(0, 0, 0, 0.9); }
@supports (backdrop-filter: blur(1px)) { .flow { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); } }
.flow-head { font-family: var(--mono); font-size: 12px; color: #8F8F8F; }
.flow-head b { font-family: var(--font); }
.flow-steps li { border-radius: 10px; background: rgba(255, 255, 255, 0.025); border-color: var(--hair); }
.flow-steps li.on { background: rgba(255, 255, 255, 0.05); border-color: var(--hair-2); }
.flow-steps li::before { background: var(--black); }
.flow-steps .who { font-family: var(--mono); font-size: 11.5px; color: #8F8F8F; }
.flow-steps .val { font-family: var(--mono); font-size: 14px; color: #EDEDED; }
.flow-foot { font-size: 12.5px; color: #707070; }

/* the facts strip: a row of cells split by hairlines */
.facts { background: var(--black); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.facts ul { padding: 0; gap: 0; border-left: 1px solid var(--hair); }
.facts li { padding: 28px 24px; border-left: 0; border-right: 1px solid var(--hair); }
.facts b { font-family: var(--mono); font-weight: 500; letter-spacing: -0.03em; }
.facts span { color: #8F8F8F; font-size: 14px; }
@media (max-width: 860px) { .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--hair); } }

/* light sections: white, hairline rules, guide lines down the page with + marks where they meet */
.section, .section.alt { background: #FFF; }
.section.alt { background: var(--page); }
.section:not(.dark) { border-top: 1px solid var(--line); }
.section:not(.dark) > .wrap { position: relative; }
@media (min-width: 761px) {
  .section:not(.dark) > .wrap::before { content: ""; position: absolute; top: calc(-1 * clamp(72px, 9vw, 128px)); bottom: calc(-1 * clamp(72px, 9vw, 128px));
    left: 0; right: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); pointer-events: none; }
  #contact.section > .wrap::before { top: 0; }
  .section:not(.dark) > .wrap::after { content: ""; position: absolute; left: -6px; right: -6px; top: calc(-1 * clamp(72px, 9vw, 128px) - 6px); height: 11px; pointer-events: none;
    background:
      linear-gradient(#9A9A9A, #9A9A9A) 5px 0 / 1px 11px no-repeat, linear-gradient(#9A9A9A, #9A9A9A) 0 5px / 11px 1px no-repeat,
      linear-gradient(#9A9A9A, #9A9A9A) calc(100% - 5px) 0 / 1px 11px no-repeat, linear-gradient(#9A9A9A, #9A9A9A) 100% 5px / 11px 1px no-repeat; }
  #contact.section > .wrap::after { display: none; }
}
.kicker { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
html[lang="en"] .kicker { text-transform: uppercase; }
.kicker::before { width: 8px; height: 8px; border-radius: 2px; background: var(--lms-line); }
.dark .kicker { color: #8F8F8F; }
.head .lede { color: var(--muted); }
.dark .head .lede { color: #A1A1A1; }

/* cards: hairline, flat, a lighter line on hover */
.pair .old, .pair .new { border-radius: 12px; }
.pair .old { background: transparent; border-color: var(--line-2); }
.pair .new { border-color: var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 8px 24px -16px rgba(0, 0, 0, 0.12); }
.pair small, .feature .num, .steps .role { font-family: var(--mono); }
.pair .new small { color: var(--ink); }
.feature .num { width: auto; height: 26px; padding: 0 10px; border-radius: 999px; background: transparent; color: var(--ink); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; }
.feature .copy > p { color: var(--muted); }
.ticks li::before { border-radius: 50%; background: #13294B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ai-chip { font-family: var(--mono); font-size: 12.5px; color: var(--ink); background: #FFF; border-color: var(--line-2); }
.stage { border-radius: 16px; background: var(--black); background-image: radial-gradient(600px 300px at 50% 0%, rgba(75, 125, 182, 0.18), transparent 70%);
  box-shadow: none; border: 1px solid #22375A; }
.stage::before { opacity: 1; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px); background-size: 18px 18px; }
.stage .caption { font-family: var(--mono); font-size: 11.5px; color: #707070; }
.win { border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -24px rgba(0, 0, 0, 0.8); }
.float-card { border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 20px 40px -18px rgba(0, 0, 0, 0.7); }
.more { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.more li { border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #FFF; padding: 28px; }
.more li:hover { border-color: var(--line); background: var(--page); }
.more li::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 0, 0, 0.035), transparent 60%); }
.more .ic { border-radius: 10px; background: #FFF; border: 1px solid var(--line-2); color: var(--ink); }
.more p { color: var(--muted); }
.steps-line { background: var(--line); height: 2px; top: 20px; }
.steps .n { border: 1px solid var(--line-2); color: var(--ink); background: #FFF; font-family: var(--mono); font-weight: 500; }
.section.alt .steps .n { background: var(--page); }
.section .steps.in .n, html:not(.anim) .section .steps .n { background: #13294B; color: #FFF; border-color: #13294B; }
.steps .role { color: var(--ink); background: #FFF; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; font-size: 11.5px; }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .steps-line { width: 2px; left: 20px; } }
.lanes { border-color: var(--hair); background: rgba(255, 255, 255, 0.02); border-radius: 16px; }
.lane { background: #13294B; border-color: var(--hair); border-radius: 10px; }
.lane header { background: #13294B; border-bottom-color: var(--hair); font-family: var(--mono); font-size: 12px; color: #EDEDED; }
.lanes .lock { background: #FFF; color: #0A1730; font-family: var(--mono); font-size: 12px; }
.sec-list li { border-top-color: var(--hair); }
.sec-list .ic { background: #13294B; border: 1px solid var(--hair-2); color: #EDEDED; border-radius: 10px; }
.sec-list p { color: #A1A1A1; }
.deal { border-radius: 12px; background: #FFF; border-color: var(--line); }
.deal p { color: var(--muted); }
.faq { gap: 0; border-top: 1px solid var(--line); }
.faq details { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq details[open] { border-color: var(--line); }
.faq summary { padding: 20px 4px; font-weight: 500; }
.faq summary::after { border-color: var(--muted); width: 9px; height: 9px; border-width: 0 1.5px 1.5px 0; }
.faq .a { padding: 0 4px 22px; color: var(--muted); }
.about .body p { color: var(--muted); }
.cta { border-radius: 16px; border: 1px solid #22375A; }
.cta::after { content: ""; position: absolute; z-index: -1; right: -180px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%;
  background: var(--prism); filter: blur(100px); opacity: 0.3; pointer-events: none; }
.cta .ring { border-color: var(--hair); }
.cta .lede { color: #A1A1A1; }
.cta .mail { color: #8F8F8F; font-family: var(--mono); font-size: 13px; }

/* footer: black, mono headings */
.site-footer { background: var(--black); color: #8F8F8F; border-top: 1px solid var(--hair); }
.site-footer h2 { font-family: var(--mono); font-weight: 500; font-size: 12px; color: #EDEDED; letter-spacing: 0.04em; }
html[lang="en"] .site-footer h2 { text-transform: uppercase; }
.foot-links a { color: #8F8F8F; }
.foot-links a:hover { color: #FFF; text-decoration: none; }
.foot-base { border-top-color: var(--hair); color: #707070; font-family: var(--mono); font-size: 12.5px; }

/* log-in chooser and 404 */
.page-dark .lede { color: #A1A1A1; }
.choice { border-radius: 16px; }
.choice::before { height: 1px; }
.choice.light { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px -40px rgba(0, 0, 0, 0.9); }
.choice.light .desc { color: var(--muted); }
.choice.glass { background: rgba(15, 31, 61, 0.72); border-color: var(--hair-2); }
.choice.glass .who { color: #A1A1A1; font-family: var(--mono); font-size: 13px; }
.choice .who { font-family: var(--mono); font-size: 13px; }
.nf-code { font-family: var(--mono); font-weight: 500; letter-spacing: -0.06em; background: linear-gradient(180deg, #FFF 30%, #5A5A5A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-dark { position: relative; isolation: isolate; overflow: hidden; }
.page-dark::after { right: auto; left: 50%; margin-left: -360px; top: -420px; opacity: 0.26; }

/* 30 Nov (owner: "the phone on the operations part too"): LMS Operations' bill is snapped on a phone, then read into
   Excel. The same phone as the counting picture, smaller; its screen is a camera with the bill in it. */
.phone-sm { width: 176px; aspect-ratio: 176 / 360; border-radius: 32px; padding: 8px; justify-self: center; }
.phone-sm .phone-screen { border-radius: 25px; background: #13294B; }
.phone-sm .ph-top { padding: 16px 12px 9px; }
.phone-sm .ph-top .row { font-size: 10px; }
.phone-sm .ph-top .title { font-size: 12.5px; }
.cam { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 14px 12px; overflow: hidden;
  background: radial-gradient(120px 160px at 50% 45%, #2A2A2A, #13294B); }
.cam-corners { position: absolute; inset: 9px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(#FFF, #FFF) 0 0 / 14px 2px no-repeat, linear-gradient(#FFF, #FFF) 0 0 / 2px 14px no-repeat,
    linear-gradient(#FFF, #FFF) 100% 0 / 14px 2px no-repeat, linear-gradient(#FFF, #FFF) 100% 0 / 2px 14px no-repeat,
    linear-gradient(#FFF, #FFF) 0 100% / 14px 2px no-repeat, linear-gradient(#FFF, #FFF) 0 100% / 2px 14px no-repeat,
    linear-gradient(#FFF, #FFF) 100% 100% / 14px 2px no-repeat, linear-gradient(#FFF, #FFF) 100% 100% / 2px 14px no-repeat;
  opacity: 0.85; }
.cam .bill { width: 100%; font-size: 8.5px; line-height: 1.55; padding: 8px; transform: rotate(-3deg); box-shadow: 0 14px 24px -12px rgba(0, 0, 0, 0.9); }
.cam .bill h4 { font-size: 9.5px; }
.cam-flash { position: absolute; inset: 0; z-index: 3; background: #FFF; opacity: 0; pointer-events: none; transition: opacity .35s ease-out; }
.cam-flash.on { opacity: 0.9; transition: none; }
.cam-foot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 70px; background: #13294B; }
.shutter { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 3px #13294B, 0 0 0 5px rgba(255, 255, 255, 0.85); transition: transform .15s; }
.shutter.hit { transform: scale(0.86); }
.cam-sent { font-size: 9.5px; line-height: 1.2; color: #8FDAB6; opacity: 0; transition: opacity .3s; }
.cam-sent.on { opacity: 1; }
.ops-flow { grid-template-columns: auto 30px minmax(0, 1fr); gap: 4px; }
.ops-flow .ops-arrow { width: 30px; }
.ops-flow .xl { font-size: 10.5px; }
.ops-flow .xl th, .ops-flow .xl td { padding: 4px 5px; }
@media (max-width: 480px) { .ops-flow { grid-template-columns: 1fr; } }
/* stacked whenever the picture's own box is narrow (a mid-size window too), not only on a phone */
.stage[data-scene="ops"] { container-type: inline-size; }
@container (max-width: 500px) {
  .ops-flow { grid-template-columns: 1fr; justify-items: center; max-width: 340px; margin: 0 auto; }
  .ops-flow .ops-arrow { transform: rotate(90deg); margin: 4px auto; }
  .ops-flow .xl { width: 100%; }
}

/* ---- 4 Dec (owner): the real screens, pricing, news ------------------------------------------------------------- */
.shots { margin-top: 40px; }
.shot-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.shot-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2, #DADADA); background: var(--white); color: var(--slate); font: inherit; font-size: 15px;
  cursor: pointer; transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease); }
.shot-tabs button b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--page); font-size: 12px; color: var(--navy-700); }
.shot-tabs button[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.shot-tabs button[aria-selected="true"] b { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(15, 27, 46, 0.35), 0 8px 24px -12px rgba(15, 27, 46, 0.18); background: var(--white); }
.shot figcaption { max-width: 720px; margin: 18px auto 0; text-align: center; color: var(--slate); font-size: 15.5px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 44px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 28px; border-radius: 18px; background: var(--white);
  color: var(--ink); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.5); }
.plan-name { font-size: 20px; font-weight: 600; color: var(--navy-800); }
.plan-for { color: var(--muted); font-size: 15px; }
.plan-price { margin-top: 8px; font-size: 16px; color: var(--slate); }
.plan-price b { font-size: 40px; line-height: 1.1; color: var(--ink); font-weight: 600; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; margin-right: 6px; }
.plan-free { padding: 10px 14px; border-radius: 10px; background: #EEF5F1; color: var(--green); font-size: 15px; }
.plan-list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 9px; flex: 1; }
.plan-list li { position: relative; padding-left: 26px; color: var(--slate); font-size: 15px; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plans-note { margin-top: 22px; text-align: center; color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.news-list { display: grid; gap: 16px; margin-top: 36px; max-width: 860px; }
.news-item { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  color: inherit; text-decoration: none; transition: border-color 140ms var(--ease), transform 140ms var(--ease); }
.news-item:hover { border-color: #C3D0E0; transform: translateY(-1px); }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); }
.news-tag { padding: 2px 10px; border-radius: 999px; background: var(--ice); color: var(--navy-700); font-weight: 600; font-size: 12.5px; }
.news-tag.article { background: #F6ECE5; color: var(--copper-deep); }
.news-item h2, .news-item h3 { margin: 8px 0 6px; font-size: 20px; color: var(--ink); }
.news-item p { color: var(--slate); font-size: 15.5px; }
.post { max-width: 760px; }
.post h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; margin: 14px 0 18px; color: var(--ink); }
.post .news-meta { margin-top: 6px; }
.post-body { margin-top: 28px; display: grid; gap: 16px; font-size: 17px; color: var(--slate); line-height: 1.75; }
.post-body h2 { margin-top: 18px; font-size: 22px; color: var(--ink); }
.post-body ul, .post-body ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.post-back { display: inline-flex; gap: 8px; align-items: center; color: var(--navy-600); font-weight: 600; text-decoration: none; }
.page-light { padding: clamp(110px, 12vw, 150px) 0 clamp(72px, 9vw, 110px); background: var(--page); min-height: 70vh; }
@media (max-width: 700px) { .shot-tabs button { font-size: 13.5px; padding: 8px 12px; } .plan-price b { font-size: 34px; } }

/* ---- 4 Dec (owner): the company home, two separate products ------------------------------------------------------ */
.co-hero { min-height: min(720px, calc(100svh - 68px)); }
.co-hero .wrap { display: block; text-align: center; max-width: 980px; }
.co-hero .eyebrow { margin: 0 auto; }
.co-hero h1 { font-size: clamp(38px, 6vw, 72px); }
.co-hero .lede { margin-left: auto; margin-right: auto; max-width: 40em; }
.co-hero .actions { justify-content: center; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin-top: 44px; }
.product-card { display: flex; flex-direction: column; gap: 12px; padding: 32px 30px 28px; border-radius: 20px; text-decoration: none;
  color: var(--ink); border: 1px solid var(--line); background: var(--white); position: relative; overflow: hidden;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease); }
.product-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--lms-line); }
.product-card.pc-ops::before { background: linear-gradient(90deg, #B8724A, #D08F67 60%, #E7C6B1); }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 28px 60px -32px rgba(15, 27, 46, 0.35); border-color: #C3D0E0; }
.product-card h3 { font-size: clamp(26px, 2.6vw, 32px); color: var(--navy-800); letter-spacing: -0.01em; }
.pc-kicker { font-size: 14px; font-weight: 600; color: var(--navy-600); }
.pc-ops .pc-kicker { color: var(--copper-deep); }
.pc-line { color: var(--slate); font-size: 16.5px; }
.product-card .plan-list { margin: 4px 0 6px; flex: 1; }
.pc-price { padding: 12px 14px; border-radius: 12px; background: var(--page); color: var(--slate); font-size: 15px; }
.pc-price b { color: var(--ink); }
.pc-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-700); }
.pc-go svg { width: 16px; height: 16px; transition: transform 160ms var(--ease); }
.product-card:hover .pc-go svg { transform: translateX(3px); }
.plans.one { grid-template-columns: minmax(0, 560px); justify-content: center; }
.center-lede { text-align: center; margin: 14px auto 0; max-width: 40em; }
.dark .center-lede { color: rgba(255, 255, 255, 0.78); }
.plan-light { border: 1px solid var(--line); box-shadow: 0 24px 60px -36px rgba(15, 27, 46, 0.3); }
#pricing:not(.dark) .plans-note { color: var(--muted); }
.ops-hero { padding-top: clamp(110px, 12vw, 150px); }
.ops-h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; }
.ops-hero .lede { margin-top: 18px; font-size: clamp(16.5px, 1.35vw, 18.5px); color: var(--slate); }
.ops-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ops-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin-top: 36px; }
.way { padding: 28px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.way h3 { font-size: 21px; color: var(--navy-800); margin-bottom: 14px; }
.way-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.way-steps li { counter-increment: s; position: relative; padding-left: 40px; color: var(--slate); font-size: 15.5px; }
.way-steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ice); color: var(--navy-700); font-size: 13px; font-weight: 600; }
.note-line { margin-top: 18px; color: var(--muted); font-size: 14px; }
.ticks-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 28px; }
.ticks-list li { position: relative; padding-left: 28px; color: var(--slate); font-size: 16px; }
.ticks-list li::before { content: ""; position: absolute; left: 3px; top: 0.45em; width: 12px; height: 7px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.data-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.data-grid li { padding: 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.data-grid h3 { font-size: 17.5px; color: var(--white); margin-bottom: 8px; }
.data-grid p { color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.data-grid.light li { background: var(--white); border-color: var(--line); }
.data-grid.light h3 { color: var(--navy-800); }
.data-grid.light p { color: var(--slate); }
.news-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.news-row .news-item h3 { font-size: 18px; }
.data-grid.light { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* operations: four steps instead of five; the square bill picture */
@media (min-width: 901px) { .steps.four ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
#how .shots + .ops-ways { margin-top: 56px; }
.shot-sq img { max-width: 720px; margin-inline: auto; }

/* ===== 4 Dec: time saved ===== */
.time-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 22px 0 4px; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(142, 175, 210, 0.1); border: 1px solid rgba(142, 175, 210, 0.28); font-size: 15px; }
.time-badge svg { width: 16px; height: 16px; color: #D08F67; }
.time-badge .tb-old { color: var(--muted, #8A96AB); text-decoration: line-through; text-decoration-color: rgba(208, 143, 103, 0.8); }
.time-badge .tb-new { font-weight: 600; font-size: 17px; background: linear-gradient(90deg, #174E8C, #4B7DB6 45%, #B8724A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.time-badge .tb-note { font-size: 13px; color: var(--muted, #8A96AB); }
.time-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .time-grid { grid-template-columns: 1fr; gap: 32px; } }
.time-viz { padding: 34px 34px 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.tv-big { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; color: #fff; }
.tv-num { font-size: clamp(72px, 9vw, 120px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #fff, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tv-unit { font-size: 26px; color: var(--blue-soft); }
.tv-row + .tv-row { margin-top: 20px; }
.tv-lab { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.72); margin-bottom: 8px; }
.tv-lab b { color: #fff; font-weight: 600; }
.tv-bar { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.tv-bar i { display: block; height: 100%; border-radius: 8px; transform-origin: 0 50%; }
.tv-bar.old i { width: 100%; background: linear-gradient(90deg, #6B4A33, #B8724A); }
.tv-bar.new i { width: 11%; background: var(--lms-line); box-shadow: 0 0 18px rgba(142, 175, 210, 0.6); }
.tv-foot { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
html.anim .time-viz .tv-bar i { transform: scaleX(0); transition: transform 1.4s var(--ease); }
html.anim .time-viz.go .tv-bar.old i { transform: none; }
html.anim .time-viz.go .tv-bar.new i { transform: none; transition-delay: 1.3s; transition-duration: .9s; }
.pc-stat { font-size: 15px; color: var(--navy-600); padding: 8px 12px; border-radius: 10px; background: #F6EEE8; align-self: flex-start; }
.pc-stat b { color: #9A5A35; font-weight: 600; }

/* ===== 4 Dec: page changes ===== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: .7s; }
::view-transition-old(root) { animation: vt-out .7s cubic-bezier(.7, 0, .3, 1) both; }
::view-transition-new(root) { animation: vt-in .9s cubic-bezier(.7, 0, .2, 1) both; mix-blend-mode: normal; }
@keyframes vt-out { to { transform: scale(.92) translateY(-2%); filter: blur(6px) brightness(.55); opacity: .4; } }
@keyframes vt-in { from { clip-path: circle(0% at var(--vx, 50%) var(--vy, 40%)); } to { clip-path: circle(150% at var(--vx, 50%) var(--vy, 40%)); } }
::view-transition-image-pair(root) { isolation: isolate; background: radial-gradient(circle at var(--vx, 50%) var(--vy, 40%), #1D3A66, #0B1730 70%); }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.fx-curtain { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: var(--lms-line); transform: scaleX(0); transform-origin: 0 50%; }
.fx-curtain::after { content: ""; position: absolute; inset: 0; background: rgba(11, 23, 48, 0.55); }
.fx-curtain.in { transform: scaleX(1); transition: transform .5s cubic-bezier(.7, 0, .3, 1); }
.fx-curtain.hold { transform: scaleX(1); transition: none; }
.fx-curtain.out { transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s cubic-bezier(.7, 0, .2, 1) .05s; }

/* ===== 4 Dec: on the page ===== */
.fx-word { display: inline-block; }
html.anim .fx-word { animation: word-in 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.15s + var(--i, 0) * .12s); }
@keyframes word-in { from { opacity: 0; transform: translateY(.55em) rotateX(-40deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.fx-lit { isolation: isolate; }
.fx-spot { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(110, 150, 210, 0.16), transparent 45%); z-index: -1; }
.dark .fx-spot, .section.dark .fx-spot { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(142, 175, 210, 0.18), transparent 45%); }
.fx-lit:hover > .fx-spot { opacity: 1; }
.shot.fx-lit > .fx-spot { display: none; }
html.anim .product-card, html.anim .plan, html.anim .shot { transition: transform .6s var(--ease), box-shadow .4s, border-color .4s; }
html.anim .fx-tilting { transform: perspective(1000px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-4px); transition: transform .15s ease-out, box-shadow .4s, border-color .4s; }
html.anim .shot.fx-tilting { transform: perspective(1600px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
html.anim .fx-mag { transform: translate(var(--bx, 0), var(--by, 0)); transition: transform .12s ease-out; }
html.anim .btn-primary, html.anim .btn-light { transition: transform .5s var(--ease), background-color .14s, color .14s; }
/* pictures wipe in, and every tab change plays in */
html.anim .shots.rv .shot img { clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) .2s; }
html.anim .shots.rv.in .shot img { clip-path: inset(0 0 0 0 round 16px); }
html.anim .shots.rv.in .shot:not([hidden]) img { animation: shot-in .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes shot-in { from { opacity: 0; transform: scale(.965) translateY(12px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
html.anim .shot-tabs button { transition: background-color .14s, color .14s, border-color .14s, transform .3s var(--ease); }
html.anim .shot-tabs button:hover { transform: translateY(-2px); }
/* kicker lines draw in */
html.anim .rv .kicker::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease) .25s; }
html.anim .rv.in .kicker::before { transform: none; }
