/* ==========================================================================
   RPS IT Solution — Design Tokens
   Navy + Orange brand (matches existing brochure/letterhead), Space Grotesk
   display, Inter body, JetBrains Mono for the "Growth Ledger" signature and
   data/utility labels.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  --navy-900:#132C6E;
  --navy-800:#1B3FAA;
  --navy-700:#2F5FEA;
  --orange-500:#FF6A1E;
  --orange-400:#FF8A4C;
  --teal-400:#35D0BA;
  --cream-50:#F5F7FC;
  --white:#FFFFFF;
  --ink-900:#16202E;
  --ink-600:#4B5768;
  --ink-400:#8792A0;
  --line:#E1E6F5;
  --line-dark:#2A45A8;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;

  --shadow-card:0 1px 2px rgba(10,26,51,.04), 0 8px 24px rgba(10,26,51,.06);
  --shadow-card-hover:0 4px 10px rgba(10,26,51,.08), 0 16px 40px rgba(10,26,51,.10);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--font-display);margin:0;line-height:1.15;color:var(--navy-900);}
p{margin:0;}
button{font-family:inherit;}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--orange-500);
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}
.eyebrow::before{
  content:"";
  width:7px;height:7px;border-radius:50%;
  background:var(--orange-500);
  display:inline-block;
}

.section{padding:88px 0;}
.section--tight{padding:56px 0;}
.section--navy{background:var(--navy-900);color:var(--white);}
.section--navy h2,.section--navy h3{color:var(--white);}
.section--cream{background:var(--cream-50);}

.section-head{max-width:640px;margin-bottom:48px;}
.section-head h2{font-size:clamp(28px,3.4vw,40px);margin-top:12px;}
.section-head p{color:var(--ink-600);margin-top:14px;font-size:17px;}
.section--navy .section-head p{color:#B8C2D6;}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 26px;border-radius:10px;
  font-weight:600;font-size:15px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--orange-500);color:var(--white);}
.btn-primary:hover{background:var(--orange-400);box-shadow:0 8px 20px rgba(255,107,44,.30);transform:translateY(-1px);}
.btn-ghost-dark{border-color:var(--line-dark);color:var(--white);}
.btn-ghost-dark:hover{border-color:var(--orange-500);color:var(--orange-400);}
.btn-outline{border-color:var(--navy-900);color:var(--navy-900);}
.btn-outline:hover{background:var(--navy-900);color:var(--white);}
.btn-block{width:100%;}
.btn-sm{padding:10px 18px;font-size:13.5px;border-radius:8px;}

/* Navbar */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav__inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;max-width:1180px;margin:0 auto;
}
.nav__logo{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:700;font-size:19px;color:var(--navy-900);}
.nav__logo .mark{
  width:38px;height:38px;border-radius:9px;
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.nav__logo .mark img{width:100%;height:100%;object-fit:cover;}
.footer__logo .mark{
  width:40px;height:40px;border-radius:9px;overflow:hidden;flex-shrink:0;
}
.footer__logo .mark img{width:100%;height:100%;object-fit:cover;}
.nav__links{display:flex;align-items:center;gap:34px;}
.nav__links a{font-size:14.5px;font-weight:500;color:var(--ink-600);transition:color .15s ease;}
.nav__links a:hover,.nav__links a.active{color:var(--navy-900);}
.nav__cta{display:flex;align-items:center;gap:18px;}
.nav__toggle{display:none;background:none;border:none;cursor:pointer;padding:4px;}
.nav__toggle span{display:block;width:22px;height:2px;background:var(--navy-900);margin:5px 0;border-radius:2px;}

@media (max-width:900px){
  .nav__links{
    position:fixed;top:66px;left:0;right:0;bottom:0;
    background:var(--white);
    flex-direction:column;align-items:flex-start;gap:0;
    padding:8px 24px 24px;
    transform:translateY(-8px);opacity:0;pointer-events:none;
    transition:all .2s ease;
    max-height:calc(100vh - 66px);overflow-y:auto;
  }
  .nav__links.open{transform:translateY(0);opacity:1;pointer-events:auto;}
  .nav__links a{width:100%;padding:14px 0;border-bottom:1px solid var(--line);}
  .nav__toggle{display:block;}
  .nav__cta .btn-primary{display:none;}
}

/* Footer */
.footer{background:var(--navy-900);color:#B8C2D6;padding:64px 0 28px;}
.footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:40px;padding-bottom:44px;border-bottom:1px solid var(--line-dark);}
.footer h4{color:var(--white);font-size:14px;font-family:var(--font-mono);letter-spacing:.04em;text-transform:uppercase;margin-bottom:18px;}
.footer__links li{margin-bottom:11px;}
.footer__links a{font-size:14.5px;transition:color .15s ease;}
.footer__links a:hover{color:var(--orange-400);}
.footer__logo{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-weight:700;font-size:19px;color:var(--white);margin-bottom:14px;}
.footer__bottom{display:flex;justify-content:space-between;align-items:center;padding-top:24px;font-size:13px;color:var(--ink-400);flex-wrap:wrap;gap:12px;}
@media (max-width:800px){
  .footer__grid{grid-template-columns:1fr 1fr;}
}

/* Cards */
.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px);border-color:transparent;}

