/* Products home page (/products/). Dark only. Standalone: does not load the old theme CSS. */

:root {
  --bg: #05080d;
  --panel: #0b111a;
  --panel-2: #101826;
  --line: #1c2636;
  --text: #eaf0f6;
  --muted: #9aa8ba;
  --mint: #55e6a5;
  --mint-ink: #03130c;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px)); background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; position: relative; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--mint); color: var(--mint-ink); padding: 10px 14px; border-radius: 8px; }

/* film grain over the whole page, so flat areas feel printed rather than rendered */
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- header ---------- */
/* the header reaches up under the phone's status bar (safe area), so nothing scrolls through above it */
/* fixed + fully opaque: iOS Safari and Brave tint the status-bar strip from a fixed element touching the top;
   a sticky or see-through header lets the page show through behind the clock while scrolling */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: #05080d; border-bottom: 1px solid var(--line); }
body { padding-top: calc(69px + env(safe-area-inset-top, 0px)); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; white-space: nowrap; }
@media (max-width: 1100px) { .nav { display: none; } .top-in .btn-wa-top { margin-left: auto; } }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* ---------- buttons ---------- */
.wa { width: 19px; height: 19px; flex: none; margin-right: 9px; color: #25d366; }
.btn-solid .wa { color: var(--mint-ink); }
.btn-wa-top { margin-left: 0; }
.btn-wa-top .wa { margin-right: 7px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.500px; border-radius: 10px; }
.btn-solid { background: var(--mint); color: var(--mint-ink); }
.btn-solid:hover { background: #7af0bd; }
.btn-line { border-color: #2c3a50; color: var(--text); }
.btn-line:hover { border-color: var(--mint); }

/* ---------- product icon: one family ---------- */
.app { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 27%;
  background: linear-gradient(155deg, color-mix(in srgb, var(--tint) 82%, #fff) 0%, var(--tint) 46%, color-mix(in srgb, var(--tint) 62%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 26px -10px var(--tint); }
.app svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 2.600; stroke-linecap: round; stroke-linejoin: round; }
.app-lg { width: 84px; height: 84px; }
.app-logo { overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), 0 10px 26px -10px var(--tint); }
.app-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-pad img { width: 68%; height: 68%; object-fit: contain; }
.logo-pad img[src$=".svg"] { width: 72%; height: 72%; margin-top: 6%; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: 104px 0 72px; }
/* hero photo: the team at work, pushed back so the headline reads */
/* hero photo: sits on the right and dissolves into the page on every side, so there are no hard edges */
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -2; pointer-events: none;
  background: url("/assets/uploads/2026/products/hero-team.webp") center 38% / cover no-repeat;
  filter: saturate(.9) brightness(.8);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 60%), linear-gradient(180deg, transparent 0%, #000 22%, #000 58%, transparent 92%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 60%), linear-gradient(180deg, transparent 0%, #000 22%, #000 58%, transparent 92%);
          mask-composite: intersect; }
.hero h1 { font: 800 clamp(2.300rem, 5.600vw, 4.500rem)/1.02 var(--display); letter-spacing: -.028em; max-width: 19ch; text-wrap: balance; }
.lede { margin-top: 22px; max-width: 58ch; color: var(--muted); font-size: clamp(1.050rem, 1.400vw, 1.200rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.dock-cap { margin-top: 64px; color: var(--muted); font-size: 15px; font-weight: 500; }
.dock { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); overflow: hidden; }
.dock li + li { border-left: 1px solid var(--line); }
.dock a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 24px 22px; text-decoration: none; transition: background-color .15s; }
.dock a:hover { background: var(--panel-2); }
.dock-txt { display: grid; gap: 3px; min-width: 0; }
.dock-txt strong { font: 700 1.120rem/1.2 var(--display); letter-spacing: -.01em; }
.dock-txt span { color: var(--muted); font-size: 14px; line-height: 1.35; }

@media (prefers-reduced-motion: no-preference) {
  .dock .app { animation: pop .5s cubic-bezier(.2, .9, .3, 1.3) both; }
  .dock li:nth-child(2) .app { animation-delay: .07s; }
  .dock li:nth-child(3) .app { animation-delay: .14s; }
  .dock li:nth-child(4) .app { animation-delay: .21s; }
  @keyframes pop { from { opacity: 0; transform: scale(.7); } }
}

/* ---------- products ---------- */
.products { padding: 80px 0 24px; border-top: 1px solid var(--line); }
.sec-title { font: 800 clamp(1.800rem, 3.400vw, 2.700rem)/1.08 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.sec-lede { margin-top: 14px; padding-bottom: 40px; }
.product-head { align-self: start; position: sticky; top: 100px; }
.product-head h3 { margin-top: 22px; font: 800 clamp(1.700rem, 2.800vw, 2.300rem)/1.1 var(--display); letter-spacing: -.02em; }
.what { margin-top: 10px; color: var(--muted); max-width: 38ch; }
.product-head .btn { margin-top: 24px; }

.facts > div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 4px; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; color: var(--text); padding-left: 14px; border-left: 3px solid var(--tint); align-self: start; line-height: 1.35; }
.facts dd { color: var(--muted); }

/* ---------- screenshots ---------- */
.shots { position: relative; margin-bottom: 30px; }
.shot-wide { width: 100%; height: auto; border-radius: 14px; border: 1px solid #2c3a50; box-shadow: 0 30px 60px -30px #000; }
.shots-duo { padding: 0 0 34px; }
.shots-duo .shot-wide { width: 88%; }
.shot-phone { position: absolute; right: 0; bottom: 0; width: 25%; height: auto; border-radius: 16px; border: 4px solid #0b111a; outline: 1px solid #2c3a50; box-shadow: 0 24px 50px -18px #000; }

/* ---------- services ---------- */
.services { padding: 88px 0 88px; border-top: 1px solid var(--line); }
/* the story: four steps from idea to live, joined by one line */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 8px 0 56px; padding: 0; list-style: none; counter-reset: step; }
.journey::before { content: ""; position: absolute; top: 31px; left: 32px; right: 12%; height: 2px; background: linear-gradient(90deg, rgba(85, 230, 165, .15), var(--mint)); }
.journey li { position: relative; display: grid; gap: 6px; align-content: start; }
.j-ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: var(--panel-2); border: 1px solid #2c3a50; }
.j-ic svg, .svc-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--mint); stroke-width: 1.700; stroke-linecap: round; stroke-linejoin: round; }
.j-live { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 8px rgba(85, 230, 165, .12); }
.j-live svg { stroke: var(--mint-ink); }
.journey strong { font: 700 1.150rem/1.3 var(--display); letter-spacing: -.01em; }
.journey span:not(.j-ic) { color: var(--muted); font-size: 15.500px; max-width: 26ch; }

.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 36px; padding: 0; list-style: none; }
.svc li { padding: 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(85, 230, 165, .1); margin-bottom: 18px; }
.svc h3 { font: 700 1.150rem/1.3 var(--display); letter-spacing: -.01em; }
.svc p { margin-top: 8px; color: var(--muted); font-size: 15.500px; }

/* ---------- price calculator ---------- */
.price { padding: 88px 0; background: var(--panel); border-top: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.price-copy { position: sticky; top: 100px; }
.base { color: var(--mint); font-weight: 700; white-space: nowrap; }
.fine { margin-top: 18px; color: var(--muted); font-size: 14.500px; max-width: 46ch; }
.calc { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.calc fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.calc legend { font: 700 1.050rem/1.3 var(--display); margin-bottom: 10px; padding: 0; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15.500px; transition: border-color .15s, background-color .15s; }
.opt + .opt { margin-top: 8px; }
.opt span { flex: 1; }
.opt em { font-style: normal; color: var(--muted); font-size: 14.500px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt input { width: 18px; height: 18px; accent-color: var(--mint); flex: none; }
.opt:has(input:checked) { border-color: rgba(85, 230, 165, .55); background: rgba(85, 230, 165, .06); }
.opt:has(input:checked) em { color: var(--mint); }
.opt-fixed { cursor: default; opacity: .85; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input { flex: 1; accent-color: var(--mint); }
.range-row output { min-width: 2.500ch; font: 700 1.300rem/1 var(--display); text-align: right; }
.note { margin-top: 6px; color: var(--muted); font-size: 14px; }
.total { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 18px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.t-label { display: block; color: var(--muted); font-size: 14px; }
.total strong { display: block; margin-top: 4px; font: 800 clamp(1.600rem, 3vw, 2.200rem)/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
#total { color: var(--mint); }
.calc .btn { width: 100%; }

/* ---------- client work ---------- */
.work { padding: 88px 0; border-top: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.work-grid a { display: grid; align-content: start; gap: 6px; height: 100%; text-decoration: none; }
.w-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-2); margin-bottom: 8px; }
.w-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.work-grid a:hover .w-img img { transform: scale(1.04); }
.work-grid a:hover strong { color: var(--mint); }
.w-tag { justify-self: start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--muted); border: 1px solid #2c3a50; background: var(--panel); }
.w-tag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.700; stroke-linecap: round; stroke-linejoin: round; }
.w-tag-ai { color: var(--mint); border-color: rgba(85, 230, 165, .45); }
.work-grid strong { font: 700 1.100rem/1.3 var(--display); letter-spacing: -.01em; }
.w-txt { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- tech stack ---------- */
.stack { padding: 88px 0 80px; border-top: 1px solid var(--line); }
.stack-list { border-top: 1px solid var(--line); }
.stack-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.stack-list dt { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid #2c3a50; border-radius: 999px; font-size: 14.500px; color: var(--text); background: var(--panel); }
.chips img { width: 20px; height: 20px; object-fit: contain; }
.stack-list > div:first-child .chips li { border-color: rgba(85, 230, 165, .45); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.why h3 { font: 700 1.200rem/1.3 var(--display); }
.why p { margin-top: 8px; color: var(--muted); }

/* ---------- AI ---------- */
.ai { padding: 88px 0; background: var(--panel); border-block: 1px solid var(--line); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ai-list { margin-top: 36px; display: grid; gap: 26px; }
.ai-list dt { font: 700 1.180rem/1.3 var(--display); letter-spacing: -.01em; }
.ai-list dd { margin-top: 6px; color: var(--muted); max-width: 52ch; }

.ask { border: 1px solid var(--line); border-radius: 20px; background: var(--bg); padding: 22px; font-size: 15.500px; }
.ask figcaption { color: var(--muted); font-size: 13.500px; margin-bottom: 16px; }
.ask-q { margin-left: auto; width: fit-content; max-width: 88%; background: #1f8a66; color: #fff; padding: 12px 16px; border-radius: 16px 16px 4px 16px; font-weight: 500; }
.ask-a { margin-top: 14px; background: var(--panel-2); border-radius: 16px 16px 16px 4px; padding: 16px; }
.ask table { width: 100%; margin-top: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ask th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13.500px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ask td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ask th:last-child, .ask td:last-child { text-align: right; }
.ask-src { margin-top: 12px; color: var(--mint); font-size: 13.500px; }
.ask-act { margin-top: 14px; border: 1px dashed #2c3a50; border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; }
.ask-act > span:first-child { color: var(--muted); font-size: 13.500px; }
.ask-btns { display: flex; gap: 8px; margin-top: 6px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid #2c3a50; font-size: 14px; font-weight: 500; color: var(--muted); }
.chip-on { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); }

/* ---------- contact ---------- */
.talk { padding: 104px 0 96px; border-top: 1px solid var(--line); }
.talk h2 { font: 800 clamp(2rem, 4.600vw, 3.600rem)/1.04 var(--display); letter-spacing: -.026em; max-width: 16ch; text-wrap: balance; }
.mail { margin-top: 22px; color: var(--muted); font-size: 15.500px; }
.mail a { color: var(--text); }

/* ---------- footer: home town ---------- */
.foot { color: var(--muted); font-size: 14.500px; }
.home-band { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 150px; border-top: 1px solid var(--line); text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 8, 13, .78) 45%, rgba(5, 8, 13, .9) 100%), url("/assets/uploads/2026/products/kumbakonam-temple.webp") center 40% / cover; }
.made { font: 800 clamp(2rem, 5vw, 3.600rem)/1.05 var(--display); letter-spacing: -.026em; color: var(--text); }
.heart { display: inline-block; width: .9em; height: .9em; vertical-align: -.08em; color: #ff4d6d; }
@media (prefers-reduced-motion: no-preference) { .heart { animation: beat 1.600s ease-in-out infinite; } @keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.18); } 24% { transform: scale(1); } } }
.home-txt { margin: 14px auto 0; max-width: 52ch; color: #c3cdd9; font-size: 1.050rem; }
.gopurams { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 140px; color: rgba(243, 201, 107, .55); z-index: -1; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { display: inline-flex; align-items: center; text-decoration: none; }
.foot a .wa { width: 16px; height: 16px; margin-right: 6px; }
.foot a:hover { color: var(--text); }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .dock a { flex-direction: column; align-items: flex-start; }
  .product { grid-template-columns: 1fr; gap: 30px; padding: 44px 0; }
  .product-head { position: static; }
  .ai-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .journey::before { display: none; }
  .price-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-copy { position: static; }
  .why { grid-template-columns: 1fr; gap: 22px; }
  .stack-list > div { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { display: none; }
  .top-in .btn-wa-top { margin-left: auto; padding: 0 12px; }
  .btn-wa-top span { display: none; }
  .btn-wa-top .wa { margin: 0; }
  .home-band { padding: 60px 0 120px; }
  .hero { padding: 56px 0 48px; }
  .dock { grid-template-columns: 1fr; }
  .dock-cap { margin-top: 40px; }
  .dock li + li { border-left: 0; border-top: 1px solid var(--line); }
  .dock a { padding: 18px; flex-direction: row; align-items: center; }
  .hero-cta .btn { width: 100%; }
  .facts > div { grid-template-columns: 1fr; gap: 6px; }
  .svc { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .work { padding: 60px 0; }
  .w-txt { font-size: 14px; }
  .journey { grid-template-columns: 1fr; row-gap: 0; }
  .journey li { grid-template-columns: 56px 1fr; column-gap: 16px; padding-bottom: 26px; }
  .journey li::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: rgba(85, 230, 165, .3); }
  .journey li:last-child::before { display: none; }
  .j-ic { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .services { padding: 60px 0; }
  .calc { padding: 18px; }
  .opt { font-size: 15px; padding: 11px 12px; }
  .price, .stack { padding: 60px 0; }
  .hero-photo { width: 100%; background-image: url("/assets/uploads/2026/products/hero-team-sm.webp"); background-position: center 30%; filter: saturate(.9) brightness(.55); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 75%); }
  .ai { padding: 60px 0; }
  .talk { padding: 68px 0 64px; }
  .app-lg { width: 72px; height: 72px; }
}


/* ---------- motion (Apple-style: slow ease-out, small distances, blur that sharpens) ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* hero load sequence */
.motion .hero h1 .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); }
.motion.ready .hero h1 .w { opacity: 1; filter: blur(0); transform: none; transition: opacity 1s var(--ease-out), filter 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 80ms); }
.motion .hero .lede, .motion .hero .hero-cta, .motion .hero .dock-cap, .motion .hero .dock { opacity: 0; transform: translateY(18px); }
.motion.ready .hero .lede, .motion.ready .hero .hero-cta, .motion.ready .hero .dock-cap, .motion.ready .hero .dock { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.motion.ready .hero .lede { transition-delay: .55s; }
.motion.ready .hero .hero-cta { transition-delay: .7s; }
.motion.ready .hero .dock-cap { transition-delay: .85s; }
.motion.ready .hero .dock { transition-delay: .92s; }
.motion .hero-photo { opacity: 0; transform: scale(1.08); }
.motion.ready .hero-photo { opacity: 1; transform: none; transition: opacity 1.8s var(--ease-out), transform 2.400s var(--ease-out); }
.motion .dock .app { animation-delay: calc(1s + var(--k, 0) * 70ms); }
.motion .dock li:nth-child(2) .app { --k: 1; } .motion .dock li:nth-child(3) .app { --k: 2; } .motion .dock li:nth-child(4) .app { --k: 3; }

/* scroll reveals */
.motion [data-reveal] { opacity: 0; transform: translateY(32px); }
.motion [data-reveal].in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.motion .sec-title[data-reveal] { transform: translateY(24px); filter: blur(6px); }
.motion .sec-title[data-reveal].in { filter: blur(0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); }
.motion .shots[data-reveal] { transform: translateY(48px) scale(.94); }
.motion .shots[data-reveal].in { transform: none; transition-duration: 1.2s, 1.400s; }
.motion .svc li[data-reveal], .motion .work-grid li[data-reveal] { transform: translateY(36px) scale(.97); }

/* hover: cards lift a little, like a product tile */
.svc li, .work-grid a { transition: transform .5s var(--ease-out); }
.svc li:hover, .work-grid a:hover { transform: translateY(-4px); }
.motion .svc li.in:hover { transform: translateY(-4px); }

/* screenshots keep growing gently while they scroll through the view, where supported */
@supports (animation-timeline: view()) {
  .motion .shots.in img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes settle { from { transform: scale(.96); } to { transform: scale(1); } }
  .motion .shots.in .shot-phone { animation-name: rise; }
  @keyframes rise { from { transform: translateY(40px); } to { transform: translateY(0); } }
}

@media (prefers-reduced-motion: reduce) {
  .svc li, .work-grid a, .w-img img { transition: none; }
  .svc li:hover, .work-grid a:hover { transform: none; }
}


/* ---------- product links and feature checks ---------- */
.p-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.product-head .p-cta .btn { margin-top: 0; }
.ext { width: 16px; height: 16px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 2.200; stroke-linecap: round; stroke-linejoin: round; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: start; align-content: start; padding: 0; list-style: none; }
.feat li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-weight: 600; font-size: 15.500px; line-height: 1.3; }
.chk { flex: none; width: 24px; height: 24px; fill: none; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.chk circle { fill: color-mix(in srgb, var(--tint) 22%, transparent); stroke: none; }
.chk path { stroke: color-mix(in srgb, var(--tint) 55%, #fff); stroke-width: 2.400; }
@media (max-width: 620px) { .feat { grid-template-columns: 1fr; gap: 8px; } }


/* ---------- AI chatbots and WhatsApp automation ---------- */
.ai-list { list-style: none; padding: 0; }
.ai-list li { display: flex; gap: 16px; align-items: flex-start; }
.ai-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(85, 230, 165, .1); }
.ai-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--mint); stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.ai-ic-wa { background: rgba(37, 211, 102, .12); }
.ai-ic-wa svg { stroke: none; color: #25d366; }
.ai-list h3 { font: 700 1.180rem/1.3 var(--display); letter-spacing: -.01em; }
.ai-list p { margin-top: 4px; color: var(--muted); max-width: 46ch; }

.wa-chat { border-radius: 22px; overflow: hidden; border: 1px solid #22303f; background: #0b141a; box-shadow: 0 40px 80px -40px #000; max-width: 460px; justify-self: end; width: 100%; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #1f2c34; }
.wa-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #d9861c; color: #fff; font-weight: 700; }
.wa-head strong { display: block; font-size: 15.500px; color: #e9edef; }
.wa-head small { display: block; font-size: 12.500px; color: #8696a0; }
.wa-body { display: grid; gap: 8px; padding: 18px 14px 22px; background: #0b141a radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .035) 1px, transparent 1.500px) 0 0 / 18px 18px; }
.b { max-width: 82%; padding: 8px 12px; border-radius: 10px; font-size: 15px; line-height: 1.4; color: #e9edef; }
.b.me { justify-self: end; background: #005c4b; border-top-right-radius: 3px; }
.b.bot { justify-self: start; background: #1f2c34; border-top-left-radius: 3px; }
.pay { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px; text-align: center; font-weight: 600; color: #53bdeb; background: rgba(83, 189, 235, .1); }
.b.auto { border: 1px dashed rgba(85, 230, 165, .35); }
.b .tag { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--mint); }
@media (max-width: 980px) { .wa-chat { justify-self: stretch; max-width: none; } }
@media (prefers-reduced-motion: no-preference) {
  .motion .wa-chat.in .b { animation: bubble .6s var(--ease-out) both; }
  .motion .wa-chat.in .b:nth-child(2) { animation-delay: .45s; } .motion .wa-chat.in .b:nth-child(3) { animation-delay: .9s; }
  .motion .wa-chat.in .b:nth-child(4) { animation-delay: 1.350s; } .motion .wa-chat.in .b:nth-child(5) { animation-delay: 1.900s; }
  @keyframes bubble { from { opacity: 0; transform: translateY(10px) scale(.96); } }
}
