/* ---------- Design tokens ---------- */
:root{
  --navy-950:#131030;
  --navy-900:#1E1A46;
  --navy-800:#2A2360;
  --navy-700:#3A3378;
  --blue:#0098E0;
  --blue-light:#4FC3F7;
  --orange:#E8703F;
  --orange-light:#FFB16B;
  --ink:#1B1640;
  --muted:#5B5680;
  --muted-light:#8B86AC;
  --bg:#FAFAFD;
  --bg-alt:#F1EFFA;
  --white:#FFFFFF;
  --line:#E6E3F5;
  --radius:16px;
  --radius-sm:10px;
  --shadow-sm: 0 1px 2px rgba(27,22,64,0.06), 0 1px 1px rgba(27,22,64,0.04);
  --shadow-md: 0 12px 32px -12px rgba(27,22,64,0.18);
  --shadow-lg: 0 24px 60px -20px rgba(19,16,48,0.35);
  --grad-accent: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  --ff-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-family:var(--ff-head); margin:0; line-height:1.12; letter-spacing:-0.01em; color:var(--ink); }
p{ margin:0; }
ul{ list-style:none; margin:0; padding:0; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 28px; }

/* subtle full-page decorative blobs */
.bg-decor{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(0,152,224,0.10), transparent 60%),
    radial-gradient(500px 380px at -5% 15%, rgba(232,112,63,0.08), transparent 60%);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 26px; border-radius:999px; font-weight:600; font-size:0.98rem;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--grad-accent); color:#fff; box-shadow:var(--shadow-md);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -12px rgba(232,112,63,0.45); }
.btn-ghost{
  background:transparent; color:var(--ink); border:1.5px solid var(--line);
}
.btn-ghost:hover{ border-color:var(--blue); color:var(--blue); }
.btn-large{ padding:16px 34px; font-size:1.05rem; }

.link-arrow{ display:inline-flex; align-items:center; gap:6px; font-weight:600; color:var(--blue); margin-top:6px; }
.link-arrow:hover{ color:var(--orange); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,250,253,0.78);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ flex:none; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-name{ font-family:var(--ff-head); font-weight:700; font-size:1.18rem; color:var(--ink); letter-spacing:-0.01em; }
.brand-sub{ font-size:0.62rem; font-weight:700; letter-spacing:0.16em; color:var(--orange); text-transform:uppercase; margin-top:3px; }

.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav a{ font-weight:500; font-size:0.96rem; color:var(--muted); transition:color .15s ease; }
.main-nav a:hover{ color:var(--ink); }
.main-nav a.nav-cta{
  color:#fff; background:var(--navy-900); padding:10px 20px; border-radius:999px; font-weight:600;
}
.main-nav a.nav-cta:hover{ background:var(--navy-800); color:#fff; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; padding:8px; cursor:pointer; }
.nav-toggle span{ width:22px; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }

.mobile-nav{
  display:none; flex-direction:column; padding:10px 28px 22px; gap:4px;
  border-top:1px solid var(--line);
}
.mobile-nav a{ padding:12px 4px; font-weight:500; color:var(--muted); border-bottom:1px solid var(--line); }
.mobile-nav a.nav-cta{
  margin-top:10px; text-align:center; background:var(--navy-900); color:#fff; border-radius:999px; border:0; padding:12px;
}

body.nav-open .mobile-nav{ display:flex; }
body.nav-open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
body.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ padding:96px 0 76px; position:relative; }
.hero-inner{ max-width:760px; }
.eyebrow{
  display:inline-block; font-size:0.82rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--blue); margin-bottom:18px;
}
.eyebrow-light{ color:var(--blue-light); }
.hero h1{ font-size:clamp(2.1rem, 4.6vw, 3.4rem); font-weight:700; }
.grad-text{
  background:var(--grad-accent); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-lede{ margin-top:24px; font-size:1.14rem; line-height:1.6; color:var(--muted); max-width:600px; }
.hero-actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }

/* ---------- Industry strip ---------- */
.strip{ padding:34px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--white); }
.strip-label{ color:var(--muted); font-size:0.98rem; margin-bottom:18px; max-width:640px; }
.strip-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.strip-tags li{
  font-size:0.84rem; font-weight:600; color:var(--navy-800); background:var(--bg-alt);
  padding:8px 16px; border-radius:999px;
}

