/* ==========================================================================
   TayqaTech — corporate site
   Light, calm, credible. Navy for type, TayqaTech logo blue as the one acting accent,
   pastel tints for grouping. Shared by every page.
   ========================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
:root {
  --navy: #0F1E3C;
  --navy-2: #1B2E54;
  --ink: #33415C;
  --gray: #64748B;
  --brand: #1A5AD7;
  --brand-d: #0D47A1;
  --brand-soft: #EAF1FF;
  --line: #E7EBF1;
  --line-2: #D6DCE6;
  --off: #F7F9FC;
  --white: #fff;

  --mint: #F1F5FB;
  --sky: #EEF4FF;
  --peach: #FFF4EA;
  --lilac: #F3F0FF;
  --sun: #FFF9E8;
  --rose: #FDEEF1;
  --warm: #D9772B;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh-sm: 0 1px 2px rgba(15, 30, 60, .04), 0 4px 14px rgba(15, 30, 60, .05);
  --sh-md: 0 2px 4px rgba(15, 30, 60, .03), 0 14px 36px rgba(15, 30, 60, .08);
  --sh-lg: 0 4px 8px rgba(15, 30, 60, .03), 0 30px 70px -18px rgba(15, 30, 60, .22);

  --max: 1240px;
  --sec: clamp(4.5rem, 2.75rem + 5.5vw, 7.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --disp: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--disp); color: var(--navy); margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sec) 0; }
.section.tint { background: var(--off); }
.section.tight { padding-top: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-d); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.875rem, 1.35rem + 1.8vw, 2.75rem); font-weight: 700; line-height: 1.2; margin-top: 14px; }
.lead { font-size: 1.125rem; color: var(--gray); margin-top: 18px; max-width: 660px; }
.head { max-width: 760px; }
.head.center { text-align: center; margin: 0 auto; }
.head.center .lead { margin-inline: auto; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.accent { color: var(--brand); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .975rem; font-family: inherit; transition: .25s var(--ease); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -6px rgba(26, 90, 215, .45); }
.btn-primary:hover { background: var(--brand-d); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); background: #fff; color: var(--navy); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-d); }
.textlink .ico { transition: transform .25s var(--ease); }
.textlink:hover .ico { transform: translateX(4px); }

.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.ibox { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-d); flex: none; }
.ibox.sky { background: #DFF3F8; color: #0E7490; }
.ibox.mint { background: #E2F5E8; color: #15803D; }
.ibox.ink { background: #ECEFF5; color: #475569; }
.ibox.peach { background: var(--peach); color: var(--warm); }
.ibox.lilac { background: var(--lilac); color: #6D4AE0; }
.ibox.sun { background: var(--sun); color: #A27A00; }
.ibox.rose { background: var(--rose); color: #C2415B; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.scrolled { border-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; height: 76px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.01em; }
.logo img { width: 34px; height: auto; }
.logo b { color: var(--brand); font-weight: 800; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--navy-2); transition: background .2s; }
.nav a:hover { background: var(--off); }
.nav a[aria-current="page"] { color: var(--brand-d); background: var(--brand-soft); }
.hdr-r { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .78rem; font-weight: 700; }
.lang a { padding: 4px 10px; border-radius: 999px; color: var(--gray); }
.lang a.on { background: var(--navy); color: #fff; }
.hdr .btn { padding: 10px 18px; font-size: .92rem; }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.mnav { display: none; }
.stat-note { margin-top: 16px; text-align: center; font-size: .9rem; color: var(--gray); }
main section[id] { scroll-margin-top: 84px; }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(4rem, 3rem + 4vw, 6.5rem); background: radial-gradient(1100px 520px at 88% -10%, var(--brand-soft), transparent 60%), radial-gradient(900px 520px at -10% 0%, var(--sky), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--navy-2); box-shadow: var(--sh-sm); }
.pill span { background: var(--brand-soft); color: var(--brand-d); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.hero .h1 { margin-top: 22px; }
.hero .lead { font-size: 1.2rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.cred { position: relative; margin-bottom: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-lg); }
.cred-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cred-top b { color: var(--navy); font-size: 1.05rem; }
.cred-top span { font-size: .8rem; font-weight: 700; color: var(--brand-d); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.cred-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin: 22px 0; border-radius: var(--r-md); overflow: hidden; }
.cred-stats div { background: #fff; padding: 18px 20px; }
.cred-stats strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.cred-stats small { color: var(--gray); font-weight: 600; font-size: .85rem; }
.cred-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cred-logos div { height: 56px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 8px 10px; }
.cred-logos img { max-height: 30px; width: auto; object-fit: contain; }
.cred-badge { position: absolute; right: 28px; bottom: -26px; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--sh-md); font-size: .85rem; }
.cred-badge b { display: block; font-size: .95rem; }
.cred-badge .ico { color: #8FB3FF; }

/* ---------- logo wall ---------- */
.trust { padding: 52px 0; border-block: 1px solid var(--line); background: var(--off); }
.trust p { text-align: center; font-weight: 600; color: var(--gray); font-size: .95rem; }
.marquee { overflow: hidden; margin-top: 30px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 64px; width: max-content; animation: marquee 50s linear infinite; align-items: center; }
.track img { height: 44px; width: auto; max-width: 150px; object-fit: contain; transition: transform .3s; }
.track img:hover { transform: scale(1.06); }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 48px; }
.logo-grid div { aspect-ratio: 16 / 9; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; place-items: center; padding: 18px; transition: .3s var(--ease); }
.logo-grid div:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.logo-grid div { position: relative; }
.logo-grid img { position: absolute; inset: 28px 30px; width: calc(100% - 60px); height: calc(100% - 56px); object-fit: contain; transition: transform .3s; }
.logo-grid img.wide { inset: 28px 20px; width: calc(100% - 40px); }
.logo-grid div:hover img { transform: scale(1.05); }

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split.center { align-items: center; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink); font-size: 1.075rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: .3s var(--ease); }
.value:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.value h3 { font-size: 1.1rem; margin-top: 18px; }
.value p { color: var(--gray); font-size: .95rem; margin-top: 8px; }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: .3s var(--ease); display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.card h3 { font-size: 1.2rem; margin-top: 20px; }
.card p { color: var(--gray); font-size: .96rem; margin-top: 10px; }
.card .textlink { margin-top: auto; padding-top: 22px; }
.card ul { margin-top: 18px; display: grid; gap: 8px; font-size: .93rem; color: var(--ink); }
.card li { display: flex; gap: 10px; }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 9px; flex: none; }

