/* =========================================================
   Nexi Technologies Limited — Consolidated Drop-In CSS
   (Sticky header + NTT-style mobile overlay menu + balanced spacing)
   ========================================================= */

/* -----------------------------
   1) Root + Resets
------------------------------ */
:root{
  --blue:#0b4cff;
  --green:#1aa34a;

  --navy:#06152a;                 /* top bar + hero base */
  --nav-bg:#0b1f3a;               /* lighter nav background */
  --nav-border: rgba(255,255,255,.10);

  --ink:#081225;
  --muted:#5f6b7a;
  --bg:#ffffff;

  --card:#0a1730;
  --line: rgba(10,23,48,.12);

  --radius: 18px;

  /* Layout rhythm */
  --container: 1200px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 22px;
  --space-5: 30px;
  --space-6: 44px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
p{margin:0 0 14px}
.wrap{max-width:var(--container);margin:0 auto;padding:0 22px}

/* -----------------------------
   2) Sticky Header (Topbar + Nav)
------------------------------ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Topbar stays dark */
.topbar{background:var(--navy);color:#fff}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:10px
}
.topbar__tel{opacity:.95}
.sep{opacity:.5;margin:0 8px}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-weight:800;
}

/* Nav slightly lighter so dark logo reads */
.nav{
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  gap:16px
}

/* Logo size */
.brand__logo{height:46px;width:auto}
@media (min-width: 920px){
  .brand__logo{height:56px}
}

/* Primary button (desktop + other) */
.btn{
  background:var(--blue);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
}

/* Burger */
.nav__burger{
  display:inline-flex;
  flex-direction:column;
  gap:5px;
  background:transparent;
  border:0;
  cursor:pointer;
}
.nav__burger span{
  width:26px;
  height:2px;
  background:#fff;
  display:block;
  border-radius:2px
}

