/* SmarTech Apps — website redesign (2026)
   Design tokens, layout and components shared by every page. */

:root {
  --navy: #05152c;
  --navy-2: #08224a;
  --navy-3: #0b3070;
  --blue: #1769ff;
  --blue-d: #0f50d4;
  --blue-l: #4d8dff;
  --sky: #e8f1ff;
  --bg: #f4f8ff;
  --card: #ffffff;
  --ink: #0b1f3f;
  --muted: #5a6b86;
  --line: #dce7f8;
  --green: #14b886;
  --pink: #e8335f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 40, 100, 0.08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.ic { width: 22px; height: 22px; flex: none; }
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 28px; height: 28px; }

/* ───────── Navigation ───────── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.2px; }
.brand .logo-svg { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { display: block; color: #c6d4ee; font-size: 14px; font-weight: 500; padding: 22px 12px 20px; border-bottom: 2px solid transparent; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-links a.on { color: #fff; border-bottom-color: var(--blue-l); }
.nav-cta { border: 1px solid rgba(255,255,255,.45); color: #fff; padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; transition: background .15s; }
.nav-cta:hover { background: rgba(255,255,255,.1); }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; }

/* ───────── Buttons ───────── */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; padding: 12px 22px; border-radius: 10px; transition: transform .15s, background .15s, box-shadow .15s; }
.btn .ic { width: 16px; height: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(23,105,255,.28); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-white { background: #fff; color: var(--blue-d); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-outline { background: #fff; color: var(--blue-d); border: 1px solid #bcd3fb; padding: 9px 16px; font-size: 14px; }
.btn-outline:hover { background: var(--sky); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(232,51,95,.25); }
.btn-pink:hover { background: #cf2652; }
.btn-teal { background: #0ea5a4; color: #fff; }
.btn-block { width: 100%; justify-content: center; padding: 14px 22px; }

/* ───────── Hero ───────── */
.hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(900px 520px at 82% 18%, rgba(23,105,255,.38), transparent 62%),
              radial-gradient(500px 400px at 10% 110%, rgba(77,141,255,.18), transparent 60%),
              linear-gradient(135deg, #041226 0%, #07224a 55%, #0a326e 100%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero.slim .hero-in { padding-top: 44px; padding-bottom: 44px; grid-template-columns: 1.3fr 1fr; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue-l); margin-bottom: 14px; }
.eyebrow.lt { color: var(--blue); }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -1.2px; }
.hero h1 em { font-style: normal; color: var(--blue-l); display: block; }
.hero p.lead { margin-top: 18px; font-size: 17px; color: #c3d2ee; max-width: 520px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art img { width: 100%; max-width: 560px; margin-left: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.hero-icons { display: flex; justify-content: center; gap: 18px; }
.hero-icons span { width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; color: #fff; box-shadow: 0 18px 36px rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.hero-icons span:nth-child(1) { background: linear-gradient(135deg,#1769ff,#3b8bff); transform: translateY(-14px) rotate(-6deg); }
.hero-icons span:nth-child(2) { background: linear-gradient(135deg,#e8335f,#ff6b8b); transform: translateY(8px); }
.hero-icons span:nth-child(3) { background: linear-gradient(135deg,#0e9aa7,#2fc4b8); transform: translateY(-6px) rotate(6deg); }
.hero-icons .ic { width: 38px; height: 38px; }

/* ───────── Sections ───────── */
.section { padding: 72px 0; }
.section.tint { background: var(--bg); }
.section.tight { padding: 52px 0; }
.head { margin-bottom: 34px; }
.head.center { text-align: center; }
.head h2, .h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.8px; }
.head h2 em, .h2 em { font-style: normal; color: var(--blue); }
.head p, .sub { margin-top: 12px; color: var(--muted); font-size: 16.5px; max-width: 640px; }
.head.center p { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 6px; letter-spacing: -.2px; }
.card p { font-size: 14.5px; color: var(--muted); }
.ib { width: 46px; height: 46px; border-radius: 13px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.ib.green { background: #dcf7ee; color: #0e9f70; }
.ib.violet { background: #eee6ff; color: #7a4dff; }
.ib.amber { background: #fff1d8; color: #d98a0c; }
.ib.pink { background: #ffe5ec; color: var(--pink); }
.ib.teal { background: #d8f5f3; color: #0e9aa7; }
.ib.glass { background: rgba(255,255,255,.12); color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip .split-text { order: 2; }
.features { margin-top: 26px; display: grid; gap: 18px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat h4 { font-size: 16px; font-weight: 700; }
.feat p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.ticks { margin-top: 18px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: #33466a; }
.ticks .ic { width: 16px; height: 16px; color: var(--blue); }
.media-glow { position: relative; }
.media-glow::before { content: ''; position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, rgba(23,105,255,.16), transparent); z-index: 0; }
.media-glow img { position: relative; z-index: 1; margin: 0 auto; }

/* ───────── Dark process band ───────── */
.dark { background: linear-gradient(135deg,#041226,#07254f); color: #fff; }
.dark .head p { color: #b6c6e4; }
.dark .head h2 em { color: var(--blue-l); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; }
.step .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--blue-l); color: #fff; font-weight: 700; font-size: 14px; background: rgba(23,105,255,.18); }
.step h4 { margin: 14px 0 6px; font-size: 17px; font-weight: 700; }
.step p { font-size: 14px; color: #b6c6e4; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 23px; left: 58px; right: -8px; height: 1px; background: linear-gradient(90deg, rgba(77,141,255,.6), rgba(77,141,255,0)); }
.steps.icons .ib { margin-bottom: 4px; }
.steps.icons .step::after { display: none; }

/* ───────── Tech cards ───────── */
.tech-card .logos { display: flex; gap: 12px; margin-top: 16px; color: var(--blue); align-items: center; }
.tech-card .logos .tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--sky); color: var(--blue-d); }
.note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ───────── CTA bands ───────── */
.band { background: linear-gradient(110deg, var(--blue-d), var(--blue) 55%, #3b8bff); color: #fff; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.band h3 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.band p { color: #dbe8ff; margin-top: 4px; }
.band.soft { background: var(--sky); color: var(--ink); border-radius: 18px; }
.band.soft p { color: var(--muted); }

.support { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.support .card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.support .card .grow { flex: 1; }
.support h4 { font-size: 16px; font-weight: 700; }
.support p { font-size: 14px; color: var(--muted); }

/* ───────── Products ───────── */
.product { padding: 64px 0; }
.product .split { gap: 40px; }
.product h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -.8px; margin: 12px 0 10px; }
.pbrand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.pbrand i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-style: normal; }
.prod-find { background: #fff; }
.prod-mat { background: linear-gradient(180deg, #fff4f6, #fff0f3); }
.prod-alarm { background: #f3fbfc; }
.prod-find .pbrand i { background: var(--blue); }
.prod-mat .pbrand i { background: var(--pink); }
.prod-alarm .pbrand i { background: #0e9aa7; }
.prod-mat h2 { color: #2b1020; }
.preview-tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); margin-left: 8px; }
.prod-art { display: flex; justify-content: center; }
.prod-art img { max-height: 520px; width: auto; filter: drop-shadow(0 22px 34px rgba(10,40,100,.22)); }
.mini-feats { margin: 22px 0 26px; display: grid; gap: 14px; }
.mini-feats .feat h4 { font-size: 15.5px; }

.pcard { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.pcard img { width: 70px; height: 96px; object-fit: contain; object-position: center top; flex: none; }
.pcard h4 { font-size: 16px; font-weight: 700; }
.pcard p { font-size: 13.5px; color: var(--muted); margin: 3px 0 6px; }
.pcard a.more { color: var(--blue-d); font-size: 13.5px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }

.notify { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #0a2a55; color: #fff; border-radius: 16px; padding: 22px 26px; }
.notify .txt { flex: 1; min-width: 220px; }
.notify h4 { font-size: 18px; font-weight: 700; }
.notify p { font-size: 14px; color: #b6c6e4; }
.notify form { display: flex; gap: 10px; flex: 1.2; min-width: 260px; }
.notify input { flex: 1; border: 0; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 14.5px; }

/* ───────── Contact ───────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; margin-top: -28px; position: relative; z-index: 2; }
.info-card { background: linear-gradient(160deg, #06204a, #0a3270); color: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 20px 44px rgba(5,21,44,.35); }
.info-card h3 { font-size: 22px; font-weight: 800; }
.info-card .lead { color: #b6c6e4; font-size: 14.5px; margin: 6px 0 22px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-row small { display: block; font-size: 12px; color: #8fb0e8; font-weight: 700; letter-spacing: .4px; }
.info-row span, .info-row a { font-size: 14.5px; font-weight: 500; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; font-weight: 800; }
.form-card .lead { color: var(--muted); font-size: 14.5px; margin: 4px 0 20px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fg input, .fg select, .fg textarea { width: 100%; font: inherit; font-size: 14.5px; padding: 11px 13px; border: 1px solid #cfdcf3; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,255,.15); }
.fg textarea { min-height: 120px; resize: vertical; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.fine .ic { width: 15px; height: 15px; margin-top: 2px; }
.msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.msg.ok { background: #e1f8ee; color: #0c7a56; }
.msg.err { background: #ffe8ea; color: #b4233a; }
.hp { position: absolute; left: -9999px; }

.help-card { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; transition: transform .15s, box-shadow .15s; position: relative; }
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.help-card.a { background: #eef5ff; } .help-card.b { background: #eafaf3; } .help-card.c { background: #f3eefe; }
.help-card h3 { font-size: 18px; font-weight: 700; margin: 12px 0 6px; }
.help-card p { font-size: 14.5px; color: var(--muted); padding-right: 40px; }
.help-card .go { position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }

/* ───────── About ───────── */
.values { counter-reset: v; }
.value-card .ib { margin-bottom: 4px; }
.leader { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #3b8bff); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 28px; flex: none; }
.leader h3 { font-size: 20px; font-weight: 800; }
.leader .role { color: var(--blue); font-weight: 600; font-size: 14px; margin: 2px 0 8px; }
.leader p { color: var(--muted); font-size: 14.5px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.office { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; gap: 14px; }
.office h4 { font-size: 16px; font-weight: 700; }
.office p { font-size: 14.5px; color: var(--muted); }
.skyline { width: 100%; max-width: 900px; margin: 0 auto; opacity: .95; }

/* ───────── Footer ───────── */
.footer { background: linear-gradient(180deg, #05152c, #031022); color: #c6d4ee; padding: 52px 0 24px; }
.f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.footer .brand { margin-bottom: 10px; }
.f-top p.tag { font-size: 14px; color: #93a8cf; max-width: 260px; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer li { margin-bottom: 8px; font-size: 14px; }
.footer a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: center; }
.f-contact .ic { width: 16px; height: 16px; color: var(--blue-l); }
.f-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.f-offices div { display: flex; gap: 10px; align-items: flex-start; color: #b6c6e4; }
.f-offices b { color: #fff; display: block; }
.f-bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #7f93b8; }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .nav-links { position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; gap: 0; padding: 8px 24px 18px; display: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a.on { border-bottom-color: rgba(255,255,255,.06); color: var(--blue-l); }
  .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero-in, .hero.slim .hero-in { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 32px; }
  .hero-art img { margin: 0 auto; max-width: 440px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.flip .split-text { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; margin-top: -20px; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .support, .offices { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 52px 0; }
  .g4, .g3, .g2, .steps { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .f-top, .f-offices { grid-template-columns: 1fr; }
  .leader { flex-direction: column; text-align: center; }
  .notify form { flex-direction: column; }
  .hero-icons span { width: 62px; height: 62px; }
  .band-in { flex-direction: column; align-items: flex-start; }
}

/* SmartDevTools product */
.btn-green { background: #0e9f6e; color: #fff; box-shadow: 0 8px 20px rgba(14,159,110,.28); }
.btn-green:hover { background: #0b8a5f; transform: translateY(-1px); }
.prod-dev { background: linear-gradient(180deg, #f1fbf6, #eaf8f1); }
.prod-dev .pbrand i { background: linear-gradient(135deg, #0e9f6e, #14c08a); }
.preview-tag.live { color: #0b7a55; background: #e3f7ee; border-color: #bfe9d5; }
.prod-art.wide img { max-height: none; width: 100%; max-width: 560px; }
.pcard .devmini { width: 70px; height: 96px; flex: none; border-radius: 14px; background: linear-gradient(135deg, #0e9f6e, #14c08a); color: #fff; display: grid; place-items: center; }
.pcard .devmini .ic { width: 30px; height: 30px; }
.hero-icons span:nth-child(4) { background: linear-gradient(135deg,#0e9f6e,#2fd1a0); transform: translateY(10px) rotate(-4deg); }
.g4 .pcard { flex-direction: column; align-items: flex-start; }
.g4 .pcard img, .g4 .pcard .devmini { width: 100%; height: 150px; object-fit: contain; }
@media (max-width: 960px) { .g4 .pcard { flex-direction: row; align-items: center; } .g4 .pcard img, .g4 .pcard .devmini { width: 70px; height: 96px; } }

.footer .brand .logo-svg { height: 44px; }
a.pcard-link { color: inherit; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-dark { background: #0b1f3f; color: #fff; }
.btn-dark:hover { background: #12305e; transform: translateY(-1px); }
.btn-teal:hover { background: #0b8a89; transform: translateY(-1px); }

.f-legal { margin-top: 12px; font-size: 12.5px; line-height: 1.6; color: #6f84ab; max-width: 880px; }

/* Privacy policy */
.prose { max-width: 800px; margin: 0 auto; padding: 56px 24px 72px; --muted: #5a6b86; --text1: #0b1f3f; --text2: #3b4d6b; }
.prose h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 8px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.prose .lead { font-size: 16.5px; color: var(--text2); line-height: 1.8; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: 21px; font-weight: 800; margin: 40px 0 12px; padding-left: 14px; border-left: 3px solid var(--blue); letter-spacing: -.3px; scroll-margin-top: 84px; }
.prose h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.prose p, .prose li { font-size: 15px; color: var(--text2); line-height: 1.85; margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-d); }
.prose a:hover { text-decoration: underline; }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-bottom: 36px; }
.toc h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.toc ol { padding-left: 20px; margin: 0; }
.toc li { font-size: 14px; line-height: 1.7; margin-bottom: 2px; }
.info-box { background: var(--sky); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 18px 0; }
.info-box p { margin: 0; font-size: 14px; }
.contact-block { background: linear-gradient(135deg, #eef5ff, #e9f9fb); border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; margin-top: 18px; }
.contact-block p { margin-bottom: 8px; }

.pcard .devimg { width: 70px; height: 96px; flex: none; display: grid; place-items: center; }
.pcard .devimg img { width: 100%; height: auto; }
.g4 .pcard .devimg { width: 100%; height: 150px; }
.g4 .pcard .devimg img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 960px) { .g4 .pcard .devimg { width: 90px; height: 70px; } }

.wrap-tags { flex-wrap: wrap; gap: 8px !important; }
.toolbox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tb { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.tb h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--blue-d); border: 1px solid #cfe0fb; }
@media (max-width: 960px) { .toolbox { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .toolbox { grid-template-columns: 1fr; } }

.g5 { grid-template-columns: repeat(5, 1fr); }
.g5 .card { padding: 20px; }
.g5 .tech-card .logos { margin-top: 14px; }
@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .g5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .g5 { grid-template-columns: 1fr; } }

/* ───────── Animated tech showcase ───────── */
.tech-show { position: relative; overflow: hidden; color: #fff; padding: 76px 0 64px;
  background: radial-gradient(700px 420px at 78% 30%, rgba(23,105,255,.30), transparent 62%), radial-gradient(520px 360px at 8% 90%, rgba(20,184,166,.14), transparent 60%), linear-gradient(160deg, #04101f, #07224a 60%, #0a2f69); }
.ts-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.ts-text .eyebrow { color: var(--blue-l); }
.ts-text h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -1px; }
.ts-text h2 em { font-style: normal; background: linear-gradient(90deg, #6aa5ff, #38d6c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ts-text p { margin-top: 16px; color: #b9c9e6; font-size: 16.5px; max-width: 520px; }
.ts-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.ts-stats div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px 16px; backdrop-filter: blur(6px); }
.ts-stats b { display: block; font-size: 20px; font-weight: 800; }
.ts-stats span { font-size: 12.5px; color: #9fb4da; }

.ts-orbit { display: grid; place-items: center; min-height: 500px; }
.orbit { position: relative; width: 500px; height: 500px; transform-origin: center; }
.orb-glow { position: absolute; inset: 28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(56,189,248,.5), transparent); filter: blur(10px); animation: pulse 4s ease-in-out infinite; }
.orb-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(143,176,232,.28); transform: translate(-50%, -50%); }
.orb-ring.r1 { width: 184px; height: 184px; } .orb-ring.r2 { width: 316px; height: 316px; } .orb-ring.r3 { width: 448px; height: 448px; }
.orb-core { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 26px; background: linear-gradient(145deg, #0b2a5c, #0a1f44); border: 1px solid rgba(120,170,255,.45); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(56,189,248,.08), 0 0 50px rgba(56,189,248,.45); animation: float 5s ease-in-out infinite; }
.orb-core svg { width: 48px; height: 48px; }
.orb-spin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin 40s linear infinite; }
.orb-spin.s1 { animation-duration: 28s; } .orb-spin.s2 { animation-duration: 46s; animation-direction: reverse; } .orb-spin.s3 { animation-duration: 66s; }
.orb-item { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)); }
.orb-ctr { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: spin 28s linear infinite reverse; }
.orb-ctr.c2 { animation-duration: 46s; animation-direction: normal; } .orb-ctr.c3 { animation-duration: 66s; animation-direction: reverse; }
.orb-tile { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; transform: rotate(calc(var(--a) * -1)); }
.orb-tile .tbadge.lg { width: 52px; height: 52px; border-radius: 15px; font-size: 15px; box-shadow: 0 8px 22px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.18) inset; }
.orb-tile span { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; font-weight: 700; color: #cfe0ff; opacity: .9; }

.tbadge { display: inline-grid; place-items: center; font-style: normal; font-weight: 800; letter-spacing: -.3px; width: 26px; height: 26px; border-radius: 8px; font-size: 10.5px; flex: none; }
.tbadge.sm { width: 22px; height: 22px; border-radius: 7px; font-size: 9px; }

.mq-wrap { margin: 34px -24px 12px; display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; }
.mq { overflow: hidden; }
.mq-track { display: flex; gap: 12px; width: max-content; animation: marq 42s linear infinite; }
.mq.rev .mq-track { animation-direction: reverse; animation-duration: 50s; }
.mq-wrap:hover .mq-track { animation-play-state: paused; }
.mq-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #e6efff; font-size: 14px; font-weight: 600; white-space: nowrap; }

.tgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.tcard { position: relative; border-radius: 18px; padding: 20px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); transition: transform .25s, border-color .25s, box-shadow .25s; }
.tcard:hover { transform: translateY(-6px); border-color: rgba(120,170,255,.6); box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 30px rgba(23,105,255,.25); }
.tcard h3 { font-size: 17px; font-weight: 800; margin: 14px 0 12px; }
.tcard .ib { background: rgba(255,255,255,.1); color: #fff; }
.tchips { display: flex; flex-direction: column; gap: 8px; }
.tchip { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #d6e3fb; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(255,255,255,.05); transition: background .2s, transform .2s; }
.tchip:hover { background: rgba(255,255,255,.12); transform: translateX(3px); }

.reveal { transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.rv-on .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }
.tcard.reveal.in:hover { transform: translateY(-6px); transition-delay: 0ms; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 1100px) { .tgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .ts-top { grid-template-columns: 1fr; } .ts-orbit { min-height: 0; margin-top: 6px; } .orbit { transform: scale(.78); margin: -54px 0; } }
@media (max-width: 620px) { .tgrid { grid-template-columns: 1fr 1fr; } .orbit { transform: scale(.58); margin: -104px 0; } .mq-wrap { margin-left: -24px; margin-right: -24px; } }
@media (max-width: 440px) { .tgrid { grid-template-columns: 1fr; } .orbit { transform: scale(.5); margin: -125px 0; } }
@media (prefers-reduced-motion: reduce) { .orb-spin, .orb-ctr, .mq-track, .orb-glow, .orb-core { animation: none !important; } .reveal { opacity: 1; transform: none; transition: none; } }

/* capability showcase tweaks */
.tbadge .ic { width: 15px; height: 15px; color: #fff; }
.tbadge.lg .ic { width: 24px; height: 24px; }
.tbadge.sm .ic { width: 13px; height: 13px; }
.orb-tile .tbadge.lg { font-size: 0; }
.mqi { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(77,141,255,.22); color: #9cc2ff; }
.mqi .ic { width: 14px; height: 14px; }
.tdot { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(34,197,94,.2); color: #5be3a0; flex: none; }
.tdot .ic { width: 12px; height: 12px; }

/* white section under the dark showcase */
.tech-show { padding-bottom: 96px; }
.tech-light { position: relative; z-index: 2; margin-top: -40px; border-radius: 36px 36px 0 0; padding: 64px 0 56px; background: linear-gradient(180deg, #ffffff, #f4f8ff); box-shadow: 0 -18px 40px rgba(4,16,31,.25); }
.tech-light .tcard { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: none; }
.tech-light .tcard:hover { border-color: #9cc2ff; box-shadow: 0 18px 40px rgba(23,105,255,.16); }
.tech-light .tcard h3 { color: var(--ink); }
.tech-light .tcard .ib { background: var(--sky); color: var(--blue); }
.tech-light .tcard .ib.violet { background: #eee6ff; color: #7a4dff; }
.tech-light .tcard .ib.green { background: #dcf7ee; color: #0e9f70; }
.tech-light .tcard .ib.teal { background: #d8f5f3; color: #0e9aa7; }
.tech-light .tcard .ib.amber { background: #fff1d8; color: #d98a0c; }
.tech-light .tchip { color: #33466a; background: var(--bg); }
.tech-light .tchip:hover { background: var(--sky); }
.tech-light .tdot { background: #dcf7ee; color: #0e9f70; }
.tech-light .tgrid { margin-top: 30px; }
.tech-light .note { margin-top: 22px; color: var(--muted); }
@media (max-width: 620px) { .tech-light { margin-top: -28px; border-radius: 26px 26px 0 0; padding-top: 48px; } }

/* Orbit: one rigid, evenly spaced pattern. All rings turn together so tiles can never collide. */
.ts-orbit { min-height: 520px; }
.orbit { width: 500px; height: 500px; }
.orb-spin, .orb-spin.s1, .orb-spin.s2, .orb-spin.s3 { animation: spin 90s linear infinite; animation-direction: normal; }
.orb-ctr, .orb-ctr.c1, .orb-ctr.c2, .orb-ctr.c3 { animation: spin 90s linear infinite reverse; }
.orb-ring { border: 1px solid rgba(143,176,232,.22); border-style: solid; }
.orb-ring.r1 { box-shadow: 0 0 40px rgba(56,189,248,.10) inset; }
.orb-tile { left: -23px; top: -23px; width: 46px; height: 46px; transition: transform .25s; }
.orb-tile .tbadge.lg { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.22) inset, 0 0 18px rgba(255,255,255,.06); }
.orb-tile .tbadge.lg .ic { width: 22px; height: 22px; }
.orb-tile span { top: 54px; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(5,16,36,.85); border: 1px solid rgba(255,255,255,.14); opacity: 0; pointer-events: none; transition: opacity .2s; }
.orb-tile:hover span { opacity: 1; }
.orbit:hover .orb-spin, .orbit:hover .orb-ctr { animation-play-state: paused; }
@media (max-width: 960px) { .ts-orbit { min-height: 0; } }

.ts-text h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -1.2px; }
.ts-text h1 em { font-style: normal; background: linear-gradient(90deg, #6aa5ff, #38d6c4); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Left column polish */
.tech-show::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(120,160,230,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,230,.07) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 25% 45%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 25% 45%, #000, transparent 70%); }
.tech-show .wrap { position: relative; z-index: 1; }
.ts-text { position: relative; }
.ts-text::before { content: ''; position: absolute; left: -90px; top: 8%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23,105,255,.28), transparent); filter: blur(20px); z-index: -1; }
.ts-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: rgba(77,141,255,.14); border: 1px solid rgba(120,170,255,.4); color: #b8d1ff; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 18px; }
.ts-dot { width: 8px; height: 8px; border-radius: 50%; background: #38d6c4; box-shadow: 0 0 0 4px rgba(56,214,196,.2), 0 0 12px #38d6c4; animation: pulse 2.4s ease-in-out infinite; }
.ts-text h1, .ts-text h2 { color: #fff; text-shadow: 0 2px 30px rgba(23,105,255,.35); }
.ts-text h1 em, .ts-text h2 em { background: linear-gradient(90deg, #7fb0ff 0%, #4dc8ff 45%, #3ee0c4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.ts-text p { color: #c3d3f0; font-size: 17px; line-height: 1.7; }
.ts-stats { gap: 12px; margin-top: 28px; }
.ts-stats .st { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s, border-color .2s; }
.ts-stats .st:hover { transform: translateY(-3px); border-color: rgba(120,170,255,.55); }
.ts-stats .st div { background: none; border: 0; padding: 0; backdrop-filter: none; }
.ts-stats .st b { font-size: 17px; line-height: 1.2; }
.sti { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; flex: none; }
.sti .ic { width: 20px; height: 20px; }
.sti.a { background: linear-gradient(145deg, #2f7bff, #1d4ed8); box-shadow: 0 6px 16px rgba(47,123,255,.45); }
.sti.b { background: linear-gradient(145deg, #14c0a8, #0b8f84); box-shadow: 0 6px 16px rgba(20,192,168,.4); }
.sti.c { background: linear-gradient(145deg, #f6b73c, #d98a0c); box-shadow: 0 6px 16px rgba(246,183,60,.4); }
.ts-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 960px) { .ts-text::before { left: -40px; } }

/* Scrolling chips: full-bleed, colourful, brighter */
.mq-wrap { position: relative; width: 100vw; margin: 40px 0 0 calc(50% - 50vw); gap: 14px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.mq-track { gap: 14px; }
.mq-chip { gap: 11px; padding: 8px 20px 8px 8px; font-size: 14.5px; font-weight: 700; color: #f1f6ff; background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s, border-color .2s, background .2s; }
.mq-chip:hover { transform: translateY(-2px); border-color: rgba(120,190,255,.7); background: linear-gradient(160deg, rgba(255,255,255,.24), rgba(255,255,255,.1)); }
.mqi { width: 32px; height: 32px; border-radius: 10px; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.22) inset; }
.mqi .ic { width: 17px; height: 17px; color: #fff; }
@media (max-width: 620px) { .mq-chip { font-size: 13.5px; padding-right: 16px; } .mqi { width: 28px; height: 28px; } }

/* ───────── Footer v2 ───────── */
.footer { position: relative; overflow: hidden; padding: 0 0 26px; border-top: 0; background: linear-gradient(180deg, #06142a 0%, #031022 100%); }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #1769ff, #38d6c4 50%, #7c5cff); }
.f-glow { position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23,105,255,.22), transparent); pointer-events: none; }
.footer .wrap { position: relative; }
.f-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 40px 0 38px; padding: 24px 28px; border-radius: 20px; background: linear-gradient(120deg, rgba(23,105,255,.28), rgba(56,214,196,.14)); border: 1px solid rgba(120,170,255,.3); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.f-cta h3 { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.f-cta p { color: #b9c9e6; font-size: 14.5px; margin-top: 4px; }
.f-top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 36px; padding-bottom: 6px; }
.f-brand .brand { margin-bottom: 14px; }
.f-top p.tag { font-size: 14.5px; line-height: 1.65; color: #9db2d6; max-width: 290px; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #cfe0ff; transition: transform .2s, background .2s, border-color .2s; }
.f-social a:hover { transform: translateY(-3px); background: rgba(23,105,255,.35); border-color: rgba(120,170,255,.6); color: #fff; }
.f-social .ic { width: 17px; height: 17px; }
.footer h5 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #4d8dff, #38d6c4); }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer li a { color: #aebfdc; transition: color .15s, padding-left .15s; }
.footer li a:hover { color: #fff; padding-left: 4px; }
.f-prod li a { display: inline-flex; align-items: center; gap: 10px; }
.f-prod i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.18); flex: none; }
.f-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; padding-top: 0; border-top: 0; }
.f-office { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #b9c9e6; }
.f-office b { display: block; color: #fff; font-size: 14.5px; margin-bottom: 3px; }
.f-office a { color: #cfe0ff; }
.f-office a:hover { color: #fff; text-decoration: underline; }
.fo-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(23,105,255,.22); color: #8fb8ff; flex: none; }
.fo-ic .ic { width: 18px; height: 18px; }
.f-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #7f93b8; }
.f-legal { margin-top: 10px; font-size: 12px; line-height: 1.65; color: #627aa3; max-width: 900px; }
@media (max-width: 960px) { .f-top { grid-template-columns: 1fr 1fr; } .f-offices { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .f-top { grid-template-columns: 1fr 1fr; gap: 26px 20px; } .f-brand { grid-column: 1 / -1; } .f-cta { padding: 20px; } .f-cta .btn { width: 100%; justify-content: center; } }
@media (max-width: 340px) { .f-top { grid-template-columns: 1fr; } }

.offices.one { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
.f-offices { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .f-offices { grid-template-columns: 1fr; } }
