/* Byvant Solutions Ltd company page (root domain). Separate from the shop app. */
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff") format("woff"); font-weight: 700; font-display: swap; }
:root { --navy: #102B50; --navy-2: #1b3a66; --cyan: #246BCE; --blue: #246BCE; --ink: #172B4D; --muted: #52647B; --line: #E1E8F0; --soft: #F3F7FC; --radius: 12px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, 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: var(--blue); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -.01em; }
.co-wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.co-narrow { max-width: 760px; }

/* Opening animation (same style as the Halcyon opening screen) */
#intro { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0b1220; color: #fff; animation: intro-out .5s ease 2s forwards; }
#intro .mark { width: 84px; height: 84px; border-radius: 20px; animation: intro-rise .8s cubic-bezier(.22, .61, .36, 1) both; }
#intro .name { margin-top: 22px; font-size: clamp(20px, 4.5vw, 28px); font-weight: 600; letter-spacing: .04em; animation: intro-rise .8s .15s both; }
#intro .sub { margin-top: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; opacity: .7; animation: intro-rise .8s .3s both; }
#intro::after { content: ""; position: absolute; bottom: 18vh; left: 50%; width: 120px; height: 2px; margin-left: -60px; background: #2fa89b; transform: scaleX(0); transform-origin: left center; animation: intro-line 1.2s .4s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes intro-rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-line { to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  #intro { animation: intro-out .3s ease .6s forwards; }
  #intro .mark, #intro .name, #intro .sub { animation: none; }
  #intro::after { animation: none; transform: scaleX(1); }
}

