:root{
  /* Brand */
  --accent:#0890cc;
  --accent2:#05648e;
  --accent3:#044f70;
  --accentSoft:#e1f4fd;

  /* Core neutrals */
  --bg0:#ffffff;
  --bg1:#f6fbff;

  --text:#0f172a;
  --muted:#5a6a80;
  --line:#d9e2ee;

  /* Dark navy used for legacy header/footer */
  --ink:#071725;
  --ink2:#050f1c;

  --radius:18px;
  --radius2:24px;

  --shadow: 0 18px 44px rgba(15,23,42,.12);
  --shadowSoft: 0 10px 26px rgba(15,23,42,.08);
  --shadowLine: 0 1px 0 rgba(15,23,42,.05);

  --max:1100px;

  /* Sticky header offset for anchor jumps */
  --headerOffset: 92px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background:
    radial-gradient(900px 520px at 10% -10%, rgba(8,144,204,.18), transparent 58%),
    radial-gradient(820px 520px at 90% 0%, rgba(5,100,142,.14), transparent 58%),

    radial-gradient(rgba(7,23,37,.025) 1px, transparent 1px),

    repeating-linear-gradient(
      90deg,
      rgba(7,23,37,.012) 0px,
      rgba(7,23,37,.012) 1px,
      transparent 1px,
      transparent 78px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(7,23,37,.010) 0px,
      rgba(7,23,37,.010) 1px,
      transparent 1px,
      transparent 78px
    ),

    linear-gradient(180deg, var(--bg1), var(--bg0) 56%);

  background-size:
    auto,
    auto,
    36px 36px,
    auto,
    auto,
    auto;

  background-position:
    0 0,
    0 0,
    12px 12px,
    0 0,
    0 0,
    0 0;
}

a{ color:var(--accent2); text-decoration:none; }
a:hover{ text-decoration:underline; }

a:focus-visible{
  outline:2px solid rgba(8,144,204,.35);
  outline-offset:2px;
  border-radius:10px;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 22px;
}

/* Skip link */
.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:999px;
  box-shadow: var(--shadowSoft);
  z-index:999;
}
.skip-link:focus{ left:12px; }

/* Anchor offset for sticky header */
.section{ scroll-margin-top: var(--headerOffset); }
.hero{ scroll-margin-top: var(--headerOffset); }

