/* ── minimal base reset (replaces the Tailwind in-browser compiler) ── */
@layer base {
  *, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
  html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
  h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
  a { color: inherit; text-decoration: inherit; }
  b, strong { font-weight: bolder; }
  small { font-size: 80%; }
  ol, ul, menu { list-style: none; }
  img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
  img, video { max-width: 100%; height: auto; }
  button, input, select, optgroup, textarea { font: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; }
  button, [type="button"], [type="submit"] { -webkit-appearance: button; appearance: button; }
  textarea { resize: vertical; }
  ::placeholder { opacity: 1; color: rgba(110,118,135,.8); color: color-mix(in oklab, currentcolor 50%, transparent); }
  summary { display: list-item; }
  [hidden]:where(:not([hidden="until-found"])) { display: none !important; }
}

/* utility classes toggled by js/inquiry.js, js/book_consultation.js and js/submitForm.js */
.fixed { position: fixed; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(.4, 0, .2, 1); transition-duration: .15s; }
.duration-500 { transition-duration: .5s; } .duration-700 { transition-duration: .7s; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, .2, 1); } .ease-in-out { transition-timing-function: cubic-bezier(.4, 0, .2, 1); }
.opacity-0 { opacity: 0; } .opacity-70 { opacity: .7; }
.translate-x-16 { transform: translateX(4rem); } .translate-x-full { transform: translateX(100%); } .translate-x-0 { transform: translateX(0); }
.top-20 { top: 5rem; } .right-0 { right: 0; }
.z-50 { z-index: 50; } .z-\[100\] { z-index: 100; }
.bg-green-600 { background-color: #16a34a; } .bg-red-600 { background-color: #dc2626; }
.text-white { color: #fff; } .text-sm { font-size: .875rem; line-height: 1.25rem; } .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.px-6 { padding-inline: 1.5rem; } .py-3 { padding-block: .75rem; }
.rounded-lg { border-radius: .5rem; } .rounded-full { border-radius: 9999px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.font-medium { font-weight: 500; }
.cursor-not-allowed { cursor: not-allowed; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; } .w-\[360px\] { width: 360px; }
.border-2 { border-width: 2px; border-style: solid; } .border-white { border-color: #fff; } .border-t-transparent { border-top-color: transparent; }
.animate-spin { animation: spin 1s linear infinite; }

/* ───────── Techfami · light-first, dark hero + footer ───────── */
:root {
  --paper: #f6f8fc;
  --paper-2: #eaf0fb;
  --white: #ffffff;
  --ink: #0b1530;
  --ink-2: #475069;
  --ink-3: #56607a;
  --line: #dce3f0;
  --indigo: #1d5fe8;
  --indigo-deep: #1349b8;
  --indigo-soft: #e4edff;
  --glow: #7fb0ff;
  --night: #0a1228;
  --night-2: #121c3a;
  --night-line: rgba(255, 255, 255, 0.12);
  --on-night: #e8eefa;
  --on-night-2: #a9b6d3;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lime: #ffb020;
  --mint: #22d3a6;
  --serif: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.on-night :focus-visible, .night :focus-visible { outline-color: var(--glow); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 8px; border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--indigo); }

.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.display { font-family: var(--serif); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
h2.display { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 0; }
.lede { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tint { background: var(--paper-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 .95rem/1 var(--sans); padding: .95rem 1.5rem; border-radius: 10px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--indigo); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -8px rgba(29,95,232,.55); }
.btn--primary:hover { background: var(--indigo-deep); box-shadow: 0 12px 26px -10px rgba(29,95,232,.6); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--indigo-soft); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-night { color: var(--on-night); border-color: var(--night-line); }
.btn--ghost-night:hover { border-color: #fff; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--indigo); text-decoration: none; }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

/* ── header ── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background-color .35s, box-shadow .35s, color .35s; color: var(--on-night); }
.site-header.scrolled { background: rgba(255, 255, 255, .0); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; background: #fff; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .82; transition: opacity .2s; position: relative; }
.nav-links a:hover { opacity: 1; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.menu-btn .icon { width: 28px; height: 28px; }
.backdrop { position: fixed; inset: 0; background: rgba(3, 8, 18, .6); z-index: 70; }

/* ── hero (dark) ── */
.hero { position: relative; background: var(--night); color: var(--on-night); padding: clamp(8.5rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 85% 5%, rgba(29,95,232,.5), transparent 70%),
    radial-gradient(45% 45% at 5% 95%, rgba(255,176,32,.08), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(75% 70% at 50% 35%, #000, transparent); -webkit-mask-image: radial-gradient(75% 70% at 50% 35%, #000, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.hero h1 { font-size: clamp(2.9rem, 7.6vw, 6rem); margin: 0; color: #fff; }
.hero h1 .w { display: inline-block; }
.hero h1 em { font-style: normal; color: #7fb0ff; font-weight: 700; }
.rotator-line { margin: 1.8rem 0 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--on-night-2); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.rotator { display: inline-block; height: 2.5rem; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; padding-inline: 1.1rem; }
.rotator-track { display: block; }
.rotator-track span { display: flex; align-items: center; height: 2.5rem; white-space: nowrap; font-size: 1.05rem; }
.hero-sub { max-width: 54ch; margin: 1.6rem 0 0; color: var(--on-night-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.live-card { display: block; text-decoration: none; background: rgba(255,255,255,.05); border: 1px solid var(--night-line); border-radius: 14px; padding: 1.5rem; backdrop-filter: blur(10px); transition: border-color .3s, transform .5s var(--ease), background-color .3s; }
.live-card:hover { border-color: var(--glow); transform: translateY(-4px); background: rgba(255,255,255,.08); }
.live-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--mint); }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(91,235,192,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(91,235,192,0); } 100% { box-shadow: 0 0 0 0 rgba(91,235,192,0); } }
.live-card h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: .9rem 0 .35rem; color: #fff; }
.live-card p { margin: 0 0 1.2rem; color: var(--on-night-2); font-size: .95rem; line-height: 1.55; }
.live-card span.go { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; font-size: .95rem; }

/* ── services: editorial list ── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sticky { position: sticky; top: 110px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 52px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.6rem .25rem; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), background-color .3s; position: relative; }
.svc:hover { padding-inline: 1rem; background: var(--white); }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .5s var(--ease); }
.svc:hover .svc-ico { background: var(--indigo); color: #fff; transform: rotate(-6deg); }
.svc h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.45rem; margin: 0 0 .2rem; letter-spacing: -.01em; }
.svc p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.svc button { background: none; border: 1px solid var(--line); border-radius: 10px; padding: .6rem 1.1rem; font: 600 .85rem var(--sans); color: var(--ink); cursor: pointer; transition: all .3s var(--ease); white-space: nowrap; }
.svc:hover button, .svc button:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── ERP bento ── */
.erp-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.erp-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 220px; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color: #cfcfcf; box-shadow: 0 22px 40px -26px rgba(14,18,36,.35); }
.tile h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.4rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.tile .ti { width: 44px; height: 44px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.tile--wide { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.5rem; }
.tile--wide p { max-width: 60ch; }
.tile--tall { grid-column: span 2; }
.tile--hero { grid-column: span 4; background: var(--night); border-color: var(--night); color: var(--on-night); }
.tile--hero h3 { color: #fff; font-size: 1.9rem; }
.tile--hero p { color: var(--on-night-2); max-width: 46ch; }
.tile--hero .ti { background: rgba(255,255,255,.2); color: #d4d4d4; }
.tile--hero:hover { border-color: var(--glow); }
.who { margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.who h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.3rem; margin: 0 0 .5rem; }
.who p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ── process ── */
.process { position: relative; margin-top: 4rem; }
.pline { position: absolute; top: 33px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); border-radius: 2px; }
.pfill { position: absolute; inset: 0; background: var(--indigo); transform-origin: left center; border-radius: 2px; }
html.js .pfill { transform: scaleX(0); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps li { padding-inline: 1.1rem; text-align: center; }
.node { width: 66px; height: 66px; margin-inline: auto; border-radius: 18px; background: var(--white); border: 1.5px solid var(--line); color: var(--ink-3); display: grid; place-items: center; position: relative; z-index: 1; transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.node .icon { width: 28px; height: 28px; }
.node.on { background: var(--indigo); border-color: var(--indigo); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 24px -12px rgba(29,95,232,.6); }
.steps h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.35rem; margin: 1.4rem 0 .5rem; }
.steps p { margin: 0 auto; max-width: 26ch; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }

@media (max-width: 960px) {
  .pline { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li { position: relative; text-align: left; padding: 0 0 2.4rem 5.4rem; min-height: 66px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps .node { position: absolute; left: 0; top: 0; margin: 0; width: 56px; height: 56px; border-radius: 16px; }
  .steps li:not(:last-child)::before, .steps li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; border-radius: 2px; }
  .steps li:not(:last-child)::before { background: var(--line); }
  .steps li:not(:last-child)::after { background: var(--indigo); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease) .15s; }
  .steps li.on-li:not(:last-child)::after { transform: scaleY(1); }
  .steps h3 { margin: .2rem 0 .4rem; }
  .steps p { margin: 0; max-width: 46ch; }
}

/* ── pricing ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; margin-top: 3.5rem; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 2.1rem; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(14,18,36,.4); }
.plan--dark { background: var(--night); border-color: var(--night); color: var(--on-night); }
.plan h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.6rem; margin: 0; }
.plan .tag { font-size: .85rem; color: var(--ink-3); margin: .3rem 0 0; }
.plan--dark .tag { color: var(--on-night-2); }
.price { font-family: var(--serif); font-size: 3.2rem; letter-spacing: -.03em; line-height: 1; margin: 1.6rem 0 1.4rem; font-weight: 500; font-variant-numeric: lining-nums; }
.price small { font-family: var(--sans); font-size: .85rem; letter-spacing: 0; color: var(--ink-3); font-weight: 500; }
.plan--dark .price small { color: var(--on-night-2); }
.plan ul { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .65rem; font-size: .95rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; align-items: start; line-height: 1.45; }
.plan li .icon { width: 18px; height: 18px; color: var(--indigo); margin-top: 2px; }
.plan--dark li .icon { color: var(--glow); }
.plan .opt { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: .6rem 0 -.2rem; }
.plan--dark .opt { color: var(--on-night-2); }
.plan .btn { margin-top: auto; }
.badge { display: inline-block; margin-bottom: 1rem; background: var(--lime); color: var(--night); font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 10px; letter-spacing: .04em; }
.hidden { display: none !important; }

/* ── why ── */
.why { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 6vw, 6rem); row-gap: 3rem; margin-top: 3.5rem; }
.why h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.55rem; margin: 0 0 .6rem; letter-spacing: -.01em; }
.why p { margin: 0; color: var(--ink-2); }
.why > div { padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* ── reviews ── */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.deck { position: relative; height: 340px; perspective: 1200px; }
.rcard { position: absolute; inset: 0 0 auto 0; height: 270px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 40px -30px rgba(14,18,36,.35); will-change: transform; }
.rcard blockquote { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; letter-spacing: -.02em; font-weight: 500; text-wrap: balance; }
.stars { display: flex; gap: 2px; color: #d9a521; margin-bottom: 1rem; }
.stars .icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.who-r { display: flex; align-items: center; gap: .8rem; font-size: .95rem; }
.who-r b { display: block; font-weight: 600; line-height: 1.2; }
.who-r span { color: var(--ink-3); font-size: .85rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo-deep); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.contact-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.2rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; font-weight: 500; }
.contact-list a:hover span.t { text-decoration: underline; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo); display: grid; place-items: center; }
.socials { display: flex; gap: .7rem; margin-top: 2rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -40px rgba(14,18,36,.35); }
.form-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-card .full { grid-column: 1 / -1; }
.form-card label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.form-card input, .form-card select, .form-card textarea { width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form-card input::placeholder, .form-card textarea::placeholder { color: #6b6b6b; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(29,95,232,.14); background: #fff; }
.form-card button[type=submit] { width: 100%; padding: 1.05rem; font-size: 1rem; border: 0; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 600; cursor: pointer; transition: background-color .25s, transform .35s var(--ease); }
.form-card button[type=submit]:hover { background: var(--indigo-deep); transform: translateY(-2px); }
.form-card button[type=submit]:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* ── footer (dark) ── */
.site-footer { background: var(--night); color: var(--on-night-2); padding: 5rem 0 2.2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.site-footer h4, .site-footer h3 { color: #fff; font-family: var(--sans); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-tag { font-family: var(--serif); color: #fff; font-size: 1.7rem; line-height: 1.2; margin: 1.2rem 0 0; max-width: 18ch; font-weight: 500; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--night-line); font-size: .9rem; }
.site-footer .brand { color: #fff; }

/* ── floating bits ── */
.wa-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -10px rgba(14,18,36,.5); transition: transform .4s var(--ease); }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }
.wa-fab .icon { width: 28px; height: 28px; }
.consult { position: fixed; bottom: 6.2rem; right: .9rem; width: 310px; max-width: calc(100vw - 1.8rem); z-index: 56; background: var(--night); color: var(--on-night); border: 1px solid var(--night-line); border-radius: 16px; padding: 1.4rem; box-shadow: 0 30px 60px -20px rgba(5,8,20,.6); }
.consult h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.35rem; color: #fff; margin: 0 0 .5rem; }
.consult .sub { color: var(--on-night-2); font-size: .92rem; line-height: 1.5; margin: 0 0 1.2rem; }
.consult .x { position: absolute; top: .7rem; right: .8rem; background: none; border: 0; color: var(--on-night-2); cursor: pointer; padding: .3rem; }
.consult .x:hover { color: #fff; }
.consult .acts { display: flex; gap: .6rem; flex-wrap: wrap; }
.consult .acts button { flex: 1; border-radius: 10px; padding: .65rem .8rem; font: 600 .85rem var(--sans); cursor: pointer; }
.consult .b1 { background: var(--indigo); color: #fff; border: 0; }
.consult .b2 { background: transparent; color: #d4d4d4; border: 1px solid rgba(255,255,255,.35); }
.consult input, .consult select { background: var(--night-2); border: 1px solid var(--night-line); color: #fff; border-radius: 12px; padding: .65rem .8rem; font: 400 .92rem var(--sans); width: 100%; }
.consult input:focus, .consult select:focus { outline: none; border-color: var(--glow); }
.consult #submitCallback { background: var(--indigo); color: #fff; border: 0; border-radius: 10px; padding: .75rem; font-weight: 600; cursor: pointer; width: 100%; }
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(11,11,12,.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-bg.hidden { display: none !important; }
.modal-card { position: relative; width: 100%; max-width: 520px; background: var(--white); border-radius: 16px; padding: 2.2rem; box-shadow: 0 40px 80px -30px rgba(5,8,20,.6); animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal-card h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.7rem; margin: 0 0 1.4rem; letter-spacing: -.01em; }
.modal-card input, .modal-card select, .modal-card textarea { width: 100%; font: 400 1rem var(--sans); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; color: var(--ink); }
.modal-card input:focus, .modal-card select:focus, .modal-card textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(29,95,232,.14); }
.modal-card button[type=submit] { width: 100%; background: var(--indigo); color: #fff; border: 0; padding: .95rem; border-radius: 10px; font-weight: 600; cursor: pointer; display: flex; justify-content: center; }
.modal-card #closeModal { position: absolute; top: 1rem; right: 1rem; background: var(--paper-2); border: 0; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.modal-card .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.modal-card .grid3 { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; }
.modal-card form { display: grid; gap: 1rem; }
.loader { display: inline-block; }

/* ── reveal states (only when JS + motion allowed) ── */
html.js [data-r] { opacity: 0; transform: translateY(28px); }
html.js .hero [data-hero] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ── responsive ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .hero-grid, .split, .reviews-grid, .contact-grid, .erp-head { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero, .tile--wide, .tile--tall { grid-column: span 2; }
  .who, .plans, .why { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .live-card { max-width: 420px; }
  .deck { height: 320px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .svc { grid-template-columns: 44px 1fr; }
  .svc button { grid-column: 2; justify-self: start; }
  .svc-ico { width: 44px; height: 44px; }
  .form-card form { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--wide, .tile--tall { grid-column: span 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .consult { bottom: 5.6rem; }
  .rcard blockquote { font-size: 1.2rem; }
}

/* ── service chips, included strip, products teaser ── */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; padding: 0; }
.chips li { font-size: .78rem; font-weight: 500; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: .2rem .6rem; }
.included { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 3rem; border-top: 1px solid var(--line); }
.included h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 1.8rem; }
.included ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.included li b { display: block; font-weight: 600; margin-bottom: .35rem; }
.included li span { color: var(--ink-2); font-size: .96rem; line-height: 1.55; display: block; }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: center; }
.teaser-act { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
@media (max-width: 960px) { .included ul { grid-template-columns: 1fr 1fr; } .teaser { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .included ul { grid-template-columns: 1fr; } }

/* ── products page ── */
.prose > p { color: var(--ink-2); max-width: 62ch; font-size: 1.12rem; margin: 0; }
.modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); margin-top: 3.5rem; }
.modgroup h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 1.2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.modgroup ul { list-style: none; margin: 0; padding: 0; }
.modgroup li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.modgroup li b { display: block; font-weight: 600; margin-bottom: .25rem; }
.modgroup li span { display: block; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.cta-band .display { max-width: 20ch; }
.nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
@media (max-width: 960px) { .modgrid { grid-template-columns: 1fr; } }

/* ── price roll ── */
.price .od { display: inline-block; height: 1.05em; line-height: 1.05; overflow: hidden; vertical-align: top; }
.price .od-col { display: block; will-change: transform; }
.price .od-col span { display: block; height: 1.05em; line-height: 1.05; }
.price .sym, .price .sep { display: inline-block; line-height: 1.05; }
.plan--dark .price { color: var(--lime); }
.plan--dark .price small { color: var(--on-night-2); }
html.js .plan li { opacity: 0; transform: translateX(-10px); }

/* ── hero v2: idea-to-reality ── */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 1.8rem 0 0; padding: 0; color: var(--on-night-2); font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust .icon { width: 1.05em; height: 1.05em; color: var(--mint); }
.build { display: grid; gap: .7rem; }
.build-q { margin: 0 0 .3rem; color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.build-item { display: grid; grid-template-columns: 46px 1fr 20px; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--night-line); border-radius: 20px; background: rgba(255,255,255,.04); text-decoration: none; color: var(--on-night); transition: background-color .3s, border-color .3s, transform .5s var(--ease); }
.build-item:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.34); transform: translateX(4px); }
.build-item .bi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #111; }
.bi-1 { background: #fdeaa8; } .bi-2 { background: #ddd8ff; } .bi-3 { background: #ffd9ec; } .bi-4 { background: #cdf7ea; }
.build-item .bt b { display: block; color: #fff; font-weight: 600; letter-spacing: -.01em; }
.build-item .bt span { display: block; color: var(--on-night-2); font-size: .88rem; line-height: 1.45; margin-top: .1rem; }
.build-item .go { width: 18px; height: 18px; color: var(--on-night-2); transition: transform .35s var(--ease), color .3s; }
.build-item:hover .go { transform: translateX(3px); color: #fff; }
@media (min-width: 961px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 410px; align-items: center; } }

/* ══ Services bento ══ */
.shead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.shead .lede { margin: 0; }
.sbento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.stile { --bg: #f4f4f4; --fg: #111; position: relative; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); border-radius: 28px; padding: clamp(1.4rem, 2.6vw, 2rem); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.stile:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -34px rgba(0,0,0,.45); }
.stile h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.12; margin: 0 0 .6rem; }
.stile p { margin: 0; max-width: 46ch; color: color-mix(in srgb, var(--fg) 72%, transparent); font-size: .98rem; line-height: 1.55; }
.stile .chips { margin-top: 1rem; }
.stile .chips li { background: rgba(255,255,255,.65); border-color: transparent; color: #222; }
.st-top { position: relative; z-index: 2; }
.st-vis { position: relative; margin-top: 1.4rem; min-height: 180px; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.st-btn { position: absolute; top: clamp(1.1rem, 2vw, 1.6rem); right: clamp(1.1rem, 2vw, 1.6rem); z-index: 3; display: inline-flex; align-items: center; gap: .4rem; background: #111; color: #fff; border: 0; border-radius: 999px; padding: .6rem 1rem; font: 600 .85rem var(--sans); cursor: pointer; transition: transform .4s var(--ease), background-color .25s; }
.st-btn:hover { transform: scale(1.05); background: #000; }
.st-btn .icon { width: 15px; height: 15px; }
.st-top { padding-right: 5.5rem; }

.s-web { grid-column: span 7; --bg: #fdeaa8; }
.s-app { grid-column: span 5; --bg: #ddd8ff; }
.s-chat { grid-column: span 5; --bg: #ffd9ec; }
.s-saas { grid-column: span 7; --bg: #cdf7ea; }
.s-ux { grid-column: span 5; --bg: #d6e6ff; }
.s-gen { grid-column: span 7; --bg: #111; --fg: #fff; }
.s-aidev { grid-column: span 12; --bg: #f1f1f1; }
.s-gen .chips li { background: rgba(255,255,255,.12); color: #e8e8e8; }
.s-gen .st-btn { background: #fff; color: #111; }
.s-gen .st-btn:hover { background: #e8e8e8; }

/* visuals */
.v-browser { width: min(440px, 100%); background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px -18px rgba(0,0,0,.3); padding: .75rem 1rem 0; transform: translateY(18px); transition: transform .7s var(--ease); }
.stile:hover .v-browser { transform: translateY(4px); }
.vb-bar { display: flex; gap: 5px; margin-bottom: .8rem; } .vb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e1e1e1; }
.vb-body { padding-bottom: 1.4rem; display: grid; gap: .5rem; justify-items: start; }
.vb-body b { font-size: 1.15rem; letter-spacing: -.03em; color: #111; }
.vb-line { height: 8px; width: 80%; border-radius: 6px; background: #ececec; } .vb-line.short { width: 52%; }
.vb-btn { margin-top: .3rem; background: #111; color: #fff; font-size: .72rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; }

.v-phone { width: 168px; background: #111; border-radius: 30px 30px 0 0; padding: 8px 8px 0; transform: translateY(26px); transition: transform .7s var(--ease); }
.stile:hover .v-phone { transform: translateY(8px); }
.vp-screen { background: #fff; border-radius: 24px 24px 0 0; padding: .9rem .8rem 2.2rem; display: grid; gap: .55rem; color: #111; }
.vp-title { font-weight: 700; font-size: .95rem; letter-spacing: -.02em; }
.vp-row { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 500; background: #f4f4f4; border-radius: 12px; padding: .5rem .6rem; }
.vp-row i { width: 9px; height: 9px; border-radius: 50%; flex: none; }

.v-chat { width: 100%; max-width: 300px; display: grid; gap: .5rem; padding-bottom: .2rem; }
.v-chat .b { margin: 0; font-size: .82rem; line-height: 1.35; padding: .6rem .85rem; border-radius: 16px; max-width: 78%; color: #111; background: #fff; }
.v-chat .l { justify-self: start; border-bottom-left-radius: 5px; }
.v-chat .r { justify-self: end; background: #111; color: #fff; border-bottom-right-radius: 5px; }

.v-dash { width: 100%; max-width: 300px; background: #fff; border-radius: 18px; padding: .9rem 1rem 1rem; color: #111; }
.vd-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .85rem; margin-bottom: .8rem; }
.vd-head em { font-style: normal; font-size: .68rem; background: #cdf7ea; padding: .15rem .55rem; border-radius: 999px; }
.vd-bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; }
.vd-bars i { flex: 1; height: var(--h); background: #111; border-radius: 6px 6px 3px 3px; transform-origin: bottom; transition: transform .6s var(--ease); }
.vd-bars i:last-child { background: #5bebc0; }
.stile:hover .vd-bars i { transform: scaleY(1.08); }

.v-ux { position: relative; display: flex; align-items: center; gap: 1.4rem; padding-bottom: .6rem; }
.vu-aa { font-family: var(--serif); font-weight: 600; font-size: 4.6rem; letter-spacing: -.05em; line-height: 1; color: #111; }
.vu-dots { display: grid; grid-template-columns: repeat(2, 26px); gap: 8px; }
.vu-dots i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.12); }
.vu-cur { position: absolute; width: 26px; height: 26px; right: -16px; bottom: 0; transition: transform .7s var(--ease); fill: #111; }
.stile:hover .vu-cur { transform: translate(-22px, -14px); }

.v-gen { width: 100%; max-width: 470px; }
.vg-box { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 1rem 1.1rem; font-size: .95rem; color: #eee; }
.vg-box .icon { color: #ffb020; margin-top: .15rem; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: #ffb020; margin-left: 3px; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.v-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; padding-bottom: .4rem; }
.vf-n { background: #fff; border: 1px solid #e3e3e3; border-radius: 999px; padding: .55rem .95rem; font-size: .82rem; font-weight: 600; }
.vf-n.hot { background: #111; color: #fff; border-color: #111; }
.v-flow .icon { width: 16px; height: 16px; color: #777; }

/* entrance of illustrations (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  html.js .stile:not(.is-in) .v-chat .b, html.js .stile:not(.is-in) .vf-n { opacity: 0; transform: translateY(12px) scale(.96); }
  html.js .stile:not(.is-in) .vd-bars i { transform: scaleY(.05); }
  .stile.is-in .v-chat .b, .stile.is-in .vf-n { animation: popin .6s var(--ease) both; }
  .stile.is-in .v-chat .b:nth-child(2), .stile.is-in .vf-n:nth-child(3) { animation-delay: .5s; }
  .stile.is-in .v-chat .b:nth-child(3), .stile.is-in .vf-n:nth-child(5) { animation-delay: 1s; }
  .stile.is-in .vd-bars i { animation: growbar .9s var(--ease) both; }
  .stile.is-in .vd-bars i:nth-child(2) { animation-delay: .08s; } .stile.is-in .vd-bars i:nth-child(3) { animation-delay: .16s; }
  .stile.is-in .vd-bars i:nth-child(4) { animation-delay: .24s; } .stile.is-in .vd-bars i:nth-child(5) { animation-delay: .32s; } .stile.is-in .vd-bars i:nth-child(6) { animation-delay: .4s; }
}
@keyframes popin { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes growbar { from { transform: scaleY(.05); } }

@media (max-width: 960px) {
  .shead { grid-template-columns: 1fr; align-items: start; }
  .sbento { grid-template-columns: repeat(2, 1fr); }
  .s-web, .s-gen, .s-aidev { grid-column: span 2; }
  .s-app, .s-chat, .s-saas, .s-ux { grid-column: span 1; }
}
@media (max-width: 640px) {
  .sbento { grid-template-columns: 1fr; }
  .s-web, .s-app, .s-chat, .s-saas, .s-ux, .s-gen, .s-aidev { grid-column: span 1; }
  .st-top { padding-right: 0; }
  .st-btn { position: static; align-self: flex-start; margin-top: 1.2rem; order: 3; }
  .stile { border-radius: 24px; }
  .st-vis { min-height: 150px; }
  .vu-aa { font-size: 3.6rem; }
}

/* ══ Techfami identity: logo blue, navy, amber · Geist ══ */
.dim { color: var(--indigo); }
.night .dim, .cta-band .dim { color: #7fb0ff; }
.display { font-weight: 700; letter-spacing: -.035em; }
h2.display { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.btn, .svc button, .st-btn, .form-card button[type=submit], .modal-card button[type=submit],
.consult .acts button, .consult #submitCallback { border-radius: 12px; }
.badge, .chips li, .rotator { border-radius: 8px; }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--indigo-deep); }
.btn--ghost { border-color: #c9d4ea; }
.btn--ghost:hover { border-color: var(--indigo); background: var(--indigo-soft); }
.tile, .plan, .form-card, .rcard, .modal-card, .stile { border-radius: 20px; }
.live-card, .consult, .build-item { border-radius: 16px; }

/* header: full-width bar, hairline underneath */
.site-header { border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header.scrolled { background: rgba(246,248,252,.92); border-bottom-color: var(--line); box-shadow: none; }
.brand { font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.brand img { border-radius: 10px; }
.nav-links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

/* icon chips: brand-blue tints, not a rainbow */
.tile .ti, .contact-list .ci { background: var(--indigo-soft); color: var(--indigo); border-radius: 12px; }
.tile--hero .ti { background: rgba(127,176,255,.18); color: #bcd6ff; }
.avatar { background: var(--indigo-soft); color: var(--indigo-deep); }
.build-item .bi { background: rgba(29,95,232,.32); color: #fff; border-radius: 12px; }
.bi-1, .bi-2, .bi-3, .bi-4 { background: rgba(29,95,232,.32); }
.build-item:hover .bi { background: var(--indigo); }
.plan li .icon { color: var(--indigo); }
.plan--dark li .icon { color: #7fb0ff; }
.node.on { background: var(--indigo); border-color: var(--indigo); }
.pfill { background: var(--indigo); }
.badge { background: var(--lime); color: #0a1228; }
.consult .b1, .consult #submitCallback { background: var(--indigo); color: #fff; }
.consult .b2 { color: #cfe0ff; border-color: rgba(127,176,255,.5); }
.modgroup h3 { border-bottom-color: var(--indigo); }
::selection { background: var(--indigo); color: #fff; }
.on-night ::selection, .night ::selection { background: var(--lime); color: #0a1228; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus, .modal-card input:focus, .modal-card select:focus, .modal-card textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(29,95,232,.14); }
.tile:hover { border-color: #b9cdf2; }
.stars { color: var(--lime); }

/* services bento: tonal palette */
.stile .chips li { background: rgba(255,255,255,.7); color: #0b1530; border-color: transparent; }
.s-web { --bg: #1d5fe8; --fg: #fff; }
.s-app { --bg: #e4edff; }
.s-chat { --bg: #fff1d6; }
.s-saas { --bg: #0a1228; --fg: #fff; }
.s-ux { --bg: #ffe3d4; }
.s-gen { --bg: #162a5c; --fg: #fff; }
.s-aidev { --bg: #eaf0fb; }
.s-web .chips li, .s-saas .chips li, .s-gen .chips li { background: rgba(255,255,255,.14); color: #eaf1ff; }
.s-web .st-btn, .s-saas .st-btn, .s-gen .st-btn { background: #fff; color: #0a1228; }
.s-web .st-btn:hover, .s-saas .st-btn:hover, .s-gen .st-btn:hover { background: #e4edff; }
.st-btn { background: #0a1228; color: #fff; }
.st-btn:hover { background: var(--indigo); }
.stile:hover { box-shadow: 0 30px 50px -34px rgba(10,18,40,.55); }
.v-browser .vb-btn, .v-chat .r, .vf-n.hot { background: #0a1228; border-color: #0a1228; }
.v-phone { background: #0a1228; }
.vd-bars i { background: #1d5fe8; } .vd-bars i:last-child { background: #ffb020; }
.vd-head em { background: #e4edff; color: #1349b8; }
.vg-box .icon, .caret { color: #ffb020; } .caret { background: #ffb020; }
.vu-cur { fill: #0a1228; }
.vb-body b, .vu-aa { color: #0b1530; }

/* ══ Hero v3: idea → reality ══ */
.hero::before { background: none; }
.hero { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 961px) { .hero2 { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.9rem); }
.h2-copy .hero-sub { margin-top: 1.5rem; font-size: 1.08rem; }

.idea { margin-top: 2rem; max-width: 640px; }
.idea-box { display: flex; align-items: center; gap: .7rem; padding: .45rem .45rem .45rem 1.2rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.idea-box:focus-within { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(255,176,32,.18); background: rgba(255,255,255,.1); }
.idea-pre { color: var(--on-night-2); white-space: nowrap; font-size: 1rem; }
.idea input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 500 1.05rem var(--sans); padding: .8rem .2rem; }
.idea input::placeholder { color: #9fb0d4; }
.idea input:focus { outline: none; }
.idea input.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.idea .btn { padding: .95rem 1.3rem; white-space: nowrap; }
.idea-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .95rem; }
.idea-chips span { color: var(--on-night-2); font-size: .88rem; margin-right: .2rem; }
.idea-chips button { background: transparent; color: var(--on-night); border: 1px solid rgba(255,255,255,.24); border-radius: 8px; padding: .38rem .8rem; font: 500 .86rem var(--sans); cursor: pointer; transition: all .25s; }
.idea-chips button:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.h2-vis { margin: 0; }
.stage { --x: 50; position: relative; aspect-ratio: 460 / 380; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.05); }
.stage .layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .sk { clip-path: inset(0 calc(100% - var(--x) * 1%) 0 0); }
.handle { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(10,18,40,.25); }
.knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: #0a1228; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); }
.knob .icon { width: 20px; height: 20px; }
.stage input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.stage input[type=range]:focus-visible ~ .handle .knob, .stage:focus-within .knob { outline: 3px solid var(--lime); outline-offset: 3px; }
.tagpill { position: absolute; top: 10px; z-index: 2; font: 600 .72rem var(--sans); padding: .25rem .6rem; border-radius: 6px; pointer-events: none; }
.tagpill.tl { left: 10px; background: #ffb020; color: #0a1228; }
.tagpill.tr { right: 10px; background: #0a1228; color: #fff; }
.h2-vis figcaption { margin-top: 1rem; color: var(--on-night-2); font-size: .9rem; text-align: center; }

@media (max-width: 640px) {
  .idea-box { flex-wrap: wrap; padding: 1rem; gap: .5rem; }
  .idea-pre { width: 100%; font-size: .9rem; }
  .idea input { width: 100%; flex: 1 1 100%; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .idea .btn { width: 100%; margin-top: .4rem; }
}

/* ── human touches ── */
.hero h1 em .w {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 18 1, 34 9, 54 4 S 88 3, 98 6' fill='none' stroke='%23ffb020' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% .26em;
  padding-bottom: .16em;
}
.sticky-note {
  position: relative; display: inline-block; margin: 1.5rem 0 0; padding: .7rem 1.1rem .75rem;
  background: #ffe08a; color: #3a2a00; font: 600 1.3rem/1.2 "Caveat", "Comic Sans MS", cursive;
  transform: rotate(-1.6deg); box-shadow: 0 10px 20px -10px rgba(0,0,0,.55); border-radius: 2px; max-width: 24ch;
}
.sticky-note::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 54px; height: 18px; margin-left: -27px;
  background: rgba(255,255,255,.55); transform: rotate(3deg); box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.h2-vis .stage { transform: rotate(1.3deg); }
.h2-vis figcaption { font-family: "Caveat", "Comic Sans MS", cursive; font-weight: 600; font-size: 1.35rem; color: #ffd27a; margin-top: 1.1rem; transform: rotate(-.8deg); }
.trust { margin-top: 1.6rem; }
@media (prefers-reduced-motion: reduce) { .sticky-note, .h2-vis .stage { transform: none; } }

/* ── mobile menu: drops down from the top ── */
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; z-index: 80; background: var(--night); color: var(--on-night);
  padding: 1rem 1.5rem 2rem; border-radius: 0 0 28px 28px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  transform: translateY(-105%); visibility: hidden; max-height: 100vh; max-height: 100svh; overflow-y: auto;
  transition: transform .65s var(--ease), visibility 0s linear .65s; }
.mobile-menu.open { transform: translateY(0); visibility: visible; transition: transform .65s var(--ease), visibility 0s; }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mm-top .brand { color: #fff; }
.mm-close { display: grid !important; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--night-line); color: #fff; transform: rotate(-90deg); transition: transform .6s var(--ease) .1s; }
.mobile-menu.open .mm-close { transform: rotate(0); }
.mobile-menu ul { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--night-line); opacity: 0; transform: translateY(-18px); transition: opacity .35s, transform .5s var(--ease); }
.mobile-menu.open li { opacity: 1; transform: none; }
.mobile-menu.open li:nth-child(1) { transition-delay: .18s; } .mobile-menu.open li:nth-child(2) { transition-delay: .25s; }
.mobile-menu.open li:nth-child(3) { transition-delay: .32s; } .mobile-menu.open li:nth-child(4) { transition-delay: .39s; }
.mobile-menu.open li:nth-child(5) { transition-delay: .46s; } .mobile-menu.open li:nth-child(6) { transition-delay: .53s; }
.mobile-menu.open li:nth-child(7) { transition-delay: .6s; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; color: #fff; }
.mobile-menu li a::after { content: "→"; color: var(--glow); font-weight: 400; transition: transform .3s var(--ease); }
.mobile-menu li a:active::after { transform: translateX(4px); }
.mm-cta { display: flex; width: 100%; opacity: 0; transform: translateY(-14px); transition: opacity .35s, transform .5s var(--ease), background-color .25s; }
.mobile-menu.open .mm-cta { opacity: 1; transform: none; transition-delay: .6s, .6s, 0s; }
.backdrop { opacity: 0; transition: opacity .4s; }
.backdrop.show { opacity: 1; }
body.menu-open { overflow: hidden; }
@media (min-width: 961px) { .mobile-menu, .backdrop { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu, .mobile-menu li, .mm-cta, .mm-close { transition-duration: .01ms !important; transition-delay: 0s !important; } }

/* ══ Pricing v2: tabs in the popular plan, collapsible lists ══ */
.plans { align-items: stretch; }
.plan { position: relative; }
.plan--dark { box-shadow: 0 40px 70px -40px rgba(29,95,232,.6); }
@media (min-width: 961px) { .plan--dark { transform: translateY(-14px); } .plan--dark:hover { transform: translateY(-20px); } }

.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px; margin: 1.2rem 0 0; background: rgba(255,255,255,.08); border-radius: 12px; }
.tabs button { position: relative; z-index: 1; background: none; border: 0; color: var(--on-night-2); font: 600 .92rem var(--sans); padding: .7rem .5rem; border-radius: 9px; cursor: pointer; transition: color .3s; }
.tabs button[aria-selected="true"] { color: #0a1228; }
.tabs button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.tab-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 9px; transition: transform .5s var(--ease); }
.tabs[data-i="1"] .tab-ind { transform: translateX(100%); }
.tab-prog { height: 2px; margin: .7rem 4px 1.2rem; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.tab-prog i { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.tabs.playing + .tab-prog i { animation: tabprog 4.5s linear forwards; }
@keyframes tabprog { to { transform: scaleX(1); } }
.tabpanels { display: grid; margin-bottom: 2rem; }
.tabpanels ul { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s, transform .6s var(--ease), visibility 0s .45s; }
.tabpanels ul.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .1s, transform .6s var(--ease) .1s, visibility 0s; }

.plan details.more { margin: -.9rem 0 1.6rem; }
.plan details.more summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--indigo); padding: .3rem 0; }
.plan details.more summary::-webkit-details-marker { display: none; }
.plan details.more summary::after { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--indigo-soft); font-size: 1rem; line-height: 1; transition: transform .3s var(--ease); }
.plan details.more[open] summary::after { content: "\2212"; }
.plan details.more ul { margin: .8rem 0 0; }
.plan details.more[open] ul { animation: pop .45s var(--ease); }

.planhelp { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding: 1.4rem 1.6rem; border: 1px dashed #b7c6e3; border-radius: 16px; background: rgba(255,255,255,.6); }
.planhelp p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.planhelp b { color: var(--ink); }
@media (max-width: 960px) { .plan--dark { order: -1; } }

/* ── footer wordmark ── */
.site-footer { padding-bottom: 0; overflow: hidden; }
.wordmark { margin-top: clamp(.5rem, 2vw, 2rem); font-family: var(--serif); font-weight: 700; font-size: clamp(3.6rem, 22vw, 19rem); letter-spacing: -.065em; line-height: 1.08; text-align: center; color: var(--indigo); white-space: nowrap; overflow: hidden; padding: .02em .02em .14em; user-select: none; }
.wm-l { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease) calc(var(--i) * 70ms), color .3s; }
.wordmark.in .wm-l { transform: none; }
.wordmark.in .wm-l:hover { color: var(--lime); transform: translateY(-5%); transition: transform .4s var(--ease), color .2s; }
@media (prefers-reduced-motion: reduce) { .wm-l { transform: none !important; transition: none !important; } }

/* ══ Services bento: responsive fixes ══ */
.stile { container-type: inline-size; }
.st-top { padding-right: 0; }
.st-vis { min-height: 150px; margin-top: 1.2rem; }
/* button sits under the content in narrow tiles, top-right in wide ones, so it never overlaps the title */
.st-btn { position: static; align-self: flex-start; order: 3; margin-top: 1.2rem; }
@container (min-width: 600px) {
  .stile .st-btn { position: absolute; top: 1.5rem; right: 1.5rem; margin: 0; order: 0; align-self: auto; }
  .stile .st-top { padding-right: 6.4rem; }
}
/* wide horizontal tile for AI Development */
@media (min-width: 961px) {
  .stile.s-aidev { flex-direction: row; align-items: center; gap: 2.5rem; }
  .stile.s-aidev .st-top { flex: 1 1 0; padding-right: 0; }
  .stile.s-aidev .st-vis { flex: 1 1 0; margin: 0; min-height: 0; align-items: center; }
  .stile.s-aidev .st-btn { position: static; order: 3; margin: 0; align-self: center; }
}
/* very wide screens: give the grid a little more room */
@media (min-width: 1440px) {
  .shead.wrap, .sbento.wrap { width: min(1320px, 100% - 6rem); }
}
/* tablet: two columns, big tiles span both */
@media (max-width: 960px) {
  .st-vis { min-height: 140px; }
}
/* phones */
@media (max-width: 480px) {
  .stile { padding: 1.3rem; }
  .st-vis { min-height: 130px; }
  .v-browser { width: 100%; }
  .v-gen, .v-chat, .v-dash { max-width: 100%; }
  .vu-aa { font-size: 3.2rem; }
}

/* illustrations grow with wide tiles so they never float in empty space */
.vg-res { margin: .8rem 0 0; padding: 0 .3rem; color: #c6d4f5; font-size: .9rem; line-height: 1.5; max-width: none; }
@container (min-width: 600px) {
  .v-browser { width: min(620px, 94%); padding: 1rem 1.4rem 0; }
  .vb-bar i { width: 10px; height: 10px; }
  .vb-body { gap: .85rem; padding-bottom: 2.4rem; }
  .vb-body b { font-size: 1.75rem; }
  .vb-line { height: 11px; }
  .vb-btn { font-size: .9rem; padding: .6rem 1.3rem; }
  .v-gen { max-width: 560px; }
  .vg-box { font-size: 1.05rem; padding: 1.2rem 1.3rem; }
  .vg-res { font-size: 1rem; }
  .v-dash { max-width: 440px; }
  .vd-bars { height: 120px; }
}

@container (max-width: 599px) { .stile .st-vis { margin-bottom: 1.5rem; } .stile .st-btn { margin-top: 0; } }

@media (max-width: 960px) { .site-footer { padding-bottom: 5rem; } }

/* ══ floating call + WhatsApp (same pair as the ERP site) ══ */
.wa-fab { display: none; }
.fab-stack { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 55; display: grid; gap: .8rem; }
.fab { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; box-shadow: 0 14px 28px -10px rgba(10,18,40,.55); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab--call { background: var(--indigo); }
.fab--wa { background: #25d366; }
.fab-ico { position: relative; z-index: 1; width: 26px; height: 26px; }
.fab-ico.wa { width: 30px; height: 30px; }
.ping { position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: .3; animation: fabping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
.fab--wa .ping { background: #25d366; }
.fab--call .ping { background: var(--indigo); }
@keyframes fabping { 75%, 100% { transform: scale(1.7); opacity: 0; } }
.fab-label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); opacity: 0; pointer-events: none; white-space: nowrap; background: #fff; color: #0b1530; border: 1px solid var(--line); border-radius: 12px; padding: .5rem .8rem; font-size: .82rem; font-weight: 600; line-height: 1.25; box-shadow: 0 12px 24px -12px rgba(10,18,40,.4); transition: opacity .3s, transform .4s var(--ease); }
.fab-label small { display: block; margin-top: 2px; font-size: .72rem; font-weight: 400; color: #6a7490; }
@media (hover: hover) { .fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: translate(0, -50%); } }
.consult { bottom: 10rem; }
@media (max-width: 960px) { .site-footer { padding-bottom: 9.5rem; } }
@media (prefers-reduced-motion: reduce) { .ping { animation: none; opacity: 0; } }

/* ══ Trust: free-demo promise ══ */
.free-tag { display: inline-block; margin-left: .5rem; padding: .18rem .55rem; border-radius: 6px; background: var(--lime); color: #0a1228; font-size: .7rem; font-weight: 700; letter-spacing: .03em; vertical-align: middle; font-family: var(--sans); }
.promise { padding-block: clamp(3.5rem, 7vw, 6rem); background: #fff; border-bottom: 1px solid var(--line); }
.pr-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.pr-head .lede { margin: 0; }
.pr-steps { list-style: none; margin: clamp(2rem, 4vw, 3.2rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pr-steps li { padding: 1.8rem 1.8rem 0 0; }
.pr-steps li + li { padding-left: 1.8rem; border-left: 1px solid var(--line); }
.pr-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); margin-bottom: 1.1rem; }
.pr-steps li:nth-child(2) .pr-ico { background: #fff1d6; color: #b36b00; }
.pr-steps h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.3rem; margin: 0 0 .5rem; }
.pr-steps p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; max-width: 36ch; }
.form-note { margin: .9rem 0 0; text-align: center; color: var(--ink-3); font-size: .92rem; }
.foot-promise { margin: .9rem 0 0; color: var(--lime); font-weight: 600; font-size: .95rem; max-width: 30ch; line-height: 1.4; }
.steps h3 .free-tag { margin-left: .4rem; }
@media (max-width: 960px) {
  .pr-head { grid-template-columns: 1fr; align-items: start; }
  .pr-steps { grid-template-columns: 1fr; }
  .pr-steps li, .pr-steps li + li { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pr-steps li:last-child { border-bottom: 0; }
}

/* ══ Process: winding road ══ */
.road { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.road-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }
.road-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.road-bed { stroke: #dde5f3; stroke-width: 54; }
.road-prog { stroke: #0a1228; stroke-width: 54; }
.road-dash { stroke: #fff; stroke-width: 3; stroke-dasharray: 2 14; opacity: .9; }
.road-car { fill: #ffb020; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 4px 6px rgba(10,18,40,.35)); }
.stops { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.stop { position: relative; display: flex; align-items: center; min-height: 235px; }
.pin { position: absolute; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid #0a1228; color: #0a1228; box-shadow: 0 0 0 8px var(--paper); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.pin .icon { width: 30px; height: 30px; }
.pin b { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: #ffb020; color: #0a1228; font: 700 .8rem/26px var(--sans); text-align: center; }
.stop.on .pin { background: var(--indigo); border-color: var(--indigo); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px var(--paper), 0 18px 30px -12px rgba(29,95,232,.65); }
.stop-body { width: 38%; transition: opacity .6s, transform .8s var(--ease); }
.stop-body h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0 0 .5rem; line-height: 1.15; }
.stop-body p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 36ch; }
html.js .stop:not(.on) .stop-body { opacity: .28; transform: translateY(14px); }

/* zigzag: pins swing left / right, text sits on the open side */
.stop:nth-child(odd) .pin { left: 26%; }
.stop:nth-child(even) .pin { left: 74%; }
.stop:nth-child(odd) .stop-body { margin-left: calc(26% + 72px); }
.stop:nth-child(even) .stop-body { margin-right: calc(26% + 72px); margin-left: auto; text-align: right; }
.stop:nth-child(even) .stop-body p { margin-left: auto; }

@media (max-width: 820px) {
  .road-bed, .road-prog { stroke-width: 44; }
  .stop { min-height: 180px; padding: .5rem 0; }
  .pin { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
  .pin .icon { width: 26px; height: 26px; }
  .stop:nth-child(odd) .pin { left: 38px; }
  .stop:nth-child(even) .pin { left: 78px; }
  .stop:nth-child(odd) .stop-body, .stop:nth-child(even) .stop-body { width: auto; margin: 0 0 0 132px; text-align: left; }
  .stop:nth-child(even) .stop-body p { margin-left: 0; }
}
@media (max-width: 400px) {
  .stop:nth-child(odd) .pin { left: 34px; } .stop:nth-child(even) .pin { left: 64px; }
  .stop:nth-child(odd) .stop-body, .stop:nth-child(even) .stop-body { margin-left: 108px; }
}
@media (prefers-reduced-motion: reduce) { .pin, .stop-body { transition: none; } }

/* ══ Services: one-by-one stacking showcase ══ */
.stack-hint { margin-top: -1.2rem; margin-bottom: 1.6rem; color: var(--ink-3); font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.stack-hint::before { content: ""; width: 26px; height: 1px; background: var(--ink-3); }
.sbento { display: flex; flex-direction: column; gap: 1.6rem; counter-reset: svc; }
.sbento .stile { counter-increment: svc; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top vis" "btn vis"; grid-template-rows: 1fr auto; column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: 1.6rem; align-items: center;
  min-height: 450px; padding: clamp(1.6rem, 3.4vw, 3rem); border-radius: 28px; transform-origin: 50% 0; will-change: transform; grid-column: auto; position: sticky; top: calc(92px + var(--i, 0) * 14px); }
.sbento .stile:hover { transform: none; box-shadow: 0 40px 70px -40px rgba(10,18,40,.6); }
.sbento .stile:nth-child(1) { --i: 0; } .sbento .stile:nth-child(2) { --i: 1; } .sbento .stile:nth-child(3) { --i: 2; } .sbento .stile:nth-child(4) { --i: 3; }
.sbento .stile:nth-child(5) { --i: 4; } .sbento .stile:nth-child(6) { --i: 5; } .sbento .stile:nth-child(7) { --i: 6; }
.sbento .stile::before { content: counter(svc, decimal-leading-zero); position: absolute; right: clamp(1.2rem, 3vw, 2.6rem); top: clamp(.6rem, 2vw, 1.4rem); font: 700 clamp(5rem, 11vw, 9rem)/1 var(--serif); letter-spacing: -.06em; opacity: .1; color: currentColor; pointer-events: none; z-index: 0; }
.sbento .stile .st-top { grid-area: top; align-self: end; padding: 0; position: relative; z-index: 1; }
.sbento .stile .st-vis { grid-area: vis; margin: 0; min-height: 300px; align-self: stretch; position: relative; z-index: 1; }
.sbento .stile .st-btn { grid-area: btn; position: static; align-self: start; justify-self: start; margin: 0; padding: .8rem 1.3rem; font-size: .95rem; z-index: 1; }
.sbento .stile h3 { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.06; margin-bottom: .9rem; }
.sbento .stile p { font-size: 1.05rem; max-width: 40ch; }
.sbento .stile .chips { margin-top: 1.2rem; }
.sbento .stile .chips li { font-size: .84rem; padding: .3rem .7rem; }
/* AI Development keeps the same two-column rhythm as the rest */
.sbento .stile.s-aidev { flex-direction: unset; gap: 0; column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: 1.6rem; }
/* only stack on screens tall enough to hold a card */
@media (max-height: 560px) { .sbento .stile { position: relative; top: auto; } }

@media (max-width: 900px) {
  .sbento .stile { grid-template-columns: 1fr; grid-template-areas: "top" "vis" "btn"; grid-template-rows: auto; min-height: 0; top: calc(84px + var(--i, 0) * 12px); row-gap: 1.2rem; padding: 1.5rem; }
  .sbento .stile .st-top { align-self: start; }
  .sbento .stile .st-vis { min-height: 200px; }
  .sbento .stile h3 { font-size: 1.7rem; }
  .sbento .stile::before { font-size: 5rem; }
}
@media (prefers-reduced-motion: reduce) { .sbento .stile { position: relative; top: auto; will-change: auto; } }



/* phones and tablets: compact cards that stack one on top of the next */
@media (max-width: 900px) {
  .sbento { gap: 1rem; }
  .sbento .stile { position: sticky; top: calc(76px + var(--i, 0) * 10px); min-height: 0; max-height: calc(100vh - 96px); max-height: calc(100svh - 96px); overflow: hidden; padding: 1.25rem; border-radius: 22px; row-gap: .9rem; }
  .sbento .stile h3 { font-size: 1.5rem; margin-bottom: .5rem; padding-right: 3.2rem; }
  .sbento .stile p { font-size: .95rem; line-height: 1.5; }
  .sbento .stile .chips { margin-top: .8rem; gap: .35rem; }
  .sbento .stile .chips li { font-size: .76rem; padding: .22rem .55rem; }
  .sbento .stile .st-vis { min-height: 0; height: 150px; overflow: hidden; align-items: flex-end; }
  .sbento .stile .st-btn { padding: .65rem 1.05rem; font-size: .88rem; }
  .sbento .stile::before { font-size: 4rem; top: .5rem; right: 1rem; }
  .stack-hint { display: block; margin-top: -1rem; }
}
/* shorter phones: keep text, chips and button, drop the illustration so nothing gets cut */
@media (max-width: 900px) and (max-height: 699px) {
  .sbento .stile .st-vis { display: none; }
  .sbento .stile { grid-template-areas: "top" "btn"; }
}
@media (max-width: 900px) and (max-height: 560px) { .stack-hint { display: none; } }

/* ══ Hero: clear and calm ══ */
.hero { padding-top: clamp(7.5rem, 13vw, 10rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.hero2 { gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 961px) { .hero2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.06; }
.hero h1 em .w { background: none; padding-bottom: 0; }
.hero h1 em { color: #7fb0ff; }
.h2-copy .hero-sub { margin-top: 1.4rem; font-size: 1.12rem; max-width: 36ch; line-height: 1.55; }
.idea { margin-top: 2.2rem; max-width: 560px; }
.idea-box { padding: .4rem .4rem .4rem 1.1rem; }
.trust { margin-top: 1.5rem; gap: .5rem 1.4rem; font-size: .9rem; }
.stage { transform: none; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); border-radius: 20px; }
.h2-vis .stage { transform: none; }
.tagpill { font-size: .68rem; padding: .2rem .5rem; }
@media (max-width: 640px) {
  .hero h1 { font-size: 2.35rem; }
  .h2-copy .hero-sub { font-size: 1.02rem; }
}

/* ══ Hero polish ══ */
/* swap the grid-line texture for one soft neutral spotlight behind the visual */
.hero::after { background-image: radial-gradient(55% 70% at 76% 48%, rgba(255,255,255,.075), transparent 72%); background-size: auto; mask-image: none; -webkit-mask-image: none; opacity: 1; }
.idea-label { display: block; margin: 0 0 .65rem; color: var(--on-night-2); font-size: .95rem; font-weight: 500; }
.idea-box { padding: .35rem .35rem .35rem 1.15rem; }
.idea input { padding: .85rem 0; }
.idea .btn { min-height: 52px; }
.idea .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.idea-err { margin: .75rem 0 0; color: #ffb4a8; font-size: .92rem; }
.idea-err[hidden] { display: none; }
.idea-box:has(input[aria-invalid="true"]) { border-color: #ff8f7e; box-shadow: 0 0 0 4px rgba(255,143,126,.16); }
.tagpill { font-size: .75rem; padding: .25rem .6rem; }
.knob .icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stage:not(.touched) .knob::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid #fff; opacity: .65; animation: knobping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes knobping { to { transform: scale(1.55); opacity: 0; } }
@media (max-width: 960px) {
  .h2-vis { width: 100%; max-width: 560px; margin-inline: auto; }
  .hero2 { gap: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .stage:not(.touched) .knob::after { animation: none; opacity: 0; } }

/* ══ Hero background: flat ink + one solid brand circle + print grain (no gradients, no glow) ══ */
.hero { background: #0a1228; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: auto; right: -5%; top: 57%; width: clamp(340px, 42vw, 600px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: #1d5fe8; opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; mask-image: none; -webkit-mask-image: none; background-size: 160px 160px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.h2-vis { position: relative; }
.h2-vis::before { content: ""; position: absolute; z-index: -1; left: -5%; bottom: -7%; width: clamp(52px, 6.5vw, 92px); aspect-ratio: 1; border-radius: 50%; background: #ffb020; }
@media (max-width: 960px) {
  .hero::before { right: -28%; top: auto; bottom: -4%; width: 100vw; transform: none; }
  .h2-vis::before { left: -2%; }
}

/* ══ Contact button: click -> loading -> success (tied to the real request) ══ */
.form-card button[type=submit] { position: relative; overflow: visible; transition: background-color .35s, transform .35s var(--ease); }
.form-card button[type=submit].is-loading::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: .65rem; vertical-align: -3px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-card button[type=submit].is-done { background: #16a34a; opacity: 1 !important; }
.form-card button[type=submit].is-done::before { content: "\2713"; display: inline-block; margin-right: .6rem; font-weight: 700; animation: popin .5s var(--ease) both; }
.form-card button[type=submit].is-done::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 -46px 0 #1d5fe8, 40px -26px 0 #ffb020, 46px 10px 0 #16a34a, 22px 40px 0 #0a1228, -22px 40px 0 #ff6b57, -46px 10px 0 #1d5fe8, -40px -26px 0 #ffb020, 0 56px 0 #16a34a, 66px -4px 0 #0a1228, -66px -4px 0 #ff6b57;
  animation: burst .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes burst { 0% { transform: scale(.15); opacity: 1; } 70% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.form-card button[type=submit].is-error { background: #dc2626; animation: shake .45s; }
@media (prefers-reduced-motion: reduce) { .form-card button[type=submit].is-done::after, .form-card button[type=submit].is-error, .form-card button[type=submit].is-loading::before { animation: none; } .form-card button[type=submit].is-done::after { opacity: 0; } }

/* ══ Hero: no glow, only crisp edges and offset shadows ══ */
.hero .stage { box-shadow: 0 26px 40px -26px rgba(0, 0, 0, .65); }
.hero .stage:not(.touched) .knob::after { display: none; }
.hero .idea-box:focus-within { box-shadow: none; border-color: #fff; background: rgba(255, 255, 255, .1); }
.hero .idea-box:has(input[aria-invalid="true"]) { box-shadow: none; border-color: #ff8f7e; }
.hero .idea-box { box-shadow: none; }
.hero .btn, .site-header .btn--primary { box-shadow: none; }
.hero .btn:hover, .site-header .btn--primary:hover { box-shadow: none; }

/* hero: blue circle removed */
.hero::before { display: none; }
.h2-vis::before { display: none; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--indigo-soft); color: var(--indigo); font-size: 1.2rem; line-height: 1; transition: transform .3s var(--ease); }
details.qa[open] summary::after { content: "\2212"; }
details.qa p { padding: 0 3rem 1.4rem 0; color: var(--ink-2); max-width: 62ch; }
details.qa[open] p { animation: pop .4s var(--ease); }
.st-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; opacity: .9; }
.st-more:hover { opacity: 1; }
.st-more .icon { width: 15px; height: 15px; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } }

/* ══ service landing pages ══ */
.consult.w-\[360px\] { width: 360px; }
.sp-card { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 26px 40px -26px rgba(0,0,0,.65); }
.sp-card h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.35rem; margin-bottom: 1rem; }
.sp-card ul { display: grid; gap: .8rem; }
.sp-card li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; line-height: 1.45; }
.sp-card .icon { width: 20px; height: 20px; color: var(--indigo); margin-top: 1px; }
.sp-feats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.sp-feats li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.sp-feats h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.3rem; margin-bottom: .4rem; }
.sp-feats p { color: var(--ink-2); max-width: 54ch; }
.sp-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.sp-plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; }
.sp-plan h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: 1.4rem; }
.sp-price { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.1; margin: .9rem 0 .6rem; }
.sp-line { color: var(--ink-2); margin-bottom: 1.2rem; }
.sp-plan ul { display: grid; gap: .6rem; font-size: .95rem; }
.sp-plan li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; line-height: 1.45; }
.sp-plan .icon { width: 18px; height: 18px; color: var(--indigo); margin-top: 2px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; }
.rel { display: block; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, transform .5s var(--ease); }
.rel:hover { border-color: var(--indigo); transform: translateY(-3px); }
.rel b { display: block; font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: .35rem; }
.rel span { color: var(--ink-2); font-size: .92rem; line-height: 1.45; display: block; }
@media (max-width: 960px) { .sp-plans, .related { grid-template-columns: 1fr; } }

/* ══ FAQ as a chat ══ */
.chat { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 50px -36px rgba(10,18,40,.45); }
.chat-head { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.chat-head img { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.chat-head b { display: block; font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.chat-head span { display: flex; align-items: center; gap: .45rem; color: var(--ink-3); font-size: .82rem; }
.chat-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22d3a6; }
.chat-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem; height: 380px; overflow-y: auto; background: var(--paper-2); scroll-behavior: smooth; }
.msg { max-width: 88%; padding: .8rem 1rem; border-radius: 16px; font-size: .98rem; line-height: 1.55; animation: popin .45s var(--ease) both; }
.msg a { text-decoration: underline; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.msg.me { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 5px; font-weight: 500; }
.msg.typing { display: inline-flex; gap: 5px; padding: .95rem 1.05rem; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dots 1s infinite ease-in-out; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-picks { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.pick { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid #c9d4ea; border-radius: 999px; background: #fff; font: 500 .88rem var(--sans); color: var(--ink); cursor: pointer; text-align: left; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.pick:hover { border-color: var(--indigo); background: var(--indigo-soft); transform: translateY(-1px); }
.pick:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.pick.asked { background: var(--paper-2); color: var(--ink-3); border-color: var(--line); }
.pick.asked::before { content: "\2713"; font-weight: 700; color: var(--indigo); }
.faq-toggle { margin-top: 1rem; background: none; border: 0; padding: 0; color: var(--ink-2); font: 500 .92rem var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.faq-chat-on .faq-list { display: none; margin-top: 1.2rem; }
.faq-chat-on.show-list .faq-list { display: block; }
@media (max-width: 640px) { .chat-body { height: 340px; padding: 1rem; } .msg { max-width: 94%; font-size: .95rem; } .pick { font-size: .84rem; } }
@media (prefers-reduced-motion: reduce) { .msg { animation: none; } .msg.typing i { animation: none; } .chat-body { scroll-behavior: auto; } }

@media (max-width: 640px) { .chat-picks { max-height: 190px; overflow-y: auto; } }

/* ══ Hero headline with a flipping word ══ */
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; }
.hero h1 .l1, .hero h1 .l2, .hero h1 .flipline { display: block; }
.hero h1 .l2 { color: #7fb0ff; }
.hero h1 .flipline { margin-top: .1em; }
.flip { position: relative; display: inline-block; vertical-align: top; height: 1.16em; padding: 0 .3em; border-radius: .26em; background: var(--indigo); color: #fff; overflow: hidden; }
.fw { display: none; align-items: center; gap: .26em; white-space: nowrap; line-height: 1.16em; will-change: transform, opacity; }
.fw:first-child { display: inline-flex; }
.fw .icon { width: .6em; height: .6em; stroke-width: 2; }
.flip.flip-js { padding: 0; }
.flip.flip-js .fw { display: inline-flex; position: absolute; left: .3em; top: 0; height: 100%; }
@media (max-width: 640px) { .hero h1 { font-size: 2.5rem; } }

/* ══ Hero on small devices: centered and bigger ══ */
@media (max-width: 640px) {
  .h2-copy { text-align: center; }
  .hero h1 { font-size: clamp(2.2rem, 12.4vw, 3.3rem); line-height: 1.05; }
  .hero h1 .flip { font-size: .85em; }
  .hero h1 .flipline { margin-top: .14em; }
  .h2-copy .hero-sub { margin-inline: auto; font-size: 1.08rem; }
  .idea { margin-inline: auto; }
  .idea-label { text-align: center; }
  .trust { justify-content: center; }
  .hero-cta { justify-content: center; }
}

/* ══ Section titles: larger ══ */
h2.display { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.04em; }
.cta-band .display { max-width: 22ch; }
@media (max-width: 640px) { h2.display { font-size: clamp(2.3rem, 11vw, 2.9rem); } }
/* titles in narrow side columns: still larger than before, but kept to 3 lines */
@media (min-width: 961px) {
  .reviews-grid h2.display, .contact-grid h2.display, .faq-grid h2.display, .split h2.display { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
}

/* ══ Maintenance & New Features card ══ */
.sbento .stile:nth-child(8) { --i: 7; }
.s-maint { --bg: #dff7ef; --fg: #0b1530; }
.v-maint { width: 100%; max-width: 300px; background: #fff; border-radius: 18px; padding: 1rem 1.1rem; color: #0b1530; }
@container (min-width: 600px) { .v-maint { max-width: 380px; padding: 1.3rem 1.4rem; } }
.vm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; font-size: .9rem; }
.vm-head span { font-size: .72rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: #e4edff; color: #1349b8; }
.v-maint ul { display: grid; gap: .55rem; }
.v-maint li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.v-maint li i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #22d3a6; position: relative; }
.v-maint li i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ── section titles: letters rise from behind a mask ── */
.t-split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em 0 .17em; margin: -.04em 0 -.17em; }
.t-split .lt { display: inline-block; transform: translateY(115%); transition: transform .9s var(--ease) var(--d, 0ms); }
.t-split.in .lt { transform: none; }
@media (prefers-reduced-motion: reduce) { .t-split .lt { transform: none !important; transition: none !important; } }

/* ── cross-browser safety ── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; }
@supports not selector(:has(*)) { .idea-box input[aria-invalid="true"] { border-color: #ff8f7e; } }

/* ── performance: skip rendering far-below-the-fold sections until they are near the screen ── */
#why, #reviews, #faq, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* last service card: sits in normal flow so it never half-pins or gets cut as the stack releases */
.sbento .stile:last-child { position: relative; top: auto; z-index: 2; margin-top: 0; }

/* ══ Smoothness & click fixes ══ */
/* the hidden consultation popup must never sit invisibly on top of buttons */
.consult { transition: opacity .5s ease, transform .5s ease, visibility 0s; }
.consult.opacity-0 { pointer-events: none; visibility: hidden; transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; }
/* scroll-driven stacked cards: no CSS transition fighting the scroll; dim with a cheap overlay instead of filter */
.sbento .stile { transition: box-shadow .4s var(--ease); }
.sbento .stile::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; z-index: 3; border-radius: inherit; }
/* header blur is expensive while scrolling: solid bar instead */
.site-header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
/* no tap delay on buttons and links */
a, button, input, select, textarea, summary, [role=button] { touch-action: manipulation; }
/* skip rendering far-away sections until needed */
@supports (content-visibility: auto) {
  .site-footer { content-visibility: auto; contain-intrinsic-size: auto 600px; }
}
