/*
 * Scoped styles for the "revamp" design (header, footer, contact modal, home page).
 * Everything is namespaced under .fv-shell so it never leaks into the
 * Bootstrap-based markup used by the rest of the site.
 */

:root{
  --fv-ink:#0B2540;
  --fv-ink-soft:#4A5A6B;
  --fv-paper:#F7F9FB;
  --fv-paper-line:#E3E9EF;
  --fv-card:#FFFFFF;
  --fv-accent:#07689F;
  --fv-accent-dark:#054E79;
  --fv-accent-soft:#E1EEF6;
  --fv-slate:#2E4257;
  --fv-slate-soft:#EAEFF3;
  --fv-rule:#D7E0E8;
  --fv-serif:'Fraunces', serif;
  --fv-sans:'Inter', -apple-system, sans-serif;
  --fv-mono:'IBM Plex Mono', monospace;
}

.fv-shell{
  background:var(--fv-paper);
  color:var(--fv-ink);
  font-family:var(--fv-sans);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
.fv-shell a{color:inherit; text-decoration:none;}
.fv-shell img{max-width:100%; display:block;}
.fv-shell ul{list-style:none; margin:0; padding:0;}
.fv-shell .wrap{max-width:1120px; margin:0 auto; padding:0 32px;}

/* ===== Header wrapper =====
 * The header markup is wrapped in `.fv-shell` purely for style scoping.
 * `display:contents` removes that wrapper's box so `position:sticky` on the
 * header resolves against the viewport instead of the (very short) wrapper. */
.fv-shell--header{display:contents;}

/* ===== Corporate strip ===== */
.fv-shell .corp-strip{padding:14px 0; border-bottom:1px solid var(--fv-rule); background:var(--fv-paper);}
.fv-shell .corp-strip .wrap{display:flex; align-items:center;}
.fv-shell .corp-logo{height:26px; width:auto;}

/* ===== Header ===== */
.fv-shell header.fv-header{
  border-bottom:1px solid var(--fv-rule);
  padding:20px 0;
  position:-webkit-sticky;
  position:sticky;
  top:0;
  background:rgba(247,249,251,0.94);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  z-index:50;
}
.fv-shell header.fv-header .wrap{display:flex; align-items:center; justify-content:space-between;}
.fv-shell .fv-header .logo{font-family:var(--fv-sans); font-size:18px; font-weight:700; letter-spacing:-0.01em;}
.fv-shell .main-nav{display:flex; gap:34px; align-items:center;}
.fv-shell .main-nav a:not(.nav-contact){margin-right:0; font-size:14px; color:var(--fv-ink-soft); font-weight:500; transition:color 0.15s;}
.fv-shell .main-nav a:not(.nav-contact):hover{color:var(--fv-ink);}
.fv-shell .nav-contact{background:var(--fv-accent); color:#fff; padding:9px 20px; border-radius:4px; font-size:13px; font-weight:600; transition:background 0.15s;}
.fv-shell .nav-contact:hover{background:var(--fv-accent-dark);}
/* Product pages use an outlined "Talk to sales" button */
.fv-shell .fv-header--product .nav-contact{background:transparent; color:var(--fv-ink); border:1px solid var(--fv-ink); border-radius:2px; padding:8px 18px; font-weight:500; transition:background 0.15s, color 0.15s;}
.fv-shell .fv-header--product .nav-contact:hover{background:var(--fv-ink); color:#fff;}
.fv-shell .fv-mobile-toggle{display:none; background:none; border:none; color:var(--fv-ink);}

/* ===== Hero ===== */
.fv-shell .hero{padding:88px 0 76px; border-bottom:1px solid var(--fv-rule);}
.fv-shell .eyebrow{
  font-family:var(--fv-mono); font-size:12px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--fv-accent); margin-bottom:24px; display:flex; align-items:center; gap:10px; font-weight:500;
}
.fv-shell .eyebrow::before{content:''; width:6px; height:6px; background:var(--fv-accent); border-radius:50%; display:inline-block;}
.fv-shell h1{
  font-family:var(--fv-serif); font-size:54px; font-weight:600; line-height:1.1;
  letter-spacing:-0.015em; max-width:760px; margin-bottom:28px; font-optical-sizing:auto;
}
.fv-shell h1 span{color:var(--fv-accent);}
.fv-shell .hero-sub{font-size:18px; color:var(--fv-ink-soft); max-width:600px; line-height:1.65; margin:0;}

/* ===== Section shared ===== */
.fv-shell section{padding:80px 0; border-bottom:1px solid var(--fv-rule);}
.fv-shell .section-head{max-width:600px; margin-bottom:48px;}
.fv-shell .section-head h2{font-family:var(--fv-serif); font-size:32px; font-weight:600; margin-bottom:14px; letter-spacing:-0.01em; font-optical-sizing:auto;}
.fv-shell .section-head p{color:var(--fv-ink-soft); font-size:15.5px; line-height:1.6; margin:0;}

/* ===== Product router ===== */
.fv-shell .products{padding:0 0 88px; border-bottom:1px solid var(--fv-rule);}
.fv-shell .products-head{padding:60px 0 36px;}
.fv-shell .products-head .eyebrow{margin-bottom:16px;}
.fv-shell .products-head h2{font-family:var(--fv-serif); font-size:30px; font-weight:600; max-width:560px; letter-spacing:-0.01em; margin:0;}
.fv-shell .products-head p{color:var(--fv-ink-soft); font-size:15.5px; margin-top:12px; max-width:520px;}

.fv-shell .product-grid{display:grid; grid-template-columns:repeat(2, 1fr); gap:18px;}
.fv-shell .product-card{
  background:var(--fv-card); padding:32px; position:relative; border:1px solid var(--fv-rule);
  border-radius:6px; transition:border-color 0.2s, box-shadow 0.2s;
}
.fv-shell .product-card:hover{border-color:var(--fv-accent); box-shadow:0 4px 16px rgba(11,37,64,0.08);}
.fv-shell .product-row{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:18px;}
.fv-shell .dev-tag{
  font-family:var(--fv-mono); font-size:10px; letter-spacing:0.03em; color:#8A5A0F; background:#FDF2E0;
  border:1px solid #F0DBA8; padding:3px 9px; border-radius:12px; font-weight:600;
}
.fv-shell .product-id{font-family:var(--fv-mono); font-size:12.5px; color:var(--fv-accent); font-weight:600; letter-spacing:0.02em;}
.fv-shell .product-name{font-family:var(--fv-serif); font-size:23px; font-weight:600; margin-bottom:10px; letter-spacing:-0.01em;}
.fv-shell .product-buyer{font-size:13px; color:var(--fv-slate); margin-bottom:14px; font-weight:600;}
.fv-shell .product-desc{font-size:14.5px; color:var(--fv-ink-soft); line-height:1.65; margin-bottom:20px;}
.fv-shell .product-link{font-size:13.5px; font-weight:600; display:inline-flex; align-items:center; gap:6px; color:var(--fv-accent);}
.fv-shell .product-link .arrow{transition:transform 0.15s;}
.fv-shell .product-card:hover .arrow{transform:translateX(3px);}

/* ===== Credibility bridge ===== */
.fv-shell .credibility{padding:56px 0; border-bottom:1px solid var(--fv-rule);}
.fv-shell .cred-row{display:flex; align-items:center; gap:40px; flex-wrap:wrap;}
.fv-shell .cred-lead{font-family:var(--fv-serif); font-size:19px; font-weight:600; color:var(--fv-ink); max-width:340px; line-height:1.4; letter-spacing:-0.005em;}
.fv-shell .cred-points{display:flex; gap:36px; flex-wrap:wrap; flex:1;}
.fv-shell .cred-point{max-width:230px; flex:1 1 210px;}
.fv-shell .cred-point .cred-num{font-family:var(--fv-mono); font-size:11px; color:var(--fv-accent); font-weight:600; display:block; margin-bottom:6px;}
.fv-shell .cred-point p{font-size:13px; color:var(--fv-ink-soft); line-height:1.55; margin:0;}

/* ===== About Us ===== */
.fv-shell .about{background:var(--fv-ink); color:#fff;}
.fv-shell .about .eyebrow{color:#6FB6E0;}
.fv-shell .about-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:start;}
.fv-shell .about-lead{font-family:var(--fv-serif); font-size:28px; font-weight:600; line-height:1.4; letter-spacing:-0.005em; font-optical-sizing:auto;}
.fv-shell .about-lead span{color:#6FB6E0;}
.fv-shell .about-body p{font-size:15.5px; color:#B9C6D4; line-height:1.75; margin-bottom:22px;}
.fv-shell .about-body p:last-child{margin-bottom:0;}
.fv-shell .about-signoff{
  margin-top:32px; padding-top:24px; border-top:1px solid rgba(255,255,255,0.14);
  font-family:var(--fv-mono); font-size:12.5px; color:#8298AC; letter-spacing:0.02em;
}

/* ===== Governance + News strip ===== */
.fv-shell .gov-news{background:var(--fv-slate-soft);}
.fv-shell .gn-cols{display:grid; grid-template-columns:1.3fr 1fr; gap:0; border:1px solid var(--fv-rule); border-radius:6px; overflow:hidden; background:var(--fv-card);}
.fv-shell .gn-col{padding:44px 40px;}
.fv-shell .gn-col.governance{border-right:1px solid var(--fv-rule);}
.fv-shell .gn-col h2{font-family:var(--fv-serif); font-size:26px; font-weight:600; line-height:1.3; letter-spacing:-0.01em; margin-bottom:14px;}
.fv-shell .gn-col h2 span{color:var(--fv-accent);}
.fv-shell .gn-col > p{font-size:14px; color:var(--fv-ink-soft); line-height:1.6; margin-bottom:24px;}
.fv-shell .gov-list li{padding:14px 0; border-top:1px solid var(--fv-paper-line); display:grid; grid-template-columns:24px 1fr; gap:10px;}
.fv-shell .gov-num{font-family:var(--fv-mono); font-size:11px; color:var(--fv-accent); padding-top:2px;}
.fv-shell .gov-list strong{display:block; font-size:13.5px; font-weight:600; margin-bottom:3px;}
.fv-shell .gov-list span{font-size:12.5px; color:var(--fv-ink-soft); line-height:1.5;}
.fv-shell .gov-link{display:inline-block; margin-top:20px; font-size:13px; font-weight:600; color:var(--fv-accent); border-bottom:1px solid var(--fv-accent); padding-bottom:2px;}

.fv-shell .news-item{padding:16px 0; border-top:1px solid var(--fv-paper-line);}
.fv-shell .news-item:first-child{border-top:none;}
.fv-shell .news-date{font-family:var(--fv-mono); font-size:11px; color:var(--fv-ink-soft); margin-bottom:6px; display:block;}
.fv-shell .news-title{font-size:14px; font-weight:600; line-height:1.45; color:var(--fv-ink);}
.fv-shell .news-title:hover{color:var(--fv-accent);}
.fv-shell .news-empty{font-size:13px; color:var(--fv-ink-soft);}
.fv-shell .news-link{display:inline-block; margin-top:20px; font-size:13px; font-weight:600; color:var(--fv-accent); border-bottom:1px solid var(--fv-accent); padding-bottom:2px;}

/* ===== Footer ===== */
.fv-shell.fv-footer{padding:56px 0 40px;}
.fv-shell .footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:36px; border-bottom:1px solid var(--fv-rule);}
.fv-shell .footer-brand .logo{margin-bottom:14px; font-family:var(--fv-sans); font-size:18px; font-weight:700; letter-spacing:-0.01em;}
.fv-shell .footer-brand p{font-size:13px; color:var(--fv-ink-soft); max-width:260px; line-height:1.7;}
.fv-shell .footer-brand .addr{margin-bottom:14px;}
.fv-shell .footer-brand .contact-line{display:flex; align-items:center; gap:6px; margin-bottom:6px; font-size:13px; color:var(--fv-ink-soft);}
.fv-shell .footer-brand .contact-line a{color:var(--fv-ink-soft);}
.fv-shell .footer-brand .contact-line a:hover{color:var(--fv-accent);}
.fv-shell .footer-brand .contact-line svg{width:14px; height:14px; flex-shrink:0;}
.fv-shell .member-badge{margin-top:18px; display:flex; align-items:center; gap:10px;}
.fv-shell .member-badge img{height:48px; width:auto;}
.fv-shell .member-label{font-family:var(--fv-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:var(--fv-ink-soft); margin-bottom:8px;}
.fv-shell .footer-col h4{font-family:var(--fv-mono); font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--fv-ink-soft); margin-bottom:16px;}
.fv-shell .footer-col li{margin-bottom:10px;}
.fv-shell .footer-col a{font-size:13.5px; color:var(--fv-ink); transition:color 0.15s;}
.fv-shell .footer-col a:hover{color:var(--fv-accent);}
.fv-shell .footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:12px; color:var(--fv-ink-soft); flex-wrap:wrap; gap:8px;}

/* ===== Governance document page ===== */
.fv-shell .crumb{
  padding:20px 0 0; font-family:var(--fv-mono); font-size:12px; color:var(--fv-ink-soft);
}
.fv-shell .crumb a{color:var(--fv-ink-soft);}
.fv-shell .crumb a:hover{color:var(--fv-accent);}
.fv-shell .crumb span{color:var(--fv-rule); margin:0 8px;}

.fv-shell .gov-main{max-width:880px; margin:0 auto; padding:48px 32px 88px;}
.fv-shell .gov-main .doc-eyebrow{
  font-family:var(--fv-mono); font-size:12px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--fv-accent); margin-bottom:16px; font-weight:600;
}
.fv-shell .gov-main h1{
  font-family:var(--fv-serif); font-size:36px; font-weight:600; margin-bottom:10px;
  letter-spacing:-0.01em; font-optical-sizing:auto; line-height:1.15;
}
.fv-shell .gov-main .doc-meta{font-family:var(--fv-mono); font-size:12px; color:var(--fv-ink-soft); margin-bottom:8px;}
.fv-shell .gov-main .intro{font-size:16px; color:var(--fv-ink-soft); line-height:1.75; margin:24px 0 8px; max-width:720px;}

.fv-shell .scope-box{
  background:var(--fv-accent-soft); border:1px solid #C3DCEC; border-radius:6px; padding:20px 24px;
  margin:28px 0 40px; font-size:13.5px; color:var(--fv-ink); line-height:1.65;
}
.fv-shell .scope-box strong{font-weight:600;}

.fv-shell .pillar{margin-bottom:32px; padding-bottom:32px; border-bottom:1px solid var(--fv-rule);}
.fv-shell .pillar:last-of-type{border-bottom:none;}
.fv-shell .pillar-head{display:flex; align-items:baseline; gap:12px; margin-bottom:12px;}
.fv-shell .pillar-num{font-family:var(--fv-mono); font-size:12px; color:var(--fv-accent); font-weight:700;}
.fv-shell .pillar h2{font-family:var(--fv-serif); font-size:21px; font-weight:600; letter-spacing:-0.005em;}
.fv-shell .pillar-body{margin-left:34px;}
.fv-shell .pillar-body p{font-size:14.5px; color:var(--fv-ink-soft); line-height:1.75;}

.fv-shell .disclaimer{
  margin-top:32px; font-size:12.5px; color:var(--fv-ink-soft); line-height:1.65;
  padding-top:20px; border-top:1px solid var(--fv-rule);
}
.fv-shell .disclaimer a{color:var(--fv-accent);}

/* ===== Contact modal (Bootstrap modal, restyled) ===== */
.fv-shell .modal-content{border:none; border-radius:8px; overflow:hidden; background:transparent;}
.fv-shell .modal-box{
  background:#fff; border-radius:8px; overflow:hidden; overflow-y:auto; max-height:90vh;
  display:grid; grid-template-columns:0.9fr 1.1fr; position:relative;
}
.fv-shell .modal-side{background:var(--fv-ink); color:#fff; padding:40px 36px;}
.fv-shell .modal-side h3{font-family:var(--fv-serif); font-size:24px; font-weight:600; margin-bottom:18px; line-height:1.3;}
.fv-shell .modal-side p{font-size:13.5px; color:#B9C6D4; line-height:1.6; margin-bottom:22px;}
.fv-shell .modal-bullets li{
  font-size:13px; color:#D5DEE6; padding:10px 0 10px 20px; position:relative;
  border-top:1px solid rgba(255,255,255,0.12);
}
.fv-shell .modal-bullets li:first-child{border-top:none;}
.fv-shell .modal-bullets li::before{content:'✓'; position:absolute; left:0; color:#6FB6E0; font-weight:700;}
.fv-shell .modal-form{padding:40px 36px;}
.fv-shell .fv-modal-close{
  position:absolute; top:18px; right:18px; width:32px; height:32px; border-radius:50%;
  background:var(--fv-paper); border:none; cursor:pointer; font-size:16px; color:var(--fv-ink-soft);
  display:flex; align-items:center; justify-content:center; z-index:2;
}
.fv-shell .fv-modal-close:hover{background:var(--fv-rule);}
.fv-shell .form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px;}
.fv-shell .form-field{display:flex; flex-direction:column; gap:6px;}
.fv-shell .form-field.full{grid-column:1 / -1;}
.fv-shell .form-field label{font-size:12.5px; font-weight:600; color:var(--fv-ink);}
.fv-shell .form-field input, .fv-shell .form-field select, .fv-shell .form-field textarea{
  border:1px solid var(--fv-rule); border-radius:4px; padding:10px 12px; font-size:13.5px;
  font-family:var(--fv-sans); color:var(--fv-ink); background:var(--fv-paper);
}
.fv-shell .form-field textarea{resize:vertical; min-height:80px;}
.fv-shell .field-error{font-size:11.5px; color:#B3261E;}
.fv-shell .form-submit{
  width:100%; background:var(--fv-accent); color:#fff; font-size:14px; font-weight:600;
  padding:13px 0; border:none; border-radius:4px; cursor:pointer; margin-top:6px; transition:background 0.15s;
}
.fv-shell .form-submit:hover{background:var(--fv-accent-dark);}
.fv-shell .form-legal{font-size:11px; color:var(--fv-ink-soft); margin-top:14px; line-height:1.5;}
.fv-shell .form-legal a{color:var(--fv-accent);}

@media (max-width:860px){
  .fv-shell h1{font-size:36px;}
  .fv-shell .product-grid{grid-template-columns:1fr;}
  .fv-shell .about-grid{grid-template-columns:1fr; gap:32px;}
  .fv-shell .gn-cols{grid-template-columns:1fr;}
  .fv-shell .gn-col.governance{border-right:none; border-bottom:1px solid var(--fv-rule);}
  .fv-shell .footer-grid{grid-template-columns:1fr 1fr; gap:32px;}
  .fv-shell .main-nav{display:none;}
  .fv-shell .fv-mobile-toggle{display:inline-flex; align-items:center; justify-content:center;}
  .fv-shell .modal-box{grid-template-columns:1fr;}
  .fv-shell .modal-side{padding:28px 24px;}
  .fv-shell .form-row{grid-template-columns:1fr;}
  .fv-shell .cred-row{flex-direction:column; align-items:flex-start; gap:24px;}
  .fv-shell .cred-points{gap:24px;}
  .fv-shell .gov-main{padding:32px 32px 64px;}
  .fv-shell .gov-main h1{font-size:26px;}
  .fv-shell .pillar-body{margin-left:0;}
}
@media (max-width:600px){
  .fv-shell .footer-grid{grid-template-columns:1fr; gap:28px;}
  .fv-shell .footer-brand p{max-width:none;}
}
@media (prefers-reduced-motion:reduce){ .fv-shell *{transition:none !important;} }