/* ---------- Page shell ---------- */
.page-shell{
  position:relative;
  margin:18px auto 26px;
  border:1px solid rgba(217,226,238,.92);
  background: rgba(255,255,255,.84);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* Top brand ribbon (subtle) */
.page-shell::after{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  pointer-events:none;
  background: linear-gradient(90deg,
    rgba(8,144,204,0),
    rgba(8,144,204,.95),
    rgba(5,100,142,.95),
    rgba(8,144,204,0)
  );
  opacity:.85;
}

/* ---------- Legacy/product-page header (kept) ---------- */
.header{
  position:sticky;
  top:0;
  z-index:50;
  color:#fff;

  background:
    radial-gradient(820px 240px at 20% 0%, rgba(8,144,204,.28), transparent 62%),
    radial-gradient(720px 240px at 85% 0%, rgba(5,100,142,.22), transparent 62%),
    linear-gradient(180deg, rgba(7,23,37,.98), rgba(7,23,37,.90));

  border-bottom: 1px solid rgba(8,144,204,.22);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))){
  .header{
    background:
      radial-gradient(820px 240px at 20% 0%, rgba(8,144,204,.24), transparent 62%),
      radial-gradient(720px 240px at 85% 0%, rgba(5,100,142,.20), transparent 62%),
      linear-gradient(180deg, rgba(7,23,37,.80), rgba(7,23,37,.72));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:inherit;
  min-width: 260px;
}
.brand:hover{ text-decoration:none; }
.brand-logo{ height:34px; width:auto; display:block; }

.brand-text{ line-height:1.12; }
.brand-tag{
  font-weight:950;
  letter-spacing:.01em;
  color:#fff;
}
.brand-sub{
  margin-top:3px;
  font-size:.86rem;
  color: rgba(255,255,255,.72);
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.nav a{
  color: rgba(255,255,255,.78);
  font-weight:850;
  text-decoration:none;
}
.nav a:hover{
  color:#fff;
  text-decoration:none;
}
.nav-cta{
  background: linear-gradient(180deg, #2bb8f0, var(--accent2));
  color:#fff !important;
  padding:10px 14px;
  border-radius:999px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.nav-cta:hover{ filter:brightness(1.05); text-decoration:none; }

/* ---------- Main spacing ---------- */
main{ padding: 10px 0 10px; }

/* ---------- Legacy/product-page hero (kept) ---------- */
.hero{
  position:relative;
  padding:28px 0 8px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-30px -10px auto -10px;
  height:240px;
  pointer-events:none;
  background:
    radial-gradient(740px 240px at 22% 55%, rgba(8,144,204,.12), transparent 72%),
    radial-gradient(560px 200px at 82% 40%, rgba(5,100,142,.10), transparent 72%);
  opacity:.95;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.18fr .82fr;
  gap:26px;
  align-items:start;
}

.pn{
  display:inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:.86rem;
  color:var(--muted);
  background: rgba(246,248,251,.90);
  border:1px solid var(--line);
  padding:7px 12px;
  border-radius:999px;
}

.h1{
  margin:14px 0 8px;
  font-size:2.75rem;
  letter-spacing:-.02em;
  line-height:1.08;
}
.h1-accent{ color:var(--accent2); }

.subtitle{
  margin:0 0 14px;
  color:var(--muted);
  font-size:1.06rem;
}

.lead{
  margin:0;
  max-width:72ch;
  color:#1b2a44;
}

@supports (text-wrap: balance){
  .h1, h2 { text-wrap: balance; }
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 14px;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-size:.92rem;
  font-weight:750;
}
.badge-accent{
  background:var(--accentSoft);
  border-color:transparent;
  color:var(--accent2);
  font-weight:950;
}

.facts{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin:10px 0 16px;
}
.fact{
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius:14px;
  padding:11px 12px;
  box-shadow: var(--shadowLine);
}
.fact-k{
  color:var(--muted);
  font-size:.86rem;
  font-weight:850;
}
.fact-v{
  margin-top:4px;
  font-weight:950;
  color:var(--text);
  letter-spacing:-.01em;
}
.fact-s{
  font-weight:750;
  color:var(--muted);
  font-size:.92rem;
  margin-left:6px;
}

/* Buttons */
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  font-weight:950;
  border:1px solid transparent;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.btn-primary{
  background: linear-gradient(180deg, #2bb8f0, var(--accent2));
  color:#fff;
  box-shadow: var(--shadowSoft);
}
.btn-primary:hover{ text-decoration:none; filter:brightness(1.05); transform: translateY(-1px); }

.btn-ghost{
  background:#fff;
  border-color:var(--line);
  color:var(--text);
}
.btn-ghost:hover{ text-decoration:none; background: rgba(246,248,251,.92); transform: translateY(-1px); }

/* ---------- Sections ---------- */
/* CHANGED: a bit more breathing room */
.section{
  padding:34px 0;
  border-top:1px solid rgba(217,226,238,.85);
}
.section-alt{
  background: linear-gradient(180deg, rgba(244,247,252,.78), rgba(255,255,255,0));
}

/* CHANGED: more margin so headings feel less condensed */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

/* CHANGED: line-height to reduce “condensed” feel */
h2{
  margin:0;
  font-size:1.6rem;
  letter-spacing:-.01em;
  line-height:1.18;
  font-weight: 900;
}
.muted{ color:var(--muted); }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

/* cards */
.card{
  background: rgba(255,255,255,.92);
  border:1px solid rgba(217,226,238,.95);
  border-radius: var(--radius);
  padding:18px 18px;
  box-shadow: var(--shadowLine);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15,23,42,.10);
}

h3{
  margin:0 0 10px;
  font-size:1.1rem;
  letter-spacing:-.01em;
}

.list{ margin:0; padding-left:18px; }
.list li{ margin:7px 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive (legacy/base) ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .facts{ grid-template-columns: 1fr; }
  .h1{ font-size:2.2rem; }
}

@media (max-width: 760px){
  .nav{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    gap:12px;
    padding-bottom: 2px;
  }
  .nav a{ white-space:nowrap; }
}

@media (max-width: 520px){
  .container{ padding:0 14px; }
  .brand{ min-width: unset; }
}

/* =========================================================
   HOME (catalog) — light header + hero band + tiles + footer
   ========================================================= */

/* Flatten the “card shell” a bit on the home page */
.catalog-home .page-shell-flat{
  background: rgba(255,255,255,.92);
}

/* Light sticky header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(217,226,238,.95);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))){
  .site-header{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
.site-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 14px 0;
}
.site-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.site-logo{ height: 44px; width:auto; display:block; }

.site-nav{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}
.site-nav a{
  color: rgba(15,23,42,.72);
  font-weight: 900;
  text-decoration:none;
}
.site-nav a:hover{ color: rgba(15,23,42,.92); text-decoration:none; }

/* Main Site as secondary */
.site-nav-subtle{
  opacity:.70;
  font-weight:800;
}
.site-nav-subtle:hover{ opacity:1; }
.site-nav-subtle span{ font-weight:950; }
/* ---------- Mobile hamburger toggle (catalog header) ---------- */
.site-header-inner {
  position: relative;
}

/* anchor dropdown */

.nav-toggle {
  display: none;
  border: 1px solid rgba(217, 226, 238, .95);
  background: rgba(255, 255, 255, .92);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(8, 144, 204, .34);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide menu by default on mobile */
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(217, 226, 238, .95);
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadowSoft);
    z-index: 100;
  }

  .site-nav a {
    display: block;
    padding: 10px 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, .04);
  }

  .site-nav a:hover {
    background: rgba(15, 23, 42, .08);
  }

  /* When open */
  .site-header.nav-open .site-nav {
    display: flex;
  }
}
/* Eyebrow line used in the hero */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.78rem;
  color: rgba(255,255,255,.92);
  margin-bottom:10px;
}
.eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,0));
  border-radius:999px;
}