.tag{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.03em;
  padding:5px 10px;
  border-radius:6px;
  background:rgba(255,107,44,.08);
  color:var(--orange-500);
}
.tag--teal{background:rgba(53,208,186,.10);color:#12907C;}
.tag--navy{background:rgba(10,26,51,.06);color:var(--navy-800);}

/* Growth Ledger (signature hero element) */
.ledger{
  background:var(--navy-900);
  border-radius:var(--radius-lg);
  padding:26px 26px 20px;
  box-shadow:0 20px 60px rgba(10,26,51,.35);
  border:1px solid var(--line-dark);
}
.ledger__head{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:16px;margin-bottom:14px;border-bottom:1px solid var(--line-dark);
}
.ledger__head span{font-family:var(--font-mono);font-size:12px;color:#7C8AA5;letter-spacing:.04em;}
.ledger__dots{display:flex;gap:6px;}
.ledger__dots i{width:8px;height:8px;border-radius:50%;background:var(--line-dark);display:block;}
.ledger__row{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;border-bottom:1px dashed rgba(255,255,255,.08);
  font-family:var(--font-mono);font-size:13px;
}
.ledger__row:last-child{border-bottom:none;}
.ledger__client{color:var(--white);font-weight:500;}
.ledger__desc{color:#7C8AA5;display:block;font-size:11.5px;margin-top:2px;}
.status{font-size:11px;padding:4px 9px;border-radius:5px;font-weight:600;letter-spacing:.02em;white-space:nowrap;}
.status--live{background:rgba(53,208,186,.15);color:#4EE3CB;}
.status--dev{background:rgba(255,138,80,.15);color:var(--orange-400);}
.ledger__cursor{display:inline-block;width:7px;height:14px;background:var(--orange-500);margin-left:2px;animation:blink 1s step-end infinite;vertical-align:middle;}
@keyframes blink{50%{opacity:0;}}

/* Numbered process */
.process__item{display:flex;gap:22px;padding:26px 0;border-top:1px solid var(--line);}
.process__item:last-child{border-bottom:1px solid var(--line);}
.process__num{font-family:var(--font-mono);font-size:14px;color:var(--orange-500);font-weight:600;min-width:34px;padding-top:2px;}
.process__item h3{font-size:19px;margin-bottom:6px;}
.process__item p{color:var(--ink-600);font-size:15.5px;max-width:640px;}

/* Grids */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
@media (max-width:900px){
  .grid-2{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:1fr 1fr;}
  .grid-4{grid-template-columns:1fr 1fr;}
}
@media (max-width:600px){
  .grid-3{grid-template-columns:1fr;}
  .grid-4{grid-template-columns:1fr;}
}

/* Trust strip */
.trust-strip{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:20px 34px;padding:28px 0;
}
.trust-strip span{
  font-family:var(--font-mono);font-size:13.5px;color:var(--ink-400);font-weight:500;
}

/* Utility */
.text-center{text-align:center;margin-left:auto;margin-right:auto;}
.mt-8{margin-top:8px;}
.mt-16{margin-top:16px;}
.mt-24{margin-top:24px;}
.mt-40{margin-top:40px;}
.flex-gap{display:flex;gap:14px;flex-wrap:wrap;}

/* Page hero (inner pages) */
.page-hero{padding:56px 0 40px;background:var(--cream-50);border-bottom:1px solid var(--line);}
.page-hero h1{font-size:clamp(32px,4vw,46px);margin-top:14px;}
.page-hero p{color:var(--ink-600);font-size:17px;max-width:600px;margin-top:14px;}
.breadcrumb{font-family:var(--font-mono);font-size:12.5px;color:var(--ink-400);}
.breadcrumb a:hover{color:var(--orange-500);}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important;}
}

/* Focus visibility */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:2px solid var(--orange-500);outline-offset:2px;
}