/* Header */
.co-top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.co-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.co-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.co-brand img { height: 52px; width: auto; }
.co-wordmark { font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.co-wordmark span { font-weight: 400; color: var(--muted); }
.co-foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.co-foot .co-foot-brand img { height: 52px; width: auto; margin: 0; padding: 0; background: none; border-radius: 0; }
.co-foot-word { color: #fff; font-weight: 700; font-size: 18px; }
.co-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.co-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.co-nav a:hover { color: var(--blue); }
.co-nav .co-pill { background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 999px; }
.co-nav .co-pill:hover { background: var(--navy-2); color: #fff; }

/* Buttons and links */
.co-btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease; }
.co-btn:hover { transform: translateY(-1px); }
.co-btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -14px rgba(11,29,51,.7); }
.co-btn-primary:hover { background: var(--navy-2); color: #fff; }
.co-btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.co-btn-ghost:hover { background: var(--navy); color: #fff; }
.co-link { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }

/* Hero */
.co-hero { background: radial-gradient(900px 420px at 92% -10%, #d9efff 0%, transparent 60%), linear-gradient(180deg, #f5f9ff 0%, #fff 100%); padding: 84px 0 76px; }
.co-hero .co-wrap { max-width: 880px; }
.co-tag { display: inline-block; margin: 0 0 18px; background: #e6f0ff; color: var(--blue); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.co-hero h1 { margin: 0 0 18px; font-size: clamp(34px, 6vw, 60px); letter-spacing: -.025em; }
.co-lead { margin: 0 0 30px; font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 680px; }
.co-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Band */
.co-band { background: var(--navy); color: #fff; padding: 46px 0; }
.co-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.co-band-line { margin: 0; font-size: clamp(20px, 3vw, 28px); font-weight: 700; max-width: 520px; }
.co-drives .co-eyebrow { color: #7fdcf0; }
.co-drives ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.co-drives li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 8px 14px; border-radius: 999px; font-size: 14px; }

/* Sections */
.co-section { padding: 80px 0; }
.co-soft { background: var(--soft); }
.co-eyebrow { margin: 0 0 10px; color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.co-section h2, .co-contact h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 40px); }
.co-intro { margin: 0 0 36px; color: var(--muted); max-width: 720px; font-size: 17px; }

/* Cards */
.co-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 8px; align-items: start; }
.co-card--wide { grid-column: 1 / -1; }
.co-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .co-grid-2 { grid-template-columns: 1fr; } .co-card--wide .co-list { columns: 1; } }
.co-card--wide .co-list { columns: 2; column-gap: 36px; margin: 16px 0 0; padding-left: 20px; }
.co-card--wide .co-list li { break-inside: avoid; margin-bottom: 6px; }
.co-sys { display: flex; flex-direction: column; }
.co-sys h3 { margin: 4px 0 10px; font-size: 18px; }
.co-sys h3 a { color: var(--navy); text-decoration: none; }
.co-sys h3 a:hover { text-decoration: underline; }
.co-sys-link { margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; }
.co-sys-link:hover { text-decoration: underline; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .18s ease, box-shadow .18s ease; }
.co-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(11,29,51,.45); }
.co-card h3 { margin: 12px 0 8px; font-size: 18px; }
.co-card p { margin: 0; color: var(--muted); font-size: 15px; }
.co-glyph { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #e6f0ff; color: var(--blue); font-size: 20px; }
.co-cat { margin: 0; color: var(--cyan); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Products */
.co-products { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.co-product { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.co-product-tag { margin: 0 0 14px; display: inline-block; font-weight: 600; font-size: 13px; color: var(--blue); background: #e6f0ff; padding: 5px 12px; border-radius: 999px; }
.co-product h3 { font-size: 26px; margin: 0 0 10px; }
.co-product p { margin: 0; color: var(--muted); }

/* Approach steps */
.co-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: none; }
.co-steps li { background: var(--soft); border-radius: var(--radius); padding: 26px; }
.co-steps h3 { margin: 14px 0 8px; font-size: 19px; }
.co-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.co-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }

/* Solution filters and process */
.co-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.co-filter { border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: 9px 18px; border-radius: 999px; font: 600 14px "Inter", system-ui, sans-serif; cursor: pointer; }
.co-filter:hover { border-color: var(--navy); }
.co-filter.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.co-solutions .co-card { min-height: 170px; }
.co-process { margin-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.co-process h3 { font-size: 26px; margin: 0 0 6px; }
.co-process .co-intro { margin-bottom: 22px; }
.co-stages { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.co-stage { border: 0; background: var(--soft); color: var(--navy); padding: 10px 18px; border-radius: 999px; font: 600 14px "Inter", system-ui, sans-serif; cursor: pointer; }
.co-stage.is-on { background: var(--cyan); color: var(--navy); }
.co-panel { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.co-panel h4 { font-size: 20px; margin: 6px 0 10px; }
.co-panel p { margin: 0; color: var(--muted); }

/* FAQ */
.co-faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.co-faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 17px; list-style: none; }
.co-faq summary::-webkit-details-marker { display: none; }
.co-faq summary::after { content: "+"; float: right; color: var(--blue); font-size: 22px; line-height: 1; }
.co-faq[open] summary::after { content: "\2212"; }
.co-faq p { margin: 12px 0 0; color: var(--muted); }

/* Contact form */
.co-contact { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: start; }
.co-contact-copy p { color: var(--muted); }
.co-challenge { margin-top: 28px; font-size: 22px; }
.co-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: 0 24px 48px -32px rgba(11,29,51,.4); }
.co-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 16px; }
.co-form input, .co-form select, .co-form textarea { font: 400 15px "Inter", system-ui, sans-serif; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.co-form input:focus, .co-form select:focus, .co-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.co-form-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.co-form-note { color: var(--muted); font-size: 14px; font-weight: 400; margin: 0; }
.co-review { margin: 0 0 18px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 15px; }
.co-review dt { color: var(--muted); }
.co-review dd { margin: 0; color: var(--navy); font-weight: 600; word-break: break-word; }
.co-form-error { color: #b42318; font-weight: 600; margin: 14px 0 0; }

/* Footer */
.co-foot { background: var(--navy); color: #b7c7de; padding: 56px 0 36px; font-size: 14px; }
.co-foot-inner { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr; align-items: start; }
.co-foot img { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 14px; }
.co-foot p { margin: 0; }
.co-foot-nav { display: flex; flex-direction: column; gap: 8px; }
.co-foot-nav a { color: #dbe7ff; text-decoration: none; }
.co-foot-nav a:hover { text-decoration: underline; }
.co-copy { margin: 0; }

/* Opening screen (same style as the Halcyon opening screen) */
#intro { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0b1220; color: #fff; animation: intro-out .5s ease 2s forwards; }
#intro .mark { width: 76px; height: 76px; animation: intro-rise .8s cubic-bezier(.22, .61, .36, 1) both; }
#intro .name { margin-top: 22px; font-size: clamp(20px, 4.5vw, 28px); font-weight: 600; letter-spacing: .04em; animation: intro-rise .8s .15s both; }
#intro .sub { margin-top: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; opacity: .7; animation: intro-rise .8s .3s both; }
#intro::after { content: ""; position: absolute; bottom: 18vh; left: 50%; width: 120px; height: 2px; margin-left: -60px; background: #2fa89b; transform: scaleX(0); transform-origin: left center; animation: intro-line 1.2s .4s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes intro-rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-line { to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  #intro { animation: intro-out .3s ease .6s forwards; }
  #intro .mark, #intro .name, #intro .sub { animation: none; }
  #intro::after { animation: none; transform: scaleX(1); }
}

@media (max-width: 860px) {
  .co-hero { padding: 56px 0 56px; }
  .co-section { padding: 56px 0; }
  .co-contact { grid-template-columns: 1fr; gap: 32px; }
  .co-foot-inner { grid-template-columns: 1fr; }
  .co-process { padding: 22px; }
}
@media (max-width: 560px) {
  .co-bar { padding-top: 4px; padding-bottom: 4px; }
  .co-brand img { height: 44px; }
  .co-wordmark { font-size: 17px; }
  .co-nav { gap: 12px; }
  .co-nav a:not(.co-pill) { font-size: 14px; }
  .co-nav .co-pill { padding: 8px 16px; font-size: 14px; }
  .co-form { padding: 22px; }
}

/* ---------- Product showcase: one visual identity per product (original illustrations, not screenshots) ---------- */
.co-showcase { display: grid; gap: 26px; }
.co-show {
  --p1: #2563eb; --p2: #0b1d33; --p3: #00b8d4; --bgart: #eef4ff;
  display: grid; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}
.co-show--riva { --p1: #0f766e; --p2: #0b3b38; --p3: #2fa89b; --bgart: #e9f8f6; }
.co-show--zakat { --p1: #15803d; --p2: #0d3b22; --p3: #c9a227; --bgart: #effaf1; }

.co-show-art { border-radius: 16px; overflow: hidden; background: var(--bgart); }
.co-show-art svg { width: 100%; height: auto; display: block; }
.co-show-art .bgart { fill: var(--bgart); }
.co-show-art .a { fill: var(--p1); }
.co-show-art .b { fill: var(--p2); }
.co-show-art .c { fill: var(--p3); }
.co-show-art .ring { fill: none; stroke: var(--p1); stroke-width: 2; opacity: .35; }
.co-show-art .sweep { stroke: var(--p3); stroke-width: 3; stroke-linecap: round; }
.co-show-art .ln { fill: none; stroke: var(--p2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.co-show-tag {
  margin: 0 0 12px; display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--p1); background: var(--bgart); padding: 5px 12px; border-radius: 999px;
}
.co-show-body h3 { font-size: 26px; margin: 0 0 10px; color: var(--p2); }
.co-show-lead { margin: 0 0 12px; color: var(--muted); }
.co-who { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.co-caps { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.co-caps li { position: relative; padding-left: 22px; color: var(--ink); }
.co-caps li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--p1);
}

@media (min-width: 860px) {
  .co-show { grid-template-columns: 1fr 1fr; padding: 34px; gap: 38px; }
  .co-show--flip .co-show-art { order: 2; }
}
@media (max-width: 559px) {
  .co-show { padding: 18px; }
  .co-show-body h3 { font-size: 22px; }
}

/* ---------- Product pages ---------- */
.co-breadcrumb { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.co-breadcrumb a { color: var(--muted); }
.co-prod-page { max-width: 1120px; }
.co-prod-hero { margin-top: 0; }
.co-prod-hero h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; color: var(--p2); }
.co-prod-shot { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.co-caps-page { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); list-style: none; padding: 0; margin: 0; }
.co-caps-page li { background: var(--soft); border-radius: 12px; padding: 14px 16px 14px 42px; position: relative; color: var(--ink); }
.co-caps-page li::before { content: ""; position: absolute; left: 16px; top: 21px; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }
.co-flow-page { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.co-flow-page li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--ink); font-size: 16px; }
.co-flow-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ---------- Motion and live markers (nothing here shows figures) ---------- */
.co-flow-page li, .co-flow li { transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease, background-color .4s ease; }
.co-flow-page li.is-active { border-color: var(--blue); box-shadow: 0 12px 28px -18px rgba(37, 99, 235, .7); transform: translateX(6px); }
.co-flow-page li.is-active .co-flow-num { background: var(--blue); }
.co-flow li.is-active { background: #fff; box-shadow: 0 8px 20px -14px rgba(37, 99, 235, .7); }

/* The radar sweep on RIVA turns slowly */
.co-show--riva .sweep { transform-box: view-box; transform-origin: 200px 150px; animation: co-sweep 6s linear infinite; }
@keyframes co-sweep { to { transform: rotate(360deg); } }

/* A pulsing dot marks the products that are deployed and in use */
@keyframes co-pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .co-ticks li::before { clip-path: none; transition: none; }
  .co-show--riva .sweep, .co-show-tag::before { animation: none; }
  .co-flow-page li.is-active { transform: none; }
}

/* Capability ticks: a check mark wipes in, one after another, when the list is seen */
.co-ticks li { position: relative; padding-left: 34px; }
.co-ticks li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23e8f5ec' stroke='%2315803d'/%3E%3Cpath d='M6 10.5l2.8 2.8L14 7.6' fill='none' stroke='%2315803d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  clip-path: inset(0 100% 0 0); transition: clip-path .5s cubic-bezier(.4, 0, .2, 1);
}
.co-ticks.is-in li::before { clip-path: inset(0 0 0 0); }
/* Product page cards keep their inner spacing, so the check sits inside the card */
.co-ticks.co-caps-page li { padding-left: 46px; }
.co-ticks.co-caps-page li::before { left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 0; }

/* ---------- Illustration system (shared by product cards, product pages and custom section) ---------- */
:root { --p1: #1d64d8; --p2: #0b1f3a; --p3: #7cc4ff; --bgart: #eef4ff; }
.co-art .bgart { fill: var(--bgart); }
.co-art .a { fill: var(--p1); }
.co-art .b { fill: var(--p2); }
.co-art .c { fill: var(--p3); }
.co-art .d { fill: #ffffff; }
.co-art .e { fill: #0b1d33; opacity: .14; }
.co-art .ring { fill: none; stroke: var(--p1); stroke-width: 2; opacity: .35; }
.co-art .sweep { fill: none; stroke: var(--p3); stroke-width: 2.5; stroke-linecap: round; }
.co-art .arc { fill: none; stroke: var(--p3); stroke-width: 8; stroke-linecap: round; }
.co-art .ln { fill: none; stroke: var(--p1); stroke-width: 2; opacity: .5; }
.co-art .flow { fill: none; stroke: var(--p3); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; }
.co-art .cross { fill: none; stroke: #ffffff; stroke-width: 4; stroke-linecap: round; }
.co-art svg { width: 100%; height: auto; display: block; }
.co-cust-art { border-radius: 18px; overflow: hidden; background: var(--bgart); }

.co-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.co-status > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.co-status p { margin: 0; color: var(--muted); }
.co-tag-live, .co-tag-custom { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.co-tag-live { background: #e8f5ec; color: #15803d; }
.co-tag-custom { background: #eaf1ff; color: #1d4ed8; }
.co-tag-planned { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; background: #fff4e5; color: #8a4b00; }

.co-cust-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.co-cust-row--flip { grid-template-columns: 1fr 1.1fr; }
.co-cust-row--flip .co-cust-art { order: 2; }
.co-cust-body h3 { margin: 4px 0 10px; }
.co-cust-e { font-size: 15px; color: var(--muted); }
.co-cust-note { font-size: 14px; color: var(--muted); margin-top: 28px; }
.co-cust--business { --p1: #1d64d8; --p2: #0b1f3a; --p3: #7cc4ff; --bgart: #eef4ff; }
.co-cust--industry { --p1: #0f766e; --p2: #0b3b38; --p3: #5eead4; --bgart: #e9f8f6; }
.co-cust--digital { --p1: #6d28d9; --p2: #2e1065; --p3: #c4b5fd; --bgart: #f4f0ff; }
.co-cust--integrations { --p1: #4338ca; --p2: #1e1b4b; --p3: #f0b429; --bgart: #eef0ff; }
@media (max-width: 760px) {
  .co-cust-row, .co-cust-row--flip { grid-template-columns: 1fr; gap: 20px; }
  .co-cust-row--flip .co-cust-art { order: 0; }
}

.co-dialog { border: 0; border-radius: 18px; padding: 0; width: min(580px, calc(100% - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px -30px rgba(11, 29, 51, .5); }
.co-dialog::backdrop { background: rgba(11, 29, 51, .55); }
.co-enq { padding: 28px; }
.co-enq h2 { margin: 0 0 6px; }
.co-enq label { display: block; font-size: 14px; font-weight: 600; margin-top: 12px; }
.co-enq input, .co-enq select, .co-enq textarea { width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); box-sizing: border-box; }
.co-enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-enq-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 560px) { .co-enq-row { grid-template-columns: 1fr; } }

/* Add-ons set up on request (Byvant Retail Management System) */
.co-addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 16px 0 22px; }
.co-addon { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 12px; padding: 18px 20px; }
.co-addon h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.co-addon p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Product screenshots ---------- */
.co-shot-frame { background: #f4f6fa; padding: 0; }
.co-shot-btn { display: block; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: none; cursor: zoom-in; box-shadow: 0 18px 40px -22px rgba(11, 29, 51, .45); }
.co-shot-btn img { display: block; width: 100%; height: auto; }
.co-prod-hero .co-show-art .co-shot-btn { border-radius: 16px; }
.co-prod-hero .co-show-art .co-prod-shot { border-radius: 16px; }
.co-gallery { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.co-gallery li { min-width: 0; }
.co-shot-cap { font-size: 14px; color: var(--muted); margin: 10px 2px 0; }
@media (max-width: 760px) {
  .co-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 16px 12px; margin-left: -16px; margin-right: -16px; scroll-padding: 0 16px; }
  .co-gallery li { flex: 0 0 86%; scroll-snap-align: start; }
}
.co-shot-btn:focus-visible, .co-lb-nav:focus-visible, .co-lb-close:focus-visible { outline: 3px solid #7cc4ff; outline-offset: 3px; }

.co-lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.co-lightbox::backdrop { background: rgba(5, 12, 22, .94); }
.co-lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.co-lb-count { font-size: 14px; color: #c9d6ea; }
.co-lb-close { background: none; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.co-lb-stage { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 12px; height: calc(100vh - 150px); }
.co-lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.co-lb-nav { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.co-lb-cap { margin: 0; padding: 12px 18px 18px; text-align: center; color: #d6e0f0; font-size: 15px; }
@media (max-width: 560px) {
  .co-lb-stage { height: calc(100vh - 170px); gap: 6px; }
  .co-lb-nav { width: 38px; height: 38px; font-size: 24px; }
}
@media (max-width: 760px) {
  .co-prod-hero .co-shot-frame { margin: 0 0 14px; border-radius: 14px; overflow: hidden; }
  .co-prod-hero .co-shot-frame .co-shot-btn { border-radius: 0; box-shadow: none; width: 100%; }
}
.co-lb-stage > img { flex: 0 1 auto; min-width: 0; max-width: calc(100vw - 130px); }
.co-lb-stage > .co-lb-nav { position: relative; z-index: 1; }
@media (max-width: 560px) { .co-lb-stage > img { max-width: calc(100vw - 96px); } }

/* Available on request: readable, professional hierarchy */
.co-custom .co-eyebrow { color: #0e7490; font-size: 13px; letter-spacing: .1em; }
.co-custom .co-intro { color: #334155; font-size: 18px; line-height: 1.65; }
.co-status > div { padding: 22px 24px; }
.co-status > div p { color: #334155; font-size: 16px; line-height: 1.6; }
.co-tag-live, .co-tag-custom { font-size: 13px; padding: 5px 12px; }
.co-cust-row { padding: 48px 0; gap: 56px; }
.co-cust-art { border: 1px solid var(--line); }
.co-cust-body .co-cat { margin: 0 0 8px; color: #0e7490; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.co-cust-body h3 { margin: 0 0 14px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; color: var(--navy); }
.co-cust-body > p { margin: 0 0 14px; color: #1e293b; font-size: 17px; line-height: 1.6; }
.co-cust-e { margin: 0 0 12px; color: #475569; font-size: 16px; line-height: 1.6; }
.co-cust-e strong { color: var(--ink); font-weight: 700; }
.co-cust-body .co-btn { margin-top: 10px; }
.co-cust-note { color: #475569; font-size: 15px; line-height: 1.6; max-width: 760px; }
@media (max-width: 760px) {
  .co-cust-body h3 { font-size: 22px; }
  .co-cust-body > p { font-size: 16px; }
  .co-cust-e { font-size: 15px; }
}

/* Enquiry form: honeypot (hidden from people, visible to bots), two-column rows, success state, footer headings */
.co-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.co-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-row2 > label { min-width: 0; }
.co-done { padding: 22px; border-radius: 14px; background: #e8f5ec; border: 1px solid #b7e0c4; color: #14532d; }
.co-done h3 { margin: 0 0 8px; color: #14532d; }
.co-done p { margin: 0; color: #14532d; }
.co-enq-done { color: #14532d; font-weight: 600; }
.co-foot-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
@media (max-width: 640px) {
  .co-row2 { grid-template-columns: 1fr; }
}

/* Floating WhatsApp button: a plain pill, no animation. Keyboard focus is visible. */
.co-wa { position: fixed; right: 16px; bottom: 16px; z-index: 900; display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 999px; background: #15803d; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(21,128,61,.7); }
.co-wa:hover { background: #166534; color: #fff; }
.co-wa:focus-visible { outline: 3px solid #0b1220; outline-offset: 3px; }
@media (max-width: 640px) { .co-wa { right: 12px; bottom: 12px; font-size: 14px; padding: 11px 15px; } }

/* Service card lists (regulatory compliance scope) */
.co-card .co-list { margin: 12px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.co-card .co-list li { margin: 4px 0; }

/* Module grid (School Management System) */
.co-mods { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.co-mod { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.co-mod-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #eef4ff; font-size: 20px; }
.co-mod h3 { margin: 0 0 4px; font-size: 16px; }
.co-mod p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.co-mod-status { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #f1f5f9; color: #475569; }

.co-mod-status--demo { background: #e8f5ec; color: #15803d; }

/* ---- Polish pass: status tags, product cards, plan cards ---- */
.co-tag-live, .co-tag-custom, .co-tag-planned { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; width: auto; font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 11px; border-radius: 999px; margin-bottom: 12px; white-space: nowrap; }
.co-tag-live::before, .co-tag-planned::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.co-tag-live { background: #e8f5ec; color: #15803d; }
.co-tag-planned { background: #fff4e5; color: #9a5b00; }
.co-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.co-sub { margin: 52px 0 8px; font-size: 22px; }
.co-plan h3 { margin: 0 0 10px; font-size: 19px; }
.co-plan p { line-height: 1.65; }
.co-sys h3 { margin: 0 0 8px; font-size: 18px; }
@media (max-width: 900px) { .co-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .co-grid-3 { grid-template-columns: 1fr; } }

/* Our software section: call-to-action row */
.co-cta-row { margin: 36px 0 0; }
.co-grid-3 { align-items: stretch; }

/* Byvant Business Suite block */
.co-suite { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: 20px; padding: 34px 36px; margin: 8px 0 44px; }
.co-suite-word { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: #7fdcf0; }
.co-suite h3 { margin: 0 0 6px; color: #fff; font-size: 30px; }
.co-suite p { margin: 0; color: #c9d6ea; }
.co-suite-foot { margin-top: 16px !important; font-size: 13px; color: #9fb3cc !important; }
.co-btn-suite { background: #fff; color: var(--navy); }
.co-btn-suite:hover { background: #e6f0ff; color: var(--navy); }

/* Photos */
.co-photo { margin: 0 0 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 9; background: #eef2f7; }
.co-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.co-photo--approach { aspect-ratio: 16 / 9; margin-bottom: 48px; }
.co-photo--approach img { object-position: 40% 30%; }
.co-photo--card { margin: 0 0 22px; aspect-ratio: 21 / 8; border-radius: 14px; }
.co-card--wide .co-photo--card img { object-position: 50% 40%; }
@media (max-width: 720px) {
  .co-photo { aspect-ratio: 4 / 3; border-radius: 14px; margin-bottom: 28px; }
  .co-photo--approach { aspect-ratio: 4 / 3; }
  .co-photo--card { aspect-ratio: 16 / 9; }
}

/* Homepage hero: office-tower photo as the background, with a navy overlay for readability */
.co-hero { background: linear-gradient(90deg, rgba(11,29,51,.94) 0%, rgba(11,29,51,.84) 50%, rgba(11,29,51,.6) 100%), url("photos/office-towers.jpg") center 35% / cover no-repeat; color: #fff; }
.co-hero .co-tag { background: rgba(255,255,255,.14); color: #bfeaf6; }
.co-hero h1 { color: #fff; }
.co-hero .co-lead { color: #d3e0f0; }
.co-hero .co-btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.co-hero .co-btn-primary:hover { background: #e6f0ff; color: var(--navy); }
.co-hero .co-btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.co-hero .co-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 720px) {
  .co-hero { background: linear-gradient(180deg, rgba(11,29,51,.92) 0%, rgba(11,29,51,.86) 100%), url("photos/office-towers.jpg") center / cover no-repeat; }
}

/* Device mockups with real screenshots, labelled as previews */
.co-mock { margin: 0 0 40px; }
.co-mock img { display: block; width: 100%; height: auto; }
.co-mock figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* Brief home page and separate pages */
.co-stretch { align-items: stretch; }
.co-card h3 a { color: inherit; text-decoration: none; }
.co-card h3 a:hover, .co-card h3 a:focus-visible { text-decoration: underline; }
.co-card p { margin: 0 0 4px; color: var(--muted); }
.co-cta-tight { margin: 0 0 28px; }
.co-page-head { padding-top: 56px; padding-bottom: 40px; background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%); }
.co-page-head h1 { margin: 0 0 14px; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.025em; }
.co-page-head .co-intro { margin-bottom: 18px; }
.co-page-head .co-photo { margin-top: 28px; }
.co-page-sec { padding: 56px 0; }
.co-page-sec h2 { margin: 0 0 14px; font-size: 26px; }
.co-page-p { margin: 0 0 14px; color: var(--muted); max-width: 760px; font-size: 17px; line-height: 1.65; }
.co-page-list { margin: 8px 0 0; }
.co-page-sec .co-grid { margin-top: 20px; }
.co-page-sec .co-mock { margin-top: 20px; }
.co-page-sec .co-cta-row { margin-top: 28px; }
.co-page-cta { padding: 72px 0; }
.co-page-cta h2 { margin: 0 0 10px; }
@media (max-width: 720px) {
  .co-page-head { padding-top: 40px; }
  .co-page-sec { padding: 44px 0; }
  .co-page-sec h2 { font-size: 22px; }
}

/* Page header with a background photo, matching the home page hero */
.co-page-head--photo { background: linear-gradient(90deg, rgba(11,29,51,.94) 0%, rgba(11,29,51,.84) 50%, rgba(11,29,51,.6) 100%), var(--page-hero) center 35% / cover no-repeat; color: #fff; }
.co-page-head--photo h1, .co-page-head--photo .co-intro, .co-page-head--photo .co-breadcrumb, .co-page-head--photo .co-breadcrumb a { color: #fff; }
.co-page-head--photo .co-eyebrow { color: #7fdcf0; }
.co-page-head--photo .co-intro { color: rgba(255,255,255,.88); }
@media (max-width: 720px) {
  .co-page-head--photo { background: linear-gradient(180deg, rgba(11,29,51,.92) 0%, rgba(11,29,51,.86) 100%), var(--page-hero) center / cover no-repeat; }
}

/* Returning to the home page in the same session: a short fade instead of the full intro */
#intro.is-quick { animation: intro-out .25s ease .05s forwards; }
#intro.is-quick .mark, #intro.is-quick .name, #intro.is-quick .sub { animation: none; }
#intro.is-quick::after { animation: none; transform: scaleX(1); }

/* Navigation tabs: one style for hover and the current page */
.co-nav a:not(.co-pill) { position: relative; padding: 4px 0; }
.co-nav a:not(.co-pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .18s ease; }
.co-nav a:not(.co-pill):hover, .co-nav a:not(.co-pill)[aria-current="page"] { color: var(--blue); }
.co-nav a:not(.co-pill):hover::after, .co-nav a:not(.co-pill)[aria-current="page"]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .co-nav a:not(.co-pill)::after { transition: none; } }
/* Product screenshots on the home page cards */
.co-card-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); margin: 0 0 16px; }

/* Palette and header: white bar, blue for active and hover, one blue button */
.co-top { background: #fff; border-bottom: 1px solid var(--line); }
.co-wordmark { color: var(--navy); }
.co-wordmark span { color: var(--muted); }
.co-nav a:not(.co-pill) { color: var(--ink); }
.co-nav a:not(.co-pill):hover, .co-nav a:not(.co-pill)[aria-current="page"] { color: var(--blue); }
.co-nav a:not(.co-pill)::after { background: var(--blue); }
.co-nav .co-pill { background: var(--blue); color: #fff; border-radius: 10px; padding: 9px 18px; }
.co-nav .co-pill:hover { background: #1d5bb3; color: #fff; }
.co-menu-btn { display: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 10px; padding: 8px 14px; font: 600 14px "Inter", system-ui, sans-serif; cursor: pointer; }
.co-closing { background: #fff; text-align: center; }
.co-closing h2 { max-width: 760px; margin: 0 auto 24px; }
.co-closing .co-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 0; }
@media (max-width: 720px) {
  .co-menu-btn { display: inline-block; }
  .co-bar { position: relative; }
  .co-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 12px; }
  .co-nav.is-open { display: flex; }
  .co-nav a:not(.co-pill) { font-size: 16px; padding: 10px 0; width: 100%; }
  .co-nav .co-pill { margin-top: 8px; }
}

/* Card buttons: a clear "Read more" or "Visit page" action with an arrow */
.co-card-btn { display: inline-block; margin-top: 14px; background: var(--blue); color: #fff; padding: 9px 16px; border-radius: 10px; font: 600 14px "Inter", system-ui, sans-serif; text-decoration: none; }
.co-card-btn:hover, .co-card-btn:focus-visible { background: #1d5bb3; color: #fff; }
/* Cards in a row: the button sits at the bottom of every card */
.co-stretch > .co-card { display: flex; flex-direction: column; }
.co-stretch > .co-card .co-card-btn { margin-top: auto; align-self: flex-start; }