/* Hero band base */
.hero-band{
  color:#fff;
  padding: 44px 0 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,.0) 12px),
    linear-gradient(180deg, #3f78ad 0%, #0b5aa3 100%);
}

/* Hero with image overlay */
.hero-with-image{
  background:
    linear-gradient(90deg, rgba(6,18,32,.74) 0%, rgba(6,18,32,.52) 56%, rgba(6,18,32,.36) 100%),
    var(--hero-image) center/cover no-repeat;
}
.hero-with-image .hero-title,
.hero-with-image .hero-lead,
.hero-with-image .hero-sub,
.hero-with-image .eyebrow{
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}

/* Single-column hero layout */
.hero-band-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  padding-bottom: 34px;
}
.hero-copy{ max-width: 78ch; }

.hero-title{
  margin: 10px 0 10px;
  font-size: 2.65rem;
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 950;
}
.hero-title span{ display:inline-block; opacity: .98; }

.hero-lead{
  margin: 0 0 10px;
  font-size: 1.06rem;
  opacity: .92;
}
.hero-sub{
  margin: 0 0 18px;
  opacity: .88;
}

.btn-onblue{
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.btn-onblue.btn-ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
  color:#fff;
}
.btn-onblue.btn-ghost:hover{ background: rgba(255,255,255,.14); }