/* solution cards — larger, tinted */
.sol { border-radius: var(--r-xl); padding: 36px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .3s var(--ease); }
.sol:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.sol.mint { background: var(--mint); } .sol.sky { background: var(--sky); } .sol.peach { background: var(--peach); } .sol.lilac { background: var(--lilac); }
.sol .ibox { background: #fff; }
.sol h3 { font-size: 1.4rem; margin-top: 22px; }
.sol p { margin-top: 10px; color: var(--ink); }
.sol ul { margin-top: 20px; display: grid; gap: 10px; }
.sol li { display: flex; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--navy-2); }
.sol li .ico { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; }
.sol .foot { margin-top: auto; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sol .by { font-size: .8rem; font-weight: 700; color: var(--gray); letter-spacing: .04em; }
.sol .by b { color: var(--navy); }

/* sectors */
.sector { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: .3s var(--ease); }
.sector:hover { border-color: var(--brand); }
.sector h3 { font-size: 1.08rem; }
.sector p { color: var(--gray); font-size: .93rem; margin-top: 6px; }

/* challenges → answer */
.pairs { margin-top: 56px; display: grid; gap: 14px; }
.pair { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: stretch; gap: 0; }
.pair > div { padding: 22px 26px; border: 1px solid var(--line); }
.pair .q { border-radius: var(--r-md) 0 0 var(--r-md); background: #fff; }
.pair .a { border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--brand-soft); border-color: #D6E4FF; }
.pair .arrow { border: 0; display: grid; place-items: center; padding: 0; background: linear-gradient(90deg, #fff, var(--brand-soft)); border-block: 1px solid var(--line); color: var(--brand); }
.pair h3 { font-size: 1.02rem; }
.pair p { font-size: .93rem; color: var(--gray); margin-top: 4px; }
.pair .a p { color: var(--ink); }
.tagline { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.pair .a .tagline { color: var(--brand-d); }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px; }
.stat { background: #fff; padding: 30px 22px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: .9rem; color: var(--gray); font-weight: 600; }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; position: relative; }
.pstep { position: relative; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.pstep .no { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; }
.pstep h3 { font-size: 1.12rem; margin-top: 18px; }
.pstep p { color: var(--gray); font-size: .93rem; margin-top: 8px; }
.pstep ul { margin-top: 14px; display: grid; gap: 6px; font-size: .88rem; color: var(--ink); }
.pstep li { display: flex; gap: 8px; }
.pstep li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* ecosystem */
.eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.eco div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 18px; text-align: center; }
.eco b { display: block; font-size: 1.2rem; color: var(--navy); letter-spacing: -.01em; }
.eco span { display: block; font-size: .85rem; color: var(--gray); margin-top: 4px; }

/* timeline */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--brand)); }
.tl > div { position: relative; padding: 34px 28px 0 0; }
.tl > div::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line-2); }
.tl > div:last-child::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 6px var(--brand-soft); }
.tl .y { font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--brand-d); }
.tl h3 { font-size: 1.15rem; margin-top: 8px; }
.tl p { color: var(--gray); font-size: .93rem; margin-top: 8px; }