/* Desktop menu (explicit class is recommended) */
.nav__menu--desktop{display:none;gap:18px;align-items:center}
.nav__menu--desktop > a{color:#fff;opacity:.92;font-weight:850}
.nav__menu--desktop > a:hover{opacity:1}

@media (min-width: 920px){
  .nav__burger{display:none}
  .nav__menu--desktop{display:flex}
}

/* Backwards-compat if you still have .nav__menu in markup (desktop only) */
.nav__menu{display:none;gap:18px;align-items:center}
.nav__menu a{color:#fff;opacity:.92;font-weight:850}
.nav__menu a:hover{opacity:1}
@media (min-width: 920px){
  .nav__menu{display:flex}
}

/* IMPORTANT: remove old mobile dropdown panel behaviour */
.menu-open .nav__menu{display:none !important}

/* -----------------------------
   3) Hero
------------------------------ */
.hero{
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(11,76,255,.25), transparent 60%),
    radial-gradient(900px 420px at 70% 30%, rgba(26,163,74,.18), transparent 60%),
    var(--navy);
  color:#fff;
  padding:54px 0 30px;
}
.hero__grid{display:grid;gap:22px}

.hero__title{
  font-size: 38px;
  line-height: 1.06;
  margin: 0 0 14px;
  font-weight: 850;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.hero__sub{
  margin: 0;
  color: rgba(255,255,255,.82);
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
}

.hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  font-weight:900;
}
.hero__btn--primary{background:#f4c21f;color:#071427}
.hero__btn--ghost{background:rgba(255,255,255,.12);color:#fff}

.hero__orb{
  width:min(420px, 86vw);
  justify-self:center;
}

@media (min-width: 920px){
  .hero{padding:92px 0 56px}
  .hero__grid{grid-template-columns: 1.15fr .85fr;align-items:center}
  .hero__title{font-size:56px}
  .hero__sub{font-size:18px}
  .hero__orb{justify-self:end}
}

/* -----------------------------
   4) Sections + Typography Rhythm
   (reduced desktop spacing vs previous)
------------------------------ */
.section{padding:46px 0}
@media (min-width: 920px){
  .section{padding:54px 0}
}
.hero + .section{padding-top:56px}
@media (min-width: 920px){
  .hero + .section{padding-top:64px}
}

.section__title{
  font-size:30px;
  margin:0 0 18px;
  font-weight:900;
  letter-spacing:-0.02em
}
.muted{color:var(--muted)}

.grid{display:grid;gap:16px}
@media (min-width: 920px){
  .grid--2{grid-template-columns:1fr 1fr}
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .grid--4{grid-template-columns:repeat(4,1fr)}
}

/* -----------------------------
   5) Cards / Stats / CTA
------------------------------ */
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}
.card--dark{
  background:linear-gradient(180deg, rgba(6,21,42,.98), rgba(6,21,42,.90));
  color:#fff;
  border-color: rgba(255,255,255,.10);
}
.card__img{aspect-ratio: 16/10; background:#0b1730}
.card__body{padding:16px}
.tag{
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.7)
}
.card__title{margin:8px 0 10px;font-size:18px;font-weight:900}
.card__link{display:inline-flex;gap:8px;align-items:center;font-weight:900}

.stats{
  display:grid;
  gap:12px;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--line);
}
@media (min-width: 920px){ .stats{grid-template-columns:repeat(3,1fr)} }
.stat__num{font-size:22px;font-weight:900;color:var(--blue)}
.stat__label{
  font-size:12px;
  color:var(--muted);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em
}

.cta{
  background: linear-gradient(180deg, rgba(6,21,42,.98), rgba(6,21,42,.92));
  color:#fff;
  border-radius: 22px;
  padding:22px;
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cta .btn{background:#f4c21f;color:#071427}

/* -----------------------------
   6) Footer (responsive horizontal on desktop)
------------------------------ */
.site-footer{
  background: var(--navy);
  color:#fff;
  padding:44px 0 18px;
  margin-top:30px;
}
.footer__grid{
  display:grid;
  gap: 26px;
  align-items:start;
}
@media (min-width: 920px){
  .footer__grid{
    grid-template-columns: 1.3fr 1fr 1fr 1fr; /* brand + 3 columns */
    gap: 34px;
  }
}
.footer__grid a{display:block;color:rgba(255,255,255,.82);margin:10px 0;font-weight:800}
.footer__grid h4{margin:0 0 12px;font-weight:900;font-size:16px}
.footer__grid a:hover{color:#fff}
.footer__logo{height:56px;width:auto;margin-bottom:10px}

.footer__bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.10);
  margin-top:30px;
  padding-top:16px;
}

/* Footer readability upgrades */
.site-footer .muted,
.site-footer p,
.site-footer small{
  color: rgba(255,255,255,.78);   /* lighter body text in footer */
}

.site-footer .footer__grid p.muted{
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}

.site-footer .footer__grid a{
  color: rgba(255,255,255,.88);   /* links slightly brighter */
}

.site-footer .footer__grid a:hover{
  color:#fff;
}

/* Contact line (numbers) slightly stronger */
.site-footer .footer__grid .contact-strong,
.site-footer .footer__grid .footer__contact{
  color: rgba(255,255,255,.88);
  font-weight: 800;
}

/* If you changed to horizontal logo, optimise its height */
.footer__logo{
  height: 46px; /* better for horizontal logo */
  width:auto;
  margin-bottom:12px;
}
@media (min-width: 920px){
  .footer__logo{height:52px;}
}

/* -----------------------------
   7) Desktop dropdowns (Services/Insights) — hover/focus
------------------------------ */
.dd{position:relative}

.dd__btn{
  background:transparent;
  border:0;
  color:#fff;
  font: inherit;
  font-weight:900;
  opacity:.92;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  padding:10px 8px;
}
.dd__btn:hover{opacity:1}
.dd__chev{opacity:.8; transform: translateY(-1px)}

.dd__panel{
  display:none;
  position:absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 320px;
  background: var(--nav-bg);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  z-index: 50;
}

.dd__cols{display:grid;gap: 10px}

.dd__panel a{
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.90);
  font-weight: 850;
}
.dd__panel a:hover{
  background: rgba(255,255,255,.10);
  color:#fff;
}

@media (min-width: 920px){
  .dd:hover .dd__panel,
  .dd:focus-within .dd__panel{display:block}
}

/* -----------------------------
   8) NTT-style mobile overlay menu
   Requires header markup with .mnav + JS toggling .is-open
------------------------------ */
.mnav{
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,21,42,.98), rgba(6,21,42,.96));
  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 1200;
  padding: 18px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.mnav.is-open{transform: translateX(0)}

.mnav__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 6px 0 18px;
}
.mnav__logo{height:44px;width:auto}

.mnav__icons{display:flex;align-items:center;gap:10px}
.mnav__close{
  width: 42px;height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-size: 18px;
  cursor:pointer;
}

.mnav__list{
  border-top: 1px solid rgba(255,255,255,.10);
}