/* Wave divider (safe) */
.wave-divider{
  height: 42px;
  background:
    radial-gradient(60px 24px at 10% 0, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(60px 24px at 90% 0, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96));
  clip-path: polygon(0 65%, 18% 52%, 42% 70%, 64% 56%, 82% 66%, 100% 58%, 100% 100%, 0 100%);
}
@supports not (clip-path: polygon(0 0)){
  .wave-divider{ clip-path: none; height: 18px; }
}

/* Stronger section head */
.section-head-strong{ padding-bottom: 14px; }
.section-head-strong h2{
  font-size: 1.8rem;
  letter-spacing: -.015em;
}
.section-tight{ padding: 26px 0; }

/* Clean divider */
.divider{
  height:1px;
  margin: 24px 0;
  background: linear-gradient(90deg,
    rgba(8,144,204,0),
    rgba(8,144,204,.25),
    rgba(217,226,238,.95),
    rgba(8,144,204,.25),
    rgba(8,144,204,0)
  );
}

/* Category tiles */
.tile-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}
.tile{
  position:relative;
  display:block;
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(217,226,238,.95);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadowLine);
  transition: transform .12s ease, box-shadow .12s ease;
  color:inherit;
  text-decoration:none;
}
.tile:hover{
  text-decoration:none;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15,23,42,.10);
}
.tile img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  background:#fff;
}
.tile-overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:14px 14px 12px;
  color:#fff;
  background: linear-gradient(180deg,
    rgba(7,23,37,0) 0%,
    rgba(7,23,37,.55) 38%,
    rgba(7,23,37,.90) 100%
  );
}
.tile-title{
  font-weight:950;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:.95rem;
}
.tile-sub{
  margin-top:4px;
  font-size:.93rem;
  opacity:.82;
}
.tile-cta{
  margin-top:9px;
  font-weight:950;
  color: rgba(157, 210, 255, .95);
}

/* Featured grid */
.featured-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
.featured-card{
  display:block;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(217,226,238,.95);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadowLine);
  transition: transform .12s ease, box-shadow .12s ease;
  color:inherit;
  text-decoration:none;
}
.featured-card:hover{
  text-decoration:none;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15,23,42,.10);
}
.featured-card img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
  background:#fff;
}
.featured-body{ padding:10px 12px 12px; }
.featured-title{
  font-weight:950;
  letter-spacing:-.01em;
}
.featured-sub{
  margin-top:3px;
  color: var(--muted);
  font-weight:800;
  font-size:.92rem;
}

/* Value props: 3 in a row (desktop), centered cards */
.value-row-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}
.value-row-3 .value-item{
  text-align:center;
  border:1px solid rgba(217,226,238,.95);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadowLine);
  padding:16px 14px;
}
.value-row-3 .value-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background: rgba(11,90,163,.10);
  color: rgba(11,90,163,.95);
  margin: 0 auto 10px;
}
.value-row-3 .value-title{ font-weight:950; }
.value-row-3 .value-sub{ margin-top:6px; font-size:.93rem; }

