/* Tekno Solutions — site styles */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #6b6b73;
  --line: #e8e8ea;
  --panel: #f5f5f5;
  --dark: #000000;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-muted: #a1a1aa;
  --accent: #6fe3b4;
  --accent-ink: #04271a;
  --slate: #1f2633;
  --saint: #2ecc71;
  --r-xl: 32px;
  --r-lg: 20px;
  --container: 1248px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--bg); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
body.no-scroll { overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 500; }
.skip-link:focus { top: 16px; }

.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.brand-icon { fill: currentColor; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.panel { margin: 8px; border-radius: var(--r-xl); position: relative; isolation: isolate; overflow: hidden; }
.panel--dark { background: var(--dark); color: #fff; }
.panel--light { background: var(--panel); }
.section { padding-block: clamp(88px, 11vw, 160px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; display: block; }
.panel--dark .eyebrow { color: var(--dark-muted); }
.h-display { font-size: clamp(46px, 7.4vw, 104px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.h-page { font-size: clamp(42px, 6.2vw, 88px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.h-section { font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.14; max-width: 22ch; }
.h-sub { font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.12; }
.h-card { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.panel--dark .lead { color: var(--dark-muted); }
.muted { color: var(--muted); }
.h-section em, .h-sub em { font-style: italic; }

/* Words light up as you scroll (JS splits them into .w spans) */
.scroll-words .w { opacity: 0.18; transition: opacity 0.3s linear; }
.scroll-words .w.is-lit { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #8ff0c9; }
.btn--slate { background: var(--slate); color: #fff; }
.btn--slate:hover { background: #2b3446; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2e; }
.btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--light:hover { background: #fafafa; box-shadow: inset 0 0 0 1px #d4d4d8; }
.btn--saint { background: var(--saint); color: #03210f; }
.btn--saint:hover { background: #45d985; }
.btn__label { display: inline-grid; overflow: hidden; height: 1.25em; line-height: 1.25; }
.btn__label > span { grid-area: 1 / 1; transition: transform 0.4s var(--ease); }
.btn__label > span + span { transform: translateY(110%); }
.btn:hover .btn__label > span:first-child { transform: translateY(-110%); }
.btn:hover .btn__label > span + span { transform: translateY(0); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; }
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 24px calc(var(--gutter) - 8px) 0; transition: padding 0.3s var(--ease); pointer-events: none; }
.nav__inner {
  pointer-events: auto; max-width: calc(var(--container) + 32px); margin-inline: auto;
  height: 64px; padding-inline: 8px; display: flex; align-items: center; gap: 40px;
  border-radius: 20px; border: 1px solid transparent; color: #fff;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s, padding 0.3s;
}
.nav.is-scrolled { padding-top: 12px; }
.nav.is-scrolled .nav__inner {
  padding-inline: 16px 12px; color: var(--ink); background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 0, 0, 0.06); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
}
.logo { font-size: 30px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; display: inline-flex; align-items: baseline; }
.logo__sub { font-weight: 400; letter-spacing: -0.045em; opacity: 0.6; }
.logo__dot { color: var(--accent); }
.nav.is-scrolled .logo__dot { color: #18a873; }
.nav__links { display: flex; gap: 32px; font-size: 16px; }
.nav__links a { color: #d4d4d8; transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav.is-scrolled .nav__links a { color: #52525b; }
.nav.is-scrolled .nav__links a:hover, .nav.is-scrolled .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__actions { margin-left: auto; display: flex; gap: 10px; }
.nav.is-scrolled .nav__actions .btn--slate { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.1); cursor: pointer; place-items: center; }
.nav.is-scrolled .nav__toggle { background: #f0f0f1; }
.nav__toggle .icon { width: 20px; height: 20px; }

.mobile-menu {
  position: fixed; inset: 8px; z-index: 60; border-radius: 24px; background: #000; color: #fff;
  padding: 20px 24px 32px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.mobile-menu__links { margin-top: 48px; display: grid; gap: 4px; }
.mobile-menu__links a { font-size: 36px; font-weight: 500; letter-spacing: -0.03em; padding: 6px 0; }
.mobile-menu .actions { margin-top: auto; }
.mobile-menu .btn { flex: 1; }

@media (max-width: 960px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: grid; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(150px, 15vw, 200px); padding-bottom: clamp(56px, 7vw, 88px); }
.hero__title { position: relative; }
.hero__title .line { display: block; position: relative; }
.rotator {
  display: inline-block; position: relative; vertical-align: top; white-space: nowrap;
  height: 1.12em; margin-bottom: -0.1em; overflow: hidden; transition: width 0.6s cubic-bezier(0.7, 0, 0.2, 1);
}
.rotator__word {
  display: inline-block; padding-right: 0.04em;
  background: linear-gradient(90deg, #2dd4bf, #60a5fa 35%, #818cf8 60%, #6fe3b4 85%, #2dd4bf);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.js .rotator__word { position: absolute; left: 0; top: 0; transform: translateY(105%); opacity: 0; transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.5s; }
.js .rotator__word.is-active { transform: none; opacity: 1; }
.js .rotator__word.is-exit { transform: translateY(-105%); opacity: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

.streaks { position: absolute; left: 36%; right: -30vw; top: 46%; height: 30px; pointer-events: none; }
.streaks i {
  position: absolute; left: 0; right: 0; height: 1px; transform-origin: left;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85) 35%, rgba(255, 255, 255, 0) 90%);
  animation: streak 4.5s var(--ease) infinite;
}
.streaks i:nth-child(1) { top: 0; animation-delay: 0s; }
.streaks i:nth-child(2) { top: 6px; opacity: 0.5; animation-delay: 0.35s; }
.streaks i:nth-child(3) { top: 14px; opacity: 0.35; animation-delay: 0.7s; left: 12%; }
.streaks i:nth-child(4) { top: 20px; opacity: 0.6; animation-delay: 1.1s; left: 5%; }
@keyframes streak { 0% { transform: scaleX(0); opacity: 0; } 15% { opacity: 0.9; } 55% { transform: scaleX(1); opacity: 0.7; } 100% { transform: scaleX(1) translateX(8%); opacity: 0; } }
.hero__glow { position: absolute; z-index: -1; width: 720px; height: 720px; left: 10%; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 212, 191, 0.16), rgba(129, 140, 248, 0.08) 55%, transparent); pointer-events: none; }

.hero__lead { margin-top: clamp(28px, 3vw, 40px); max-width: 640px; font-size: clamp(18px, 1.55vw, 22px); color: var(--dark-muted); line-height: 1.55; }
.hero__actions { margin-top: clamp(36px, 4vw, 56px); }

.platforms { margin-top: clamp(64px, 7vw, 96px); }
.platforms__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.platform {
  position: relative; width: 96px; height: 96px; border-radius: 12px; display: grid; place-items: center;
  color: #d4d4d8; background: #050505; border: 1px solid var(--dark-line); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.platform svg { width: 34px; height: 34px; transition: transform 0.3s var(--ease); }
.platform::after { content: attr(data-name); position: absolute; bottom: 8px; font-family: var(--mono); font-size: 10px; color: var(--dark-muted); opacity: 0; transform: translateY(4px); transition: 0.25s var(--ease); white-space: nowrap; }
.platform:hover { color: #fff; border-color: rgba(255, 255, 255, 0.24); background: #0c0c0c; }
.platform:hover svg { transform: translateY(-6px); }
.platform:hover::after { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .platform { width: calc((100% - 24px) / 4); height: auto; aspect-ratio: 1; }
  .platform svg { width: 26px; height: 26px; }
  .platform::after { display: none; }
}

/* ---------- Services (home) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.svc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.svc-card:hover { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.25); transform: translateY(-2px); }
.svc-card__art { position: relative; height: 300px; padding: 28px; display: grid; place-items: center; background: #f7f7f7; border-bottom: 1px solid var(--line); overflow: hidden; }
.svc-card__art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, transparent 20px, #e6e6e8 20px, #e6e6e8 21px, transparent 21px, transparent calc(100% - 21px), #e6e6e8 calc(100% - 21px), #e6e6e8 calc(100% - 20px), transparent calc(100% - 20px)),
    linear-gradient(to bottom, transparent 20px, #e6e6e8 20px, #e6e6e8 21px, transparent 21px, transparent calc(100% - 21px), #e6e6e8 calc(100% - 21px), #e6e6e8 calc(100% - 20px), transparent calc(100% - 20px));
}
.svc-card__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 32px; flex: 1; }
.svc-card__body p { color: var(--muted); max-width: 48ch; }
.svc-card__body .link-arrow { margin-top: auto; padding-top: 12px; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } .svc-card__art { height: 270px; } }

.mini { position: relative; z-index: 1; width: min(100%, 380px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 36px -16px rgba(0, 0, 0, 0.16); }

/* Ecommerce order feed */
.feed { position: relative; z-index: 1; width: min(100%, 360px); }
.feed__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 10px; }
.feed__head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.feed__head strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.feed__list { display: grid; gap: 8px; height: 196px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.toast { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.25); animation: toast-in 0.55s var(--ease) both; }
.toast__icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #f4f4f5; flex: none; }
.toast__icon svg { width: 17px; height: 17px; }
.toast__text { display: grid; font-size: 14px; line-height: 1.3; }
.toast__text small { font-size: 12px; color: var(--muted); }
.toast__amt { margin-left: auto; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }

/* YouTube mini */
.yt { padding: 14px; }
.yt__top { display: flex; align-items: center; gap: 10px; }
.yt__avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ff4d4d, #ff9a3c); flex: none; }
.yt__name { display: grid; gap: 6px; flex: 1; }
.sk-line { display: block; height: 7px; border-radius: 4px; background: #ececee; }
.yt__sub { font-size: 12px; font-weight: 600; color: #fff; background: #ff0033; border-radius: 999px; padding: 6px 12px; }
.yt__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.yt__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; background: linear-gradient(135deg, #1e293b, #0f172a); }
.yt__thumb:nth-child(2) { background: linear-gradient(135deg, #7c3aed, #312e81); }
.yt__thumb:nth-child(3) { background: linear-gradient(135deg, #0d9488, #134e4a); }
.yt__thumb::after { content: attr(data-time); position: absolute; right: 5px; bottom: 5px; font-family: var(--mono); font-size: 9px; color: #fff; background: rgba(0, 0, 0, 0.7); padding: 1px 4px; border-radius: 3px; }
.yt__stats { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.stat small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stat strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: #e8faf2; color: #0f7a52; }
.badge .icon { width: 13px; height: 13px; stroke-width: 2.5; }

/* Code window */
.code { position: relative; z-index: 1; width: min(100%, 410px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.16); font-family: var(--mono); font-size: 13px; line-height: 1.85; overflow: hidden; }
.code__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.code__bar i:nth-child(2) { background: #febc2e; }
.code__bar i:nth-child(3) { background: #28c840; }
.code__body { padding: 10px 16px 14px; }
.code__line { display: flex; gap: 14px; white-space: pre; }
.code__line::before { content: attr(data-n); color: #b4b4bb; width: 1ch; text-align: right; }
.code__text { display: inline-block; }
.js .code__text { clip-path: inset(0 100% 0 0); }
.js .code.is-inview .code__text { animation: type calc(var(--ch, 20) * 40ms) steps(var(--ch, 20), end) forwards; animation-delay: var(--delay, 0ms); }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.tk-k { color: #7c3aed; } .tk-f { color: #0284c7; } .tk-n { color: #ea580c; } .tk-c { color: #a1a1aa; }
.caret { display: inline-block; width: 7px; height: 15px; background: var(--ink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.js .code:not(.is-inview) .caret { visibility: hidden; }
@keyframes blink { 50% { opacity: 0; } }

/* Consulting plan */
.plan { padding: 18px; }
.plan__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.pill { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: #f4f4f5; color: var(--muted); font-weight: 400; }
.plan__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 9px 0; font-size: 14px; }
.plan__row span:last-of-type { font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: #f0f0f2; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #0a0a0a, #3f3f46); transition: width 1.4s var(--ease); }
.bar--done i { background: linear-gradient(90deg, #34d399, #6fe3b4); }
.js [data-inview]:not(.is-inview) .bar i { width: 0; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.compare__col { border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); background: #fafafa; }
.compare__col--us { background: #000; color: #fff; border-color: #000; }
.compare__col h3 { margin-bottom: 20px; }
.compare__col li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.compare__col--us li { border-color: var(--dark-line); color: #e4e4e7; }
.compare__col li .icon { width: 20px; height: 20px; margin-top: 2px; color: #a1a1aa; }
.compare__col--us li .icon { color: var(--accent); stroke-width: 2.25; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 112px); background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.step { padding: 28px 24px 36px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; }
.step .icon { width: 20px; height: 20px; }
.step__num { display: block; margin: 16px 0 36px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: #a1a1aa; }
.step h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps--3 { grid-template-columns: 1fr; }
  .steps--3 .step { border-left: 0; }
  .steps--3 .step + .step { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { border-left: 0; } .step + .step { border-top: 1px solid var(--line); } }

/* ---------- Bento (dark) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; margin-top: clamp(48px, 6vw, 80px); background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--r-lg); overflow: hidden; }
.bento__cell { grid-column: span 6; background: #000; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; min-height: 440px; }
.bento__cell--7 { grid-column: span 7; }
.bento__cell--5 { grid-column: span 5; }
.bento__art { flex: 1; display: grid; place-items: center; min-height: 230px; margin-bottom: 28px; }
.bento__cell .eyebrow { margin-bottom: 12px; }
.bento__cell h3 { color: #fff; margin-bottom: 8px; }
.bento__cell p { color: var(--dark-muted); max-width: 46ch; }
@media (max-width: 960px) { .bento__cell, .bento__cell--7, .bento__cell--5 { grid-column: 1 / -1; min-height: 0; } }

/* Browser being assembled */
.browser { width: 100%; max-width: 520px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; background: #0a0a0a; overflow: hidden; }
.browser__bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; }
.browser__url { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: #71717a; background: #161618; padding: 3px 10px; border-radius: 6px; }
.browser__body { padding: 14px; display: grid; gap: 10px; }
.sk { border-radius: 8px; background: #1a1a1d; }
.js .is-inview .sk { animation: build 8s var(--ease) infinite both; animation-delay: calc(var(--i) * 140ms); }
@keyframes build { 0% { opacity: 0; transform: translateY(10px) scale(0.98); } 8%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.sk-nav { display: flex; gap: 8px; align-items: center; height: 18px; background: none; }
.sk-nav b { height: 10px; width: 54px; border-radius: 4px; background: #e4e4e7; }
.sk-nav s { height: 7px; width: 36px; border-radius: 4px; background: #3f3f46; }
.sk-nav u { margin-left: auto; height: 18px; width: 56px; border-radius: 999px; background: var(--accent); }
.sk-hero { height: 96px; padding: 16px; display: grid; align-content: center; gap: 8px; background: linear-gradient(120deg, #134e4a, #1e1b4b 70%); }
.sk-hero i { display: block; height: 10px; width: 55%; border-radius: 4px; background: rgba(255, 255, 255, 0.85); }
.sk-hero i + i { width: 35%; background: rgba(255, 255, 255, 0.4); height: 7px; }
.sk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: none; }
.sk-card { height: 72px; border-radius: 8px; background: linear-gradient(#26262a 62%, #161618 62%); }

/* Gauge */
.gauge { position: relative; width: 180px; height: 180px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge__track { stroke: rgba(255, 255, 255, 0.08); }
.gauge__value { stroke: var(--g-color, #ef4444); stroke-linecap: round; stroke-dasharray: 471; stroke-dashoffset: var(--g-off, 471); transition: stroke 0.3s; }
.gauge__num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 500; letter-spacing: -0.04em; color: var(--g-color, #ef4444); font-variant-numeric: tabular-nums; transition: color 0.3s; }
.vitals { display: flex; gap: 14px; justify-content: center; margin-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--dark-muted); }
.vitals span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }

/* Channel sync */
.sync { width: min(100%, 360px); display: grid; gap: 8px; }
.sync__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--dark-line); border-radius: 12px; background: #0a0a0a; font-size: 14px; }
.sync__row svg { width: 18px; height: 18px; color: #e4e4e7; }
.status { margin-left: auto; font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: #1c1c1f; color: #a1a1aa; transition: background 0.3s, color 0.3s; }
.status[data-state="syncing"] { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.status[data-state="live"] { background: rgba(111, 227, 180, 0.14); color: var(--accent); }

/* Views chart */
.chart { width: 100%; max-width: 560px; }
.chart__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.chart__head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-muted); }
.chart__head .badge { background: rgba(255, 0, 51, 0.14); color: #ff6b81; }
.chart__bars { height: 200px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--dark-line); }
.chart__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(to top, rgba(111, 227, 180, 0.08), rgba(111, 227, 180, 0.7)); transition: height 1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.chart__bars i:last-child { background: var(--accent); }
.js [data-inview]:not(.is-inview) .chart__bars i { height: 2%; }
.chart__axis { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 10px; color: #52525b; }

/* ---------- EcomSaint ---------- */
.saint-mock { margin-top: clamp(48px, 6vw, 80px); border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.35); }
.saint-mock .browser__bar { border-color: var(--line); background: #fafafa; }
.saint-mock .browser__bar i { background: #d4d4d8; }
.saint-mock .browser__url { background: #f0f0f1; color: var(--muted); }
.es { background: #fff6f1; padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 56px) clamp(36px, 5vw, 64px); }
.es__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.es__logo { font-weight: 800; font-style: italic; letter-spacing: -0.02em; font-size: 18px; }
.es__logo span { color: var(--saint); }
.es__links { display: flex; gap: 22px; color: #1f2937; }
.es__nav .es__btns { margin-left: auto; display: flex; gap: 8px; }
.es__btn { background: var(--saint); color: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.es__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: clamp(32px, 5vw, 64px); }
.es__hero h3 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: #1f2937; }
.es__hero h3 span { color: var(--saint); }
.es__hero p { margin: 16px 0 24px; color: #4b5563; font-size: 17px; }
.es__cards { display: grid; gap: 10px; }
.es__card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.3); font-size: 14px; font-weight: 600; color: #1f2937; animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.5s); }
.es__card:nth-child(even) { margin-left: 32px; }
.es__card .es__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #eafaf1; color: #16a34a; flex: none; }
.es__card .es__ico svg { width: 18px; height: 18px; }
.es__card small { display: block; font-weight: 400; color: #6b7280; font-size: 12px; }
.es__card .badge { margin-left: auto; }
@keyframes float { 50% { transform: translateY(-5px); } }
@media (max-width: 860px) { .es__links { display: none; } .es__hero { grid-template-columns: 1fr; } .es__card:nth-child(even) { margin-left: 0; } }
@media (max-width: 520px) { .es__nav .es__btns .es__btn + .es__btn { display: none; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.feature { background: #fff; border-radius: 16px; padding: 28px; }
.feature .eyebrow { margin-bottom: 14px; }
.feature h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- CTA + footer ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(88px, 10vw, 140px); }
.cta .h-sub { max-width: 16ch; }
.cta .lead { margin: 20px 0 32px; }
.cta__email { display: inline-block; margin-top: 28px; font-size: 18px; color: #e4e4e7; border-bottom: 1px solid rgba(255, 255, 255, 0.24); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.cta__email:hover { color: var(--accent); border-color: var(--accent); }
.cta__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--r-lg); overflow: hidden; }
.cta-card { background: #000; padding: 24px; min-height: 190px; display: flex; flex-direction: column; gap: 10px; transition: background 0.2s; }
.cta-card:hover { background: #0c0c0e; }
.cta-card__ico { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--dark-line); display: grid; place-items: center; color: var(--dark-muted); margin-bottom: 8px; }
.cta-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; display: flex; align-items: center; gap: 6px; }
.cta-card h3 .icon { transition: transform 0.2s var(--ease); }
.cta-card:hover h3 .icon { transform: translateX(3px); }
.cta-card p { font-size: 14px; color: var(--dark-muted); }
@media (max-width: 960px) { .cta { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cta__cards { grid-template-columns: 1fr; } .cta-card { min-height: 0; } }

.footer { border-top: 1px solid var(--dark-line); padding-block: 64px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { color: var(--dark-muted); margin-top: 14px; max-width: 30ch; }
.footer__brand .eyebrow { margin: 28px 0 8px; }
.footer .footer__contact { margin-top: 24px; gap: 8px; font-size: 15px; }
.footer__brand a { color: #e4e4e7; }
.footer__brand a:hover { color: var(--accent); }
.footer h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: #71717a; margin-bottom: 18px; }
.footer ul { display: grid; gap: 12px; font-size: 14px; }
.footer ul a { color: #d4d4d8; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; font-size: 13px; color: #71717a; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Services page ---------- */
.jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: clamp(48px, 6vw, 80px); }
.jump a { display: flex; flex-direction: column; gap: 32px; padding: 20px; border-radius: 16px; border: 1px solid var(--dark-line); background: #050505; transition: border-color 0.2s, background 0.2s; }
.jump a:hover { border-color: rgba(255, 255, 255, 0.24); background: #0c0c0e; }
.jump__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--dark-muted); }
.jump strong { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
@media (max-width: 860px) { .jump { grid-template-columns: 1fr 1fr; } }

.svc-detail { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.svc-detail:first-child { border-top: 0; }
.svc-detail__intro { position: sticky; top: 120px; align-self: start; }
.svc-detail__intro .lead { margin: 20px 0 28px; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tile { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; }
.tile svg { width: 22px; height: 22px; }
.inc-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.inc { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 28px; border-top: 1px solid var(--line); }
.inc:first-child { border-top: 0; }
.inc span { font-family: var(--mono); font-size: 12px; color: #a1a1aa; padding-top: 4px; }
.inc h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; }
.inc p { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; align-items: center; }
.chips .eyebrow { margin: 0 8px 0 0; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--panel); font-size: 14px; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail__intro { position: static; } .inc { padding: 20px; } }

.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(48px, 6vw, 72px); }
.bundle { border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 28px; background: #050505; }
.bundle__mix { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 40px; font-size: 13px; }
.bundle__mix span { border: 1px solid var(--dark-line); padding: 6px 12px; border-radius: 999px; color: #e4e4e7; }
.bundle__mix .icon { color: var(--accent); width: 14px; height: 14px; }
.bundle h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.bundle p { color: var(--dark-muted); font-size: 15px; }
@media (max-width: 860px) { .bundles { grid-template-columns: 1fr; } }


/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.faq__head { position: sticky; top: 120px; align-self: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 68ch; }
.faq details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - 16px); display: grid; align-content: center; padding-block: 160px 80px; }
.notfound .lead { margin: 24px 0 36px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* The close button inside the open menu stays visible at any width */
.mobile-menu .nav__toggle { display: grid; }
