:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e2e8f0;

  --brand:#0b5ed7;   /* logo blue */
  --brand2:#0891ff;
  --brandSoft:#e8f1ff;
  --brandSoftBorder:#cfe3ff;

  --card:#ffffff;
  --cardShadow: 0 10px 24px rgba(0,0,0,.06);
  --radius:14px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  /* subtle background interest: bottom light-blue -> top white */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7fbff 35%,
    #eef5ff 65%,
    #e3eeff 100%
  );

  color:var(--text);
  line-height:1.55;
}

/* Fixed page gradient background */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7faff 35%,
    #e9f2ff 65%,
    rgba(11,94,215,0.18) 100%
  );
}


a{color:inherit;text-decoration:none}
.wrap{width:min(1100px,calc(100% - 40px));margin:0 auto}

/* Header */
.header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  z-index:10;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

/* Logo sizing */
:root{
  --logo-h: 80px; /* desktop default */
}

.logo{
  height: var(--logo-h) !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: contain;
}

.header a,
.header .brand,
.header .logo-wrap{
  max-width: none !important;
}

/* Nav */
.nav{display:flex;gap:14px;align-items:center}
.nav a,
.nav-btn{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  font-weight:600;
  border:none;
  outline:none;
  box-shadow:none;
  background:transparent;
  transition: background .15s ease, color .15s ease;
}

/* Active */
.nav a.active,
.nav-btn.active{
  background:var(--brandSoft);
  color:var(--brand);
}

/* Hover only when NOT active (prevents "double highlight" look) */
.nav a:hover:not(.active),
.nav-btn:hover:not(.active){
  background:var(--brandSoft);
  color:var(--brand);
}

/* remove browser focus rings for header links (as requested) */
.nav a:focus,
.nav a:focus-visible,
.nav-btn:focus,
.nav-btn:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}

/* Hero */
.hero{padding:60px 0 30px}
.eyebrow{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:var(--brandSoft);
  color:var(--brand);
  font-weight:800;
  font-size:13px;
}
h1{
  margin:14px 0 12px;
  /* stronger header without changing layout */
  font-size:clamp(38px,4.4vw,56px);
  letter-spacing:-.45px;
  line-height:1.06;
}
.lead{
  margin:0 0 18px;
  font-size:18px;
  color:var(--muted);
  max-width:75ch;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}

.mini-highlights{
  display:grid;
  gap:8px;
  color:var(--muted);
  border-left:3px solid var(--brandSoftBorder);
  padding-left:12px;
  max-width: 80ch;
}

/* Sections + dividers */
.section{padding:55px 0}
.wrap.section{border-top:1px solid var(--border)}
/* no divider between hero and first section */
.hero + .section{border-top:none}

.section h2{
  margin:0 0 8px;
  font-size:28px;
  position:relative;
  padding-left:16px;
}
/* Option B accent: left vertical line */
.section h2::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  bottom:6px;
  width:3px;
  background:var(--brand);
  border-radius:999px;
  opacity:.35;
}

.tiny{font-size:12px}
.muted{color:var(--muted)}

/* Layout grids */
.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media(max-width: 980px){ .grid{grid-template-columns:1fr} }

.two-col{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media(max-width: 980px){ .two-col{grid-template-columns:1fr} }

/* Make anchor jumps account for sticky header */
main section[id] { scroll-margin-top: 120px; }

/* Cards */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--cardShadow);
  padding:20px;
}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0 0 10px;color:var(--muted)}
.card ul{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.card li{margin:8px 0}

/* NEW: service icons */
.service-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--brandSoft);
  color:var(--brand);
  margin-bottom:10px;
}
.service-icon svg{
  width:22px;
  height:22px;
  display:block;
}

/* Platform chips */
.chips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0}
.chips span{
  font-size:13px;
  font-weight:700;
  color:var(--brand);
  background:#eef6ff;
  border:1px solid #d6e7ff;
  padding:6px 10px;
  border-radius:999px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--brand);
  background:var(--brand);
  color:white;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 18px rgba(11,94,215,.16);
}
.btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn.ghost{background:white;color:var(--brand)}
.btn.small{padding:10px 12px;font-weight:800}

/* Form */
.form{
  width:100%;
  max-width:none;
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:14px;
}
@media(max-width: 820px){ .form-grid{grid-template-columns:1fr} }
label{display:grid;gap:8px;font-weight:700}
input,textarea,select{
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  font-size:15px;
}
input:focus,textarea:focus,select:focus{
  outline:2px solid var(--brandSoftBorder);
  border-color: var(--brand2);
}
.full{grid-column:1 / -1}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:22px 0 34px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* Back to top button */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;

  background: var(--brand);   /* logo dark blue */
  color: #ffffff;

  border: none;
  box-shadow: 0 12px 24px rgba(11,94,215,.22);
  cursor: pointer;

  display: grid;
  place-items: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, filter .15s ease;
  z-index: 999;
}

.back-to-top:hover{
  filter: brightness(1.05);
}

.back-to-top svg{
  width: 20px;
  height: 20px;
}

/* Visible state */
.back-to-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Phone Landscape */
@media (max-width: 768px) and (orientation: landscape){
  .nav{ gap: 10px; }
  .nav a, .nav-btn{ padding: 9px 10px; }

  .card{
    padding: 18px; /* slightly tighter so it feels wider */
  }

  .hero{
    padding: 44px 0 22px; /* less vertical padding on phones */
  }
}

/* Hamburger button */
.nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: #e8f1ff;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--brand);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 720px){

  /* ---------- MOBILE HEADER BASE ---------- */
  .header-inner{
    padding: 14px 0;
  }

  /* ---------- SHOW HAMBURGER ---------- */
  .nav-toggle{
    display: block;
  }

  /* ---------- DROPDOWN NAV PANEL ---------- */
  .nav{
    position: fixed;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;

    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);

    padding: 14px;

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    transition: transform .22s ease, opacity .18s ease;
    z-index: 998;
  }

  .nav.open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* ---------- MOBILE NAV ITEMS ---------- */
  .nav a,
  .nav-btn{
    padding: 14px;
    border-radius: 10px;
  }
}


/* ---------- PHONE LANDSCAPE (iPhone + phones sideways) ---------- */
@media (max-width: 720px) and (orientation: landscape){

  .header-inner{
    padding: 10px 0;
  }

  .nav{
    padding: 10px;
  }

  .nav-toggle{
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* ---------- LARGE TABLETS / 2-in-1: FORCE DESKTOP NAV + DESKTOP LOGO ---------- */
@media (min-width: 900px){

  .nav-toggle{
    display: none;
  }

  .nav{
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;

    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}

/* ---------- 2-in-1 / laptops with touchscreens (Flow X13, Surface, etc.) ---------- */
/* If ANY input device can hover and is fine (mouse/trackpad), use desktop behavior */
@media (any-hover: hover) and (any-pointer: fine){

  .nav-toggle{
    display: none !important;
  }

  .nav{
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

/* =========================================================
   LOGO OVERRIDES (PHONE ONLY) — single source of truth
   ========================================================= */

/* Phones: portrait + landscape same size */
@media (max-width: 720px){
  :root{
    --logo-h: 56px; /* adjust this number only */
  }
}