.mnav__item,
.mnav__link{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:transparent;
  border:0;
  color:#fff;
  font-size: 28px;     /* big like NTT */
  line-height: 1.15;
  font-weight: 950;
  padding: 18px 0;
  cursor:pointer;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.mnav__link{justify-content:flex-start}

.mnav__chev{opacity:.85;font-size:22px; transition: transform .18s ease}

.mnav__panel{
  display:none;
  padding: 10px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.mnav__panel a{
  display:block;
  color: rgba(255,255,255,.85);
  font-weight: 850;
  padding: 10px 0;
  font-size: 16px;
}
.mnav__panel a:hover{color:#fff}

.mnav__item.is-open + .mnav__panel{display:block}
.mnav__item.is-open .mnav__chev{transform: rotate(180deg)}

.mnav__cta{
  display:inline-flex;
  margin-top: 16px;
  background: var(--blue);
  color:#fff;
  font-weight: 950;
  border-radius: 999px;
  padding: 12px 16px;
}

.mnav__meta{
  margin-top: 22px;
  color: rgba(255,255,255,.80);
  font-weight: 800;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}

body.lock-scroll{overflow:hidden}

@media (min-width: 920px){
  .mnav{display:none}
}

/* =========================
   Blog / Post modern layout
========================= */

.post-wrap{
  max-width: 1200px;
}

.post-grid{
  display: grid;
  gap: 22px;
  align-items: start;
}

@media (min-width: 980px){
  .post-grid{
    grid-template-columns: minmax(0, 1fr) 340px; /* main + sidebar */
    gap: 26px;
  }
}

.post-card{
  border:1px solid var(--line);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  overflow:hidden;
}

.post-cover{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(10,23,48,.12);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

.post-cover img{
  width:100%;
  height:auto;
  display:block;
}

.post-body{
  padding: 18px;
}

@media (min-width: 980px){
  .post-body{ padding: 22px; }
}

/* Beautiful readable typography */
.prose{
  font-size: 17px;
  line-height: 1.75;
  color: #0b1426;
}

@media (min-width: 980px){
  .prose{ font-size: 18px; }
}

.prose p{ margin: 0 0 14px; color: rgba(8,18,37,.86); }
.prose strong{ color: rgba(8,18,37,.98); }
.prose a{ color: var(--blue); font-weight: 800; }
.prose a:hover{ text-decoration: underline; }

.prose h2{
  margin: 22px 0 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.prose h3{
  margin: 18px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.prose ul, .prose ol{
  margin: 10px 0 14px 18px;
  padding: 0;
}
.prose li{ margin: 6px 0; }

.prose blockquote{
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 5px solid rgba(11,76,255,.35);
  background: rgba(11,76,255,.06);
  border-radius: 12px;
  color: rgba(8,18,37,.86);
}

.prose code{
  background: rgba(10,23,48,.06);
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 800;
  font-size: .95em;
}

.prose pre{
  background: #071427;
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  overflow:auto;
}

/* Sidebar */
.sidebar{
  display: grid;
  gap: 14px;
}

@media (min-width: 980px){
  .sidebar{
    position: sticky;
    top: 110px; /* below sticky header */
    align-self: start;
  }
}

.side-card{
  border:1px solid var(--line);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
  overflow:hidden;
}

.side-card__body{
  padding: 14px;
}

.side-title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(8,18,37,.60);
  font-weight: 900;
}

.recent-list{
  display:grid;
  gap: 10px;
}

.recent-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(10,23,48,.10);
}
.recent-item:hover{
  border-color: rgba(11,76,255,.30);
  background: rgba(11,76,255,.04);
}

.recent-thumb{
  width: 78px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #0b1730;
}

.recent-meta{
  min-width:0;
}
.recent-meta strong{
  display:block;
  font-size: 14px;
  line-height: 1.25;
}
.recent-meta span{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(8,18,37,.55);
  font-weight: 800;
}

/* Post nav button row */
.post-actions{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================
   Blog listing (modern)
========================= */

.blog-hero{
  padding: 66px 0 34px;
}

.blog-grid{
  display:grid;
  gap:16px;
}

@media (min-width: 920px){
  .blog-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

.blog-card{
  border:1px solid var(--line);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  overflow:hidden;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.blog-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  border-color: rgba(11,76,255,.18);
}

.blog-thumb{
  aspect-ratio: 16/10;
  background:#0b1730;
  overflow:hidden;
}

.blog-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.blog-body{
  padding: 14px;
}

.blog-meta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  font-size: 12px;
  color: rgba(8,18,37,.60);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-pill{
  background: rgba(11,76,255,.10);
  color: rgba(11,76,255,.95);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: .05em;
}

.blog-title{
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 950;
  color: #071427;
}

.blog-excerpt{
  margin: 0 0 12px;
  color: rgba(8,18,37,.74);
  font-size: 15px;
  line-height: 1.65;
}

.blog-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 950;
  color: var(--blue);
}

.blog-link:hover{text-decoration: underline}

/* Pagination */
.pager{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 22px;
}

.pager a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(10,23,48,.12);
  background:#fff;
  color:#081225;
  font-weight: 900;
}

.pager a:hover{
  border-color: rgba(11,76,255,.30);
  background: rgba(11,76,255,.04);
}

.pager a.is-active{
  background: var(--blue);
  border-color: var(--blue);
  color:#fff;
}

/* =========================
   Homepage enhancements
========================= */

/* Trust row under hero */
.trust-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 16px;
}
.trust-pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-weight: 850;
  font-size: 13px;
}

/* Service quick cards */
.quick-services{
  margin-top: 18px;
  display:grid;
  gap: 12px;
}
@media (min-width: 920px){
  .quick-services{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}
.qs-card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 14px;
}
.qs-card strong{
  display:block;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.qs-card span{
  display:block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}
.qs-card a{
  display:inline-flex;
  margin-top: 10px;
  font-weight: 900;
  color: #fff;
  opacity: .92;
}
.qs-card a:hover{opacity:1;text-decoration:underline}

/* Section head row with "View all" */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.view-all{
  font-weight: 950;
  color: var(--blue);
}
.view-all:hover{text-decoration:underline}

/* Make long paragraphs more readable everywhere */
.readable p{ max-width: 70ch; }

/* =========================
   NTT-style homepage tiles
========================= */

.hero--clean .hero__actions{margin-top:18px}
.hero--clean .trust-row{margin-top:14px}

.feature-tiles{
  display:grid;
  gap:16px;
}
@media (min-width: 920px){
  .feature-tiles{
    grid-template-columns: 1fr 1fr;
    gap:18px;
  }
}

.feature-tile{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(10,23,48,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  background:#fff;
  display:grid;
  grid-template-columns: 140px 1fr;
  min-height: 150px;
}
.feature-tile__img{
  background:#0b1730;
}
.feature-tile__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.feature-tile__body{
  padding: 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.feature-tile__kicker{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:950;
  color: rgba(8,18,37,.55);
}
.feature-tile__title{
  margin:8px 0 8px;
  font-size:18px;
  line-height:1.25;
  font-weight:950;
  letter-spacing:-.015em;
}
.feature-tile__text{
  margin:0;
  color: rgba(8,18,37,.74);
  font-size:14px;
  line-height:1.55;
}
.feature-tile__link{
  margin-top:10px;
  display:inline-flex;
  font-weight:950;
  color: var(--blue);
}
.feature-tile__link:hover{text-decoration:underline}

/* =========================
   About page (modern)
========================= */

.about-split{
  display:grid;
  gap:18px;
  align-items:start;
}
@media (min-width: 920px){
  .about-split{
    grid-template-columns: 1.15fr .85fr;
    gap:22px;
  }
}

.kpi-row{
  display:grid;
  gap:12px;
}
@media (min-width: 920px){
  .kpi-row{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.kpi{
  border:1px solid var(--line);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  padding: 14px;
}
.kpi strong{
  display:block;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.kpi span{
  display:block;
  margin-top: 6px;
  color: rgba(8,18,37,.68);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.value-grid{
  display:grid;
  gap:14px;
}
@media (min-width: 920px){
  .value-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.value-card{
  border:1px solid var(--line);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  overflow:hidden;
}
.value-card__body{ padding: 14px; }
.value-card__title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing:-.015em;
}
.value-card__text{
  margin:0;
  color: rgba(8,18,37,.76);
  line-height: 1.65;
  font-size: 15px;
}

.profile-row{
  display:grid;
  gap:12px;
}
@media (min-width: 920px){
  .profile-row{ grid-template-columns: 1fr 1fr; }
}
.profile{
  border:1px solid var(--line);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  padding: 14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.profile img{
  width:64px;
  height:64px;
  border-radius: 16px;
  object-fit: cover;
  background:#0b1730;
}
.profile strong{
  display:block;
  font-weight: 950;
  letter-spacing:-.01em;
}
.profile span{
  display:block;
  margin-top: 6px;
  color: rgba(8,18,37,.70);
  line-height: 1.55;
  font-size: 14px;
}

/* =========================
   Contact page (modern)
========================= */

.form-card{
  border:1px solid var(--line);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  overflow:hidden;
}

.form-body{ padding: 16px; }
@media (min-width: 920px){ .form-body{ padding: 20px; } }

.form-grid{
  display:grid;
  gap: 12px;
}
@media (min-width: 920px){
  .form-grid{ grid-template-columns: 1fr 1fr; }
}

.field label{
  display:block;
  font-weight: 950;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.field input, .field select, .field textarea{
  width:100%;
  padding: 12px;
  border-radius: 12px;
  border:1px solid rgba(10,23,48,.18);
  background:#fff;
  outline: none;
}
.field textarea{ min-height: 140px; resize: vertical; }

.help{
  margin-top: 6px;
  color: rgba(8,18,37,.60);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.5;
}

.notice{
  border:1px solid rgba(10,23,48,.12);
  border-radius: 16px;
  padding: 12px;
  background:#fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}
.notice--ok{ border-left: 6px solid #1aa34a; }
.notice--bad{ border-left: 6px solid #d63434; }

.checkline{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-top: 10px;
}
.checkline input{ margin-top: 3px; }

.side-stack{
  display:grid;
  gap: 14px;
}

/* =========================
   Insights hub (NTT-like list)
========================= */

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 14px;
}
.filter{
  border:1px solid rgba(10,23,48,.12);
  border-radius: 999px;
  padding: 10px 12px;
  background:#fff;
  font-weight: 900;
  color:#081225;
}
.filter select{
  border:0;
  outline:none;
  font: inherit;
  font-weight: 900;
  background: transparent;
}
.filter a{
  color: var(--blue);
  font-weight: 950;
}
.filter a:hover{text-decoration:underline}

.insights-list{
  display:grid;
  gap: 12px;
}

.insight-row{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  border: 1px solid rgba(10,23,48,.12);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  overflow:hidden;
}

@media (max-width: 720px){
  .insight-row{
    grid-template-columns: 1fr;
  }
}

.insight-thumb{
  background:#0b1730;
  aspect-ratio: 16/10;
  overflow:hidden;
}
.insight-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.insight-body{
  padding: 14px;
}

.insight-kickers{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(8,18,37,.60);
}
.kchip{
  padding: 4px 10px;
  border-radius: 999px;
  border:1px solid rgba(10,23,48,.12);
  background: rgba(11,76,255,.05);
  color: rgba(11,76,255,.95);
}
.tchip{
  padding: 4px 10px;
  border-radius: 999px;
  border:1px solid rgba(10,23,48,.12);
  background: rgba(26,163,74,.06);
  color: rgba(26,163,74,.95);
}

.insight-title{
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 950;
}
.insight-excerpt{
  margin: 0 0 10px;
  color: rgba(8,18,37,.74);
  line-height: 1.65;
  font-size: 15px;
}

.insight-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* =========================
   Insights page (NTT-like filters)
========================= */

.filters-panel{
  background:#fff;
  border-bottom:1px solid rgba(10,23,48,.12);
  padding: 18px 0;
}

.filters-grid{
  display:grid;
  gap:14px;
  align-items:end;
}
@media (min-width: 920px){
  .filters-grid{
    grid-template-columns: 1fr 1fr 1fr auto;
    gap:18px;
  }
}

.fgroup label{
  display:block;
  font-weight:950;
  margin:0 0 8px;
  color:#081225;
}
.fselect{
  width:100%;
  padding: 12px 14px;
  border-radius: 10px;
  border:1px solid rgba(10,23,48,.18);
  background:#fff;
  font-weight:800;
}
.freset{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 0;
  font-weight:950;
  color: var(--blue);
  text-decoration:none;
  border-bottom:2px solid var(--blue);
  width: 140px;
}
@media (max-width: 919px){
  .freset{ width:auto; padding: 8px 0; }
}

.tags-accordion{
  margin-top: 14px;
  border:1px solid rgba(10,23,48,.12);
  border-radius: 14px;
  overflow:hidden;
  background:#fff;
}
.tags-accordion summary{
  cursor:pointer;
  padding: 14px;
  font-weight:950;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.tags-accordion summary::-webkit-details-marker{display:none;}
.tags-accordion .tags-body{
  padding: 14px;
  border-top:1px solid rgba(10,23,48,.12);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.taglink{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius:999px;
  border:1px solid rgba(10,23,48,.12);
  background: rgba(11,76,255,.05);
  color:#0b4cff;
  font-weight:900;
  text-decoration:none;
}
.taglink:hover{ text-decoration:underline; }

.insight-row-ntt{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 14px;
  border:1px solid rgba(10,23,48,.12);
  border-radius: 16px;
  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
@media (max-width: 820px){
  .insight-row-ntt{ grid-template-columns: 1fr; }
}

.insight-row-ntt .thumb{
  border-radius: 14px;
  overflow:hidden;
  background:#0b1730;
  aspect-ratio: 16/10;
}
.insight-row-ntt .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.insight-row-ntt .meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-weight:950;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: rgba(8,18,37,.60);
}
.meta .chip{
  padding: 4px 10px;
  border-radius: 999px;
  border:1px solid rgba(10,23,48,.12);
  background:#fff;
}
.meta .chip.type{ background:rgba(11,76,255,.06); border-color:rgba(11,76,255,.18); color:#0b4cff; }
.meta .chip.topic{ background:rgba(26,163,74,.06); border-color:rgba(26,163,74,.20); color:#1a7e3c; }
.meta .chip.featured{ background:rgba(255,193,7,.18); border-color:rgba(255,193,7,.35); color:#7a5a00; }

.insight-row-ntt h2{
  margin: 10px 0 10px;
  font-size: 22px;
  line-height:1.2;
  letter-spacing:-0.02em;
  font-weight: 950;
}
.insight-row-ntt p{
  margin:0 0 10px;
  color: rgba(8,18,37,.74);
  line-height:1.65;
  font-size: 15px;
}
.insight-row-ntt .actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

/* =========================
   Insights filters visibility boost
   (paste at END of styles.css)
========================= */

/* the whole filter strip gets a light tint + subtle inset */
.filters-panel{
  background: #f6f8fb; /* light grey tint */
  border-bottom: 1px solid rgba(10,23,48,.12);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.6);
}

/* create a “container card” feel like NTT */
.filters-panel .wrap{
  padding-top: 10px;
  padding-bottom: 10px;
}

/* stronger label contrast */
.fgroup label{
  color:#081225;
  font-weight: 950;
}

/* make selects look like actual controls (not disappearing) */
.fselect{
  background: #ffffff;
  border: 1px solid rgba(10,23,48,.22);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

/* on focus: crisp and modern */
.fselect:focus{
  outline: none;
  border-color: rgba(11,76,255,.55);
  box-shadow: 0 10px 24px rgba(11,76,255,.10);
}

/* disabled still visible */
.fselect:disabled{
  background: #f1f3f7;
  color: rgba(8,18,37,.55);
  border-color: rgba(10,23,48,.16);
  box-shadow: none;
}

/* reset link: slightly more presence */
.freset{
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  opacity: .95;
}
.freset:hover{ opacity: 1; }

/* tags accordion looks like a proper control */
.tags-accordion{
  border: 1px solid rgba(10,23,48,.18);
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
  background:#fff;
}
.tags-accordion summary{
  background: #ffffff;
}

/* Services landing (NTT-inspired) */
  .svc-hero{
    position:relative;
    padding:86px 0 54px;
    overflow:hidden;
    background:
      radial-gradient(1200px 600px at 70% 20%, rgba(31,190,255,.18), transparent 55%),
      radial-gradient(900px 500px at 30% 30%, rgba(11,76,255,.18), transparent 60%),
      linear-gradient(135deg, #071a33, #061427 55%, #051122);
    color:#fff;
  }
  .svc-hero:before{
    content:"";
    position:absolute; inset:0;
    background:url('/assets/img/services-hero.webp') center/cover no-repeat;
    opacity:.18; /* swap image later; keeps NTT-like photo feel */
    pointer-events:none;
  }
  .svc-hero .wrap{ position:relative; }
  .svc-kicker{
    font-weight:950; letter-spacing:.08em; text-transform:uppercase;
    font-size:12px; color:rgba(255,255,255,.78); margin-bottom:10px;
  }
  .svc-hero h1{ margin:0; max-width:22ch; }
  .svc-hero p{ max-width:78ch; color:rgba(255,255,255,.82); margin-top:10px; }

  .svc-band{
    background:#06152a;
    color:#fff;
    padding:48px 0;
  }
  .svc-band h2{
    margin:0;
    font-size:34px;
    line-height:1.15;
    letter-spacing:-.02em;
    max-width:34ch;
  }
  .svc-band p{
    margin:12px 0 0;
    max-width:92ch;
    color:rgba(255,255,255,.78);
  }

  .svc-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
    margin-top:26px;
  }
  @media (max-width: 980px){
    .svc-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px){
    .svc-grid{ grid-template-columns:1fr; }
    .svc-band h2{ font-size:28px; }
  }

  .svc-card{
    position:relative;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(10,23,48,.12);
    background:#0a1630;
    min-height:240px;
  }
  .svc-card a{ color:inherit; text-decoration:none; display:block; height:100%; }
  .svc-card img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    filter:saturate(1.05);
    opacity:.85;
    transform:scale(1.02);
  }
  .svc-card:after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(6,16,35,.20), rgba(4,10,22,.88) 70%);
  }
  .svc-card-inner{
    position:relative;
    z-index:2;
    height:100%;
    padding:18px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    gap:10px;
  }
  .svc-tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:950;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:rgba(255,255,255,.82);
  }
  .svc-title{
    margin:0;
    font-size:20px;
    font-weight:950;
    color:rgba(255,255,255,.82);
    letter-spacing:-.01em;
  }
  .svc-desc{
    margin:0;
    color:rgba(255,255,255,.78);
    font-size:14px;
    line-height:1.55;
    max-width:60ch;
  }
  .svc-arrow{
    margin-top:4px;
    font-weight:950;
    color:#ffd34d; /* aligns with your existing gold CTA feel */
  }

  .svc-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
  }
  .svc-actions .btn{
    text-decoration:none;
  }

  .svc-cta{
    margin-top:32px;
  }

/* =========================
   Service detail pages
========================= */
.svc-hero--detail { padding: 64px 0 38px; }

.svc-detail { padding-top: 10px; }
.svc-detail__grid{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px){
  .svc-detail__grid{ grid-template-columns:1fr; }
}

.svc-block{ margin: 0 0 22px; }
.svc-h2{
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 900;
}
.svc-p{ margin: 0; color: rgba(10,23,48,.78); line-height: 1.7; }

.svc-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(10,23,48,.78);
  line-height: 1.75;
}

.svc-cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 760px){
  .svc-cards{ grid-template-columns:1fr; }
}
.svc-card{
  background:#fff;
  border: 1px solid rgba(10,23,48,.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(10,23,48,.06);
}
.svc-card__title{ font-weight: 900; margin-bottom: 6px; }
.svc-card__text{ color: rgba(10,23,48,.72); line-height: 1.6; }

.svc-steps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 900px){
  .svc-steps{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.svc-step{
  background: rgba(11,76,255,.06);
  border: 1px solid rgba(11,76,255,.14);
  color: rgba(10,23,48,.85);
  border-radius: 16px;
  padding: 12px;
  font-weight: 800;
  display:flex;
  gap:10px;
  align-items:center;
}
.svc-step span{
  display:inline-grid;
  place-items:center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(11,76,255,.14);
  border: 1px solid rgba(11,76,255,.22);
  font-weight: 900;
}

.svc-panel{
  background:#fff;
  border: 1px solid rgba(10,23,48,.10);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(10,23,48,.06);
  margin-bottom: 14px;
}
.svc-panel__img img{ width:100%; height: 220px; object-fit: cover; display:block; }
.svc-panel__body{ padding: 14px; }
.svc-panel__title{ font-weight: 950; margin-bottom: 10px; }

.svc-mini{
  margin: 0;
  padding-left: 18px;
  color: rgba(10,23,48,.76);
  line-height: 1.7;
}

.svc-next{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(10,23,48,.10);
}
.svc-next__label{ font-weight: 950; margin-bottom: 10px; }
.svc-next__links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.svc-next__links a{
  text-decoration:none;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(10,23,48,.04);
  border: 1px solid rgba(10,23,48,.10);
  color: rgba(10,23,48,.88);
}
.svc-next__links a:hover{
  background: rgba(11,76,255,.08);
  border-color: rgba(11,76,255,.22);
  color: #0b4cff;
}

/* =========================
   Premium 3D + tint cards (Option A)
========================= */

/* grid stays the same */
.svc-cards--deliver{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 760px){
  .svc-cards--deliver{ grid-template-columns: 1fr; }
}

/* WOW card */
.svc-card2{
  position: relative;
  overflow: hidden;

  border-radius: 22px;
  padding: 16px 16px 14px;

  /* subtle tint */
  background:
    radial-gradient(1100px 400px at 0% 0%, rgba(11,76,255,.10), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(0,190,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));

  border: 1px solid rgba(10,23,48,.10);

  /* 3D depth (two-layer shadow) */
  box-shadow:
    0 18px 40px rgba(10,23,48,.10),
    0 2px 0 rgba(255,255,255,.60) inset;

  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* top accent line (brand blue) */
.svc-card2::before{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,76,255,.65), rgba(0,190,255,.35));
  opacity: .55;
}

/* moving sheen highlight */
.svc-card2::after{
  content:"";
  position:absolute;
  inset:-60px -120px auto -120px;
  height: 160px;
  transform: rotate(-12deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.55),
    transparent
  );
  opacity: .0;
  transition: opacity .18s ease, transform .45s ease;
  pointer-events:none;
}

/* hover = lift + glow */
.svc-card2:hover{
  transform: translateY(-4px);
  border-color: rgba(11,76,255,.28);
  box-shadow:
    0 22px 54px rgba(10,23,48,.14),
    0 2px 0 rgba(255,255,255,.62) inset;
}

.svc-card2:hover::after{
  opacity: .8;
  transform: translateX(120px) rotate(-12deg);
}

/* top row */
.svc-card2__top{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 12px;
}

/* icon badge — now with depth */
.svc-ico{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  flex: 0 0 auto;

  background: linear-gradient(180deg, rgba(11,76,255,.12), rgba(11,76,255,.06));
  border: 1px solid rgba(11,76,255,.18);
  box-shadow:
    0 10px 22px rgba(10,23,48,.10),
    0 1px 0 rgba(255,255,255,.75) inset;

  font-size: 18px;
  line-height: 1;
}

/* typography polish */
.svc-card2__title{
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 0;
  font-size: 16px;
  color: rgba(10,23,48,.92);
}

.svc-card2__sub{
  margin-top: 4px;
  color: rgba(10,23,48,.66);
  line-height: 1.5;
  font-size: 13.5px;
  font-weight: 700;
}

/* list with nicer bullets */
.svc-card2__list{
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: rgba(10,23,48,.78);
  line-height: 1.65;
  font-size: 14px;
}

.svc-card2__list li{
  position: relative;
  padding-left: 18px;
  margin: 7px 0;
}

.svc-card2__list li::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  position:absolute;
  left: 0;
  top: .55em;
  background: linear-gradient(180deg, rgba(11,76,255,.60), rgba(0,190,255,.35));
  box-shadow: 0 6px 14px rgba(11,76,255,.12);
}

/* =========================
   Desktop dropdown behaviour
   - Opens on hover
   - Stays open while hovering dropdown area
========================= */

.nav__menu--desktop .dd{
  position: relative;
}

.nav__menu--desktop .dd__btn{
  cursor: pointer;
}

/* Hidden by default */
.nav__menu--desktop .dd__panel{
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 999;
  min-width: 320px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

/* Show on hover OR keyboard focus within */
.nav__menu--desktop .dd:hover .dd__panel,
.nav__menu--desktop .dd:focus-within .dd__panel{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Optional: add a small "hover bridge" so it doesn't collapse when moving cursor down */
.nav__menu--desktop .dd__panel::before{
  content:"";
  position:absolute;
  top:-12px;
  left:0;
  right:0;
  height:12px;
}

/* If your panel needs its own surface styling */
.nav__menu--desktop .dd__panel{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(10,23,48,.12);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  padding: 14px;
}

/* Ensure dropdown links feel clickable and consistent */
.nav__menu--desktop .dd__panel a{
  display:block;
  padding:10px 12px;
  border-radius: 12px;
  font-weight: 800;
  color: #081225;
  text-decoration: none;
}

.nav__menu--desktop .dd__panel a:hover{
  background: rgba(2,51,78,.08);
}


/* =========================
   Privacy / Legal hub (modern)
   Append to END of styles.css
========================= */

.legal-hero{ padding: 72px 0 42px; }
.legal-kicker{
  font-weight:950; letter-spacing:.08em; text-transform:uppercase;
  font-size:12px; color:rgba(255,255,255,.78); margin-bottom:10px;
}

.legal-page{ padding-top: 18px; }
.legal-grid{
  display:grid;
  gap: 22px;
  align-items:start;
}
@media (min-width: 980px){
  .legal-grid{ grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; }
}

.legal-cards{ margin-top: -6px; }
.legal-card__icon{
  width: 42px; height: 42px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(11,76,255,.08);
  border: 1px solid rgba(11,76,255,.16);
  font-size: 18px;
  margin-bottom: 10px;
}
.legal-card__title{
  font-weight:950;
  letter-spacing:-.01em;
  margin-bottom: 6px;
}

.legal-toc{
  padding: 16px;
  border-radius: 18px;
}
.legal-toc__head{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.legal-toc__grid{
  display:grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){
  .legal-toc__grid{ grid-template-columns: 1fr 1fr; }
}
.legal-toc__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(10,23,48,.10);
  background: #fff;
  font-weight: 900;
}
.legal-toc__item:hover{
  border-color: rgba(11,76,255,.28);
  background: rgba(11,76,255,.04);
}

.legal-section{
  padding: 18px;
  margin-top: 16px;
}
.legal-section h2{
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 950;
}
.legal-section p{ margin: 0 0 12px; }

.legal-list{
  margin: 10px 0 0 18px;
  color: rgba(8,18,37,.78);
  line-height: 1.75;
}
.legal-list li{ margin: 7px 0; }

.legal-mini{
  border: 1px solid rgba(10,23,48,.10);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.04);
  padding: 14px;
}
.legal-mini__title{
  font-weight: 950;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.legal-mini ul{
  margin: 0;
  padding-left: 18px;
  line-height: 1.75;
  color: rgba(8,18,37,.78);
}

.legal-callout{
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(11,76,255,.18);
  background: rgba(11,76,255,.06);
  color: rgba(8,18,37,.86);
  font-weight: 800;
}
.legal-callout a{ color: var(--blue); font-weight: 950; }

.legal-steps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 900px){
  .legal-steps{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 540px){
  .legal-steps{ grid-template-columns: 1fr; }
}
.legal-step{
  background: #fff;
  border: 1px solid rgba(10,23,48,.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.04);
}
.legal-step span{
  display:inline-grid;
  place-items:center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(11,76,255,.12);
  border: 1px solid rgba(11,76,255,.18);
  font-weight: 950;
  margin-bottom: 10px;
}

.legal-side{ display:grid; gap: 14px; }
@media (min-width: 980px){
  .legal-side{
    position: sticky;
    top: 110px; /* below sticky header */
    align-self: start;
  }
}

.legal-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
  border-top: 1px solid rgba(10,23,48,.10);
  margin-top: 14px;
  padding-top: 14px;
}
