/* AAIS · light theme. Visual system follows .claude/skills/landing-page-design (Part B) */
:root {
  --bg: #FFFFFF;
  --s1: #FAFAF8;
  --s2: #F4F4F1;
  --s3: #ECECE8;
  --s4: #E2E2DD;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.14);
  --text: #0A0A0A;
  --muted: #5C5C5C;
  --dim: #8A8A8A;
  --accent: #1F7AE0;
  --accent-soft: #EAF3FD;
  --accent-ink: #FFFFFF;
  --ok: #16A34A;
  --warn: #D97706;
  --bad: #DC2626;
  --t1: #EAF2FC; --t2: #F6F0E6; --t3: #EBF2EC; --t4: #F7ECEC; --t5: #EFEDF8; --t6: #F0F0EC;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 4px 12px -6px rgba(10, 10, 10, 0.08);
  --shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 16px 40px -16px rgba(10, 10, 10, 0.16);
  --shadow-lg: 0 2px 4px rgba(10, 10, 10, 0.04), 0 32px 64px -24px rgba(10, 10, 10, 0.24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Geist", "Manrope", system-ui, sans-serif; font-size: 16px; line-height: 24px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }

/* ---------- Text styles (B1) ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.035em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.03em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.015em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--accent); }
@media (min-width: 900px) { .heading-1.xl { font-size: 72px; line-height: 72px; } }
@media (max-width: 720px) {
  .heading-1, .heading-1.xl { font-size: 48px; line-height: 48px; }
  .heading-2 { font-size: 36px; line-height: 40px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .heading-4 { font-size: 24px; line-height: 32px; }
}
@media (max-width: 400px) { .heading-1, .heading-1.xl { font-size: 36px; line-height: 40px; } }

/* Hero heading gradient, light theme (B5): text only */
.grad { background: linear-gradient(90deg, #000000 0%, #666666 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--s1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding: 64px 0; } .section.tight { padding: 48px 0; } }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--accent); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--text); color: #fff; padding: 8px 12px; border-radius: 8px; transition: transform 300ms var(--ease); }
.skip:focus { transform: translateY(80px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px;
  border-radius: 9999px; border: 1px solid transparent; font: inherit; font-size: 16px; line-height: 24px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn i { font-size: 18px; }
.btn-primary { background: var(--text); color: #fff; padding-left: 16px; box-shadow: 0 8px 20px -8px rgba(10, 10, 10, 0.5); }
.btn-primary:hover { background: #262626; }
.btn-primary .ico { width: 24px; height: 24px; border-radius: 9999px; background: var(--accent); color: #fff; display: inline-grid; place-items: center; transition: transform 500ms var(--ease); }
.btn-primary:hover .ico { transform: rotate(-45deg); }
.btn-primary .ico i { font-size: 14px; }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--s2); }
.btn-sm { font-size: 14px; line-height: 20px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 14px; line-height: 20px; }
.link-arrow i { transition: transform 300ms var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  width: max-content; max-width: calc(100% - 32px); transition: translate 500ms var(--ease);
}
.nav.nav-hide { translate: 0 -160%; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 9999px; transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.nav-links a:hover { color: var(--text); background: rgba(10, 10, 10, 0.04); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(10, 10, 10, 0.06); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 9999px; border: 0; background: var(--s2); color: var(--text); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 500ms var(--ease); }
.menu-btn span:nth-child(1) { transform: translateY(-3px); }
.menu-btn span:nth-child(2) { transform: translateY(3px); }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; padding: 96px 24px 32px; background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; flex-direction: column; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease);
}
.mobile-menu a.m-link { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.mobile-menu a.m-link[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .mobile-menu a.m-link, .menu-open .mobile-menu .btn { opacity: 1; transform: none; }
.mobile-menu > *:nth-child(2) { transition-delay: 60ms; }
.mobile-menu > *:nth-child(3) { transition-delay: 120ms; }
.mobile-menu > *:nth-child(4) { transition-delay: 180ms; }
.mobile-menu > *:nth-child(5) { transition-delay: 240ms; }
.mobile-menu > *:nth-child(6) { transition-delay: 300ms; }
body.menu-open { overflow: hidden; }
@media (max-width: 860px) {
  .nav { left: 16px; right: 16px; transform: none; width: auto; justify-content: space-between; }
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: inline-block; }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }
html.lenis, html.lenis body { height: auto; }

/* ---------- Hero ---------- */
.hero { padding: 160px 0 96px; position: relative; }
.hero.page { padding: 160px 0 64px; }
@media (max-width: 720px) { .hero { padding: 128px 0 64px; } .hero.page { padding: 128px 0 48px; } }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1, .hero .lede { max-width: 680px; }
.hero .lede { margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; color: var(--muted); }
.proof b { color: var(--text); font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 9999px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--muted); margin-bottom: 24px; }
.badge .pill { background: var(--accent); color: #fff; border-radius: 9999px; padding: 2px 8px; }
.h1-wrap { position: relative; display: inline-block; isolation: isolate; }
.swoosh { position: absolute; z-index: -1; left: -6%; top: -16%; width: 112%; height: 134%; pointer-events: none; overflow: visible; }
.swoosh path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 1800ms var(--ease) 300ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-visual { perspective: 1400px; position: relative; }
.console { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 8px; box-shadow: var(--shadow-lg); transform-style: preserve-3d; will-change: transform; }
.console-inner { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--ok); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.feed { padding: 8px; display: grid; gap: 8px; min-height: 352px; align-content: start; }
.event { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); animation: popin 600ms var(--pop) both; }
.event .ic { width: 40px; height: 40px; border-radius: 9999px; display: grid; place-items: center; background: var(--s2); font-size: 20px; }
.event .ic.wa { color: var(--ok); background: #E8F7EE; }
.event .ic.al { color: var(--warn); background: #FDF3E4; }
.event .ic.ai { color: var(--accent); background: var(--accent-soft); }
.event strong { display: block; font-size: 14px; line-height: 20px; font-weight: 500; }
.event small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
@keyframes popin { from { opacity: 0; transform: translateY(12px) scale(0.92); } to { opacity: 1; transform: none; } }
.console-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: var(--bg); }
.console-foot div { padding: 12px 16px; }
.console-foot div + div { border-left: 1px solid var(--line); }
.console-foot b { display: block; font-size: 20px; line-height: 28px; font-weight: 600; }
.note { margin-top: 12px; text-align: center; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9999px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 12px; line-height: 16px; font-weight: 600; animation: bob 6s var(--ease) infinite; }
.float-chip i { font-size: 16px; }
.float-chip.f1 { left: -32px; top: 64px; color: var(--ok); }
.float-chip.f2 { right: -16px; bottom: 96px; color: var(--accent); animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .float-chip { display: none; } }

/* ---------- Logo grid ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--bg); }
.lg-cell { height: 112px; display: grid; place-items: center; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 300ms var(--ease); }
.lg-cell img { max-height: 48px; max-width: 75%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 300ms var(--ease), opacity 300ms var(--ease), transform 500ms var(--pop); }
.lg-cell img.boxed { border-radius: 8px; max-height: 56px; }
.lg-cell:hover { background: var(--s1); }
.lg-cell:hover img { filter: none; opacity: 1; transform: scale(1.08); }
.lg-cell.more { flex-direction: column; text-align: center; color: var(--muted); }
.lg-cell.more b { display: block; font-size: 24px; line-height: 32px; color: var(--text); }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } .lg-cell { height: 88px; padding: 16px; } .lg-cell img { max-height: 36px; } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 300ms var(--ease); }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 480px) { .card { padding: 24px; } }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 24px; margin-bottom: 24px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.ticks { margin: 24px 0 32px; display: grid; gap: 8px; }
.card .push { margin-top: auto; }
.ticks li { display: flex; gap: 8px; align-items: start; font-size: 14px; line-height: 20px; color: #2E2E2E; }
.ticks li i { color: var(--accent); font-size: 16px; margin-top: 2px; flex: none; }
.tag { padding: 4px 8px; border-radius: 9999px; background: var(--s2); color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 500; }
.tag.blue { background: var(--accent-soft); color: var(--accent); }

/* ---------- Image stages: tinted flat panels with framed shots ---------- */
.stage { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: var(--t1); isolation: isolate; }
.stage.t2 { background: var(--t2); } .stage.t3 { background: var(--t3); } .stage.t4 { background: var(--t4); } .stage.t5 { background: var(--t5); } .stage.t6 { background: var(--t6); }
.frame { position: absolute; left: 10%; right: -4%; top: 12%; bottom: -8%; background: var(--bg); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; transition: transform 700ms var(--ease); }
.frame-bar { display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--s1); }
.frame-bar span { width: 8px; height: 8px; border-radius: 9999px; background: var(--s4); }
.frame-bar em { font-style: normal; font-size: 12px; line-height: 16px; color: var(--dim); margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; height: calc(100% - 24px); object-fit: cover; object-position: top; transition: transform 1200ms var(--ease); }
.stage-logo { position: absolute; inset: 18% 22%; display: grid; place-items: center; background: var(--bg); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 24px; transition: transform 700ms var(--pop); }
.stage-logo img { max-width: 80%; max-height: 80%; width: auto; object-fit: contain; }
.stage-logo img.boxed { border-radius: 8px; }
a:hover .frame, .work-card:hover .frame { transform: translateY(-8px); }
a:hover .frame img, .work-card:hover .frame img { transform: translateY(-4%); }
a:hover .stage-logo, .work-card:hover .stage-logo { transform: scale(1.05) rotate(-1deg); }

/* ---------- Project showcase: desktop + phone captures ---------- */
.show { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 16 / 10; background: var(--t1); isolation: isolate; }
.show.t2 { background: var(--t2); } .show.t3 { background: var(--t3); } .show.t4 { background: var(--t4); } .show.t5 { background: var(--t5); } .show.t6 { background: var(--t6); }
.show-desk {
  position: absolute; left: 7%; top: 11%; width: 74%; background: var(--bg); border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.06), 0 24px 48px -20px rgba(10, 10, 10, 0.3); transition: transform 700ms var(--ease);
}
.show-desk img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.show-desk .frame-bar { height: 20px; padding: 0 10px; }
.show-desk .frame-bar span { width: 7px; height: 7px; }
.show-desk .frame-bar em { font-size: 10px; }
.show-phone {
  position: absolute; right: 6%; bottom: -6%; width: 21%; aspect-ratio: 390 / 844; border-radius: 22px; padding: 4px;
  background: #0A0A0A; box-shadow: 0 30px 50px -20px rgba(10, 10, 10, 0.45); transition: transform 700ms var(--pop);
}
.show-phone::before { content: ""; position: absolute; left: 50%; top: 8px; width: 28%; height: 5px; border-radius: 9999px; background: #0A0A0A; translate: -50% 0; z-index: 1; }
.show-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 18px; }
.show.solo .show-desk { left: 9%; width: 82%; top: 12%; }
a:hover .show-desk, .work-card:hover .show-desk { transform: translateY(-6px); }
a:hover .show-phone, .work-card:hover .show-phone { transform: translateY(-12px) rotate(-3deg); }
@media (max-width: 480px) { .show-phone { border-radius: 14px; padding: 3px; } .show-phone img { border-radius: 11px; } .show-phone::before { top: 6px; height: 3px; } }

/* ---------- System outcome cards ---------- */
.spec {
  position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 16 / 10; padding: 28px; background: #0E1116; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
}
.spec-top { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.65); }
.spec-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(31, 122, 224, 0.18); color: #7DB6F5; }
.spec-line { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; max-width: 90%; text-wrap: balance; transition: transform 700ms var(--ease); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 500; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.spec-chips i { color: #4ADE80; }
.spec-bg { position: absolute; right: -24px; bottom: -32px; font-size: 200px; color: rgba(125, 182, 245, 0.08); z-index: -1; transition: transform 900ms var(--ease); }
a:hover .spec-bg, .work-card:hover .spec-bg { transform: rotate(-8deg) scale(1.06); }
a:hover .spec-line, .work-card:hover .spec-line { transform: translateY(-4px); }
@media (max-width: 1080px) { .spec-line { font-size: 24px; line-height: 32px; } }
@media (max-width: 480px) { .spec { padding: 20px; } .spec-line { font-size: 20px; line-height: 28px; } .spec-bg { font-size: 140px; } }

/* Work cards */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .work { grid-template-columns: 1fr; } }
.work-card { background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 8px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.work-card .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.work-card dl { display: grid; gap: 8px; margin: 0; }
.work-card dt { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; }
.work-card dd { margin: 0; font-size: 14px; line-height: 20px; color: #3A3A3A; }
.work-card .outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.work-card .outcomes span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 500; padding: 4px 8px; border-radius: 9999px; background: #E8F7EE; color: #15603A; }
.work-card .visit { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 14px; line-height: 20px; font-weight: 500; }
.work-card[hidden] { display: none; }
.filters { display: inline-flex; gap: 4px; padding: 4px; border-radius: 9999px; background: var(--s2); border: 1px solid var(--line); margin-bottom: 32px; }
.filters button { font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); background: transparent; border: 0; padding: 8px 16px; border-radius: 9999px; cursor: pointer; transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Tagline reveal (B11) ---------- */
.reveal-text { max-width: 1040px; }
.reveal-text .w { color: rgba(10, 10, 10, 0.18); transition: color 600ms var(--ease); }
.reveal-text .w.on { color: var(--text); }
.reveal-text .w.on.hl { color: var(--accent); }

/* ---------- Kinetic band ---------- */
.band { overflow: hidden; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; background: var(--s1); }
.band-row { display: flex; align-items: center; gap: 32px; white-space: nowrap; width: max-content; font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; will-change: transform; }
.band-row i { font-style: normal; font-size: 36px; color: var(--accent); }
.band-row.outline span { color: transparent; -webkit-text-stroke: 1px rgba(10, 10, 10, 0.25); }
@media (max-width: 720px) { .band-row { font-size: 48px; gap: 16px; } .band-row i { font-size: 20px; } }

/* ---------- Story: chaos to calm ---------- */
.story-pin { min-height: 100vh; display: flex; align-items: center; padding: 96px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pains { margin: 32px 0; display: grid; gap: 16px; }
.pain span { position: relative; display: inline-block; color: var(--text); }
.pain span::after { content: ""; position: absolute; left: -4px; right: -4px; top: 55%; height: 3px; border-radius: 3px; background: var(--bad); transform-origin: 0 50%; transform: scaleX(var(--strike, 1)); }
.story-board { position: relative; height: 520px; border-radius: 32px; background: var(--s1); border: 1px solid var(--line); }
.chip { position: absolute; display: flex; gap: 12px; align-items: center; width: 260px; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.chip i { font-size: 24px; flex: none; }
.chip b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.chip small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.chip.sticky { display: block; width: 184px; background: #FDE68A; border: 0; border-radius: 4px; padding: 16px; }
.chip.sticky small { color: #6B5300; font-size: 14px; line-height: 20px; margin-top: 4px; }
.c1 { top: 6%; left: 4%; } .c2 { top: 10%; right: 4%; } .c3 { top: 36%; left: 34%; }
.c4 { top: 60%; left: 4%; } .c5 { bottom: 6%; right: 8%; } .c6 { top: 52%; right: 2%; }
.calm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(400px, 92%); background: var(--bg); border: 1px solid rgba(31, 122, 224, 0.3); border-radius: 24px; padding: 8px; box-shadow: var(--shadow-lg), 0 0 0 8px rgba(31, 122, 224, 0.06); }
.calm-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.calm-rows { display: grid; gap: 4px; }
.calm-rows div { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--s1); font-size: 14px; line-height: 20px; font-weight: 500; }
.calm-rows i { color: var(--ok); font-size: 20px; }
html:not(.scrub) .chip { display: none; }
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-pin { padding: 80px 0 48px; }
  .story-board { height: 360px; }
  .pains { margin: 24px 0; gap: 8px; }
  .pain { font-size: 18px; line-height: 28px; }
  .chip { width: 200px; padding: 8px 12px; }
  .chip.sticky { width: 152px; }
}

/* ---------- Stacking service cards ---------- */
.stack { display: grid; gap: 48px; }
.stack-card { position: sticky; top: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 520px; padding: 48px; border-radius: 32px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: 50% 0; will-change: transform; }
.stack-card:nth-child(2) { top: 112px; }
.stack-card:nth-child(3) { top: 128px; }
.stack-text h3 { margin: 16px 0; }
.stack-text .ticks { margin: 24px 0 32px; }
@media (max-width: 960px) { .stack-card { position: relative; top: auto !important; grid-template-columns: 1fr; padding: 32px; min-height: 0; gap: 32px; } }
@media (max-width: 480px) { .stack-card { padding: 24px; border-radius: 24px; } }
.stage.mock { aspect-ratio: auto; padding: 32px; display: grid; place-items: center; }
@media (max-width: 480px) { .stage.mock { padding: 16px; } }
.mock-dash, .mock-chat { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.md-head { display: flex; justify-content: space-between; margin-bottom: 16px; }
.md-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.md-kpis div { background: var(--s1); border-radius: 12px; padding: 12px; }
.md-kpis small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.md-kpis b { font-size: 24px; line-height: 32px; font-weight: 500; }
.md-bars { display: flex; align-items: flex-end; gap: 8px; height: 144px; margin: 24px 0; }
.md-bars span { flex: 1; height: var(--h); background: var(--accent); border-radius: 8px 8px 4px 4px; transform-origin: 50% 100%; }
.md-bars span:nth-child(odd) { background: #A9CCF4; }
.md-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #E8F7EE; color: #15603A; font-size: 14px; line-height: 20px; font-weight: 500; }
.md-row i { color: var(--ok); font-size: 20px; }
.mock-chat { display: flex; flex-direction: column; gap: 8px; background: #F3EFE8; }
.mc-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mc-head i { font-size: 24px; color: #fff; width: 40px; height: 40px; border-radius: 9999px; background: #25D366; display: grid; place-items: center; }
.mc-head b { display: block; font-size: 14px; line-height: 20px; }
.mc-head small { display: block; font-size: 12px; line-height: 16px; color: var(--ok); }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 16px; font-size: 14px; line-height: 20px; box-shadow: 0 1px 1px rgba(10, 10, 10, 0.06); }
.msg.in { background: var(--bg); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: #D9FDD3; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.ok i { color: var(--ok); }
.mock-browser { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.mb-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--s1); }
.mb-bar span { width: 10px; height: 10px; border-radius: 9999px; background: var(--s4); }
.mb-bar em { font-style: normal; margin-left: 8px; color: var(--muted); background: var(--bg); padding: 2px 12px; border-radius: 9999px; border: 1px solid var(--line); }
.mock-browser img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top; }

/* ---------- Horizontal pinned gallery ---------- */
.hscroll-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 96px 0; overflow: hidden; }
.hs-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.hs-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 24px; scrollbar-width: none; }
.hs-track::-webkit-scrollbar { display: none; }
html.scrub .hs-track { overflow: visible; width: max-content; scroll-snap-type: none; will-change: transform; }
.panel { flex: none; width: min(520px, 82vw); scroll-snap-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 8px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow 500ms var(--ease); }
.panel:hover { box-shadow: var(--shadow); }
.panel-cap { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.panel-cap p { color: var(--muted); }
.panel-end { width: min(360px, 70vw); background: var(--text); color: #fff; border: 0; padding: 40px; justify-content: space-between; }
.end-ico { width: 64px; height: 64px; border-radius: 9999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 28px; transition: transform 500ms var(--pop); }
.panel-end:hover .end-ico { transform: translateX(8px) scale(1.06); }

/* ---------- Counters ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.counter { border-top: 1px solid var(--line-strong); padding-top: 24px; display: grid; gap: 12px; }
.counter b { font-size: 128px; line-height: 1; font-weight: 600; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.counter sup { font-size: 48px; color: var(--accent); vertical-align: top; line-height: 1; }
@media (max-width: 1080px) { .counter b { font-size: 96px; } }
@media (max-width: 860px) { .counters { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } .counter b { font-size: 72px; } .counter sup { font-size: 36px; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); }
.stats > div { padding: 32px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stats b sup { font-size: 30px; color: var(--accent); vertical-align: top; line-height: 36px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } .stats b { font-size: 48px; line-height: 48px; } }

/* ---------- Timeline ---------- */
.process { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.process-head { position: sticky; top: 128px; }
.process-head p { margin-top: 16px; }
.timeline { position: relative; margin: 0; padding: 0 0 0 48px; list-style: none; display: grid; gap: 64px; }
.tl-line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--s3); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 0; }
html.scrub .tl-fill { transform: scaleY(0); }
.tl-item { position: relative; }
.tl-item h3 { margin: 8px 0; }
.tl-dot { position: absolute; left: -44px; top: 0; width: 16px; height: 16px; border-radius: 9999px; background: var(--accent); border: 2px solid var(--accent); transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 500ms var(--pop); }
html.scrub .tl-dot { background: var(--bg); border-color: var(--s4); }
html.scrub .tl-item.on .tl-dot { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }
@media (max-width: 960px) { .process { grid-template-columns: 1fr; gap: 48px; } .process-head { position: static; } }

/* ---------- Guarantees ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise .big { display: block; font-size: 48px; line-height: 1; font-weight: 500; color: var(--accent); margin-bottom: 32px; letter-spacing: -0.04em; }
.promise h3 { margin-bottom: 8px; }
@media (max-width: 1080px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* ---------- The soap bubble ---------- */
.soap { position: fixed; left: 0; top: 0; width: var(--size, 300px); height: var(--size, 300px); z-index: 45; pointer-events: none; will-change: transform; }
.soap-body {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; will-change: transform;
  -webkit-backdrop-filter: blur(1.5px) saturate(1.8) brightness(1.06) contrast(1.04); backdrop-filter: blur(1.5px) saturate(1.8) brightness(1.06) contrast(1.04);
  background: rgba(214, 232, 255, 0.04);
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.7),
    inset 14px -20px 40px -10px rgba(110, 170, 255, 0.22),
    inset -20px 14px 40px -10px rgba(255, 130, 210, 0.16),
    inset 0 -30px 36px -28px rgba(120, 255, 210, 0.22),
    0 40px 70px -40px rgba(31, 122, 224, 0.45);
  animation: wobble 6s ease-in-out infinite;
  transition: opacity 200ms var(--ease);
}
@keyframes wobble {
  0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  25% { border-radius: 53% 47% 51% 49% / 48% 53% 47% 52%; }
  50% { border-radius: 48% 52% 47% 53% / 52% 48% 53% 47%; }
  75% { border-radius: 51% 49% 53% 47% / 47% 51% 49% 53%; }
}
.soap-film {
  position: absolute; inset: -10%; border-radius: 50%; opacity: 0.5; filter: blur(8px);
  background: conic-gradient(rgba(255, 110, 200, 0.55), rgba(110, 210, 255, 0.55), rgba(255, 236, 110, 0.5), rgba(150, 110, 255, 0.55), rgba(110, 255, 200, 0.45), rgba(255, 110, 200, 0.55));
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 66%); mask: radial-gradient(circle, transparent 52%, #000 66%);
}
.soap-rim { position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid rgba(255, 255, 255, 0.95); box-shadow: inset 0 0 0 1px rgba(31, 122, 224, 0.12), 0 0 0 1px rgba(31, 122, 224, 0.08); }
.soap-shine { position: absolute; left: 16%; top: 12%; width: 32%; height: 20%; border-radius: 50%; transform: rotate(-32deg); background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%); }
.soap-shine2 { position: absolute; right: 18%; bottom: 14%; width: 14%; height: 9%; border-radius: 50%; transform: rotate(-32deg); background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%); }
.soap.popping .soap-body { animation: soap-pop 260ms var(--ease) forwards; }
@keyframes soap-pop { 50% { opacity: 0.6; transform: scale(1.18); } 100% { opacity: 0; transform: scale(1.35); } }
.soap:not(.popping) .soap-body { animation: wobble 6s ease-in-out infinite, soap-in 700ms var(--pop) both; }
@keyframes soap-in { from { opacity: 0; } to { opacity: 1; } }
.soap-mini {
  position: fixed; z-index: 44; pointer-events: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.95);
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95) 0 12%, rgba(255, 255, 255, 0.25) 30%, rgba(31, 122, 224, 0.1) 75%, rgba(255, 130, 210, 0.18) 100%);
  box-shadow: 0 6px 14px -6px rgba(31, 122, 224, 0.4);
  animation: mini-rise 1700ms var(--ease) forwards;
}
@keyframes mini-rise { 0% { opacity: 0; transform: scale(0.3); } 15% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.6); } }
.soap-drop { width: 8px; height: 8px; background: rgba(150, 200, 255, 0.9); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9); }
/* A slim pill, not a slab. The old one was 12/16 padding at 14px with
   white-space: nowrap, so the longer messages measured ~420px and ran off
   the side of a 375px phone. Now it is smaller, and capped so it can never
   exceed the viewport whatever the message says. */
