/* ============================================================
   TEKTHAR — Atlassian-inspired design system
   ============================================================ */

:root {
  /* Brand — deep forest green */
  --brand: #1C3329;
  --brand-dark: #142621;
  --brand-deep: #0E1B15;
  --ink: #101214;
  --slate: #44546F;
  --slate-light: #8590A2;
  --line: #DFE2E6;

  /* Accents (Atlassian palette) */
  --yellow: #FCA700;
  --green: #22A06B;
  --lime: #82B536;
  --teal: #2898BD;
  --purple: #964AC0;
  --orange: #E56910;
  --red: #C9372C;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-tint: #F8F8F8;
  --bg-brand-tint: #EDF2EF;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(9, 30, 66, .08), 0 0 1px rgba(9, 30, 66, .12);
  --shadow-md: 0 8px 24px rgba(9, 30, 66, .12), 0 0 1px rgba(9, 30, 66, .1);
  --shadow-lg: 0 20px 48px rgba(9, 30, 66, .16), 0 0 1px rgba(9, 30, 66, .1);

  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', 'SF Mono', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

::selection { background: #D5E1DA; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
  border-radius: 8px; padding: 10px 20px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--bg-brand-tint); }
.btn--ghost svg { transition: transform .15s ease; }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--white { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .2s ease;
}
.nav--scrolled { box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(9, 30, 66, .06); }

.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', var(--font);
  font-size: 22px; font-weight: 600; letter-spacing: 0;
  color: var(--ink); text-decoration: none;
}