/* Home footer */
.site-footer{
  color: rgba(255,255,255,.82);
  background:
    radial-gradient(900px 340px at 20% 0%, rgba(8,144,204,.18), transparent 62%),
    radial-gradient(780px 340px at 85% 0%, rgba(5,100,142,.16), transparent 62%),
    linear-gradient(180deg, #071b2b, #04111f);
  border-top: 1px solid rgba(8,144,204,.22);
  padding: 26px 0 18px;
}
.site-footer-inner{ padding-top: 8px; }

.footer-grid{
  display:grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap:18px;
  align-items:start;
}
.footer-grid-4{ grid-template-columns: 1.45fr 1fr 1fr 1fr; }

.footer-logo{ height:30px; width:auto; display:block; }
.footer-blurb{
  margin:10px 0 0;
  color: rgba(255,255,255,.70);
  max-width: 54ch;
  font-size:.95rem;
}

.footer-col a,
.footer-col span{
  display:block;
  margin:8px 0;
  color: rgba(255,255,255,.86);
  font-weight:850;
}
.footer-col a:hover{ color:#fff; text-decoration: none; }

.footer-h{
  margin:0 0 12px;
  font-size: .80rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color:#fff;
  opacity:.95;
}

.footer-note{
  color: rgba(255,255,255,.62) !important;
  font-weight:650 !important;
  font-size:.92rem;
}

/* Footer CTA — centered, balanced */
.footer-cta{
  max-width: 980px;
  margin: 0 auto 16px;

  display:grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;

  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 16px 18px;

  background:
    radial-gradient(980px 240px at 30% 0%, rgba(8,144,204,.20), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.footer-cta-title{
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 950;
  color: #fff;
  margin: 0 0 6px;
}
.footer-cta-sub{
  margin: 0;
  max-width: 78ch;
  color: rgba(255,255,255,.74);
  line-height: 1.45;
}
.footer-cta .btn{
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  padding-bottom: 6px;
  border-top: 1px solid rgba(255, 255, 255, .12);

  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;

  color: rgba(255, 255, 255, .62);
  font-size: .92rem;
}

.footer-bottom .copyright {
  justify-self: start;
}

.footer-bottom .footer-bottom-backtotop {
  justify-self: center;
}

.footer-bottom .footer-meta {
  justify-self: end;
}

.footer-bottom .copyright{ justify-self: start; }
.footer-bottom .footer-bottom-backtotop{ justify-self: center; }
.footer-bottom .footer-meta{ justify-self: end; }


/* Mobile: stack nicely */
@media (max-width: 640px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom>.copyright,
  .footer-bottom>.footer-bottom-backtotop,
  .footer-bottom>.footer-meta {
    justify-self: center;
  }
}
.footer-bottom-backtotop {
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(148, 163, 184, 0.9);
}

.footer-bottom-backtotop:hover {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
}


/* Responsive */
@media (max-width: 980px){
  .tile-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .featured-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid-4{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .footer-cta{
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    max-width: 100%;
  }
  .footer-cta-title, .footer-cta-sub{ text-align:center; }
  .value-row-3{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .site-logo{ height: 38px; }
  .tile-grid{ grid-template-columns: 1fr; }
  .featured-grid{ grid-template-columns: 1fr; }
  .tile img{ height:200px; }
  .featured-card img{ height:200px; }
  .hero-title{ font-size: 2.2rem; }
  .footer-grid-4{ grid-template-columns: 1fr; }

  
}
/* --- Tile polish: clearer hover + better readability --- */

/* smoother overall tile animation */
.tile{
  position:relative;
  isolation:isolate;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* image gently zooms on hover */
.tile img{
  transform: scale(1);
  transition: transform .28s ease;
  will-change: transform;
}
.tile:hover img{
  transform: scale(1.06);
}

/* stronger lift + shadow */
.tile:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(15,23,42,.14);
}

/* subtle “shine” overlay for premium feel */
.tile::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  transition: opacity .18s ease;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 46%);
}
.tile:hover::before{ opacity:1; }

/* accent glow inset on hover */
.tile::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius2);
  pointer-events:none;
  opacity:0;
  transition: opacity .18s ease;
  box-shadow: 0 0 0 2px rgba(8,144,204,.34) inset;
}
.tile:hover::after{ opacity:1; }

/* overlay readability improvement */
.tile-overlay{
  text-shadow: 0 2px 14px rgba(0,0,0,.40);
  background: linear-gradient(180deg,
    rgba(7,23,37,0) 0%,
    rgba(7,23,37,.66) 40%,
    rgba(7,23,37,.94) 100%
  );
}

/* CTA micro-motion and emphasis */
.tile-cta{
  display:inline-flex;
  gap:6px;
  align-items:center;
  transition: transform .18s ease, color .18s ease, letter-spacing .18s ease;
}
.tile:hover .tile-cta{
  transform: translateX(4px);
  color: rgba(205, 240, 255, .98);
  letter-spacing: .01em;
}

/* =========================================================
   PRODUCT PAGE (shares header/footer with home)
   ========================================================= */

.product-page .page-shell-flat{
  background: rgba(255,255,255,.92);
}

/* Breadcrumbs */
.crumbs{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding: 18px 0 8px;
  color: var(--muted);
  font-weight: 800;
}
.crumbs a{ color: var(--accent2); font-weight: 900; }
.crumbs a:hover{ text-decoration: underline; }
.crumb-current{ color: rgba(15,23,42,.85); font-weight: 950; }

/* Product hero */
/* CHANGED: more breathing room so hero + tabs + headings feel less condensed */
.p-hero{ padding: 16px 0 26px; }
.p-hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}

.p-title{
  margin: 12px 0 10px;
  font-size: 2.4rem;
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 950;
}
.p-title-accent{ color: var(--accent2); font-weight: 950; }

.p-subtitle{
  margin: 0 0 10px;
  color: rgba(15,23,42,.80);
  font-weight: 850;
}
.p-lead{
  margin: 0 0 14px;
  color: rgba(15,23,42,.82);
  max-width: 72ch;
}

/* PN row polish */
.pn .pn-sep{ margin: 0 10px; opacity:.6; }

/* Chips */
.p-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 14px 0 14px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(217,226,238,.95);
  background: rgba(255,255,255,.92);
  font-weight: 900;
  color: rgba(15,23,42,.85);
  box-shadow: var(--shadowLine);
}
.chip-accent{
  background: var(--accentSoft);
  border-color: transparent;
  color: var(--accent2);
  font-weight: 950;
}

