/* ==========================================================================
   United Shahoo Solutions LLP — Corporate Site
   "Light & crisp" theme on Bootstrap 5.3
   Brand: logo indigo-violet #5B3FD6
   ========================================================================== */

:root {
  --ink: #0B1B3F;          /* headings */
  --ink-2: #1E2B4A;
  --body: #4A5872;         /* paragraph text */
  --muted: #7A879C;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --line: #E4E8F0;
  --line-2: #D5DBE6;

  --brand: #5B3FD6;        /* from logo */
  --brand-600: #4C30C4;
  --brand-50: #F1EEFF;
  --cyan: #06B6D4;
  --ok: #0E9F6E;

  --grad: linear-gradient(100deg, #5B3FD6 0%, #3B5BEB 50%, #0EA5C9 100%);
  --grad-soft: linear-gradient(135deg, #F1EEFF 0%, #EAF2FF 55%, #E6FAFD 100%);
  --navy: #0A1633;

  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r: 14px;
  --r-lg: 20px;
  --nav-h: 76px;

  --sh-xs: 0 1px 2px rgba(11,27,63,.06);
  --sh-sm: 0 1px 2px rgba(11,27,63,.04), 0 4px 12px -2px rgba(11,27,63,.06);
  --sh-md: 0 2px 4px rgba(11,27,63,.04), 0 12px 32px -8px rgba(11,27,63,.12);
  --sh-lg: 0 4px 8px rgba(11,27,63,.03), 0 30px 60px -20px rgba(30,30,90,.22), 0 18px 36px -18px rgba(0,0,0,.12);

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--body);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--line);
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-600);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg); color: var(--body);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display); color: var(--ink);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12;
}
h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
a { text-decoration: none; transition: color .2s ease; }
::selection { background: rgba(91,63,214,.18); color: var(--ink); }
img, svg { max-width: 100%; }
.text-body-muted { color: var(--body) !important; }
.text-dim { color: var(--muted) !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 2000; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 767.98px) { .section { padding: 76px 0; } .section-sm { padding: 52px 0; } }
.container { --bs-gutter-x: 2rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.1rem; }
.section-lead { font-size: 1.15rem; max-width: 640px; color: var(--body); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Navbar ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 1030; height: var(--nav-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); box-shadow: 0 6px 24px -18px rgba(11,27,63,.4); }
.site-nav .navbar { height: 100%; padding-top: 0; padding-bottom: 0; }
.brand-logo { height: 28px; width: auto; display: block; }
@media (max-width: 575.98px) { .brand-logo { height: 22px; } }

.site-nav .nav-link {
  color: var(--ink-2); font-size: .95rem; font-weight: 500;
  padding: .5rem 1rem !important; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.site-nav .nav-link:hover { color: var(--brand); background: var(--brand-50); }
.site-nav .nav-link.active { color: var(--brand); background: var(--brand-50); font-weight: 600; }

.navbar-toggler { border: 1px solid var(--line); padding: .45rem .6rem; border-radius: 10px; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .bi { font-size: 1.3rem; line-height: 1; }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-md);
    padding: .75rem 1rem 1.25rem;
  }
  .site-nav .nav-link { padding: .8rem 1rem !important; font-size: 1.02rem; border-radius: 10px; }
  .site-nav .nav-cta { margin-top: .75rem; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; font-weight: 600; font-size: .95rem; border-radius: 999px; padding: .75rem 1.4rem; transition: all .2s ease; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; }
@media (max-width: 575.98px) { .btn-lg { width: 100%; white-space: normal; padding: .95rem 1.2rem; font-size: .98rem; } }
.btn-accent {
  color: #fff; border: 0; background-color: var(--brand);
  background-image: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0));
  box-shadow: 0 1px 2px rgba(11,27,63,.2), 0 8px 22px -6px rgba(91,63,214,.55), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-accent:hover, .btn-accent:focus { background-color: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: 0 1px 2px rgba(11,27,63,.2), 0 14px 30px -8px rgba(91,63,214,.6); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-xs); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn .bi { transition: transform .2s ease; display: inline-block; }
.btn:hover .bi-arrow-right { transform: translateX(3px); }