.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a {
  color: var(--slate); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.nav__links a:hover { background: var(--bg-brand-tint); color: var(--brand); }

.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__lang {
  color: var(--slate); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 6px 10px; border-radius: 8px;
}
.nav__lang:hover { background: var(--bg-brand-tint); color: var(--brand); }

.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ============ Hero ============ */
.hero { position: relative; padding: 72px 0 120px; overflow: hidden; background: linear-gradient(180deg, #FDFEFD 0%, #F0F5F2 100%); }

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; }

.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.blob--brand { width: 480px; height: 480px; background: #C6D8CE; top: -160px; right: -80px; }
.blob--yellow { width: 320px; height: 320px; background: #FFE8BF; bottom: -100px; left: -60px; opacity: .6; }
.blob--teal { width: 260px; height: 260px; background: #C9F0E8; top: 40%; left: 38%; opacity: .4; }

.hero__inner {
  position: relative; display: grid;
  grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--slate);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(34,160,107,.4);} 50% { box-shadow: 0 0 0 5px rgba(34,160,107,0);} }

.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal; color: var(--brand); position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: #FFDF8F; z-index: -1; border-radius: 3px;
  transform: scaleX(0); transform-origin: left; animation: swipe .6s .5s ease forwards;
}
@keyframes swipe { to { transform: scaleX(1); } }

.hero__sub { font-size: 19px; color: var(--slate); max-width: 520px; margin-bottom: 32px; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }


.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero__wave svg { width: 100%; height: 60px; display: block; }

/* --- Hero art (floating cards) --- */
.hero__art { position: relative; min-height: 440px; }

.art-card {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(9,30,66,.06);
}

.art-card--main { top: 20px; left: 8%; right: 6%; padding: 0 0 20px; animation: float 7s ease-in-out infinite; }
.art-card__head {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.art-card__title { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--slate-light); letter-spacing: .02em; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--r { background: #FF5F57; } .dot--y { background: #FEBC2E; } .dot--g { background: #28C840; }

.art-flow { padding: 0 20px; display: flex; flex-direction: column; }
.art-node {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px;
}
.art-node--done { border-color: #B3DFC9; background: #F2FBF6; }
.art-node--active { border-color: #B4C9BE; background: var(--bg-brand-tint); box-shadow: 0 0 0 3px rgba(28,51,41,.1); }
.art-node b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.art-node i { font-style: normal; font-size: 12px; color: var(--slate-light); }
.art-node__icon {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; background: #fff; border: 1.5px solid var(--line); color: var(--slate);
}
.art-node--done .art-node__icon { background: var(--green); border-color: var(--green); color: #fff; }
.art-node__icon--pulse { background: var(--brand); border-color: var(--brand); position: relative; }
.art-node__icon--pulse::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 2px solid var(--brand); animation: ring 1.6s ease infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

.art-connector { width: 2px; height: 14px; background: var(--green); margin-left: 26px; }
.art-connector--dashed { background: repeating-linear-gradient(to bottom, var(--slate-light) 0 3px, transparent 3px 6px); }

.art-card--code {
  bottom: 84px; left: -4%; padding: 16px 18px; max-width: 320px;
  animation: float 8s .8s ease-in-out infinite;
}
.art-card--code pre, .abp-code pre { font-family: var(--mono); font-size: 12.5px; line-height: 1.7; overflow: hidden; }
.c-kw { color: #B02CCE; } .c-str { color: #22A06B; } .c-fn { color: #1868DB; }
.c-cm { color: #8590A2; } .c-tag { color: #E56910; } .c-attr { color: #964AC0; }

.art-card--stat {
  bottom: -8px; right: 0; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  animation: float 6s .4s ease-in-out infinite;
}
.art-card--stat b { display: block; font-size: 13.5px; }
.art-card--stat i { font-style: normal; font-size: 12px; color: var(--slate-light); }
.art-stat__ring { position: relative; width: 52px; height: 52px; flex: none; }
.art-stat__ring svg { width: 100%; height: 100%; }
.art-stat__ring span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

.art-badge {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-md);
}
.art-badge--ai { top: -6px; right: 2%; animation: float 5.5s .2s ease-in-out infinite; }
.art-badge--sec { top: 46%; left: -6%; animation: float 6.5s 1s ease-in-out infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ Clients strip ============ */
.clients { padding: 40px 0 8px; }
.clients__label { text-align: center; font-size: 14px; font-weight: 600; color: var(--slate-light); margin-bottom: 24px; }
.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients__track { display: flex; width: max-content; animation: clients-marquee 45s linear infinite; }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__set { display: flex; align-items: center; gap: 56px; padding: 8px 28px; }
@keyframes clients-marquee { to { transform: translateX(-50%); } }

.client-logo {
  height: 34px; width: auto; max-width: 160px; object-fit: contain; display: block;
  filter: grayscale(1); opacity: .65;
  transition: opacity .2s ease, filter .2s ease;
}
.client-logo:hover { opacity: 1; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .clients__set[aria-hidden="true"] { display: none; }
  .clients__set { flex-wrap: wrap; justify-content: center; }
  .clients__marquee { -webkit-mask-image: none; mask-image: none; }
}
.client-mark {
  font-size: 17px; font-weight: 700; color: #A9B2C0; letter-spacing: .04em;
  filter: grayscale(1); transition: color .2s ease;
  font-variant: small-caps;
}
.client-mark:hover { color: var(--slate); }
.client-mark i { font-style: normal; font-size: 10px; vertical-align: middle; margin: 0 2px; }
.clients__note { text-align: center; font-size: 12px; color: #B6BFCC; margin-top: 18px; }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section--tinted { background: var(--bg-tint); }

.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section__head h2, .why h2, .contact h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section__head p { color: var(--slate); font-size: 17px; }

/* ============ Service cards ============ */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--tile); color: var(--tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--slate); margin-bottom: 18px; }
.card__link { font-size: 14.5px; font-weight: 600; color: var(--brand); }
.card__link i { font-style: normal; display: inline-block; transition: transform .15s ease; }
.card:hover .card__link i { transform: translateX(4px); }

/* Center the lone 7th service card on the 3-column grid */
.cards-grid .card:nth-child(7) { grid-column: 2; }

/* ============ Design & Creative ============ */
.design {
  position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(28,51,41,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,51,41,.045) 1px, transparent 1px),
    linear-gradient(160deg, #F2F8F2 0%, #F8FBF8 55%, #FFF8EA 100%);
  background-size: 30px 30px, 30px 30px, 100% 100%;
}
.design__bg { position: absolute; inset: 0; pointer-events: none; }
.blob--mint { width: 380px; height: 380px; background: #C6E5CC; top: -120px; right: -80px; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.blob--cream { width: 300px; height: 300px; background: #FFE8BF; bottom: -80px; left: -60px; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob--orchid { width: 340px; height: 340px; background: #F0D5EA; top: 42%; left: 55%; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }

.design__inner { position: relative; }

.design__groups {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1000px; margin: 0 auto 48px;
}
.design-group { display: flex; gap: 14px; align-items: flex-start; }
.design-group__dot {
  width: 12px; height: 12px; flex: none; border-radius: 50%;
  background: var(--c); margin-top: 6px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 15%, transparent);
}
.design-group h3 { font-size: 16.5px; margin-bottom: 2px; }
.design-group p { font-size: 14.5px; color: var(--slate); }

/* --- Studio bento --- */
.design-bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "color type   ai"
    "color banner list"
    "a11y  tokens list";
}
.bento {
  background: #fff; border: 1px solid rgba(9,30,66,.08);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-sm); overflow: hidden; position: relative;
}
.bento--color { grid-area: color; display: flex; flex-direction: column; }
.bento--type { grid-area: type; }
.bento--ai { grid-area: ai; display: flex; flex-direction: column; }
.bento--banner { grid-area: banner; }
.bento--a11y { grid-area: a11y; }
.bento--tokens { grid-area: tokens; }
.bento--list { grid-area: list; }

.bento__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bento__head h3 { font-size: 19px; }
.bento__icon {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: #101828; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.bento__icon svg { width: 20px; height: 20px; }
.bento__icon-tt { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.bento__note { font-size: 13.5px; color: var(--slate); line-height: 1.55; margin-top: 18px; }

/* Color card — status chart */
.chart-legend { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.chart-legend li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--slate); }
.chart-legend i { width: 12px; height: 12px; border-radius: 4px; }
.chart-legend b { margin-left: auto; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.chart-bars { display: flex; gap: 12px; align-items: flex-end; flex: 1; min-height: 150px; }
.chart-bar { flex: 1; display: flex; flex-direction: column; height: 100%; }
.chart-bar__col {
  flex: 1; display: flex; flex-direction: column-reverse; gap: 2px;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .9s cubic-bezier(.22,.8,.3,1) var(--d, 0s);
}
.chart-bar__col span { border-radius: 3px; }
.bento--color.is-visible .chart-bar__col { transform: scaleY(1); }
.chart-bar em { font-style: normal; font-size: 12px; color: var(--slate-light); text-align: center; margin-top: 8px; }

/* Typography card — document sample */
.bento-doc {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px 8px; box-shadow: var(--shadow-sm);
}
.bento-doc h4 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 12px; }
.bento-doc__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  font-size: 13px; color: var(--slate); font-weight: 500; margin-bottom: 14px;
}
.bento-doc__ava {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #964AC0, #CD519D); color: #fff;
  font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.bento-doc__ok { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-left: 6px; }
.bento-doc__dim { color: var(--slate-light); margin-left: 6px; }
.bento-doc p { font-size: 14px; color: var(--slate); line-height: 1.65; }
.bento-doc p b { color: var(--ink); }
.bento-doc__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(transparent, #fff); }

/* AI Patterns card — brand pill */
.bento-ai {
  flex: 1; position: relative; min-height: 130px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FDF3F9 0%, #F2F0FC 55%, #EDF4F0 100%);
  border-radius: 12px;
}
.ui-pill {
  font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.02em;
  color: #fff; padding: 14px 30px; border-radius: 999px;
  border: 3px solid transparent;
  background: linear-gradient(#101828, #101828) padding-box,
              conic-gradient(#FCA700, #CD519D, #964AC0, #22A06B, #FCA700) border-box;
  box-shadow: var(--shadow-md);
}
.bento-ai__cursor {
  position: absolute; top: 12%; left: 16%;
  animation: cursor-drift 5s ease-in-out infinite;
}
@keyframes cursor-drift {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(14px, 10px); }
  70% { transform: translate(4px, 18px); }
}

/* Banner card */
.bento--banner {
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    var(--brand);
  background-size: 34px 34px, 34px 34px, auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 170px; text-align: center;
}
.bento--banner h3 {
  color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em;
}
.bento-banner__plus {
  position: absolute; color: rgba(255,255,255,.75);
  font-size: 22px; font-weight: 400; line-height: 1;
}

/* Accessibility card */
.a11y-input {
  border: 2px solid #4C9AFF; border-radius: 9px; background: #fff;
  padding: 10px 14px; font-size: 15px; color: var(--ink);
  box-shadow: 0 0 0 3px rgba(76,154,255,.18);
  display: flex; align-items: center;
}
.a11y-input i { width: 1.5px; height: 18px; background: var(--ink); margin-left: 2px; animation: caret-blink 1.1s step-end infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.a11y-menu {
  border: 1px solid var(--line); border-radius: 10px; margin-top: 10px;
  overflow: hidden; background: #fff;
}
.a11y-menu span { display: block; padding: 11px 14px; font-size: 15px; color: var(--slate); }
.a11y-menu span + span { border-top: 1px solid #F1F2F4; }
.a11y-menu .is-focused { background: var(--bg-brand-tint); box-shadow: inset 3px 0 0 var(--brand); color: var(--ink); font-weight: 500; }
.a11y-tip {
  position: relative; margin: -34px -6px 0 22%;
  background: #101828; color: #fff; border-radius: 14px;
  padding: 14px 16px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.a11y-tip__tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; padding: 4px 12px; margin-bottom: 8px;
}
.a11y-tip p { font-size: 14.5px; font-weight: 600; line-height: 1.45; border-left: 3px solid #4C9AFF; padding-left: 10px; }

/* Tokens card */
.token-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.token-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F5F6F8; border: 1px solid #ECEDF0; border-radius: 999px;
  padding: 7px 14px; font-family: var(--mono); font-size: 12px; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.token-chips span:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.token-chips i { width: 13px; height: 13px; border-radius: 50%; flex: none; }

/* Deliverables card */
.deliv-list { list-style: none; }
.deliv-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 2px; font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.deliv-list li + li { border-top: 1px solid #F1F2F4; }
.deliv-list svg { width: 21px; height: 21px; flex: none; color: var(--slate); }
.deliv-list em {
  font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .05em;
  color: #964AC0; border: 1.5px solid #D8BDE8; border-radius: 5px; padding: 2px 6px;
}

.design__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* ============ Products ============ */
.products { display: flex; flex-direction: column; gap: 32px; }

.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  border-radius: 24px; padding: 48px; overflow: hidden; position: relative;
}
.product--masar { background: linear-gradient(120deg, #EBF2EE 0%, #F7FAF8 60%, #FFF6E5 100%); border: 1px solid #D7E2DC; }
.product--abp { background: linear-gradient(120deg, #101828 0%, #1C3329 100%); color: #fff; }
.product--abp h3, .product--abp .product__tagline { color: #fff; }
.product--abp p { color: #EAF1F7; }
.product--abp .product__copy > p:not(.product__tagline) { color: #EAF1F7; }

.product__tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  background: #fff; color: var(--brand-deep); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.product__tag--dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }

.product h3 { font-size: 32px; margin-bottom: 4px; }
.product__tagline { font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.product--abp .product__tagline { color: #A9C7B7; }
.product__copy > p:not(.product__tagline) { color: var(--slate); margin-bottom: 20px; }

.product__list { list-style: none; margin-bottom: 28px; }
.product__list li {
  position: relative; padding-left: 28px; margin-bottom: 8px; font-size: 15px; font-weight: 500;
}
.product__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.product__list--dark li { color: #E4EBF7; }

/* Masar mock UI */
.masar-ui {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px; border: 1px solid rgba(9,30,66,.06);
  transform: rotate(1.2deg);
  transition: transform .3s ease;
}
.product--masar:hover .masar-ui { transform: rotate(0); }
.masar-ui__bar { display: flex; gap: 8px; margin-bottom: 18px; }
.masar-ui__bar span { height: 10px; border-radius: 5px; background: #EAECF0; }
.masar-ui__bar span:first-child { width: 40%; background: #CDE8CE; }
.masar-ui__bar span:last-child { width: 22%; }
.masar-ui__lane { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.masar-chip { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 8px; }
.masar-chip--blue { background: #E9F2FF; color: #1868DB; border: 1px solid #C1D9FC; }
.masar-chip--yellow { background: #FFF7E6; color: #B65C02; border: 1px solid #FFE3AE; }
.masar-chip--green { background: #EFFAF1; color: var(--green); border: 1px solid #BBEBCF; }
.masar-ui__rows { display: flex; flex-direction: column; gap: 10px; }
.masar-ui__rows span { height: 8px; border-radius: 4px; background: #F1F2F4; }

/* ABP code window */
.abp-code {
  background: #0B1220; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08); overflow: hidden;
  transform: rotate(-1.2deg); transition: transform .3s ease;
}
.product--abp:hover .abp-code { transform: rotate(0); }
.abp-code__head {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.abp-code__head em { margin-left: 8px; font-style: normal; font-size: 12px; color: #7C8CA6; }
.abp-code pre { padding: 18px 20px; color: #DCE6F5; }
.abp-code .c-kw { color: #C792EA; } .abp-code .c-str { color: #7CE0AE; }
.abp-code .c-fn { color: #82AAFF; } .abp-code .c-tag { color: #FFCB6B; } .abp-code .c-attr { color: #F78C6C; }

/* ============ On-demand resources ============ */
.talent { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.talent h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 16px; }
.talent__intro { color: var(--slate); font-size: 17px; margin-bottom: 24px; }

.talent__roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.role-chip {
  font-size: 13.5px; font-weight: 600; color: var(--brand-deep);
  background: var(--bg-brand-tint); border: 1px solid #CBD9D1;
  border-radius: 999px; padding: 6px 14px;
  transition: background .15s ease, border-color .15s ease;
}
.role-chip:hover { background: #E2EAE6; border-color: #B2C6BB; }
.role-chip:last-child { background: var(--bg-tint); border-color: var(--line); color: var(--slate); }

.talent__steps { list-style: none; counter-reset: step; margin-bottom: 32px; }
.talent__steps li {
  position: relative; counter-increment: step;
  padding: 0 0 18px 46px;
}
.talent__steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.talent__steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 2px;
  width: 1.5px; background: var(--line);
}
.talent__steps b { display: block; font-size: 15.5px; }
.talent__steps span { font-size: 14.5px; color: var(--slate); }

.talent__visual { position: relative; min-height: 340px; }
.talent-card {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}
.talent-card:hover { transform: translateY(-4px) !important; box-shadow: var(--shadow-lg); }
.talent-card--back { top: 8px; transform: rotate(-1.4deg); }
.talent-card--mid { top: 120px; transform: rotate(1deg) translateX(24px); }
.talent-card--front { top: 232px; transform: rotate(-.6deg) translateX(-8px); }

.talent-card__avatar {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--av); color: var(--avc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.talent-card__body { flex: 1; }
.talent-card__body b { display: block; font-size: 15px; margin-bottom: 5px; }
.talent-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.talent-card__tags i {
  font-style: normal; font-size: 12px; font-weight: 600; color: var(--slate);
  background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: 5px; padding: 2px 8px;
}
.talent-card__status { font-size: 12.5px; font-weight: 700; color: var(--green); white-space: nowrap; }
.talent__badge { bottom: -22px; right: 4%; position: absolute; }

/* ============ Why Tekthar ============ */
.why__copy { max-width: 720px; margin: 0 auto; }
.why h2 { margin-top: 12px; }
.why__copy > p { color: var(--slate); font-size: 17px; margin: 16px 0 24px; }

.checklist { list-style: none; margin-bottom: 32px; }
.checklist li {
  position: relative; padding-left: 34px; margin-bottom: 14px;
  font-size: 15.5px; color: var(--slate);
}
.checklist li b { color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--bg-brand-tint); color: var(--brand);
  font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ============ CTA band ============ */
.cta-band {
  position: relative; color: var(--ink);
  background: linear-gradient(120deg, #EAF3ED 0%, #F7FAF8 55%, #FFF3DC 100%);
  padding: 88px 0; overflow: hidden; text-align: center;
}
.cta-band__inner { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.cta-band p { font-size: 17px; color: var(--slate); margin-bottom: 32px; }

.cta-band__shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; }
.shape--ring {
  width: 220px; height: 220px; border-radius: 50%;
  border: 32px solid rgba(28,51,41,.06);
  top: -70px; left: -60px;
}
.shape--tri {
  width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent;
  border-bottom: 120px solid rgba(252,167,0,.12);
  bottom: -30px; right: 6%; transform: rotate(18deg);
}
.shape--dotgrid {
  width: 140px; height: 140px; right: 22%; top: 10px; opacity: .5;
  background-image: radial-gradient(rgba(28,51,41,.25) 2px, transparent 2px);
  background-size: 18px 18px;
}

/* ============ Contact ============ */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__info h2 { margin-top: 12px; }
.contact__info > p { color: var(--slate); font-size: 17px; margin: 16px 0 28px; }

.contact__cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 44px; height: 44px; flex: none; border-radius: 10px;
  background: var(--tile); color: var(--tint);
  display: flex; align-items: center; justify-content: center;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: 14px; }
.contact-card span { font-size: 14.5px; color: var(--slate); }

.contact__form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--slate);
}
.contact__form input, .contact__form select, .contact__form textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 11px 14px; background: #FAFBFC; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(28,51,41,.15);
}
.contact__form textarea { resize: vertical; }
.form-note { font-size: 13.5px; color: var(--green); font-weight: 600; min-height: 1em; text-align: center; }

/* ============ Footer ============ */
.footer { background: #101828; color: #B9C4D6; padding: 64px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .nav__logo--footer { display: inline-flex; align-items: center; color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: 14.5px; max-width: 260px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { display: block; color: #B9C4D6; text-decoration: none; font-size: 14.5px; margin-bottom: 10px; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 24px; font-size: 13.5px; color: #7C8CA6;
}

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal--delay1 { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 72px; }
  .hero__art { max-width: 560px; margin: 0 auto; width: 100%; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid .card:nth-child(7) { grid-column: auto; }
  .design__groups { grid-template-columns: 1fr; gap: 18px; }
  .design-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "color  type"
      "banner banner"
      "a11y   list"
      "tokens ai";
  }
  .product { grid-template-columns: 1fr; padding: 36px; }
  .talent { grid-template-columns: 1fr; gap: 48px; }
  .talent__visual { max-width: 480px; width: 100%; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 24px 24px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px; font-size: 17px; }
  .nav__burger { display: block; }
  .nav__lang { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 96px; }
  .hero__art { min-height: 480px; }
  .art-card--code { left: 0; max-width: 280px; }
  .art-badge--sec { left: 0; }
  .product { padding: 28px 22px; }
  .contact__form { padding: 24px 20px; }
  .design-bento {
    grid-template-columns: 1fr;
    grid-template-areas: "color" "type" "ai" "banner" "a11y" "tokens" "list";
  }
  .a11y-tip { margin-left: 10%; }
}

/* ============ RTL (Arabic) ============ */
html[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }
html[dir="rtl"] .hero h1 { line-height: 1.35; }
html[dir="rtl"] .section__eyebrow { letter-spacing: 0; }
html[dir="rtl"] .checklist li { padding-left: 0; padding-right: 34px; }
html[dir="rtl"] .checklist li::before { left: auto; right: 0; }
html[dir="rtl"] .talent__steps li { padding: 0 46px 18px 0; }
html[dir="rtl"] .talent__steps li::before { left: auto; right: 0; }
html[dir="rtl"] .talent__steps li:not(:last-child)::after { left: auto; right: 14.5px; }
html[dir="rtl"] .chart-legend b { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .bento-doc__ok, html[dir="rtl"] .bento-doc__dim { margin-left: 0; margin-right: 6px; }
html[dir="rtl"] .art-card__title { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .masar-ui__lane svg { transform: scaleX(-1); }
html[dir="rtl"] .a11y-menu .is-focused { box-shadow: inset -3px 0 0 var(--brand); }
html[dir="rtl"] .a11y-tip { margin: -34px 22% 0 -6px; }
html[dir="rtl"] .a11y-tip p { border-left: none; border-right: 3px solid #4C9AFF; padding-left: 0; padding-right: 10px; }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }
html[dir="rtl"] .btn--ghost:hover svg { transform: scaleX(-1) translateX(-3px); }
html[dir="rtl"] .card__link i { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .card:hover .card__link i { transform: scaleX(-1) translateX(-4px); }
html[dir="rtl"] .product__list li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .product__list li::before { left: auto; right: 0; }

/* ============ Services page (blueprint dossier) ============ */
.svcp-hero {
  position: relative; padding: 88px 0 56px; overflow: hidden;
  background:
    linear-gradient(rgba(28,51,41,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,51,41,.05) 1px, transparent 1px),
    linear-gradient(180deg, #FDFEFD 0%, #F0F5F2 100%);
  background-size: 32px 32px, 32px 32px, auto;
}
.svcp-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin: 12px 0 14px; }
.svcp-hero p { font-size: 18px; color: var(--slate); max-width: 560px; }

.svcp-chips { position: sticky; top: 68px; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svcp-chips__row { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.svcp-chips__row::-webkit-scrollbar { display: none; }
.svcp-chips a {
  display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap;
  font-size: 13.5px; font-weight: 700; color: var(--brand); text-decoration: none;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  transition: background .15s ease, border-color .15s ease;
}
.svcp-chips a span { font-weight: 500; color: var(--slate); }
.svcp-chips a:hover { background: var(--bg-brand-tint); border-color: #C5D4CC; }

.svcp-body { padding-top: 64px; }
.svcp-chapter { padding: 48px 0 56px; scroll-margin-top: 140px; }
.svcp-chapter + .svcp-chapter { border-top: 1px dashed #D5DDD8; }
.svcp-chapter__head { display: flex; gap: 24px; align-items: flex-start; max-width: 780px; margin-bottom: 32px; }
.svcp-num {
  flex: none; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--brand); margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .svcp-num { -webkit-text-stroke: 1.5px var(--brand); }
.svcp-chapter h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 6px 0 10px; }
.svcp-chapter__head p { color: var(--slate); font-size: 16px; }
.svcp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.svcp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 26px; transition: transform .15s ease, box-shadow .15s ease;
}
.svcp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svcp-card b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.svcp-card p { font-size: 14px; color: var(--slate); }

@media (max-width: 1020px) { .svcp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .svcp-grid { grid-template-columns: 1fr; }
  .svcp-chapter__head { gap: 14px; }
  .svcp-num { font-size: 30px; }
  .svcp-chips { top: 68px; }
}

/* --- Services page: life --- */
.svcp-hero::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: #C6D8CE; filter: blur(85px); opacity: .55; top: -120px; right: -70px;
}
.svcp-hero::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: #FFE8BF; filter: blur(80px); opacity: .5; bottom: -110px; left: 8%;
}
.svcp-hero .container { position: relative; z-index: 1; }
.svcp-chapter { --acc: var(--brand); }
.svcp-chapter:nth-of-type(1) { --acc: #1868DB; }
.svcp-chapter:nth-of-type(2) { --acc: #E56910; }
.svcp-chapter:nth-of-type(3) { --acc: #2898BD; }
.svcp-chapter:nth-of-type(4) { --acc: #22A06B; }
.svcp-chapter:nth-of-type(5) { --acc: #964AC0; }
.svcp-chapter:nth-of-type(6) { --acc: #C9372C; }
.svcp-chapter:nth-of-type(7) { --acc: #CD519D; }
.svcp-num { -webkit-text-stroke: 1.5px var(--acc); transition: transform .3s ease; }
.svcp-chapter:hover .svcp-num { transform: translateY(-4px); }
.svcp-chapter .section__eyebrow { color: var(--acc); }
.svcp-card { border-top: 3px solid transparent; }
.svcp-card:hover { border-top-color: var(--acc); }
.svcp-chapter.is-visible .svcp-card { opacity: 1; transform: none; }
.svcp-chapter .svcp-card { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease, box-shadow .15s ease, border-color .15s ease; }
.svcp-card:nth-child(2) { transition-delay: .07s; }
.svcp-card:nth-child(3) { transition-delay: .14s; }
.svcp-card:nth-child(4) { transition-delay: .21s; }
.svcp-card:nth-child(5) { transition-delay: .28s; }
.svcp-card:nth-child(6) { transition-delay: .35s; }
.svcp-chips a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.svcp-chips a.is-active span { color: rgba(255,255,255,.75); }
@media (prefers-reduced-motion: reduce) { .svcp-chapter .svcp-card { opacity: 1; transform: none; } }

/* ============ Masar page (enterprise console) ============ */
.mp-hero {
  position: relative; overflow: hidden; color: #fff; padding: 96px 0 104px;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(135deg, #101828 0%, #14532D 130%);
  background-size: 36px 36px, 36px 36px, auto;
}
.mp-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.mp-overline {
  display: inline-block; font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #7EE2A8;
  border: 1px solid rgba(126,226,168,.35); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.mp-hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; margin-bottom: 16px; }
.mp-hero h1 em { font-style: normal; color: #7EE2A8; }
.mp-hero > .container p, .mp-hero__inner > div > p { font-size: 18px; color: #C9D6CE; max-width: 480px; margin-bottom: 30px; }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.mp-console {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.mp-quote { padding: 88px 0; text-align: center; background: var(--bg-tint); }
.mp-quote blockquote {
  font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.35; max-width: 720px; margin: 14px auto 18px; color: var(--brand);
}
.mp-quote p { max-width: 640px; margin: 0 auto; color: var(--slate); font-size: 16px; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mp-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.mp-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mp-tag {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 700;
  color: var(--brand); background: var(--bg-brand-tint); border-radius: 6px;
  padding: 3px 9px; margin-bottom: 14px;
}
.mp-panel h3 { font-size: 18px; margin-bottom: 8px; }
.mp-panel p { font-size: 14.5px; color: var(--slate); }
@media (max-width: 1020px) {
  .mp-hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .mp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) { .mp-grid { grid-template-columns: 1fr; } }

/* ============ ABP React page (developer README) ============ */
.ab-hero {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #0B1220 0%, #14324A 130%);
}
.ab-hero .mp-overline { color: #7CC7FF; border-color: rgba(124,199,255,.35); }
.ab-term {
  background: #0B1220; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: float 7s ease-in-out infinite;
}
.ab-term pre { padding: 20px 22px; font-family: var(--mono); font-size: 13.5px; line-height: 1.9; color: #DCE6F5; }
.ab-ps { color: #7CC7FF; font-weight: 700; }
.ab-ok { color: #22A06B; font-weight: 700; }
.ab-dim { color: #7C8CA6; }
.ab-chips { justify-content: center; }
.ab-chips span { font-size: 13px; padding: 9px 18px; }
.ab-chips i { background: #2898BD; }
.ab-cmd {
  display: inline-block; background: #101828; color: #7EE2A8;
  font-family: var(--mono); font-size: 15px; border-radius: 10px;
  padding: 12px 22px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}

/* ============ Products page (catalog) ============ */
.pp-hero {
  background: linear-gradient(180deg, #FDFEFD 0%, #F0F5F2 100%);
  padding: 84px 0 64px; text-align: center;
}
.pp-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin: 14px 0 16px; }
.pp-hero > .container > p { font-size: 18px; color: var(--slate); max-width: 600px; margin: 0 auto; }

.pp-flag__head { max-width: 780px; margin-bottom: 40px; }
.pp-flag__head h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 16px 0 4px; }
.pp-flag__head h2 em { font-style: normal; color: var(--brand); }
.pp-tagline { font-weight: 600; color: var(--brand); font-size: 17px; margin-bottom: 14px; }
.pp-desc { color: var(--slate); font-size: 16.5px; }
.pp-flag__head .product__list { margin: 22px 0 0; }

.pp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.pp-chips-label {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--slate-light); margin: 34px 0 14px;
}
.pp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.pp-chip::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* Dark flagship band (ABP React) */
.pp-dark { background: linear-gradient(120deg, #101828 0%, #1C3329 100%); color: #fff; }
.pp-dark .section__eyebrow, .pp-dark .pp-tagline { color: #7EE2A8; }
.pp-dark .pp-flag__head h2 { color: #fff; }
.pp-dark .pp-desc { color: #C9D6CE; }
.pp-dark .mp-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.pp-dark .mp-panel:hover { box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.pp-dark .mp-panel h3 { color: #fff; }
.pp-dark .mp-panel p { color: #B9C8BF; }
.pp-dark .mp-tag { color: #7EE2A8; background: rgba(126,226,168,.12); border-color: transparent; }
.pp-dark .pp-chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #E8EDF2; }
.pp-dark .pp-chip::before { color: #7EE2A8; }
.pp-dark .pp-chips-label { color: #8FA69A; }

.pp-cmd {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0B1220; border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  padding: 12px 20px; font-family: var(--mono); font-size: 14px; color: #7CE0AE;
  margin-top: 30px;
}
.pp-cmd i { font-style: normal; color: #5A6B84; user-select: none; }

/* Open-source tool cards */
.pp-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pp-tool {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pp-tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pp-tool__badge {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #B65C02; background: #FFF7E6; border: 1px solid #FFE3AE;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
}
.pp-tool h3 { font-size: 21px; margin-bottom: 2px; }
.pp-tool__sub { font-size: 14.5px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.pp-tool > p:not(.pp-tool__sub) { font-size: 14.5px; color: var(--slate); margin-bottom: 18px; }
.pp-tool .product__list { margin-bottom: 24px; }
.pp-tool .product__list li { font-size: 14.5px; }
.pp-tool__links { margin-top: auto; display: flex; gap: 18px; }
.pp-tool__links a { font-size: 14.5px; font-weight: 600; color: var(--brand); text-decoration: none; }
.pp-tool__links a:hover { text-decoration: underline; }

@media (max-width: 1020px) {
  .pp-tools { grid-template-columns: 1fr; }
}

/* ============ Masar deep-dive additions ============ */
a.mp-panel { display: block; color: inherit; text-decoration: none; }
[data-chapter] { scroll-margin-top: 130px; }
.pp-dark .section__head h2 { color: #fff; }
.pp-dark .section__head p { color: #C9D6CE; }

/* ============ Masar feature showcases (visual chapters) ============ */
.mfx { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.mfx--flip .mfx__copy { order: 2; }
.mfx--flip .mfx__visual { order: 1; }
.mfx__copy h2 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 12px; }
.mfx__copy > p { color: var(--slate); font-size: 16px; margin-bottom: 26px; }
.mfx__rows { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.mfx .pp-chips { gap: 8px; }
.mfx .pp-chip { padding: 6px 13px; font-size: 12.5px; }
.mfx__visual { position: relative; }
.pp-dark .design-group h3 { color: #fff; }
.pp-dark .design-group p { color: #B9C8BF; }

@keyframes dash-y { to { background-position: 0 12px; } }
@keyframes dash-x { to { background-position: 12px 0; } }
@keyframes grow-x { from { width: 0; } }

/* 01 - Workflow canvas */
.vwf {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px 24px 24px; position: relative;
}
.vwf__badge {
  position: absolute; top: -13px; inset-inline-end: 20px;
  background: #EFFAF1; color: var(--green); border: 1px solid #BBEBCF;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; padding: 4px 12px;
}
.vwf__flow { display: flex; flex-direction: column; align-items: center; }
.vwf-node {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); position: relative;
}
.vwf-node i {
  font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .06em;
  padding: 2px 7px; border-radius: 5px;
}
.vwf-node--start { border-color: #BBEBCF; } .vwf-node--start i { background: #EFFAF1; color: var(--green); }
.vwf-node--task { border-color: #B4C9BE; } .vwf-node--task i { background: var(--bg-brand-tint); color: var(--brand); }
.vwf-node--cond { border-color: #FFE3AE; } .vwf-node--cond i { background: #FFF7E6; color: #B65C02; }
.vwf-node--auto { border-color: #E4D5F6; } .vwf-node--auto i { background: #F3F0FF; color: var(--purple); }
.vwf-node--end { border-color: var(--line); } .vwf-node--end i { background: #F1F2F4; color: var(--slate); }
.vwf-node--active { box-shadow: 0 0 0 3px rgba(34,160,107,.15); }
.vwf-node--active::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 10px;
  border: 2px solid var(--green); animation: ring 1.8s ease infinite; pointer-events: none;
}
.vwf-link {
  width: 2px; height: 20px;
  background: repeating-linear-gradient(to bottom, #A9B2C0 0 4px, transparent 4px 8px);
  animation: dash-y 1.2s linear infinite;
}
.vwf__split { display: flex; gap: 28px; }
.vwf__branch { display: flex; flex-direction: column; align-items: center; }

/* 02 - API terminal */
.vapi {
  background: #0B1220; border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.vapi .art-card__head { border-bottom-color: rgba(255,255,255,.1); }
.vapi__title { margin-inline-start: 8px; font-size: 12px; font-weight: 600; color: #7C8CA6; }
.vapi__body { padding: 16px 20px 18px; font-family: var(--mono); font-size: 12.5px; }
.vapi__row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.08);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease var(--d, 0s), transform .5s ease var(--d, 0s);
}
.vapi__row:last-child { border-bottom: none; }
.reveal.is-visible .vapi__row { opacity: 1; transform: none; }
.vapi__row .m { color: #7CE0AE; font-weight: 700; min-width: 42px; }
.vapi__row .u { color: #DCE6F5; flex: 1; direction: ltr; text-align: left; }
.vapi__row .s { color: #7EE2A8; font-weight: 700; }
.vapi__row .s--warn { color: #FCA700; }
.vapi__row .ms { color: #5A6B84; min-width: 52px; text-align: right; }
.vapi__chips { position: absolute; top: -14px; inset-inline-start: -10px; display: flex; gap: 8px; }
.vapi__chips span {
  background: #101828; color: #DCE6F5; border: 1px solid rgba(126,226,168,.4);
  font-size: 12px; font-weight: 600; border-radius: 999px; padding: 6px 13px;
  box-shadow: var(--shadow-md); animation: float 6s ease-in-out infinite;
}
.vapi__chips span:nth-child(2) { animation-delay: .4s; }
.vapi__chips span:nth-child(3) { animation-delay: .8s; }

/* 03 - Observability dashboard */
.vobs {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px;
}
.vobs__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.vobs-stat { background: var(--bg-tint); border-radius: 12px; padding: 12px 14px; }
.vobs-stat b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.vobs-stat span { font-size: 11.5px; color: var(--slate-light); font-weight: 500; }
.vobs__bars { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.vobs-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.vobs-bar em { font-style: normal; font-weight: 600; color: var(--slate); width: 64px; flex: none; }
.vobs-bar b { font-variant-numeric: tabular-nums; color: var(--slate-light); font-weight: 600; min-width: 34px; }
.vobs-bar__track { flex: 1; height: 8px; background: #F1F2F4; border-radius: 4px; overflow: hidden; }
.vobs-bar__track i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, #22A06B, #82B536); }
.reveal.is-visible .vobs-bar__track i { animation: grow-x 1s cubic-bezier(.22,.8,.3,1) both; }
.vobs__log { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.vobs-log__row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink); font-weight: 500; }
.vobs-log__row > span { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.vobs-log__row .ok { background: var(--green); }
.vobs-log__row .bad { background: var(--red); }
.vobs-log__row i { font-style: normal; color: var(--slate-light); margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.vobs-log__row b { font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 2px 8px; }
.vobs-log__row .pill-ok { background: #EFFAF1; color: var(--green); }
.vobs-log__row .pill-bad { background: #FFECEB; color: var(--red); }

/* 04 - Form builder */
.vform {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.vform__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.vform__head b { font-size: 15.5px; }
.vform__head span { font-size: 11.5px; color: var(--slate-light); font-weight: 600; }
.vform-f { display: block; margin-bottom: 12px; }
.vform-f em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--slate); margin-bottom: 5px; }
.vform-input {
  display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px;
  background: #FAFBFC; padding: 9px 12px; font-size: 14px; color: var(--ink);
}
.vform-input--focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(34,160,107,.15); }
.vform-input--focus i { width: 1.5px; height: 16px; background: var(--ink); margin-inline-start: 2px; animation: caret-blink 1.1s step-end infinite; }
.vform__cond {
  border-inline-start: 3px solid var(--yellow); background: #FFFBF0;
  border-radius: 8px; padding: 10px 12px; margin-bottom: 14px;
  opacity: 0; transform: translateY(8px); transition: opacity .6s ease .4s, transform .6s ease .4s;
}
.reveal.is-visible .vform__cond { opacity: 1; transform: none; }
.vform__cond em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--slate); margin-bottom: 3px; }
.vform__cond b { display: block; font-size: 11px; font-weight: 600; color: #B65C02; margin-top: 5px; }
.vform__cond span { font-size: 13px; color: var(--slate); }
.vform__chips { display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--line); padding-top: 14px; }
.vform__chips span {
  font-size: 11.5px; font-weight: 700; color: var(--slate);
  border: 1px dashed #C3CAD5; border-radius: 7px; padding: 4px 10px; background: #fff;
}

/* 05 - Mail previews */
.vmail { display: flex; flex-direction: column; gap: 14px; }
.vmail__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vmail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; padding-bottom: 12px;
}
.vmail-card__bar { height: 30px; background: linear-gradient(100deg, var(--brand), #2E8B57); margin-bottom: 14px; position: relative; }
.vmail-card__bar::after {
  content: ""; position: absolute; top: 9px; inset-inline-start: 12px;
  width: 44px; height: 12px; border-radius: 6px; background: rgba(255,255,255,.4);
}
.vmail-card__body { padding: 0 14px; }
.vmail-card__body b { display: block; font-size: 13px; margin-bottom: 10px; }
.vmail-card__body span { display: block; height: 7px; border-radius: 4px; background: #EDEFF3; margin-bottom: 7px; }
.vmail-card > em {
  display: block; font-style: normal; text-align: center;
  font-size: 11px; font-weight: 700; color: var(--slate-light); margin-top: 10px; letter-spacing: .04em;
}
.vmail__queue {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 12px 16px; font-size: 12.5px; font-weight: 700;
}
.vmail__queue i { font-style: normal; color: var(--slate-light); }
.q-step { color: var(--slate); }
.q-step--ok { color: var(--green); }
.q-smtp { margin-inline-start: auto; font-size: 11.5px; color: var(--green); font-weight: 700; }

/* 06 - Identity hub */
.vid { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 0; }
.vid__col { display: flex; flex-direction: column; gap: 10px; }
.vid-dir {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 13px; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.vid-dir b {
  width: 26px; height: 26px; flex: none; border-radius: 7px;
  background: var(--bg-brand-tint); color: var(--brand);
  font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.vid__dash {
  height: 2px; min-width: 18px;
  background: repeating-linear-gradient(to right, #A9B2C0 0 4px, transparent 4px 8px);
  animation: dash-x 1.2s linear infinite;
}
.vid__hub {
  width: 74px; height: 74px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(28,51,41,.08), var(--shadow-md); position: relative;
}
.vid__hub::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(28,51,41,.25); animation: ring 2.2s ease infinite;
}
.vid__col--pills { align-items: flex-start; }
.vid-pill {
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; color: var(--slate); box-shadow: var(--shadow-sm);
}
.vid-pill--ok { color: var(--green); border-color: #BBEBCF; background: #EFFAF1; }

/* 07 - Spaces grid */
.vsp {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.vsp__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; font-size: 12.5px; direction: ltr; }
.vsp__grid > span { padding: 10px 14px; border-bottom: 1px solid #F1F2F4; display: flex; align-items: center; gap: 6px; min-height: 42px; }
.vsp__grid > span:not(:nth-child(4n+1)) { border-left: 1px solid #F1F2F4; }
.vsp-h { background: var(--bg-tint); font-weight: 700; font-size: 11.5px; color: var(--slate); letter-spacing: .02em; }
.vsp-h i { font-style: normal; color: var(--slate-light); font-weight: 800; }
.vsp-chip { font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 2px 8px; }
.vsp-chip--review { background: #FFF7E6; color: #B65C02; }
.vsp-chip--ok { background: #EFFAF1; color: var(--green); }
.vsp-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.vsp-hl { outline: 2px solid var(--yellow); outline-offset: -2px; background: #FFFBF0; }
.vsp__formula {
  position: absolute; bottom: -14px; inset-inline-end: 18px;
  background: #101828; color: #7CE0AE; font-family: var(--mono); font-size: 12px;
  border-radius: 999px; padding: 7px 15px; box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 1020px) {
  .mfx { grid-template-columns: 1fr; gap: 40px; }
  .mfx--flip .mfx__copy { order: 1; }
  .mfx--flip .mfx__visual { order: 2; }
  .mfx__visual { max-width: 540px; }
}
@media (max-width: 720px) {
  .vid { grid-template-columns: auto 1fr auto; row-gap: 18px; }
  .vid__col--pills { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .vid__dash:last-of-type { display: none; }
  .vmail__pair { grid-template-columns: 1fr; }
}

/* ============ Masar hero — animated path background ============ */
.mp-hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mp-hero__inner { position: relative; }
.mp-path { position: absolute; inset: 0; width: 100%; height: 100%; }
html[dir="rtl"] .mp-path { transform: scaleX(-1); }
.mp-path path { fill: none; stroke-linecap: round; }
.mp-path__line { stroke: rgba(126,226,168,.14); stroke-width: 2; }
.mp-path__flow {
  stroke: #7EE2A8; stroke-width: 2.5;
  stroke-dasharray: 90 1800;
  animation: path-flow 8s linear infinite;
  filter: drop-shadow(0 0 6px rgba(126,226,168,.75));
}
@keyframes path-flow { from { stroke-dashoffset: 1890; } to { stroke-dashoffset: 0; } }
.mp-path__node { fill: #0F1F16; stroke: rgba(126,226,168,.45); stroke-width: 2; }
.mp-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.mp-glow--1 {
  width: 440px; height: 440px; background: rgba(46,162,107,.22);
  top: -140px; right: -90px;
  animation: glow-drift 12s ease-in-out infinite alternate;
}
.mp-glow--2 {
  width: 280px; height: 280px; background: rgba(252,167,0,.10);
  bottom: -130px; left: 6%;
  animation: glow-drift 15s ease-in-out infinite alternate-reverse;
}
@keyframes glow-drift { to { transform: translate(30px, 22px) scale(1.08); } }

/* ============ ABP React page — visual chapters ============ */
/* Hero: React orbit background */
.ab-hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ab-orbits { position: absolute; top: 48%; inset-inline-end: -4%; width: 560px; height: 560px; transform: translateY(-50%); }
.ab-ellipse {
  position: absolute; top: 50%; left: 50%; width: 500px; height: 190px;
  margin: -95px 0 0 -250px; border: 1.5px solid rgba(97,218,251,.18); border-radius: 50%;
}
.ab-ellipse--2 { transform: rotate(60deg); }
.ab-ellipse--3 { transform: rotate(-60deg); }
.ab-nucleus {
  position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; margin: -6.5px;
  border-radius: 50%; background: #61DAFB; box-shadow: 0 0 22px rgba(97,218,251,.9);
  animation: nucleus-pulse 2.6s ease infinite;
}
@keyframes nucleus-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.ab-spin { position: absolute; inset: 90px; border-radius: 50%; animation: orbit-spin 11s linear infinite; }
.ab-spin--2 { inset: 30px; animation-duration: 17s; animation-direction: reverse; }
.ab-spin i {
  position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: #7EE2A8; box-shadow: 0 0 12px rgba(126,226,168,.9);
}
.ab-spin--2 i { background: #61DAFB; box-shadow: 0 0 12px rgba(97,218,251,.9); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.ab-glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(97,218,251,.09); filter: blur(70px);
  top: -120px; inset-inline-start: 4%;
  animation: glow-drift 14s ease-in-out infinite alternate;
}

/* Auth: floating session badge over code */
.ab-float {
  position: absolute; top: -14px; inset-inline-end: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-md); animation: float 6s ease-in-out infinite; z-index: 1;
}
.ab-float--ok { color: var(--green); border-color: #BBEBCF; }

/* Identity: users admin table */
.vusers {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.vusers__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.vusers__head b { font-size: 13.5px; }
.vusers__head span { font-size: 11.5px; color: var(--slate-light); font-weight: 600; }
.vusers__row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #F1F2F4; font-size: 13px; }
.vusers__row:last-child { border-bottom: none; }
.vusers-av {
  width: 28px; height: 28px; flex: none; border-radius: 50%; color: #fff;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.vusers__row > b { flex: 1; font-weight: 600; }
.vusers-role { font-size: 10.5px; font-weight: 700; border-radius: 5px; padding: 2px 8px; }
.vusers-role--admin { background: #F3F0FF; color: var(--purple); }
.vusers-role--editor { background: #EFFAF1; color: var(--green); }
.vusers-role--viewer { background: #F1F2F4; color: var(--slate); }
.vusers-org { font-size: 11.5px; color: var(--slate-light); }

/* Permissions: RBAC matrix */
.vperm {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px; position: relative;
}
.vperm__grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 6px; font-size: 12px; direction: ltr; }
.vperm__grid > span { padding: 8px 10px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.vperm-h { font-weight: 700; color: var(--slate); background: var(--bg-tint); font-size: 11px; letter-spacing: .03em; }
.vperm-r { justify-content: flex-start !important; font-weight: 600; }
.vperm-y { background: #EFFAF1; color: var(--green); font-weight: 800; }
.vperm-n { background: #F8F8F8; color: #B6BFCC; }
.vperm__code {
  margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--slate);
  background: var(--bg-tint); border-radius: 8px; padding: 9px 12px;
  direction: ltr; text-align: left; overflow-x: auto; white-space: nowrap;
}
.vperm__code b { color: var(--brand); font-weight: 700; }

/* Settings: feature-flag toggles */
.vflag {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 6px 0;
}
.vflag__row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #F1F2F4; }
.vflag__row:last-child { border-bottom: none; }
.vflag__row > div { flex: 1; }
.vflag__row b { display: block; font-size: 13.5px; font-weight: 600; }
.vflag__row i { font-style: normal; font-size: 11.5px; color: var(--slate-light); }
.vtoggle { width: 38px; height: 22px; border-radius: 999px; background: #DFE2E6; position: relative; flex: none; transition: background .3s ease .5s; }
.vtoggle::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s ease .5s;
}
.vtoggle--on { background: var(--green); }
.vtoggle--on::after { transform: translateX(16px); }
.reveal.is-visible .vtoggle--anim { background: var(--green); }
.reveal.is-visible .vtoggle--anim::after { transform: translateX(16px); }

/* Theme: component specimen */
.vtheme {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.vtheme__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 10px; }
.vtheme__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.vtheme-btn { font-size: 13px; font-weight: 600; border-radius: 8px; padding: 8px 16px; }
.vtheme-btn--solid { background: var(--green); color: #fff; }
.vtheme-btn--outline { border: 1.5px solid var(--green); color: var(--green); }
.vtheme-btn--ghost { color: var(--green); background: #EFFAF1; }
.vtheme__swatches { display: flex; gap: 6px; }
.vtheme__swatches i { width: 26px; height: 26px; border-radius: 7px; }
.vtheme__mode {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 700; color: var(--slate);
}

/* ============ Why Tekthar page ============ */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 18px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.loc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.loc-card i { font-style: normal; font-size: 26px; display: block; margin-bottom: 10px; }
.loc-card b { display: block; font-size: 16px; margin-bottom: 2px; }
.loc-card span { font-size: 12.5px; color: var(--slate-light); font-weight: 600; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 21px; color: var(--brand); font-weight: 700; transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 22px 18px; color: var(--slate); font-size: 15px; }
.faq a { color: var(--brand); font-weight: 600; }

@media (max-width: 720px) {
  .loc-grid { grid-template-columns: 1fr 1fr; }
}

/* Why Tekthar — advantage manifesto */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.adv-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.adv-card b { display: block; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.adv-card p { color: var(--slate); font-size: 15px; }
@media (max-width: 720px) { .adv-grid { grid-template-columns: 1fr; } }

/* Why Tekthar — animated reason cards */
.wr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; transition: transform .2s ease, box-shadow .2s ease;
}
.wr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wr-viz {
  height: 88px; border-radius: 12px; background: var(--bg-tint);
  margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.wr-card b { display: block; font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.wr-card p { font-size: 14px; color: var(--slate); }

.wr-meter { width: 70%; }
.wr-meter i { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--slate-light); letter-spacing: .08em; margin-bottom: 6px; }
.wr-meter span { display: block; height: 10px; border-radius: 5px; background: #E5E9E6; overflow: hidden; }
.wr-meter span::after {
  content: ""; display: block; height: 100%; border-radius: 5px;
  background: linear-gradient(90deg, #22A06B, #7EE2A8);
  transform-origin: left; animation: wr-fill 2.8s ease-in-out infinite;
}
html[dir="rtl"] .wr-meter span::after { transform-origin: right; }
@keyframes wr-fill { 0%,100% { transform: scaleX(.18); } 55% { transform: scaleX(.96); } 75% { transform: scaleX(.9); } }

.wr-blocks { position: relative; width: 96px; height: 56px; }
.wr-blocks span { position: absolute; width: 26px; height: 26px; border-radius: 7px; animation: 4.5s ease-in-out infinite; }
.wr-blocks span:nth-child(1) { background: #1C3329; animation-name: wr-b1; }
.wr-blocks span:nth-child(2) { background: #22A06B; animation-name: wr-b2; }
.wr-blocks span:nth-child(3) { background: #FCA700; animation-name: wr-b3; }
@keyframes wr-b1 { 0%,100% { top: 0; left: 0; } 33% { top: 30px; left: 35px; border-radius: 50%; } 66% { top: 0; left: 70px; } }
@keyframes wr-b2 { 0%,100% { top: 30px; left: 35px; } 33% { top: 0; left: 70px; border-radius: 50%; } 66% { top: 0; left: 0; } }
@keyframes wr-b3 { 0%,100% { top: 0; left: 70px; } 33% { top: 0; left: 0; } 66% { top: 30px; left: 35px; border-radius: 50%; } }

.wr-clicks { display: flex; align-items: center; gap: 12px; }
.wr-clicks .dots { display: flex; gap: 6px; }
.wr-clicks .dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.wr-clicks .dots i.gone { animation: wr-gone 3.2s ease infinite; }
.wr-clicks .dots i.gone:nth-child(4) { animation-delay: .18s; }
.wr-clicks .dots i.gone:nth-child(5) { animation-delay: .36s; }
@keyframes wr-gone { 0%,15% { opacity: 1; transform: scale(1); } 40%,80% { opacity: .12; transform: scale(.55); } 100% { opacity: 1; transform: scale(1); } }
.wr-clicks em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--slate); white-space: nowrap; }

.wr-spark { position: relative; width: 48px; height: 48px; }
.wr-spark::before {
  content: "✦"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--brand); animation: wr-spin 7s linear infinite;
}
.wr-spark::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(34,160,107,.35); animation: ring 2.2s ease infinite;
}
@keyframes wr-spin { to { transform: rotate(360deg); } }

.wr-steps { display: flex; align-items: center; gap: 7px; }
.wr-steps span {
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 11px;
  background: #fff; border: 1px solid var(--line); color: var(--slate);
  animation: wr-step 3.9s ease infinite; white-space: nowrap;
}
.wr-steps span:nth-of-type(2) { animation-delay: 1.3s; }
.wr-steps span:nth-of-type(3) { animation-delay: 2.6s; }
.wr-steps i { font-style: normal; color: var(--slate-light); font-size: 11px; }
@keyframes wr-step {
  0%,8% { background: #fff; color: var(--slate); border-color: var(--line); }
  14%,38% { background: var(--brand); color: #fff; border-color: var(--brand); }
  46%,100% { background: #fff; color: var(--slate); border-color: var(--line); }
}

.wr-bars { display: flex; align-items: flex-end; gap: 7px; height: 54px; }
.wr-bars span {
  width: 14px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #22A06B, #82B536);
  transform-origin: bottom; animation: wr-bar 3s ease-in-out infinite;
}
.wr-bars span:nth-child(2) { animation-delay: .18s; }
.wr-bars span:nth-child(3) { animation-delay: .36s; }
.wr-bars span:nth-child(4) { animation-delay: .54s; }
@keyframes wr-bar { 0%,100% { transform: scaleY(.42); } 50% { transform: scaleY(1); } }

@media (max-width: 1020px) { .wr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .wr-grid { grid-template-columns: 1fr; } }

/* Advantage cards — animated glyphs */
.adv-card { display: flex; gap: 18px; align-items: flex-start; }
.adv-glyph {
  width: 54px; height: 54px; flex: none; border-radius: 14px;
  background: var(--bg-brand-tint); position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.adv-glyph--morph::before {
  content: ""; width: 26px; height: 26px; background: var(--brand);
  animation: adv-morph 5s ease-in-out infinite;
}
@keyframes adv-morph {
  0%, 100% { border-radius: 6px; transform: rotate(0); }
  25% { border-radius: 50% 18% 50% 18%; transform: rotate(45deg); }
  50% { border-radius: 50%; transform: rotate(90deg) scale(.85); }
  75% { border-radius: 18% 50% 18% 50%; transform: rotate(135deg); }
}
.adv-glyph--ship::before {
  content: "✓"; font-size: 26px; font-weight: 800; color: var(--brand);
  animation: adv-stamp 3s ease infinite;
}
@keyframes adv-stamp {
  0%, 15% { transform: scale(0) rotate(-20deg); opacity: 0; }
  30%, 78% { transform: scale(1) rotate(0); opacity: 1; }
  92%, 100% { transform: scale(0) rotate(10deg); opacity: 0; }
}
.adv-glyph--ripple::before, .adv-glyph--ripple::after {
  content: ""; position: absolute; inset: 16px; border-radius: 50%;
  border: 2px solid var(--brand); animation: adv-ripple 2.6s ease-out infinite;
}
.adv-glyph--ripple::after { animation-delay: 1.3s; }
.adv-glyph--ripple i {
  font-style: normal; width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
@keyframes adv-ripple { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.adv-glyph--stack::before {
  content: ""; width: 26px; height: 6px; border-radius: 3px; background: var(--brand);
  box-shadow: 0 -9px 0 rgba(28,51,41,.55), 0 -18px 0 rgba(28,51,41,.28);
  animation: adv-stack 3.2s ease-in-out infinite; margin-top: 12px;
}
@keyframes adv-stack {
  0%, 100% { transform: translateY(0); box-shadow: 0 -9px 0 rgba(28,51,41,.55), 0 -18px 0 rgba(28,51,41,.28); }
  50% { transform: translateY(-3px); box-shadow: 0 -11px 0 rgba(28,51,41,.55), 0 -22px 0 rgba(28,51,41,.28); }
}

/* ============ Contact page ============ */
.ct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ct-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.ct-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ct-viz {
  height: 86px; width: 100%; border-radius: 12px; background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; overflow: hidden; position: relative;
}
.ct-card b { font-size: 17px; margin-bottom: 4px; letter-spacing: -0.01em; }
.ct-card p { font-size: 13.5px; color: var(--slate); margin-bottom: 16px; }
.ct-go { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--brand); }
a.ct-card:hover .ct-go { text-decoration: underline; }

.ct-teams { position: relative; width: 92px; height: 52px; }
.ct-teams span { position: absolute; border-radius: 12px; }
.ct-teams span:nth-child(1) {
  left: 0; top: 4px; width: 46px; height: 20px; background: #6264A7;
  border-bottom-left-radius: 4px; animation: ct-pop 4.2s ease infinite;
}
.ct-teams span:nth-child(2) {
  right: 0; bottom: 0; width: 54px; height: 20px; background: #C8CBEE;
  border-bottom-right-radius: 4px; animation: ct-pop 4.2s 1.7s ease infinite;
}
@keyframes ct-pop {
  0%, 8% { transform: scale(0); opacity: 0; }
  18%, 86% { transform: scale(1); opacity: 1; }
  96%, 100% { transform: scale(0); opacity: 0; }
}

.ct-call { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.ct-call i { font-style: normal; font-size: 26px; animation: ct-ringy 2.8s ease infinite; }
.ct-call::before, .ct-call::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 2px solid rgba(34,160,107,.4); animation: adv-ripple 2.8s ease-out infinite;
}
.ct-call::after { animation-delay: 1.4s; }
@keyframes ct-ringy {
  0%, 55%, 100% { transform: rotate(0); }
  62% { transform: rotate(-14deg); } 68% { transform: rotate(12deg); }
  74% { transform: rotate(-9deg); } 80% { transform: rotate(6deg); } 86% { transform: rotate(0); }
}

.ct-wa {
  background: #EFFAF1; border: 1px solid #BBEBCF;
  border-radius: 14px 14px 14px 4px; padding: 13px 16px;
  display: flex; gap: 5px; align-items: center;
}
html[dir="rtl"] .ct-wa { border-radius: 14px 14px 4px 14px; }
.ct-wa i { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; animation: ct-type 1.4s ease infinite; }
.ct-wa i:nth-child(2) { animation-delay: .18s; }
.ct-wa i:nth-child(3) { animation-delay: .36s; }
@keyframes ct-type { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

.ct-mail { position: relative; width: 100%; height: 100%; }
.ct-mail i { position: absolute; font-style: normal; font-size: 22px; left: 16%; bottom: 24%; animation: ct-fly 3.6s ease-in-out infinite; }
html[dir="rtl"] .ct-mail i { left: auto; right: 16%; transform: scaleX(-1); }
.ct-mail::after {
  content: ""; position: absolute; left: 22%; bottom: 34%; width: 50%; height: 2px;
  background: repeating-linear-gradient(90deg, #A9B2C0 0 5px, transparent 5px 10px);
  transform: rotate(-13deg); opacity: .5;
}
html[dir="rtl"] .ct-mail::after { left: auto; right: 22%; transform: rotate(13deg); }
@keyframes ct-fly {
  0% { transform: translate(0, 0) rotate(4deg); opacity: 0; }
  14% { opacity: 1; }
  62% { transform: translate(44px, -18px) rotate(4deg); opacity: 1; }
  82%, 100% { transform: translate(58px, -26px) rotate(4deg); opacity: 0; }
}

.ct-note { text-align: center; font-size: 13px; color: var(--slate-light); margin-top: 22px; }

@media (max-width: 1020px) { .ct-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .ct-grid { grid-template-columns: 1fr; } }

/* Contact hero — formal dark, radiating signal waves */
.cth-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 96px 0 88px;
  background: linear-gradient(135deg, #101828 0%, #1C3329 100%);
}
.cth-hero .container { position: relative; max-width: 760px; }
.cth-hero .section__eyebrow { color: #7EE2A8; }
.cth-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin: 16px 0; }
.cth-hero > .container > p { font-size: 18px; color: #C9D6CE; max-width: 560px; margin: 0 auto; }
.cth-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 28px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 8px 18px;
  font-size: 13.5px; font-weight: 600; color: #E8EDF2;
}
.cth-waves { position: absolute; inset: 0; pointer-events: none; }
.cth-waves span {
  position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; margin: -260px;
  border-radius: 50%; border: 1.5px solid rgba(126,226,168,.2);
  animation: cth-wave 5.4s linear infinite;
}
.cth-waves span:nth-child(2) { animation-delay: 1.8s; }
.cth-waves span:nth-child(3) { animation-delay: 3.6s; }
@keyframes cth-wave {
  0% { transform: scale(.3); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

.ct-assure { display: flex; justify-content: center; gap: 14px 36px; flex-wrap: wrap; margin-top: 36px; }
.ct-assure span { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.ct-assure span::before {
  content: "✓"; width: 20px; height: 20px; border-radius: 6px; flex: none;
  background: var(--bg-brand-tint); color: var(--brand);
  font-weight: 800; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Contact — collaborative canvas (we're listening) */
.vhear {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px; min-height: 300px; overflow: hidden;
}
.vhear__frame { border: 1.5px dashed #C3CAD5; border-radius: 12px; height: 220px; position: relative; padding: 18px; }
.vhear__title { width: 42%; height: 10px; border-radius: 5px; background: #101828; opacity: .85; margin-bottom: 14px; }
.vhear__row { height: 8px; border-radius: 4px; background: #EDEFF3; margin-bottom: 9px; }
.vhear__shape {
  position: absolute; bottom: 18px; inset-inline-start: 18px;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--bg-brand-tint); border: 1.5px solid #C5D4CC;
  animation: vhear-shape 6s ease-in-out infinite;
}
@keyframes vhear-shape {
  0%, 100% { border-radius: 14px; }
  50% { border-radius: 50%; background: #FFF7E6; border-color: #FFE3AE; }
}
.vhear__sticky {
  position: absolute; bottom: 20px; inset-inline-end: 20px; width: 92px;
  padding: 10px 12px; background: #FFF3BF; border-radius: 4px 4px 12px 4px;
  box-shadow: var(--shadow-sm); font-size: 10.5px; font-weight: 700; color: #7A5B00;
  animation: vhear-pop 7s ease infinite;
}
@keyframes vhear-pop {
  0%, 10% { transform: rotate(-3deg) scale(0); opacity: 0; }
  18%, 88% { transform: rotate(-3deg) scale(1); opacity: 1; }
  95%, 100% { transform: rotate(-3deg) scale(0); opacity: 0; }
}
.vhear-cursor { position: absolute; top: 0; left: 0; display: flex; align-items: flex-start; z-index: 2; }
.vhear-cursor svg { width: 16px; height: 16px; flex: none; }
.vhear-cursor i {
  font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff;
  border-radius: 999px; padding: 3px 10px; margin-top: 11px; margin-inline-start: -3px;
  white-space: nowrap; box-shadow: var(--shadow-sm);
}
.vhear-cursor--1 { animation: vhc1 9s ease-in-out infinite; }
.vhear-cursor--1 i { background: #22A06B; }
.vhear-cursor--2 { animation: vhc2 11s ease-in-out infinite; }
.vhear-cursor--2 i { background: #964AC0; }
.vhear-cursor--3 { animation: vhc3 10s ease-in-out infinite; }
.vhear-cursor--3 i { background: #E56910; }
@keyframes vhc1 {
  0%, 100% { transform: translate(36px, 48px); }
  30% { transform: translate(210px, 100px); }
  60% { transform: translate(110px, 190px); }
}
@keyframes vhc2 {
  0%, 100% { transform: translate(250px, 160px); }
  35% { transform: translate(140px, 66px); }
  70% { transform: translate(300px, 100px); }
}
@keyframes vhc3 {
  0%, 100% { transform: translate(170px, 215px); }
  40% { transform: translate(280px, 200px); }
  75% { transform: translate(70px, 130px); }
}

/* Contact channel brand logos */
.ct-brand { position: relative; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; }
.ct-brand svg { width: 48px; height: 48px; }
.ct-brand::after {
  content: ""; position: absolute; inset: 2px; border-radius: 50%;
  border: 2px solid var(--ring, rgba(34,160,107,.35));
  animation: adv-ripple 2.8s ease-out infinite;
}
.ct-brand--wa { --ring: rgba(37,211,102,.4); }
.ct-brand--mail { --ring: rgba(28,51,41,.28); }
.ct-brand--mail i {
  position: absolute; top: 0; inset-inline-end: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--yellow); border: 2.5px solid #fff;
  animation: ct-ping 2s ease infinite;
}
@keyframes ct-ping { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* Call card — incoming-call chip */
.ct-ring {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 10px; padding-inline-start: 14px;
  box-shadow: var(--shadow-md);
  animation: ct-buzz 3.4s ease infinite;
}
.ct-ring__logo { display: flex; align-items: center; }
.ct-ring__txt { display: flex; flex-direction: column; line-height: 1.25; }
.ct-ring__txt b { font-size: 12px; }
.ct-ring__txt i { font-style: normal; font-size: 10.5px; color: var(--slate-light); font-weight: 600; }
.ct-ring__btn {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  animation: ct-answer 2s ease infinite;
}
.ct-ring__btn svg { width: 15px; height: 15px; }
@keyframes ct-answer { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,160,107,.4); } 50% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(34,160,107,0); } }
@keyframes ct-buzz {
  0%, 78%, 100% { transform: translateX(0) rotate(0); }
  82% { transform: translateX(-2px) rotate(-.8deg); }
  86% { transform: translateX(2px) rotate(.8deg); }
  90% { transform: translateX(-1.5px) rotate(-.5deg); }
  94% { transform: translateX(1.5px) rotate(.5deg); }
}

/* Email card — self-composing message */
.ct-compose {
  display: flex; flex-direction: column; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 11px 13px;
  width: 180px; font-size: 11px; text-align: start;
}
.ct-compose__head {
  color: var(--slate); font-weight: 600;
  border-bottom: 1px solid #F1F2F4; padding-bottom: 6px;
  direction: ltr; text-align: left;
}
.ct-compose__head b { color: var(--slate-light); font-weight: 700; }
.ct-compose__line { min-height: 15px; }
.ct-compose__type {
  font-style: normal; font-weight: 600; color: var(--ink); font-size: 11.5px;
  display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom;
  border-inline-end: 1.5px solid var(--ink);
  width: 0; animation: ct-typewrite 6.5s infinite;
}
@keyframes ct-typewrite {
  0%, 8% { width: 0; animation-timing-function: steps(17, end); }
  45%, 96% { width: var(--tw, 17ch); }
  100% { width: 0; }
}
.ct-compose__sent {
  align-self: flex-end; font-size: 10px; font-weight: 800; color: var(--green);
  opacity: 0; transform: translateY(3px);
  animation: ct-sentpop 6.5s ease infinite;
}
@keyframes ct-sentpop {
  0%, 52% { opacity: 0; transform: translateY(3px); }
  60%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}

/* Footer contact block */
.footer__contact { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.footer__contact a, .footer__contact span { color: #B9C4D6; font-size: 14px; text-decoration: none; margin: 0; }
.footer__contact a:hover { color: #fff; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--slate); font-size: 15.5px; }
.legal ul { padding-inline-start: 22px; margin: 8px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand); font-weight: 600; }
.legal__date { font-size: 13px; color: var(--slate-light); font-weight: 600; }

/* Contact form consent */
.form-consent {
  display: flex !important; flex-direction: row !important; align-items: center; gap: 10px;
  font-size: 13px !important; font-weight: 500 !important; color: var(--slate);
}
.form-consent input { width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.form-consent a { color: var(--brand); font-weight: 600; }

/* ============ Mobile hardening ============ */
/* Grid children must be allowed to shrink below their content width;
   otherwise a wide child (code block, select) stretches the whole column. */
.product__copy, .product__visual,
.contact__info, .contact__form,
.mfx__copy, .mfx__visual { min-width: 0; }

/* Long code lines scroll inside their window instead of stretching the card */
.abp-code { max-width: 100%; }
.abp-code pre { overflow-x: auto; }

/* A select's intrinsic width (longest option) must not widen the form */
.contact__form select { width: 100%; max-width: 100%; }

/* Horizontal chip bars keep breathing room at the end of the swipe */
.svcp-chips__row::after { content: ""; flex: 0 0 16px; }

@media (max-width: 720px) {
  /* stacked talent cards spill past 340px on narrow screens */
  .talent__visual { min-height: 462px; }
  .talent__badge { bottom: 0; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
  .talent-card--mid { margin-inline: 2px; }
  .svcp-chips__row { padding-top: 12px; padding-bottom: 12px; }
}