/* KPI row */
.p-kpis{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 14px;
}
.kpi{
  border:1px solid rgba(217,226,238,.95);
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: var(--shadowLine);
}
.kpi-k{
  color: var(--muted);
  font-size:.86rem;
  font-weight: 900;
}
.kpi-v{
  margin-top: 6px;
  font-weight: 950;
  letter-spacing: -.01em;
}
.kpi-s{
  margin-left: 6px;
  color: var(--muted);
  font-weight: 850;
  font-size: .92rem;
}

/* Hero image */
.p-figure{
  margin: 0;
  border-radius: var(--radius2);
  overflow: hidden;
  border:1px solid rgba(217,226,238,.95);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadowLine);
}
.p-figure img{
  display:block;
  width:100%;
  height:auto;
}
.p-figure figcaption{
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}

/* Sticky product tabs */
/* CHANGED: centered + wrap on desktop, scroll on mobile */
.p-tabs{
  position: sticky;
  top: var(--headerOffset);
  z-index: 40;

  display:flex;
  align-items:center;
  justify-content: center;
  gap: 18px;

  margin: 18px auto 0;
  padding: 12px 18px;

  border:1px solid rgba(217,226,238,.95);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);

  flex-wrap: wrap;
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))){
  .p-tabs{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
.p-tabs a{
  font-weight: 900;
  color: rgba(15,23,42,.70);
  text-decoration:none;
  white-space: nowrap;
}
.p-tabs a:hover{ color: rgba(15,23,42,.92); }

.p-tabs-cta{
  background: linear-gradient(180deg, #2bb8f0, var(--accent2));
  color:#fff !important;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
.p-tabs-cta:hover{ filter: brightness(1.05); }

/* Tables */
.table-wrap{ overflow:auto; border-radius: 14px; }
.spec-table{
  width:100%;
  border-collapse: collapse;
  font-weight: 800;
  min-width: 520px;
}
.spec-table th, .spec-table td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(217,226,238,.95);
  vertical-align: top;
}
.spec-table th{
  text-align:left;
  color: rgba(15,23,42,.85);
  font-weight: 950;
  width: 38%;
}
.fineprint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

/* Code card */
.code-card .code{
  margin: 10px 0 0;
  padding: 14px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(7,23,37,.94), rgba(7,23,37,.88));
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.10);
  overflow:auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  line-height: 1.55;
}

/* Downloads */
.dl-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dl-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;

  border:1px solid rgba(217,226,238,.95);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadowLine);
  padding: 14px 14px;
  text-decoration:none;
  color: inherit;

  transition: transform .12s ease, box-shadow .12s ease;
}
.dl-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15,23,42,.10);
  text-decoration:none;
}
.dl-left{ display:flex; align-items:center; gap: 12px; }
.dl-icon{
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  color: rgba(11,90,163,.95);
  background: rgba(11,90,163,.10);
}
.dl-title{ font-weight: 950; }
.dl-sub{ margin-top: 3px; color: var(--muted); font-weight: 800; font-size: .92rem; }
.dl-right{ font-weight: 950; color: rgba(11,90,163,.95); white-space: nowrap; }
.dl-arrow{ margin-left: 6px; }
.dl-disabled{
  opacity: .70;
  cursor: default;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 980px){
  .p-hero-grid{ grid-template-columns: 1fr; }
  .p-kpis{ grid-template-columns: 1fr; }
  .dl-grid{ grid-template-columns: 1fr; }
  .p-tabs{ border-radius: 18px; }
}
@media (max-width: 760px){
  .p-tabs{
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
  }
}
@media (max-width: 520px){
  .p-title{ font-size: 2.0rem; }
}



