/* Nhân Kiệt — Global Payroll & EOR */
:root {
  --ink: #0b1324;
  --ink-2: #111b2e;
  --ink-3: #1b2740;
  --paper: #f7f4ef;
  --paper-2: #efe9e1;
  --white: #ffffff;
  --accent: #0f766e;
  --accent-600: #115e59;
  --accent-400: #2dd4bf;
  --accent-soft: #e3f4f1;
  --text: #132033;
  --muted: #56617a;
  --d-text: #f3f1ee;
  --d-muted: #9eabc2;
  --line: rgba(11, 19, 36, 0.1);
  --d-line: rgba(255, 255, 255, 0.1);
  --ok: #1f9d6b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(11, 19, 36, 0.05), 0 12px 32px -12px rgba(11, 19, 36, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(11, 19, 36, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.dark .lede { color: var(--d-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: var(--accent-400); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--d-line); background: rgba(255, 255, 255, 0.05);
  color: var(--d-text); font-size: 0.85rem; font-weight: 500;
}
.pill b { background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; }

/* Buttons */
.btn {
  --bg: var(--accent); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 0.98rem; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s var(--ease);
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(20, 184, 166, 0.7); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.dark .btn-ghost { --fg: var(--d-text); box-shadow: inset 0 0 0 1.5px var(--d-line); }
.dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.btn-ink { --bg: var(--ink); --fg: #fff; }
.btn-ink:hover { box-shadow: 0 14px 30px -12px rgba(11, 19, 36, 0.6); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.dark .link-arrow { color: var(--accent-400); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled { background: rgba(247, 244, 239, 0.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-tag { font-size: 0.72rem; line-height: 1.25; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; font-weight: 500; }
.brand-tag strong { display: block; color: var(--text); font-weight: 700; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links > a, .nav-links > .has-menu > button {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: none; border: 0; cursor: pointer; font-weight: 500; font-size: 0.95rem; color: var(--text);
  transition: background 0.2s;
}
.nav-links > a:hover, .nav-links > .has-menu > button:hover, .has-menu.open > button { background: rgba(11, 19, 36, 0.06); }
.has-menu { position: relative; }
.has-menu > button svg { transition: transform 0.3s var(--ease); }
.has-menu.open > button svg { transform: rotate(180deg); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-phone { font-weight: 600; font-size: 0.92rem; display: inline-flex; gap: 8px; align-items: center; padding: 0 8px; }

.mega {
  position: absolute; top: calc(100% + 12px); left: -16px; width: 640px;
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  background: var(--ink); color: var(--d-text); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--d-line);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top left; pointer-events: none;
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.has-menu.open .mega { opacity: 1; transform: none; pointer-events: auto; }
.mega-side { padding: 26px 24px; background: linear-gradient(160deg, #15223a, #0c1526); border-right: 1px solid var(--d-line); display: flex; flex-direction: column; gap: 14px; }
.mega-side h4 { font-size: 1.35rem; color: #fff; }
.mega-side p { color: var(--d-muted); font-size: 0.88rem; line-height: 1.5; }
.mega-side .link-arrow { margin-top: auto; font-size: 0.9rem; }
.mega-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 2px; }
.mega-list a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 12px; transition: background 0.2s; }
.mega-list a:hover, .mega-list a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); }
.mega-list strong { display: block; font-weight: 600; font-size: 0.97rem; color: #fff; }
.mega-list span { display: block; font-size: 0.82rem; color: var(--d-muted); line-height: 1.4; }
.ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(20, 184, 166, 0.16); color: var(--accent-400);
}
.ico svg { width: 20px; height: 20px; }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: background 0.2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 76px 0 0; z-index: 49; background: var(--paper); padding: 20px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.mobile-menu h5 { margin: 8px 0 10px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mobile-menu a.m-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a.m-item strong { display: block; font-weight: 600; }
.mobile-menu a.m-item span { font-size: 0.85rem; color: var(--muted); }
.mobile-menu .ico { background: var(--accent-soft); color: var(--accent); }
.mobile-menu .m-links { display: grid; margin-top: 18px; }
.mobile-menu .m-links a { padding: 14px 0; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 22px; }

/* Hero */
.hero-shell { padding: 8px var(--gutter) 0; }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--d-text); border-radius: 32px;
  max-width: 1400px; margin: 0 auto;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(700px 420px at 78% 40%, rgba(20, 184, 166, 0.32), transparent 65%),
    radial-gradient(500px 360px at 10% 110%, rgba(20, 184, 166, 0.16), transparent 70%),
    linear-gradient(180deg, #0f1a2c, #08101d);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: min(700px, 82vh); padding: 60px 0 64px; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero h1 { color: #fff; }
.hero h1 .accent, .hero h1 .accent .w > span { color: transparent; background: linear-gradient(100deg, #5eead4, #2dd4bf 55%, #67e8f9); -webkit-background-clip: text; background-clip: text; }
.hero h1.split-words .accent { background: none; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 8px; color: var(--d-muted); font-size: 0.9rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--accent-400); }

.globe-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-left: auto; }
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-stage .halo { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.07), transparent 60%); box-shadow: inset 0 0 80px rgba(20, 184, 166, 0.25), 0 0 120px rgba(20, 184, 166, 0.18); }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(17, 27, 46, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 0.85rem; color: var(--d-text); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--d-muted); font-size: 0.75rem; }
.float-card strong { font-weight: 600; }
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; }
.float-card .ico.ok { background: rgba(31, 157, 107, 0.18); color: #3fd69b; }
.fc-1 { top: 12%; left: -4%; }
.fc-2 { top: 54%; right: -2%; animation-delay: -2s; }
.fc-3 { bottom: 6%; left: 8%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero (product variant) */
.hero.product .hero-grid { min-height: min(640px, 80vh); padding: 64px 0 72px; }
.hero.product h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--d-muted); }
.crumbs a:hover { color: #fff; }

/* Trust marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: 0.98rem; white-space: nowrap; }
.marquee-item svg { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(30px, 4vw, 50px); }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.dark-band { background: var(--ink); color: var(--d-text); border-radius: 32px; margin: 0 var(--gutter); overflow: hidden; position: relative; isolation: isolate; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 400px at 90% 0%, rgba(20, 184, 166, 0.22), transparent 65%); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + 0.1s); }
.split-words.in .w > span { transform: none; }

/* Product suite (tabs) */
.suite { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.suite-tabs { display: grid; gap: 4px; }
.suite-tab {
  position: relative; text-align: left; width: 100%; cursor: pointer;
  background: none; border: 0; border-radius: 18px; padding: 20px 22px 22px;
  display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; align-items: start;
  transition: background 0.3s;
}
.suite-tab .ico { grid-row: span 2; background: var(--accent-soft); color: var(--accent); transition: background 0.3s, color 0.3s; }
.suite-tab strong { font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.015em; font-weight: 700; line-height: 1.3; }
.suite-tab p { color: var(--muted); font-size: 0.95rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s var(--ease), opacity 0.4s; }
.suite-tab .bar { position: absolute; left: 22px; right: 22px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; opacity: 0; }
.suite-tab .bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.suite-tab:hover { background: rgba(11, 19, 36, 0.035); }
.suite-tab[aria-selected="true"] { background: var(--white); box-shadow: var(--shadow); }
.suite-tab[aria-selected="true"] .ico { background: var(--accent); color: #fff; }
.suite-tab[aria-selected="true"] p { max-height: 120px; opacity: 1; }
.suite-tab[aria-selected="true"] .bar { opacity: 1; }
.suite-tab[aria-selected="true"] .bar i { animation: fill var(--dur, 7s) linear forwards; }
.suite.paused .suite-tab .bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.suite-stage { position: sticky; top: 100px; }
.stage-frame {
  position: relative; border-radius: 28px; padding: clamp(18px, 3vw, 36px); min-height: 520px;
  background: var(--ink); overflow: hidden; isolation: isolate; color: var(--d-text);
  box-shadow: var(--shadow-lg);
}
.stage-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 340px at 85% 10%, rgba(20, 184, 166, 0.35), transparent 65%), radial-gradient(400px 300px at 0% 100%, rgba(56, 189, 248, 0.08), transparent 70%); }
.stage-panel { position: absolute; inset: clamp(18px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.5s, transform 0.6s var(--ease); pointer-events: none; }
.stage-panel.active { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.1s; }
.stage-panel .link-arrow { margin-top: auto; }

/* UI mocks */
.ui { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--d-line); border-radius: 18px; padding: 18px; backdrop-filter: blur(6px); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ui-title { font-weight: 600; font-size: 0.98rem; color: #fff; }
.ui-sub { font-size: 0.78rem; color: var(--d-muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--d-muted); white-space: nowrap; }
.chip.ok { background: rgba(31, 157, 107, 0.16); color: #46d9a0; }
.chip.red { background: rgba(20, 184, 166, 0.2); color: #5eead4; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); font-size: 0.88rem; }
.row .flag { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; background: rgba(255, 255, 255, 0.07); }
.row .who { line-height: 1.3; }
.row .who small { display: block; color: var(--d-muted); font-size: 0.75rem; }
.row .amt { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.row .amt small { display: block; font-weight: 500; }
.progress { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--accent), #5eead4); transition: width 2.2s var(--ease); }
.active .progress i, .in .progress i { width: var(--w, 100%); }
.status-swap { position: relative; display: inline-grid; }
.status-swap > * { grid-area: 1 / 1; transition: opacity 0.4s, transform 0.4s var(--ease); }
.status-swap .after { opacity: 0; transform: translateY(6px); }
.active .status-swap .before, .in .status-swap .before { opacity: 0; transform: translateY(-6px); transition-delay: var(--sd, 1.6s); }
.active .status-swap .after, .in .status-swap .after { opacity: 1; transform: none; transition-delay: var(--sd, 1.6s); }

.timeline { display: grid; gap: 0; position: relative; }
.t-step { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 11px 0; position: relative; font-size: 0.9rem; }
.t-step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 44px; bottom: -10px; width: 2px; background: rgba(255, 255, 255, 0.1); }
.t-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.14); color: transparent; transition: background 0.4s, border-color 0.4s, color 0.4s; transition-delay: calc(var(--i) * 0.45s + 0.2s); }
.t-dot svg { width: 16px; height: 16px; }
.active .t-dot, .in .t-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.t-step small { display: block; color: var(--d-muted); font-size: 0.76rem; }
.t-step time { font-size: 0.78rem; color: var(--d-muted); }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); font-size: 0.9rem; }
.toggle-row small { display: block; color: var(--d-muted); font-size: 0.76rem; }
.switch { width: 38px; height: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.14); position: relative; flex-shrink: 0; transition: background 0.35s; transition-delay: calc(var(--i, 0) * 0.35s + 0.3s); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease); transition-delay: inherit; }
.active .switch, .in .switch { background: var(--ok); }
.active .switch::after, .in .switch::after { transform: translateX(16px); }

.gauge { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.gauge svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .track { stroke: rgba(255, 255, 255, 0.08); }
.gauge .val { stroke: #46d9a0; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 1.8s var(--ease) 0.3s; }
.active .gauge .val, .in .gauge .val { stroke-dashoffset: 200; }
.gauge-label strong { font-family: var(--display); font-size: 1.6rem; color: #fff; display: block; line-height: 1.1; }
.gauge-label span { color: var(--d-muted); font-size: 0.82rem; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-stats div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); }
.mini-stats strong { display: block; font-family: var(--display); font-size: 1.25rem; color: #fff; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: 0.74rem; color: var(--d-muted); }

/* Cards / bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
  display: flex; flex-direction: column; gap: 12px;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(20, 184, 166, 0.08), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.25), var(--shadow); }
.card .ico { background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card.span-2 { grid-column: span 2; }
.card.span-3 { grid-column: span 3; }
.card.span-4 { grid-column: span 4; }
.card.feature-dark { background: var(--ink); color: var(--d-text); box-shadow: none; }
.card.feature-dark h3 { color: #fff; }
.card.feature-dark p { color: var(--d-muted); }
.card.feature-dark .ico { background: rgba(20, 184, 166, 0.2); color: var(--accent-400); }
.card.feature-dark::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(20, 184, 166, 0.25), transparent 60%); }
.big-num { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.feature-dark .big-num { color: #fff; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--d-line); }
.steps::after { content: ""; position: absolute; top: 27px; left: 28px; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), #5eead4); transition: width 2.4s var(--ease) 0.3s; }
.steps.in::after { width: calc(100% - 56px); }
.step { position: relative; display: grid; gap: 12px; padding-right: 12px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--d-line); font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; position: relative; z-index: 1; transition: background 0.5s, border-color 0.5s; transition-delay: calc(var(--i) * 0.55s + 0.4s); }
.steps.in .step-num { background: var(--accent); border-color: var(--accent); }
.step h3 { color: #fff; margin-top: 10px; }
.step p { color: var(--d-muted); font-size: 0.95rem; }
.light .steps::before { background: var(--line); }
.light .step-num { background: var(--white); border-color: var(--line); color: var(--text); }
.light .steps.in .step-num { color: #fff; }
.light .step h3 { color: var(--text); }
.light .step p { color: var(--muted); }

/* Coverage */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cov-box { background: var(--white); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; }
.input, .select {
  width: 100%; height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  padding: 0 16px; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12); background: var(--white); }
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.cov-result { border-radius: 16px; padding: 18px; background: var(--paper); display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; min-height: 96px; transition: background 0.3s; }
.cov-result .ico { width: 44px; height: 44px; }
.cov-result strong { display: block; font-size: 1.05rem; }
.cov-result p { color: var(--muted); font-size: 0.92rem; }
.cov-result.own { background: #e9f6f3; }
.cov-result.own .ico { background: var(--accent); color: #fff; }
.cov-result.partner .ico { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 14px; font-size: 0.86rem; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.chips button:hover { border-color: var(--accent); }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; align-items: start; }
.calc-in, .calc-out { border-radius: 26px; padding: clamp(22px, 3vw, 36px); }
.calc-in { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--d-line); display: grid; gap: 20px; align-content: start; }
.calc-in .input, .calc-in .select { background: rgba(255, 255, 255, 0.05); border-color: var(--d-line); color: #fff; }
.calc-in .select option { color: var(--text); }
.calc-in .input:focus, .calc-in .select:focus { background: rgba(255, 255, 255, 0.08); }
.calc-in label { color: var(--d-text); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.seg button { border: 0; background: none; border-radius: 10px; padding: 10px 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--d-muted); transition: background 0.25s, color 0.25s; }
.seg button.on { background: #fff; color: var(--ink); }
.range { width: 100%; accent-color: var(--accent); }
.calc-out { background: var(--white); color: var(--text); display: grid; gap: 18px; align-content: start; }
.calc-total { display: grid; gap: 4px; }
.calc-total span { color: var(--muted); font-size: 0.9rem; }
.calc-total strong { font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-total em { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.stack { display: flex; height: 14px; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.stack i { display: block; height: 100%; transition: width 0.6s var(--ease); }
.breakdown { display: grid; gap: 0; }
.breakdown div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.breakdown div span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.breakdown .k { display: inline-flex; align-items: center; gap: 10px; }
.breakdown .k i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.fine { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.dark .fine, .dark-band .fine { color: var(--d-muted); }

/* Compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 1.05rem; background: var(--paper-2); }
.compare thead th.hl { background: var(--ink); color: #fff; }
.compare td.hl { background: #eef8f6; font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--muted); }
.table-scroll { overflow-x: auto; border-radius: 22px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--white); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow 0.3s; }
.faq details[open] { box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.3), var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--paper-2); transition: transform 0.35s var(--ease), background 0.3s, color 0.3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq .ans { padding: 0 24px 24px; color: var(--muted); }
.faq .ans p + p { margin-top: 10px; }

/* Use cases */
.usecase { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--d-line); display: grid; gap: 12px; align-content: start; }
.usecase .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-400); }
.usecase p { color: var(--d-muted); }

/* Related */
.related a { display: flex; flex-direction: column; gap: 10px; }
.related a .link-arrow { margin-top: auto; }

/* CTA + contact */
.cta-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 80px); align-items: start; }
.cta-band .lede { margin-top: 18px; }
.contact-lines { display: grid; gap: 14px; margin-top: 32px; }
.contact-lines a, .contact-lines div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; color: var(--d-text); }
.contact-lines .ico { width: 44px; height: 44px; }
.contact-lines small { display: block; color: var(--d-muted); font-size: 0.8rem; }
.form { display: grid; gap: 14px; background: var(--white); color: var(--text); border-radius: 24px; padding: clamp(22px, 3vw, 32px); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--text); font-weight: 600; }
.form-note.err { color: var(--accent); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.82rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form-done { align-content: center; justify-items: start; gap: 14px; min-height: 420px; }
.form-done .ico.ok { width: 52px; height: 52px; border-radius: 16px; background: rgba(31, 157, 107, 0.14); color: var(--ok); }
.form-done h3 { font-size: 1.6rem; color: var(--text); }
.form-done p { color: var(--muted); }
.form-done a { color: var(--accent); font-weight: 600; }
.form-done .btn { width: auto; }

/* Footer */
.site-footer { padding: 44px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-brand img { height: 56px; width: auto; }
.foot-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 18px; max-width: 36ch; }
.foot-col h5 { margin: 0 0 16px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { font-weight: 500; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent); }
.foot-col address { font-style: normal; color: var(--muted); font-size: 0.9rem; display: grid; gap: 10px; }
.foot-col address strong { color: var(--text); font-weight: 600; display: block; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* Cursor glow on dark panels */
.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 62%); transform: translate(-50%, -50%); left: var(--gx, 70%); top: var(--gy, 40%); transition: left 0.6s var(--ease), top 0.6s var(--ease); }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links, .nav-phone, .brand-tag { display: none; }
  .menu-toggle { display: grid; }
  .nav-cta .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 56px 0 40px; gap: 8px; }
  .globe-stage { max-width: 520px; margin: 0 auto; }
  .suite { grid-template-columns: 1fr; }
  .suite-stage { position: relative; top: 0; }
  .coverage, .calc, .cta-band { grid-template-columns: 1fr; }
  .section-head.split { grid-template-columns: 1fr; gap: 18px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.span-2, .card.span-3, .card.span-4 { grid-column: span 1; }
  .card.wide-m { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before, .steps::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hero-shell { padding: 4px 8px 0; }
  .hero { border-radius: 24px; }
  .dark-band { margin: 0 8px; border-radius: 24px; }
  .brand img { height: 38px; }
  .grid-3, .grid-2, .bento { grid-template-columns: 1fr; }
  .card.wide-m { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .stage-frame { min-height: 560px; }
  .fc-1 { left: 0; top: 4%; }
  .fc-2 { right: 0; }
  .fc-3 { display: none; }
  .float-card { font-size: 0.78rem; padding: 10px 12px 10px 10px; }
  .form .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: repeat(3, 1fr); }
  .compare th, .compare td { padding: 12px 14px; }
  .faq summary { padding: 18px; font-size: 1rem; }
  .faq .ans { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
}

/* ---------- WhatsApp & contact person ---------- */
.wa-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #25d366; color: #fff; }
.wa-dot svg { width: 15px; height: 15px; }
.person-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; margin-top: 30px; padding: 14px 14px 14px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--d-line); }
.person-card strong { display: block; color: #fff; font-size: 1.05rem; }
.person-card small { color: var(--d-muted); font-size: 0.85rem; }
.avatar { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); background: linear-gradient(135deg, #5eead4, #38bdf8); }
.btn-wa { --bg: #25d366; --fg: #06281a; }
.btn-wa svg { width: 18px; height: 18px; }
.btn-wa:hover { box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.7); }
.contact-lines .ico svg[fill="currentColor"] { width: 20px; height: 20px; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #06281a; font-weight: 700;
  box-shadow: 0 18px 40px -14px rgba(37, 211, 102, 0.75); transition: transform 0.35s var(--ease);
  animation: wa-in 0.8s var(--ease) 1.2s both;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: wa-ping 2.6s ease-out 2s infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
@keyframes wa-in { from { opacity: 0; transform: translateY(30px) scale(0.8); } }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* ---------- Motion extras ---------- */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-400), #38bdf8); transform-origin: left; transform: scaleX(var(--p, 0)); }

.aurora { position: absolute; inset: -10%; z-index: -1; pointer-events: none; filter: blur(70px); opacity: 0.6; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora i:nth-child(1) { width: 46%; height: 52%; left: 48%; top: 8%; background: #0d9488; animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 38%; height: 44%; left: 62%; top: 46%; background: #0369a1; animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 34%; height: 40%; left: -4%; top: 62%; background: #115e59; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-18%, 14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-30%, -18%) scale(0.9); } }
@keyframes drift3 { to { transform: translate(40%, -20%) scale(1.2); } }

.typer { color: #fff; font-weight: 600; white-space: nowrap; }
.typer::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.15em; background: var(--accent-400); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

[data-tilt] { transform-style: preserve-3d; transition: transform 0.6s var(--ease); will-change: transform; }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.stage-frame::after, .video-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgba(45, 212, 191, 0.95) 80%, rgba(56, 189, 248, 0.8) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 7s linear infinite;
}
@keyframes spin-border { to { --ang: 360deg; } }

.btn[data-magnetic]::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out 2s infinite;
}
@keyframes shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }

/* ---------- Video ---------- */
.video-sec { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.video-frame { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; isolation: isolate; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-ctrl { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(11, 19, 36, 0.6); backdrop-filter: blur(10px); color: #fff; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.video-ctrl span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); }
.video-ctrl svg { width: 14px; height: 14px; }
.video-points { display: grid; gap: 14px; margin-top: 26px; }
.video-points div { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.video-points b { color: var(--text); display: block; font-weight: 600; }
.video-points .tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }

@media (max-width: 1080px) {
  .video-sec { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wa-float { height: 54px; width: 54px; padding: 0; justify-content: center; right: 14px; bottom: 14px; }
  .wa-float span { display: none; }
  .person-card { grid-template-columns: 44px 1fr; }
  .person-card .btn { grid-column: 1 / -1; width: 100%; }
  .avatar { width: 44px; height: 44px; border-radius: 14px; }
  .aurora { filter: blur(50px); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .stage-frame::after, .video-frame::after, .btn[data-magnetic]::before { animation: none !important; }
}

/* ---------- Layout balance ---------- */
#contact { padding-bottom: clamp(36px, 4vw, 56px); }
.faq-split { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-split .section-head { position: sticky; top: 110px; margin: 0; }
.faq-split .faq { max-width: none; margin: 0; }
.faq-help { margin-top: 10px; padding: 18px 20px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 6px; }
.faq-help p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 1080px) {
  .faq-split { grid-template-columns: 1fr; }
  .faq-split .section-head { position: static; }
}
@media (max-width: 720px) {
  .card { padding: 22px; }
  .usecase { padding: 22px; }
  .steps { gap: 18px; row-gap: 22px; }
  .step { grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; padding-right: 0; }
  .step-num { grid-row: span 2; width: 48px; height: 48px; font-size: 1rem; }
  .step h3 { margin-top: 2px; }
  .breakdown div { font-size: 0.86rem; gap: 10px; }
  .calc-in, .calc-out { padding: 20px; }
  .hero-grid { padding: 44px 0 28px; }
  .section-head { margin-bottom: 26px; }
}

/* ---------- Footer wordmark: trailer-style title sequence ---------- */
.fw { position: relative; margin-top: 28px; padding: 0.06em 0 0.12em; overflow: hidden; }
.fw-word {
  display: flex; align-items: baseline; white-space: nowrap; user-select: none;
  font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 18vw, 17rem); line-height: 1.12;
  letter-spacing: 0.12em;
}
.fw.in .fw-word { animation: fw-track 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.fw-sp { display: inline-block; width: 0.22em; }
.fw-l {
  display: inline-block; color: transparent; -webkit-text-stroke: 1.5px rgba(11, 19, 36, 0.18);
  background-image: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.95) 50%, transparent 60%), linear-gradient(to top, #0f766e, #14b8a6 55%, #67e8f9);
  background-size: 260% 100%, 100% 0%; background-position: 210% 0, 0 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  opacity: 0; transform: translateY(55%) rotateX(-75deg) scale(0.92); filter: blur(14px); transform-origin: 50% 100%;
}
.fw.in .fw-l {
  animation:
    fw-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 75ms) forwards,
    fw-fill 1.1s cubic-bezier(0.65, 0, 0.25, 1) calc(1s + var(--i) * 85ms) forwards,
    fw-stroke 0.8s ease calc(1.4s + var(--i) * 85ms) forwards,
    fw-shine 5.5s ease-in-out calc(2.3s + var(--i) * 55ms) infinite;
}
.fw-dot {
  display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.05em; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 35% 30%, #99f6e4, #14b8a6 45%, #0f766e);
  opacity: 0; transform: translateY(-260%) scale(0.4);
}
.fw-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); }
.fw.in .fw-dot { animation: fw-drop 0.9s cubic-bezier(0.3, 1.5, 0.5, 1) 1.9s forwards; }
.fw.in .fw-dot::after { animation: fw-ping 2.4s ease-out 3s infinite; }
.fw-line { position: absolute; left: 0; right: 0; bottom: 0.1em; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, transparent, #14b8a6 20%, #38bdf8 60%, transparent); }
.fw.in .fw-line { animation: fw-line 1.4s cubic-bezier(0.65, 0, 0.25, 1) 0.5s forwards; }
.fw-flare { position: absolute; bottom: -18px; left: -12%; width: 220px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, 0.55), rgba(20, 184, 166, 0.25) 50%, transparent); filter: blur(4px); opacity: 0; pointer-events: none; }
.fw.in .fw-flare { animation: fw-flare 1.6s cubic-bezier(0.65, 0, 0.25, 1) 0.5s forwards; }
@keyframes fw-track { to { letter-spacing: -0.045em; } }
@keyframes fw-rise { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fw-fill { to { background-size: 260% 100%, 100% 100%; } }
@keyframes fw-stroke { to { -webkit-text-stroke-color: rgba(15, 118, 110, 0.15); } }
@keyframes fw-shine { 0% { background-position: 210% 0, 0 100%; } 22%, 100% { background-position: -110% 0, 0 100%; } }
@keyframes fw-drop { 0% { opacity: 0; transform: translateY(-260%) scale(0.4); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes fw-ping { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); } 80%, 100% { box-shadow: 0 0 0 0.35em rgba(20, 184, 166, 0); } }
@keyframes fw-line { to { transform: scaleX(1); } }
@keyframes fw-flare { 0% { left: -12%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .fw-word { letter-spacing: -0.045em; }
  .fw-l { opacity: 1; transform: none; filter: none; background-size: 260% 100%, 100% 100%; }
  .fw-dot { opacity: 1; transform: none; }
  .fw-line { transform: none; }
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-brand, .foot-grid .foot-col:last-child { grid-column: 1 / -1; }
  .site-footer { padding-top: 36px; }
}