.link-arrow { color: var(--brand); font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow:hover { color: var(--brand-600); }
.link-arrow .bi { transition: transform .2s ease; }
.link-arrow:hover .bi { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 160px; }
/* Animated gradient mesh on a skewed band */
.hero-glow {
  position: absolute; z-index: -2; pointer-events: none;
  left: -10%; right: -10%; top: -48%; height: 118%;
  transform: skewY(-9deg); transform-origin: 0 0;
  background:
    radial-gradient(40% 60% at 85% 40%, rgba(14,165,201,.85), transparent 70%),
    radial-gradient(38% 55% at 62% 15%, rgba(224,72,154,.6), transparent 70%),
    radial-gradient(45% 70% at 98% 75%, rgba(59,91,235,.8), transparent 70%),
    radial-gradient(55% 80% at 70% 70%, rgba(91,63,214,.8), transparent 70%),
    linear-gradient(180deg, #FBFAFF, #F3F5FF);
  background-size: 160% 160%;
  animation: mesh 18s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.35) 38%, #000 62%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.35) 38%, #000 62%);
}
@keyframes mesh {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0 0; }
  50%  { background-position: 30% 20%, -20% 10%, 10% -20%, -10% 20%, 0 0; }
  100% { background-position: -10% 30%, 20% -10%, -20% 10%, 20% -10%, 0 0; }
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(11,27,63,.11) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 45%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 15% 45%, #000 20%, transparent 70%);
}
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.85rem); letter-spacing: -0.045em; line-height: 1.04; margin-bottom: 1.5rem; }
.hero-sub { font-size: clamp(1.1rem, 1.45vw, 1.25rem); max-width: 600px; margin-bottom: 2.25rem; color: var(--body); }
.badge-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem 1rem .4rem .45rem; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-2); text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.badge-pill .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.badge-pill .dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 80%,100% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.25rem; font-size: .92rem; color: var(--body); font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .bi { color: var(--brand); }
@media (max-width: 991.98px) {
  .hero { padding: 64px 0 130px; }
  .hero-glow { top: auto; bottom: -30%; height: 75%; transform: skewY(-9deg); -webkit-mask-image: none; mask-image: none; opacity: .75; }
}

/* Page hero (interior pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0 88px; border-bottom: 1px solid var(--line); }
.page-hero .hero-glow { top: -55%; height: 150%; opacity: .9; }
.page-hero h1 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); letter-spacing: -0.04em; margin-bottom: 1.25rem; }
@media (max-width: 991.98px) { .page-hero .hero-glow { top: auto; bottom: -50%; height: 90%; opacity: .55; } }
@media (max-width: 767.98px) { .page-hero { padding: 60px 0 56px; } }
.breadcrumb-lite { font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb-lite a { color: var(--muted); }
.breadcrumb-lite a:hover { color: var(--brand); }

/* ---------- Topology card (hero) ---------- */
.topology {
  position: relative; background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-lg);
  padding: 1.25rem; box-shadow: var(--sh-lg);
}
.topology-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem;
  font-family: var(--font-mono); font-size: .7rem; color: var(--muted);
  padding-bottom: .9rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.topology-head > span { white-space: nowrap; }