/* ---------- Sections ---------- */
.section{ padding:100px 0; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(1.7rem, 3.2vw, 2.4rem); margin-top:10px; }
.section-lede{ margin-top:16px; font-size:1.06rem; line-height:1.6; color:var(--muted); }
.light-lede{ color:#C7C3E8; }

.section-dark{ background:var(--navy-900); color:#fff; position:relative; }
.section-dark::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(500px 320px at 90% 0%, rgba(255,177,107,0.14), transparent 65%),
             radial-gradient(500px 320px at 5% 100%, rgba(79,195,247,0.14), transparent 65%);
  pointer-events:none;
}
.section-dark .wrap{ position:relative; }
h2.light{ color:#fff; }

/* ---------- Card grid (services) ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:22px; }
.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:transparent; }
.card-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:12px; margin-bottom:18px;
  background:var(--bg-alt); color:var(--blue);
}
.card:nth-child(3n-1) .card-icon{ color:var(--orange); }
.card:nth-child(3n) .card-icon{ color:var(--navy-800); }
.card-icon svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.card h3{ font-size:1.06rem; margin-bottom:8px; }
.card p{ color:var(--muted); font-size:0.95rem; line-height:1.55; }

/* ---------- SAP grid ---------- */
.sap-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:20px; }
.sap-card{
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius); padding:28px; backdrop-filter:blur(6px);
}
.sap-card h3{
  color:#fff; font-size:1.05rem; margin-bottom:10px; display:flex; align-items:center; gap:10px;
}
.sap-card h3::before{
  content:""; width:8px; height:8px; border-radius:50%; background:var(--grad-accent); flex:none;
}
.sap-card p{ color:#C7C3E8; font-size:0.95rem; line-height:1.62; }

/* ---------- Split sections (GDPR / Software) ---------- */
.split-inner, .split.reverse .split-inner{ grid-template-columns:1fr; gap:40px; }
.split.reverse .split-inner{ grid-template-columns:0.9fr 1.1fr; }
.split.reverse .split-copy{ order:2; }
.split.reverse .split-visual{ order:1; }
.split-copy h2{ margin-top:10px; margin-bottom:20px; }
.split-copy p{ color:var(--muted); font-size:1.03rem; line-height:1.65; margin-bottom:16px; }
.pull-quote{
  font-family:var(--ff-head); font-size:1.3rem; font-weight:500; color:var(--ink) !important;
  line-height:1.45; border-left:3px solid; border-image:var(--grad-accent) 1;
  padding-left:20px; margin:22px 0 !important;
}

.split-visual{ display:flex; align-items:center; justify-content:center; }

.orbit-graphic{ position:relative; width:280px; height:280px; }
.orbit-ring{ position:absolute; inset:0; border-radius:50%; border:1.5px dashed var(--line); }
.orbit-ring.r2{ inset:38px; border-style:solid; border-color:rgba(0,152,224,0.25); }
.orbit-core{
  position:absolute; inset:92px; border-radius:50%; background:var(--grad-accent);
  box-shadow:var(--shadow-lg);
}
.orbit-dot{ position:absolute; width:20px; height:20px; border-radius:50%; box-shadow:var(--shadow-sm); }
.orbit-dot.d1{ top:14px; left:50%; margin-left:-10px; background:var(--blue); }
.orbit-dot.d2{ bottom:36px; right:20px; background:var(--orange); }

.quote-graphic{
  width:260px; height:260px; border-radius:28px; background:var(--navy-900);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.quote-graphic::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(220px 160px at 20% 0%, rgba(79,195,247,0.35), transparent 60%),
             radial-gradient(220px 160px at 90% 100%, rgba(255,177,107,0.35), transparent 60%);
}
.quote-mark{
  font-family:var(--ff-head); font-size:9rem; color:transparent;
  background:var(--grad-accent); -webkit-background-clip:text; background-clip:text;
  line-height:1; position:relative;
}

/* ---------- About ---------- */
.about-inner{ max-width:820px; }
.about-lede{ font-size:1.16rem; color:#D7D3EF; margin-top:22px; line-height:1.6; max-width:640px; }
.about-stats{ display:flex; gap:48px; margin:48px 0; flex-wrap:wrap; }
.stat{ display:flex; flex-direction:column; }
.stat-num{ font-family:var(--ff-head); font-size:2.6rem; font-weight:700; background:var(--grad-accent); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-label{ color:#B7B2DC; font-size:0.9rem; margin-top:4px; }
.about-body{ color:#C7C3E8; line-height:1.7; font-size:1.02rem; max-width:720px; }
.about-body strong{ color:#fff; }

/* ---------- Contact ---------- */
.contact{ text-align:center; }
.contact-inner{ max-width:640px; margin:0 auto; }
.contact h2{ font-size:clamp(1.8rem, 3.6vw, 2.6rem); margin:10px 0 16px; }
.contact .btn{ margin-top:34px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-950); padding:36px 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.brand-footer .brand-name{ color:#fff; }
.footer-copy{ color:#8B86AC; font-size:0.86rem; }

/* ---------- Hero load-in (CSS-only, no scroll dependency) ---------- */
.hero-inner > *{ opacity:0; animation: fadeUp .7s ease forwards; }
.hero-inner .eyebrow{ animation-delay:.05s; }
.hero-inner h1{ animation-delay:.14s; }
.hero-inner .hero-lede{ animation-delay:.26s; }
.hero-inner .hero-actions{ animation-delay:.38s; }
@keyframes fadeUp{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:none; }
}
@media (prefers-reduced-motion: reduce){
  .hero-inner > *{ opacity:1; animation:none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .card-grid{ grid-template-columns:repeat(2, 1fr); }
  .sap-grid{ grid-template-columns:1fr; }
  .split-inner, .split.reverse .split-inner{ grid-template-columns:1fr; gap:40px; }
  .split.reverse .split-copy, .split.reverse .split-visual{ order:initial; }
  .split-visual{ order:-1; }
  .orbit-graphic, .quote-graphic{ width:200px; height:200px; }
  .about-stats{ gap:34px; }
}

@media (max-width: 760px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .hero{ padding:64px 0 52px; }
  .section{ padding:72px 0; }
  .card-grid{ grid-template-columns:1fr; }
  .about-stats{ gap:28px 40px; }
}

@media (max-width: 480px){
  .wrap{ padding:0 20px; }
  .hero-actions .btn{ width:100%; }
  .hero-actions{ flex-direction:column; }
}