.soap-toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 55; translate: -50% 0; padding: 7px 14px; border-radius: 9999px;
  background: rgba(10, 10, 10, 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 12.5px; line-height: 18px; font-weight: 500;
  box-shadow: 0 6px 20px -8px rgba(10, 10, 10, 0.5);
  max-width: min(340px, calc(100vw - 32px));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(10px) scale(0.96); pointer-events: none; transition: opacity 260ms var(--ease), transform 420ms var(--pop);
}
/* NOT `.show`: that class already exists on this site as an image container
   with `aspect-ratio: 16 / 10`, and it was landing on the toast too — forcing
   a 268px-wide pill to 168px tall. That collision is why the popped-bubble
   bar looked like a slab. */
.soap-toast.is-on { opacity: 1; transform: none; }
.confetti { position: fixed; width: 12px; height: 12px; border-radius: 9999px; pointer-events: none; z-index: 70; animation: confetti 1200ms var(--ease) forwards; }
@keyframes confetti { to { transform: translate(var(--px), var(--py)) scale(0.2); opacity: 0; } }
@media print { .soap, .soap-mini { display: none; } }

/* ---------- Flow puzzle: styled as a workflow builder ---------- */
.puzzle-wrap { display: grid; grid-template-columns: 1fr 560px; gap: 64px; align-items: center; }
@media (max-width: 1080px) { .puzzle-wrap { grid-template-columns: 1fr; gap: 32px; } }
.puzzle-side .hud { display: flex; gap: 32px; margin: 32px 0 24px; }
.puzzle-side .hud div { display: grid; gap: 4px; }
.puzzle-side .hud b { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.puzzle-side .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-msg { margin-top: 24px; padding: 12px 16px; border-radius: 16px; background: #E8F7EE; color: #15603A; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease), transform 500ms var(--pop); min-height: 48px; }
.flow-msg.show { opacity: 1; transform: none; }

.flow-app { width: 100%; max-width: 560px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 8px; box-shadow: var(--shadow-lg); }
.flow-app .console-bar { border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; gap: 12px; }
.flow-app .console-bar .dots { display: flex; gap: 6px; }
.flow-app .console-bar .dots span { width: 10px; height: 10px; border-radius: 9999px; background: var(--s4); }
.flow-app .console-bar .title-4 { flex: 1; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-state { white-space: nowrap; }
.flow-state { display: inline-flex; align-items: center; gap: 8px; padding: 2px 8px; border-radius: 9999px; background: var(--s2); color: var(--muted); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.flow-state::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--dim); }
.flow-state.on { background: #E8F7EE; color: var(--ok); }
.flow-state.on::before { background: var(--ok); animation: pulse 2s var(--ease) infinite; }

.flow-board {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 1fr); gap: 0;
  width: 100%; aspect-ratio: 5 / 4; padding: 12px; border-radius: 0 0 16px 16px; border: 1px solid var(--line);
  background-color: var(--t1); background-image: radial-gradient(rgba(31, 122, 224, 0.22) 1px, transparent 1px); background-size: 16px 16px;
}
.ft { position: relative; border: 0; padding: 0; margin: 2px; border-radius: 12px; background: transparent; cursor: pointer; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
button.ft:hover { background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(31, 122, 224, 0.2); }
button.ft:active svg { scale: 0.92; }
.ft svg { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); transition: transform 450ms var(--pop), scale 200ms var(--ease); overflow: visible; }
.ft polyline { fill: none; stroke: #BFCBDA; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 9; transition: stroke 300ms var(--ease); }
.ft circle { fill: #fff; stroke: #BFCBDA; stroke-width: 3; transition: fill 300ms var(--ease), stroke 300ms var(--ease); }
.ft.lit polyline { stroke: var(--accent); stroke-dasharray: none; stroke-width: 6; filter: drop-shadow(0 0 4px rgba(31, 122, 224, 0.45)); }
.ft.lit circle { fill: var(--accent); stroke: #fff; }

/* Stations look like the dashboard's event cards */
.ft.node { cursor: default; margin: 6px; background: var(--bg); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ft.node svg { inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); z-index: 0; }
.ft.node circle { display: none; }
.ft .ni { position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; translate: -50% -50%; border-radius: 9999px; display: grid; place-items: center; font-size: 20px; z-index: 1; background: var(--s2); color: var(--muted); transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease); }
.ft .nl { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); z-index: 1; }
.ft.node::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); z-index: 0; }
.ft.n-order.lit .ni { background: #E8F7EE; color: var(--ok); }
.ft.n-stock.lit .ni { background: #FDF3E4; color: var(--warn); }
.ft.n-invoice.lit .ni { background: var(--accent-soft); color: var(--accent); }
.ft.n-delivered.lit .ni { background: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgba(31, 122, 224, 0.15); }
.ft.node.lit { border-color: rgba(31, 122, 224, 0.35); }
.ft.node.lit .nl { color: var(--text); }
.ft.pulse .ni { animation: node-pulse 700ms var(--pop); }
@keyframes node-pulse { 40% { transform: scale(1.3); box-shadow: 0 0 0 10px rgba(31, 122, 224, 0.18); } }
.packet { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at 30% 30%, #fff 0 18%, #8BC0F7 45%, var(--accent)); box-shadow: 0 0 0 4px rgba(31, 122, 224, 0.15), 0 0 24px rgba(31, 122, 224, 0.6); }
.flow-app.won { box-shadow: var(--shadow-lg), 0 0 0 6px rgba(22, 163, 74, 0.1); }
@media (max-width: 480px) {
  .flow-board { padding: 8px; }
  .ft.node { margin: 3px; }
  .ft .ni { width: 28px; height: 28px; font-size: 14px; top: 40%; }
  .ft .nl { font-size: 10px; bottom: 4px; }
  .ft polyline { stroke-width: 5; }
}

/* ---------- Quotes ---------- */
.quote { justify-content: space-between; gap: 32px; }
.quote blockquote { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text); }
.quote .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 9999px; background: var(--s2); display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--muted); flex: none; }
.placeholder { border-style: dashed; border-color: var(--line-strong); box-shadow: none; background: var(--s1); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; gap: 32px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 18px; line-height: 28px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 20px; color: var(--muted); transition: transform 500ms var(--pop); flex: none; margin-top: 4px; }
.faq details[open] summary i { transform: rotate(45deg); color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; animation: popin 500ms var(--ease) both; }

/* ---------- CTA / Finale ---------- */
.cta { background: var(--text); color: #fff; border-radius: 32px; padding: 80px 48px; text-align: center; position: relative; overflow: hidden; }
.cta .muted, .cta .eyebrow { color: rgba(255, 255, 255, 0.65); }
.cta h2, .cta p { max-width: 680px; margin-left: auto; margin-right: auto; }
.cta p { margin-top: 16px; }
.cta .hero-cta { justify-content: center; }
.cta .btn-primary { background: #fff; color: var(--text); }
.cta .btn-primary:hover { background: #EDEDED; }
.cta .ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.6; }
.cta > *:not(.ring) { position: relative; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 32px; color: var(--muted); }
.cta .assure { color: rgba(255, 255, 255, 0.7); }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure i { color: var(--ok); }
.cta .assure i { color: #4ADE80; }
@media (max-width: 720px) { .cta { padding: 64px 24px; border-radius: 24px; } }
.finale { padding: 160px 0 96px; text-align: center; overflow: hidden; }
.finale-title { font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: -0.045em; will-change: transform; }
.finale-sub { max-width: 560px; margin: 32px auto 0; }
@media (max-width: 860px) { .finale { padding: 96px 0 64px; } .finale-title { font-size: 48px; } }
@media (max-width: 400px) { .finale-title { font-size: 36px; line-height: 40px; } }

/* ---------- Services page rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-row.flip .svc-visual { order: -1; }
.svc-row .ticks { margin: 24px 0; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (max-width: 960px) { .svc-row { grid-template-columns: 1fr; gap: 32px; } .svc-row.flip .svc-visual { order: 0; } }
@media (max-width: 560px) { .svc-row .ticks { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1080px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .team { grid-template-columns: 1fr; } }
.member { padding: 24px; }
.member .avatar { width: 64px; height: 64px; font-size: 20px; color: var(--text); margin-bottom: 24px; transition: transform 500ms var(--pop); }
.member:hover .avatar { transform: scale(1.1) rotate(-4deg); }
.member:nth-child(1) .avatar { background: var(--t1); color: #1D4F8C; }
.member:nth-child(2) .avatar { background: var(--t2); color: #7A5520; }
.member:nth-child(3) .avatar { background: var(--t3); color: #2D6A3E; }
.member:nth-child(4) .avatar { background: var(--t4); color: #8C2D2D; }
.member:nth-child(5) .avatar { background: var(--t5); color: #4B3E8C; }
.member .role { color: var(--accent); margin-top: 4px; margin-bottom: 12px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field label .opt { color: var(--dim); font-weight: 400; }
.input { width: 100%; font: inherit; font-size: 16px; line-height: 24px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 16px; transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.input::placeholder { color: var(--dim); }
.input:hover { border-color: rgba(10, 10, 10, 0.24); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 122, 224, 0.12); }
.input[aria-invalid="true"] { border-color: var(--bad); }
textarea.input { min-height: 128px; resize: vertical; }
select.input { appearance: none; }
.err { color: var(--bad); font-size: 12px; line-height: 16px; min-height: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-status { font-size: 14px; line-height: 20px; color: var(--ok); }
.channels { display: grid; gap: 16px; }
.channel { flex-direction: row; display: flex; align-items: center; gap: 16px; padding: 24px; }
.channel .icon { margin: 0; flex: none; }
.channel .grow { flex: 1; min-width: 0; }
.channel .grow span { word-break: break-word; }
.channel > i { color: var(--muted); font-size: 20px; transition: transform 300ms var(--ease); }
.channel:hover > i { transform: translateX(4px); color: var(--text); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 40px 0 12px; }
.prose p, .prose li { color: #3A3A3A; }
.prose a { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 64px; background: var(--s1); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 16px; }
.footer li + li { margin-top: 8px; }
.footer a { color: var(--muted); font-size: 14px; line-height: 20px; transition: color 300ms var(--ease); }
.footer a:hover { color: var(--text); }
.footer .brand img { height: 32px; }
.footer .tagline { margin-top: 16px; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 9999px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; background: var(--bg); transition: transform 300ms var(--pop), color 300ms var(--ease); }
.socials a:hover { transform: translateY(-2px) scale(1.06); color: var(--accent); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; }
.big-mark { font-size: 128px; line-height: 1; font-weight: 700; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(10, 10, 10, 0.12); margin-top: 48px; user-select: none; text-align: center; }
@media (max-width: 720px) { .big-mark { font-size: 72px; } }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 9999px; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 16px 32px -8px rgba(37, 211, 102, 0.6); transition: transform 300ms var(--pop); }
.wa-float:hover { transform: scale(1.1); }
.wa-float:active { transform: scale(0.98); }

/* ---------- Scroll reveal with a little pop ---------- */
.js .rv { opacity: 0; transform: translateY(32px) scale(0.97); transition: opacity 700ms var(--ease), transform 900ms var(--pop); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: 80ms; }
.js .rv.d2 { transition-delay: 160ms; }
.js .rv.d3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js .rv { transform: none; transition: opacity 300ms linear; }
  .swoosh path { stroke-dashoffset: 0; animation: none; }
  .reveal-text .w { color: var(--text); transition: none; }
  .mobile-menu a.m-link, .mobile-menu .btn { transform: none; }
}

/* ─────────────────────────────────────────────────────────────
   Comparison tables — "What we build". The source document uses
   a navy header and zebra rows; those are rebuilt from the site's
   own tokens rather than the document's raw hex, so the tables
   match the rest of the site. On phones each table scrolls
   horizontally inside its own box rather than squeezing columns
   to the point of unreadability.
   ───────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap thead th {
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
  padding: 13px 16px;
  white-space: nowrap;
}
.table-wrap tbody th {
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.table-wrap td, .table-wrap tbody th {
  padding: 13px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.table-wrap tbody tr:nth-child(even) { background: var(--s1); }
.table-wrap tbody tr:hover { background: var(--accent-soft); }
/* the AAIS column in a two-way comparison carries the emphasis */
.table-wrap td.is-ours { color: var(--text); font-weight: 500; }

@media (max-width: 720px) {
  .table-wrap thead th, .table-wrap td, .table-wrap tbody th { padding: 11px 13px; font-size: 13.5px; }
}

/* ─────────────────────────────────────────────────────────────
   Image loading skeleton

   The screenshots are large (several are 200-330 KB) and arrive
   well after first paint, so the shots sat as flat empty panels
   while they loaded. These containers already reserve their space
   with aspect-ratio, so there is no layout shift to fix — only the
   blankness. A shimmer runs until each image decodes, then the
   image cross-fades in and the shimmer is switched off for good.

   Driven by a class the script adds, not by :has(), so it behaves
   the same in every browser. Without JS nothing is added, the
   images simply appear as before.
   ───────────────────────────────────────────────────────────── */
.skel { position: relative; overflow: hidden; background: var(--s2); }
.skel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: skel-sweep 1.3s var(--ease) infinite;
}
.skel > img { opacity: 0; transition: opacity 420ms var(--ease); }
/* loaded: stop the sweep, remove the pseudo-element from the layer entirely */
.skel.is-loaded { background: none; }
.skel.is-loaded::after { content: none; animation: none; }
.skel.is-loaded > img { opacity: 1; }
@keyframes skel-sweep { to { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .skel::after { animation: none; opacity: 0.5; }
  .skel > img { transition: none; }
}