/* ===== Product page spacing tweaks (top area) ===== */

/* Breadcrumb: give it more air */
.product-page .crumbs{
  padding: 26px 0 18px;
}

/* Hero: noticeably more breathing room */
.product-page .p-hero{
  padding: 30px 0 46px;
}

/* Increase separation between key hero elements */
.product-page .p-title{ margin: 18px 0 16px; }
.product-page .p-subtitle{ margin: 0 0 18px; }
.product-page .p-lead{ margin: 0 0 22px; }
.product-page .p-chips{ margin: 18px 0 22px; }
.product-page .p-kpis{ margin: 16px 0 26px; }

/* Push tabs down slightly */
.product-page .p-tabs{
  margin-top: 28px;
}
/* ===== Subtle interaction polish: cards ===== */

.card{
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(15,23,42,.12);
  border-color: rgba(8,144,204,.28);
}

/* ===== Control terminal polish ===== */

.code-card .code{
  background:
    linear-gradient(180deg, #1b2a36, #15222c);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 -1px 0 rgba(0,0,0,.25);
}

/* Make prompts stand out slightly */
.code-card .code code{
  color: #e8f1f8;
}
/* Emphasize interactive cards slightly more */
.dl-card:hover,
.code-card:hover{
  transform: translateY(-3px);
}

/* Gentle structural separator between sections */
.section.section-alt{
  border-top: 1px solid rgba(15,23,42,.05);
}

/* Section heading anchor line */
.section-head h2{
  position: relative;
}

.section-head h2::after{
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: rgba(8,144,204,.35);
}

/* Card grouping hint */
.section .grid-2{
  position: relative;
}

.section .grid-2::before{
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(15,23,42,.04);
}


/* Emphasize key sections slightly */
#overview.section,
#control.section,
#downloads.section{
  padding-top: 42px;
  padding-bottom: 42px;
}


.p-tabs a:hover{
  background: rgba(8,144,204,.06);
  border-radius: 999px;
}

/* MOBILE FIX – Control section cards fit the screen */
@media (max-width: 760px) {
  /* Stack Control cards */
  #control .grid-2 { 
    grid-template-columns: 1fr; 
  }

  /* Critical: allow grid items to shrink so inner content can scroll */
  #control .grid-2 > * { 
    min-width: 0; 
  }

  /* Keep overflow contained inside the table/code areas */
  #control .table-wrap { 
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #control pre.code {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* MOBILE FIX – Add breathing room for logo/header */
@media (max-width: 760px) {
  .site-header .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