/* products strip (secondary) */
.prod { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.prod a { display: flex; gap: 22px; align-items: center; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: .3s var(--ease); }
.prod a:hover { box-shadow: var(--sh-md); border-color: transparent; }
.prod .mark { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #fff; flex: none; }
.prod h3 { font-size: 1.15rem; }
.prod p { font-size: .93rem; color: var(--gray); margin-top: 4px; }
.prod .ico { margin-left: auto; color: var(--brand-d); }

/* quote / commitment */
.commit { background: var(--navy); border-radius: var(--r-xl); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem); color: #CBD5E1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.commit::after { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .35), transparent 70%); }
.commit h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 800; }
.commit .lead { color: #94A3B8; }
.commit ul { display: grid; gap: 14px; position: relative; z-index: 1; }
.commit li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-md); padding: 16px 18px; }
.commit li .ico { color: #8FB3FF; margin-top: 2px; }
.commit li b { color: #fff; display: block; }
.commit li span { font-size: .9rem; }

/* final cta */
.final { text-align: center; background: radial-gradient(800px 300px at 50% 0%, var(--brand-soft), transparent 70%), var(--off); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(3rem, 2rem + 4vw, 5.5rem) 24px; }
.final .lead { margin-inline: auto; }
.final .cta-row { justify-content: center; }
.final .contact-line { margin-top: 24px; font-size: .95rem; color: var(--gray); }
.final .contact-line a { color: var(--navy); font-weight: 600; }

/* ---------- footer ---------- */
.ftr { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.f-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.f-grid h4, .f-grid .f-h { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray); margin-bottom: 14px; }
.f-grid a { display: block; padding: 4px 0; font-weight: 500; color: var(--navy-2); }
.f-grid a:hover { color: var(--brand-d); }
.f-about { margin-top: 14px; color: var(--gray); font-size: .95rem; max-width: 330px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy-2); padding: 0; transition: .2s; }
.social a:hover { border-color: var(--brand); color: var(--brand-d); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.f-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--gray); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero .wrap, .split, .commit { grid-template-columns: 1fr; gap: 48px; }
  .cred { max-width: 560px; }
  .grid-4, .process { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .eco { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .tl { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .tl::before { display: none; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hdr .wrap { gap: 12px; }
  .hdr .btn { padding: 8px 14px; font-size: .85rem; white-space: nowrap; }
  .burger { display: block; }
  .hdr-r { margin-left: auto; }
  .mnav { display: block; position: fixed; inset: 76px 0 0; background: #fff; padding: 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease); z-index: 49; }
  .mnav.open { opacity: 1; transform: none; pointer-events: auto; }
  .mnav a { display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }
  .mnav .btn { display: flex; margin-top: 24px; width: 100%; justify-content: center; border-bottom: 0; color: #fff; }
  .grid-3, .prod { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .pair .q { border-radius: var(--r-md) var(--r-md) 0 0; }
  .pair .a { border-radius: 0 0 var(--r-md) var(--r-md); }
  .pair .arrow { height: 36px; background: linear-gradient(180deg, #fff, var(--brand-soft)); border-block: 0; border-inline: 1px solid var(--line); transform: none; }
  .pair .arrow .ico { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid-2, .grid-4, .process, .values, .tl { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .eco { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .cred { padding: 22px; margin-bottom: 0; }
  .cred-badge { position: static; margin-top: 18px; }
  .cred-logos { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; }
  .lang { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* display type + brand details */
.logo, .btn, .stat strong, .cred-stats strong, .eco b, .pstep .no, .tl .y { font-family: var(--disp); }
.h1 { letter-spacing: -.025em; line-height: 1.12; }
.h2 { letter-spacing: -.018em; }
.accent { color: var(--brand); }
.logo b { color: var(--brand); }
.cred-top span, .pill span { background: var(--brand-soft); color: var(--brand-d); }
.tl > div:last-child::before { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 6px var(--brand-soft); }
.tl::before { background: linear-gradient(90deg, var(--line-2), var(--brand)); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phero { padding: clamp(3rem, 2rem + 3vw, 5rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem); background: radial-gradient(1000px 420px at 90% -20%, var(--brand-soft), transparent 60%), radial-gradient(800px 420px at -10% 0%, var(--sky), transparent 60%); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 600; color: var(--gray); }
.crumbs a:hover { color: var(--brand-d); }
.crumbs span[aria-hidden] { opacity: .5; }
.phero .h1 { margin-top: 18px; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.5rem); max-width: 900px; }
.phero .lead { font-size: 1.18rem; max-width: 720px; }
.phero .cta-row { margin-top: 28px; }
.phero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

/* anchored sub-nav */
.subnav { position: sticky; top: 76px; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--navy-2); border: 1px solid var(--line); background: #fff; }
.subnav a:hover { border-color: var(--brand); color: var(--brand-d); }

/* feature rows: text + visual */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.frow + .frow { margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
.frow.flip > :first-child { order: 2; }
.frow .num { font-family: var(--disp); font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); }
.frow h2, .frow h3.h2 { margin-top: 12px; }
.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { color: var(--brand); width: 20px; height: 20px; margin-top: 3px; }
.checklist b { color: var(--navy); }
.checklist span { display: block; color: var(--gray); font-size: .95rem; }
.checklist.cols { grid-template-columns: 1fr 1fr; gap: 12px 24px; }

.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-lg); }
.shot .bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--off); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.visual { position: relative; padding: 28px; border-radius: var(--r-xl); background: var(--sky); }
.visual.mint { background: var(--mint); } .visual.peach { background: var(--peach); } .visual.lilac { background: var(--lilac); }
.phone { width: 100%; max-width: 250px; border-radius: 30px; border: 8px solid var(--navy); overflow: hidden; background: #fff; box-shadow: var(--sh-lg); margin-inline: auto; }
.phones { display: flex; gap: 20px; justify-content: center; align-items: flex-end; }
.phones .phone { max-width: 210px; }
.phones .phone:nth-child(2) { transform: translateY(-24px); }

/* module / tile grids */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.tile .code { display: inline-block; font-family: var(--disp); font-size: .72rem; font-weight: 800; letter-spacing: .14em; padding: 4px 9px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-d); }
.tile h3 { font-size: 1.05rem; margin-top: 14px; }
.tile p { color: var(--gray); font-size: .92rem; margin-top: 6px; }
.tile .ibox { width: 42px; height: 42px; border-radius: 12px; }
.tile .ibox + h3 { margin-top: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--navy-2); }
.chips.soft span { background: var(--brand-soft); border-color: transparent; color: var(--brand-d); }

/* two-up info cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.panel { border-radius: var(--r-xl); padding: 36px; border: 1px solid var(--line); background: #fff; }
.panel.sky { background: var(--sky); } .panel.mint { background: var(--mint); } .panel.navy { background: var(--navy); color: #CBD5E1; border-color: var(--navy); }
.panel.navy h3, .panel.navy h2 { color: #fff; }
.panel .tag { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #566579; }
.panel.navy .tag { color: #8FB3FF; }
.panel h3, .panel h2 { font-size: 1.5rem; margin-top: 10px; }
.panel p { margin-top: 10px; }

/* roles */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.roles .panel ul { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.roles .panel li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 600; color: var(--navy-2); }

/* sector detail */
.sx { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.sx-card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; background: #fff; }
.sx-card .top { display: flex; gap: 16px; align-items: center; }
.sx-card h3 { font-size: 1.3rem; }
.sx-card > p { color: var(--gray); margin-top: 14px; }
.sx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.sx-cols h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.sx-cols ul { margin-top: 10px; display: grid; gap: 8px; font-size: .92rem; }
.sx-cols li { display: flex; gap: 8px; }
.sx-cols .need li::before { content: "–"; color: var(--gray); }
.sx-cols .help li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* support grid */
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }

/* lifecycle */
.cycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.cycle div { padding: 24px 22px; border-right: 1px solid var(--line); }
.cycle div:last-child { border-right: 0; }
.cycle b { display: block; font-family: var(--disp); font-size: .8rem; color: var(--brand); letter-spacing: .08em; }
.cycle h3 { font-size: 1.05rem; margin-top: 8px; }
.cycle p { font-size: .9rem; color: var(--gray); margin-top: 6px; }
.note { margin-top: 18px; padding: 18px 22px; border-radius: var(--r-md); background: var(--brand-soft); color: var(--navy-2); font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.note .ico { color: var(--brand); margin-top: 2px; }

/* phases */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.phase { border-radius: var(--r-lg); padding: 30px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); }
.phase .no { font-family: var(--disp); font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); }
.phase h3 { font-size: 1.25rem; margin-top: 10px; }
.phase ul { margin-top: 16px; display: grid; gap: 8px; font-size: .94rem; }
.phase li { display: flex; gap: 8px; }
.phase li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.rm { border-radius: var(--r-lg); padding: 26px; background: #fff; border: 1px solid var(--line); }
.rm .st { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-d); }
.rm .st.soon { background: var(--brand); color: #fff; }
.rm .st.plan { background: var(--off); color: var(--gray); }
.rm h3 { font-size: 1.08rem; margin-top: 14px; }
.rm p { font-size: .92rem; color: var(--gray); margin-top: 6px; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cinfo a, .cinfo div.ci { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: .25s var(--ease); }
.cinfo a:hover { border-color: var(--brand); box-shadow: var(--sh-sm); }
.cinfo small { display: block; color: var(--gray); font-size: .82rem; font-weight: 600; }
.cinfo b { color: var(--navy); font-size: 1.05rem; }

@media (max-width: 1100px) {
  .phero-split, .frow, .contact { grid-template-columns: 1fr; gap: 40px; }
  .frow.flip > :first-child { order: 0; }
  .tiles, .tiles.four, .support { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .cycle div { border-right: 0; border-bottom: 1px solid var(--line); }
  .cycle div:last-child { border-bottom: 0; }
  .sx { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .subnav { top: 76px; }
  .phases, .duo, .roles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tiles, .tiles.four, .support, .roadmap, .checklist.cols, .sx-cols { grid-template-columns: 1fr; }
  .panel, .sx-card { padding: 26px; }
  .visual { padding: 16px; }
  .phones .phone { max-width: 46%; border-width: 6px; border-radius: 22px; }
  .phones .phone:nth-child(3) { display: none; }
}

/* ---------- hero illustration ---------- */
.hero-art { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.hero-art > svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-art .ring { fill: none; stroke: var(--line-2); stroke-dasharray: 3 7; }
.hero-art .r2 { stroke: #C9D8F5; }
.hero-art .hl { fill: none; stroke: #BFD2F7; stroke-width: 2; stroke-dasharray: 6 8; animation: hl-flow 1.6s linear infinite; }
.hero-art .pk { fill: var(--brand); filter: drop-shadow(0 0 4px rgba(26, 90, 215, .55)); }
.hero-art .pulse { fill: none; stroke: var(--brand); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hub-pulse 3s ease-out infinite; }
.hero-art .hubg { filter: drop-shadow(0 18px 30px rgba(15, 30, 60, .28)); }
.hero-art .ht { fill: #fff; font-family: var(--disp); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.hero-art .node { animation: node-float 6s ease-in-out infinite; animation-delay: var(--d); }
.hero-art .nb { fill: #fff; stroke: var(--line); stroke-width: 1.5; filter: drop-shadow(0 10px 18px rgba(15, 30, 60, .10)); }
.hero-art .ni { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .n-sky .ni { stroke: #2F5BD3; } .hero-art .n-sky .nb { fill: var(--sky); }
.hero-art .n-lilac .ni { stroke: #6D4AE0; } .hero-art .n-lilac .nb { fill: var(--lilac); }
.hero-art .n-peach .ni { stroke: var(--warm); } .hero-art .n-peach .nb { fill: var(--peach); }
.hero-art .n-mint .ni { stroke: var(--brand-d); } .hero-art .n-mint .nb { fill: var(--brand-soft); }
.hero-art .nl { fill: var(--navy-2); font-family: var(--disp); font-weight: 600; font-size: 14px; }
.art-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .85rem; font-weight: 600; color: var(--navy-2); box-shadow: var(--sh-md); animation: chip-float 5s ease-in-out infinite; white-space: nowrap; }
.art-chip.c1 { top: 2%; left: 50%; transform: translateX(-50%); }
.art-chip.c2 { bottom: 2%; left: 50%; transform: translateX(-50%); border-radius: var(--r-md); animation-delay: -2.5s; }
.art-chip.c2 b { display: block; color: var(--navy); }
.art-chip.c2 span { font-weight: 500; color: var(--gray); font-size: .8rem; line-height: 1.3; }
.art-chip .ico { color: var(--brand); }
.art-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
@keyframes hl-flow { to { stroke-dashoffset: -28; } }
@keyframes hub-pulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes node-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (max-width: 1100px) { .hero-art { max-width: 520px; } }
@media (max-width: 640px) { .art-chip { font-size: .75rem; padding: 7px 12px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art .hl, .hero-art .pulse, .hero-art .node, .art-chip { animation: none; }
  .hero-art .pk { display: none; }
}

/* contact page without form */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-grid a, .contact-grid .ci { flex-direction: column; align-items: flex-start; }
.cinfo.contact-grid div.ci { align-items: flex-start; }
.contact-next { margin-top: 24px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.contact-next .checklist { margin-top: 0; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .contact-grid { grid-template-columns: 1fr 1fr; } .contact-next { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) { .contact-grid, .contact-next .checklist { grid-template-columns: 1fr; } }

/* ---------- inner-page illustrations ---------- */
.phero .hero-art { max-width: 520px; }
.hero-art .sc { stroke: var(--line); stroke-width: 1.5; filter: drop-shadow(0 14px 24px rgba(15, 30, 60, .08)); }
.hero-art .card-sky .sc { fill: var(--sky); }
.hero-art .card-lilac .sc { fill: var(--lilac); }
.hero-art .card-sky .ni { stroke: #2F5BD3; }
.hero-art .card-lilac .ni { stroke: #6D4AE0; }
.hero-art .st1 { fill: var(--navy); font-family: var(--disp); font-weight: 700; font-size: 16px; }
.hero-art .st2 { fill: var(--gray); font-size: 12px; font-weight: 600; }
.hero-art .row { fill: #fff; stroke: var(--line); }
.hero-art .rt { fill: var(--navy-2); font-family: var(--disp); font-weight: 600; font-size: 13px; }
.hero-art .srow { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .16); }
.hero-art .srt { fill: #fff; font-family: var(--disp); font-weight: 600; font-size: 12.5px; }
.hero-art .pulse-rect { fill: none; stroke: var(--brand); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: rect-pulse 3s ease-out infinite; }

.hero-art .track-bg { fill: none; stroke: var(--line-2); stroke-width: 10; stroke-linecap: round; opacity: .55; }
.hero-art .draw { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.4s var(--ease) .3s forwards; }
.hero-art .draw.thick { stroke-width: 3.5; }
.hero-art .art-app .ring, .art-app .ring { stroke: var(--brand); stroke-opacity: .35; stroke-width: 2; animation: spin 30s linear infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .step { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.hero-art .num { fill: var(--brand-d); font-family: var(--disp); font-weight: 800; font-size: 15px; }
.hero-art .odot { fill: #fff; stroke: var(--brand); stroke-width: 2.5; }
.hero-art .ol { fill: var(--navy-2); font-family: var(--disp); font-weight: 600; font-size: 12.5px; }

.hero-art .grid { stroke: var(--line); stroke-dasharray: 3 6; }
.hero-art .axis { stroke: var(--line-2); stroke-width: 1.5; }
.hero-art .area { opacity: 0; animation: fade-in 1.2s ease 1.4s forwards; }
.hero-art .pt { opacity: 0; animation: fade-up .6s var(--ease) forwards; animation-delay: var(--d); }
.hero-art .dotp { fill: #fff; stroke: var(--brand); stroke-width: 3; }
.hero-art .dotp.last { fill: var(--brand); stroke: #fff; }
.hero-art .yr { fill: var(--gray); font-size: 12px; font-weight: 600; }
.art-chip.stat { gap: 8px; }
.art-chip.stat b { font-family: var(--disp); font-size: 1.05rem; color: var(--brand-d); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rect-pulse { 0% { transform: scale(1); opacity: .4; } 100% { transform: scale(1.12, 1.06); opacity: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .phero .hero-art { justify-self: start; } }
@media (max-width: 640px) { .art-chip.stat { font-size: .72rem; } .art-chip.stat b { font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art .draw { animation: none; stroke-dashoffset: 0; }
  .hero-art .area, .hero-art .pt { animation: none; opacity: 1; }
  .hero-art .pulse-rect, .art-app .ring { animation: none; }
}
.hero-art .orbit { transform-box: view-box; transform-origin: 420px 150px; animation: spin 9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hero-art .orbit { animation: none; } }
/* square client logos need more height to read at the same visual weight */



/* ---------- home illustration: chaos settling into order ---------- */
.hero-art .n-team .ni { stroke: var(--brand-d); } .hero-art .n-team .nb { fill: var(--brand-soft); stroke: #C9D8F5; }
.hero-art .team-box { fill: none; stroke: #C9D8F5; stroke-width: 1.5; stroke-dasharray: 5 6; opacity: 0; animation: fade-in .8s ease 1.6s forwards; }
.hero-art .team-l { fill: var(--brand-d); font-family: var(--disp); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; animation: fade-in .8s ease 1.6s forwards; }
.hero-art .node.chaos { transform-box: fill-box; transform-origin: center; animation: settle 1.5s var(--ease) both, node-float 6s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1.6s); }
.art-home .links, .art-home .pkts { opacity: 0; animation: fade-in .9s ease 1.1s forwards; }
.art-home .pkts { animation-delay: 1.7s; }
.art-chip.c3 { top: 61%; left: 50%; transform: translateX(-50%); opacity: 0; animation: fade-in .6s ease 2s forwards, chip-float 5s ease-in-out 2.6s infinite; }
@keyframes settle { from { transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art .node.chaos, .art-home .links, .art-home .pkts, .hero-art .team-box, .hero-art .team-l, .art-chip.c3 { animation: none; opacity: 1; transform: none; }
  .art-chip.c3 { transform: translateX(-50%); }
}

/* web screenshot with a phone overlapping its corner */
.combo { position: relative; }
.combo .shot { width: 100%; }
.combo .phone { width: 44%; max-width: 220px; margin: -48px 6% 0 auto; position: relative; }
@media (max-width: 640px) { .combo .phone { width: 52%; margin-top: -28px; } }

/* ---- Lead form, WhatsApp button, calendar (Phase 2) ---- */
.lead-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--sh-sm); }
.lead-form h2 { font-size: 1.6rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .86rem; font-weight: 700; color: var(--navy); padding: 0; }
.field .opt { font-weight: 500; color: var(--gray); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font: inherit; font-size: .97rem; color: var(--navy); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opts label { position: relative; font-weight: 600; font-size: .9rem; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--navy-2); transition: .2s; }
.opts input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-d); }
.opts input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-soft); border-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .btn:disabled { opacity: .6; cursor: progress; }
.form-status { font-size: .92rem; color: var(--gray); }
.form-status.bad { color: #B42318; }
.lead-aside { display: grid; gap: 20px; }
.lead-aside .card:hover { transform: none; box-shadow: none; }
.lead-aside h3 { margin-top: 0; font-size: 1.15rem; }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 8px 22px -6px rgba(37, 211, 102, .5); margin-top: 16px; align-self: flex-start; }
.btn-wa:hover { background: #1EBE5A; transform: translateY(-2px); }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.cal iframe { width: 100%; height: 640px; border: 0; border-radius: var(--r-md); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(15, 30, 60, .35); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .ibox { margin: 0 auto 24px; }
.thanks .cta-row { justify-content: center; }
@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lead-form { padding: 24px 20px; }
  .fgrid { grid-template-columns: 1fr; }
}
[hidden] { display: none !important; }

/* ---- Hero product visual, store badges, demo modal (Phase 5) ---- */
.hero-visual { position: relative; max-width: 600px; width: 100%; justify-self: center; padding-bottom: 8px; }
.hero-visual::before { content: ""; position: absolute; inset: -8% -6% -4% -6%; background: radial-gradient(closest-side, var(--brand-soft), transparent 75%); z-index: -1; }
.hero-visual .phone { width: 40%; max-width: 230px; margin: -22% 4% 0 auto; position: relative; }
.hero-visual .phone img { width: 100%; }
@media (max-width: 900px) { .hero-visual { max-width: 520px; } }
.demo-dialog { border: 0; padding: 0; width: min(920px, 94vw); border-radius: var(--r-lg); background: #000; overflow: visible; }
.demo-dialog::backdrop { background: rgba(15, 30, 60, .72); }
.demo-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; }
.demo-frame iframe, .demo-frame video { width: 100%; height: 100%; border: 0; }
.demo-todo { color: #fff; padding: 24px; text-align: center; }
.demo-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--sh-md); z-index: 2; }
.geo-line { margin-top: 14px; font-size: .98rem; color: var(--ink); font-weight: 600; }
.trust-note { margin-top: 6px; text-align: center; font-size: .92rem; color: var(--gray); }
.intl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 640px) { .intl-grid { grid-template-columns: 1fr; } }

/* ---- Testimonials and case studies (Phase 6) ---- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.testi-grid.one { grid-template-columns: minmax(0, 720px); justify-content: center; }
.testi { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.testi blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--navy-2); }
.testi blockquote p::before { content: "\201C"; }
.testi blockquote p::after { content: "\201D"; }
.testi figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi figcaption b { display: block; color: var(--navy); }
.testi figcaption div span { display: block; font-size: .88rem; color: var(--gray); }
.testi-logo { flex: none; width: 64px; height: 44px; display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: var(--r-sm); font-size: .7rem; color: var(--gray); }
.case-snap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.case-snap .snap { background: #fff; padding: 22px; }
.case-snap small { display: block; color: var(--gray); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.case-snap b { display: block; margin-top: 6px; color: var(--navy); font-size: 1.02rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; }
.metric .n { display: block; font-family: var(--disp); font-weight: 800; font-size: .85rem; color: var(--brand-d); letter-spacing: .1em; }
.metric strong { display: block; margin-top: 10px; font-family: var(--disp); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -.04em; color: var(--navy); }
.metric .lbl { display: block; margin-top: 12px; color: var(--gray); font-weight: 600; }
@media (max-width: 900px) { .testi-grid, .metrics { grid-template-columns: 1fr; } .case-snap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .case-snap { grid-template-columns: 1fr; } }

/* ---- FAQ and industry pages (Phase 7) ---- */
.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #C9D8F5; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-d); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-sm); }
.faq details p { padding: 0 0 20px; color: var(--ink); }
.pair .mods { margin-top: 12px; font-size: .85rem; color: var(--gray); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pair .mods a { padding: 3px 12px; border-radius: 999px; background: #fff; border: 1px solid #C9D8F5; color: var(--brand-d); font-weight: 700; }
.pair .mods a:hover { border-color: var(--brand); }
.ind-hero-cta { margin-top: 28px; }
.sx-card .textlink { margin-top: 18px; }

/* ---- Legal and trust pages, footer legal row (Phase 8) ---- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 40px; }
.prose p, .prose li { color: var(--ink); margin-top: 10px; }
.prose ul { margin-top: 10px; padding-left: 1.2em; list-style: disc; }
.prose .updated { color: var(--gray); font-size: .92rem; }
.prose table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--off); color: var(--navy); }
.f-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--gray); }
.f-legal a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.f-legal a:hover { color: var(--brand-d); }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }

.center-link { margin-top: 28px; text-align: center; }

.phones .phone img { aspect-ratio: 412 / 888; object-fit: cover; object-position: top; }

/* ---- Cookie notice ---- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 45; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 12px 14px; font-size: .82rem; color: var(--ink); }
.cookie p { margin: 0 0 10px; line-height: 1.45; }
.cookie div { display: flex; gap: 8px; }
.cookie button { font: inherit; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); cursor: pointer; }
.cookie .cookie-yes { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 640px) { .cookie { left: 12px; right: 80px; max-width: none; bottom: 12px; } }
