/* CloudraceX Ltd. System fonts only, no external requests. */
:root {
  --navy: #1f4e85;
  --navy-deep: #0b2342;
  --navy-ink: #0a1a33;
  --sky: #3b82f6;
  --paper: #f5f7fb;
  --line: #d9e0ec;
  --text: #1b2a41;
  --muted: #55657d;
  --wrap: 72rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand img { width: 10.5rem; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 1.4rem; }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy-ink); }
.site-header nav a:hover { color: var(--sky); }
.pill { border: 2px solid var(--navy); border-radius: 999px; padding: .3rem 1rem; }
.pill:hover { background: var(--navy); color: #fff !important; }

/* hero: two track lines + speed hatching, echoing the logo */
.hero { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(#fff, #fff) 0 2.2rem / 100% 4px no-repeat,
    linear-gradient(#fff, #fff) 0 2.9rem / 100% 4px no-repeat,
    linear-gradient(115deg, transparent 0 55%, rgba(59,130,246,.22) 55% 100%);
  opacity: .16; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; padding-block: 6.5rem 6rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .8rem; color: #9db8dc; margin: 0 0 1rem; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; margin: 0 0 1.2rem; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.lead { font-size: 1.25rem; max-width: 34rem; color: #cfdcef; margin: 0 0 2rem; }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: .5rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--sky); color: #fff; }
.btn-solid:hover { background: #2f6fdc; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.track { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.track li { position: relative; padding: 1rem 1.4rem; border-left: 4px solid var(--sky); background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,0)); font-style: italic; font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; }
.track li:nth-child(2) { margin-left: 1.5rem; }
.track li:nth-child(3) { margin-left: 3rem; }

/* sections */
.section { padding-block: 5.5rem; }
.section-tint { background: var(--paper); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.1; margin: 0 0 .8rem; color: var(--navy-ink); font-weight: 900; font-style: italic; letter-spacing: -.01em; }
h3 { margin: 0 0 .3rem; font-size: 1.3rem; color: var(--navy-ink); }
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 2.6rem; font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.6rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .9rem; padding: 1.6rem; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 14px 34px -18px rgba(10,26,51,.4); transform: translateY(-3px); }
.logo-tile { display: grid; place-items: center; height: 6.5rem; margin-bottom: 1.2rem; border-radius: .6rem; background: #fff; border: 1px solid var(--line); padding: .6rem 1rem; }
.logo-tile img { max-height: 4.2rem; width: auto; }
.logo-tile.word span { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.tag { font-weight: 700; color: var(--navy); margin: 0 0 .8rem; }
.card p { margin: 0 0 1rem; font-size: .97rem; }
.status { margin-top: auto !important; padding-top: .9rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: .88rem !important; display: flex; align-items: center; gap: .5rem; }
.status em { font-style: normal; margin-left: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .05rem .6rem; font-size: .75rem; font-weight: 700; color: var(--navy); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #c0cbe0; }
.card-quiet { background: var(--paper); }

.triple { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.4rem; margin-top: 2rem; }
.triple p { margin: 0; color: var(--muted); }
.num { display: inline-block; font-style: italic; color: var(--sky); font-weight: 900; margin-right: .4rem; }

.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.contact .section-lead { margin: 0; }
.mail { margin: 0; }

.site-footer { background: var(--navy-ink); color: #a9b9d1; padding-block: 1.6rem; font-size: .9rem; }
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot p { margin: 0; }
.site-footer a { color: #cfdcef; }

.prose { padding-block: 4rem 6rem; max-width: 46rem; }
.prose h1 { font-size: 2.4rem; color: var(--navy-ink); }
.prose h2 { font-size: 1.3rem; font-style: normal; margin-top: 2rem; }
.notfound .eyebrow { color: var(--sky); }

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 4rem; gap: 2.2rem; }
  .brand img { width: 8.5rem; }
  .site-header nav a:not(.pill) { display: none; }
  .section { padding-block: 3.6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card { transition: none; } }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* expertise */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.4rem; }
.tiles article { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: .6rem; padding: 1.5rem; }
.tiles p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .65rem; }

/* live product link */
a.status { text-decoration: none; color: var(--navy); }
a.status:hover em { background: var(--navy); color: #fff; }
.status.live .dot { background: #2fb36b; }
.status.live em { background: var(--navy); color: #fff; border-color: var(--navy); }
.logo-tile.ninjax { gap: .9rem; grid-auto-flow: column; justify-content: center; }
.logo-tile.ninjax img { height: 2.6rem; width: auto; }
.logo-tile.ninjax span { font-size: 1.9rem; letter-spacing: -.03em; font-weight: 500; color: #1b2a41; }
.logo-tile.ninjax b { font-weight: 800; }

/* five product cards: three on the first row, two wider ones below */
@media (min-width: 62rem) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .cards .card { grid-column: span 2; }
  .cards .card:nth-child(n+4) { grid-column: span 3; }
}