.topology-head .status { color: var(--ok); display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.topology-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(14,159,110,.15); }
.topology svg { display: block; width: 100%; height: auto; }
/* CSS overrides the SVG's presentation attributes for the light theme */
.topology svg rect { fill: #fff; stroke: var(--line-2); }
.topology svg text { fill: var(--ink-2); font-weight: 500; }
.topology svg rect[stroke="#3B82F6"] { fill: var(--brand-50); stroke: var(--brand); }
.topology svg rect[stroke="#6366F1"] { fill: #EAF6FD; stroke: var(--cyan); }
.topology svg rect[stroke="#10B981"] { fill: #E9F8F1; stroke: var(--ok); }
.topology svg g[stroke="#2A3647"] { stroke: var(--line-2); }
.topology svg g[fill="#3B82F6"] { fill: var(--brand); }
.topology .flow { stroke-dasharray: 4 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.topology .node-pulse { animation: nodePulse 3s ease-in-out infinite; }
@keyframes nodePulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.float-y { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Metrics (floating card) ---------- */
.metrics { position: relative; z-index: 2; margin-top: -92px; }
.metrics-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.metric { padding: 2.25rem 2rem; height: 100%; border-right: 1px solid var(--line); }
.metrics .row > div:last-child .metric { border-right: 0; }
.metric-value {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  letter-spacing: -.04em; line-height: 1.1; margin-bottom: .35rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric-label { font-size: .95rem; color: var(--body); margin: 0; font-weight: 500; }

/* ---------- Milestones ---------- */
.milestones { padding: 96px 0 0; }
.milestones-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 2.25rem; }
.milestone { position: relative; height: 100%; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.milestone::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #fff; }
.milestone-year { display: block; font-family: var(--font-mono); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
.milestone p { margin: 0; color: var(--body); font-size: .98rem; line-height: 1.65; max-width: 34ch; }
@media (max-width: 767.98px) { .milestones { padding-top: 64px; } .milestone p { max-width: none; } }
@media (max-width: 991.98px) {
  .metrics .row > div:nth-child(2n) .metric { border-right: 0; }
  .metrics .row > div:nth-child(-n+2) .metric { border-bottom: 1px solid var(--line); }
}
@media (max-width: 575.98px) { .metric { padding: 1.5rem 1.1rem; } .metric-label { font-size: .85rem; } }

/* ---------- Cards ---------- */
.card-x {
  position: relative; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2.25rem; box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-x::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.card-x:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.card-x:hover::after { transform: scaleX(1); }
.card-x h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.card-x p { font-size: 1rem; margin-bottom: 0; }
.card-index { position: absolute; top: 1.6rem; right: 1.8rem; font-family: var(--font-mono); font-size: .8rem; color: #B3BCCB; font-weight: 600; }
@media (max-width: 575.98px) { .card-x { padding: 1.6rem; } }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #5B3FD6, #3B5BEB); color: #fff; font-size: 1.35rem; margin-bottom: 1.5rem;
  box-shadow: 0 10px 22px -10px rgba(91,63,214,.7);
}
.row > div:nth-child(4n+2) .icon-tile { background: linear-gradient(135deg, #3B5BEB, #0EA5C9); box-shadow: 0 10px 22px -10px rgba(59,91,235,.7); }
.row > div:nth-child(4n+3) .icon-tile { background: linear-gradient(135deg, #7C3AED, #E0489A); box-shadow: 0 10px 22px -10px rgba(124,58,237,.6); }
.row > div:nth-child(4n+4) .icon-tile { background: linear-gradient(135deg, #0EA5C9, #10B981); box-shadow: 0 10px 22px -10px rgba(14,165,201,.6); }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li { position: relative; padding-left: 1.85rem; margin-bottom: .6rem; font-size: .97rem; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235B3FD6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m4 8.5 2.6 2.5L12 5.5'/%3e%3c/svg%3e") center/12px no-repeat;
}
.tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand); background: var(--brand-50); border-radius: 999px; padding: .28rem .75rem; margin: 0 .35rem .45rem 0; }

/* ---------- Tech stack ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stack-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem;
  display: flex; align-items: flex-start; gap: 1.1rem; box-shadow: var(--sh-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stack-item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(91,63,214,.35); }
.stack-item .mark {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--brand); background: var(--grad-soft); border: 1px solid #E3DEFF;
}
.stack-item h3 { font-size: 1.08rem; margin: .1rem 0 .3rem; }
.stack-item p { font-size: .9rem; margin: 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 991.98px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .stack-grid { grid-template-columns: 1fr; gap: .9rem; } .stack-item { padding: 1.25rem; } }

/* ---------- NDA callout (deep navy for authority) ---------- */
.nda-callout {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 4rem; color: #B8C2D9; background: var(--navy);
  box-shadow: 0 40px 80px -40px rgba(10,22,51,.6);
}
.nda-callout::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(91,63,214,.55), transparent 65%),
    radial-gradient(420px 260px at 0% 100%, rgba(14,165,201,.30), transparent 65%);
}
.nda-callout::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); mask-image: linear-gradient(90deg, transparent 35%, #000);
}
.nda-callout h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.nda-callout .eyebrow { color: #B9AEFF; }
.nda-callout .lead-text { font-size: 1.12rem; color: #DCE2F0; }
.nda-callout p { color: #B8C2D9; }
.nda-callout .link-arrow { color: #fff; }
.nda-callout .link-arrow:hover { color: #B9AEFF; }
.nda-seal {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1.65rem; margin-bottom: 1.5rem;
  box-shadow: 0 12px 30px -10px rgba(91,63,214,.9);
}
.nda-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.nda-points li {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; font-size: .96rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 14px;
}
.nda-points .bi { color: #fff; font-size: 1rem; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(91,63,214,.5); }
.nda-points strong { color: #fff; font-weight: 600; display: block; margin-bottom: .1rem; }
@media (max-width: 767.98px) { .nda-callout { padding: 2.25rem 1.4rem; border-radius: 20px; } }

/* ---------- Contact / form ---------- */
.info-block { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.info-block:first-of-type { padding-top: 0; }
.info-block:last-child { border-bottom: 0; }
.info-block > .bi {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.1rem; color: var(--brand); background: var(--brand-50);
}
.info-block .label { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.info-block .value { color: var(--ink); font-size: 1rem; font-weight: 500; margin: 0; line-height: 1.6; font-style: normal; }
.info-block a.value:hover { color: var(--brand); }

.tz-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.75rem; }
.tz { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; box-shadow: var(--sh-xs); }
.tz .city { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tz .time { font-family: var(--font-display); color: var(--ink); font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.form-panel {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 2.5rem; box-shadow: var(--sh-lg);
}
.form-panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(91,63,214,.6), rgba(14,165,201,.3) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (max-width: 575.98px) { .form-panel { padding: 1.5rem; border-radius: 18px; } .form-panel::before { border-radius: 19px; } }
.form-label { font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: .45rem; }
.form-control, .form-select {
  background-color: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  border-radius: 12px; padding: .8rem 1rem; font-size: 1rem; transition: all .2s ease;
}
.form-control::placeholder { color: #A3AEC0; }
.form-control:focus, .form-select:focus { background-color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91,63,214,.14); color: var(--ink); }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: #E5484D; background-image: none; background-color: #FFF7F7; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--line); background-image: none; }
.invalid-feedback { color: #D93036; font-size: .82rem; }
.form-check-input { border-color: var(--line-2); width: 1.1em; height: 1.1em; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(91,63,214,.14); border-color: var(--brand); }
.form-check-label { font-size: .92rem; color: var(--ink-2); }
.form-note { font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success .bi { font-size: 2.75rem; color: var(--ok); }
.form-panel.is-sent form { display: none; }
.form-panel.is-sent .form-success { display: block; }

/* ---------- Process / steps ---------- */
.step { position: relative; padding-left: 4.5rem; padding-bottom: 2.4rem; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; background: linear-gradient(#D9D1FF, transparent); border-radius: 2px; }
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: #fff;
  background: var(--grad); box-shadow: 0 10px 20px -10px rgba(91,63,214,.8);
}
.step h3 { font-size: 1.15rem; margin-bottom: .35rem; padding-top: .65rem; }
.step p { font-size: 1rem; margin: 0; }

.principle { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { font-size: 1.1rem; margin: 0; display: flex; align-items: center; gap: .65rem; }
.principle h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--grad); flex: 0 0 8px; }
.principle p { margin: 0; }
@media (max-width: 767.98px) { .principle { grid-template-columns: 1fr; gap: .5rem; } }

.spec-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec-table th, .spec-table td { padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink); font-weight: 700; width: 36%; font-family: var(--font-display); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr { transition: background .2s ease; }
.spec-table tr:hover { background: var(--bg-soft); }
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-sm); }
@media (max-width: 575.98px) {
  .spec-table th, .spec-table td { display: block; width: 100%; padding: .8rem 1.15rem; }
  .spec-table th { border-bottom: 0; padding-bottom: 0; }
}

/* Architecture diagram (light restyle of SVG) */
.diagram-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 2rem; overflow-x: auto; box-shadow: var(--sh-md); }
.diagram-panel svg { min-width: 680px; display: block; margin: 0 auto; }
.diagram-panel svg rect { fill: var(--bg-soft); stroke: var(--line-2); }
.diagram-panel svg rect[fill="none"] { fill: none; stroke: var(--line-2); }
.diagram-panel svg rect[stroke="#3B82F6"] { fill: var(--brand-50); stroke: var(--brand); }
.diagram-panel svg rect[stroke="#6366F1"] { fill: #EAF6FD; stroke: var(--cyan); }
.diagram-panel svg rect[stroke="#10B981"] { fill: #E9F8F1; stroke: var(--ok); }
.diagram-panel svg text { fill: var(--ink-2); font-weight: 500; }
.diagram-panel svg g[fill="#6B7280"] text, .diagram-panel svg text[fill="#6B7280"] { fill: var(--muted); font-weight: 600; }
.diagram-panel svg g[stroke="#1F2937"] { stroke: var(--line); }
@media (max-width: 575.98px) { .diagram-panel { padding: 1rem; } }
.scroll-hint { display: none; font-size: .8rem; color: var(--muted); margin-top: .75rem; }
@media (max-width: 767.98px) { .scroll-hint { display: block; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: 3.75rem; color: #fff; background: var(--grad);
  box-shadow: 0 30px 60px -30px rgba(91,63,214,.7);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(400px 220px at 90% 10%, rgba(255,255,255,.25), transparent 60%),
              radial-gradient(360px 200px at 0% 100%, rgba(224,72,154,.35), transparent 65%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn-accent { background: #fff; color: var(--brand); box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); }
.cta-band .btn-accent:hover { background: #fff; color: var(--brand-600); }
@media (max-width: 767.98px) { .cta-band { padding: 2.25rem 1.5rem; border-radius: 20px; } }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 2.75rem 0 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 80px 0 32px; font-size: .95rem; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: .85rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.reg-status { display: inline-flex; align-items: center; gap: .5rem; }
.reg-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(14,159,110,.15); }
.tm-notice { margin: 14px 0 0; font-size: .78rem; line-height: 1.6; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.65,.25,1), transform .8s cubic-bezier(.2,.65,.25,1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
