/* GNV — shared stylesheet for resource & compliance pages */
:root {
  --navy: #0B1D33; --navy-light: #132B4A; --slate: #1E3A5F;
  --green: #1B7A4E; --green-light: #22965F; --green-pale: #E8F5EE; --green-glow: #2ECC71;
  --orange: #E8742A; --orange-light: #F28C4E; --orange-pale: #FFF3EB;
  --red: #D64545; --red-pale: #FEE8E8;
  --white: #FFFFFF; --off-white: #F7F8FA; --light-gray: #EEF0F4;
  --mid-gray: #8A94A6; --dark-gray: #3D4856;
  --text: #1A2332; --text-light: #5A6577; --border: #DCE0E8;
  --shadow-sm: 0 1px 3px rgba(11,29,51,0.06);
  --shadow-md: 0 4px 16px rgba(11,29,51,0.08);
  --shadow-lg: 0 12px 40px rgba(11,29,51,0.12);
  --radius: 12px; --radius-lg: 20px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: var(--green-pale); padding: 6px 14px; border-radius: 100px; }
.badge::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.badge-orange { color: var(--orange); background: var(--orange-pale); }
.badge-orange::before { background: var(--orange); }

nav.gnv-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
nav.gnv-nav .container-wide { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.nav-logo img { width: 48px; height: 48px; border-radius: 10px; }
.nav-logo-text { font-family: 'DM Serif Display', serif; font-size: 1.55rem; color: var(--navy); letter-spacing: -0.02em; }
.nav-logo-sub { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-gray); display: block; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.88rem; font-weight: 500; color: var(--text-light); padding: 8px 14px; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--off-white); text-decoration: none; }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; font-weight: 600 !important; padding: 10px 22px !important; }
.nav-cta:hover { background: var(--orange-light) !important; }

.breadcrumb ol { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--mid-gray); padding: 16px 0 0; }
.breadcrumb a { color: var(--mid-gray); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--border); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }

.page-hero { padding: 110px 0 56px; background: linear-gradient(175deg, var(--off-white) 0%, var(--white) 70%); }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: 2.6rem; line-height: 1.15; color: var(--navy); margin: 18px 0 16px; letter-spacing: -0.02em; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero .lede { font-size: 1.1rem; color: var(--text-light); line-height: 1.7; max-width: 720px; margin-bottom: 28px; }
.page-hero .meta-line { font-size: 0.82rem; color: var(--mid-gray); }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 600; text-decoration: none; padding: 12px 24px; border-radius: 10px; transition: all 0.25s; cursor: pointer; border: none; }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 16px rgba(232,116,42,0.25); }
.btn-primary:hover { background: var(--orange-light); text-decoration: none; }
.btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--navy); background: var(--off-white); text-decoration: none; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); text-decoration: none; }

.prose { max-width: 760px; }
.prose h2 { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--navy); margin: 48px 0 16px; line-height: 1.25; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.prose ul, .prose ol { margin: 12px 0 20px 22px; }
.prose li { margin-bottom: 8px; color: var(--text); line-height: 1.7; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--orange); padding: 6px 18px; margin: 24px 0; color: var(--text-light); font-style: italic; background: var(--off-white); border-radius: 6px; }
.prose code { background: var(--off-white); padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.9em; color: var(--navy); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 28px 0; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.card p { color: var(--text-light); font-size: 0.94rem; line-height: 1.6; }

.callout { background: var(--green-pale); border-left: 4px solid var(--green); border-radius: 8px; padding: 18px 22px; margin: 24px 0; }
.callout.warn { background: var(--red-pale); border-left-color: var(--red); }
.callout.note { background: var(--orange-pale); border-left-color: var(--orange); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--navy); }

.faq-list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; }
.faq-list summary { font-weight: 700; font-size: 1rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::after { content: '+'; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: '-'; }
.faq-list details p { margin-top: 12px; color: var(--text-light); line-height: 1.7; font-size: 0.95rem; }

.glossary-search { width: 100%; padding: 14px 18px; font-size: 1rem; border: 1.5px solid var(--border); border-radius: 10px; margin: 16px 0 28px; }
.glossary-search:focus { outline: none; border-color: var(--orange); }
.glossary-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.glossary-term { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; }
.glossary-term dt { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.glossary-term dt .acronym { font-family: 'JetBrains Mono', monospace; color: var(--orange); font-size: 0.9rem; background: var(--orange-pale); padding: 2px 8px; border-radius: 4px; }
.glossary-term dt .region { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid-gray); }
.glossary-term dd { color: var(--text); font-size: 0.96rem; line-height: 1.65; }

.compare-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: 28px 0; box-shadow: var(--shadow-sm); }
.compare-grid > div { padding: 16px 20px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 0.95rem; }
.compare-grid > div:nth-child(3n) { border-right: none; }
.compare-grid > div:nth-last-child(-n+3) { border-bottom: none; }
.compare-head { background: var(--navy); color: var(--white); font-weight: 700; }
.compare-head.gnv { background: var(--orange); }
.compare-row-header { font-weight: 600; color: var(--navy); background: var(--off-white); }
.tick { color: var(--green); font-weight: 700; }
.cross { color: var(--red); font-weight: 700; }

.calc-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-md); }
.calc-row { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.calc-row:last-of-type { border-bottom: none; }
.calc-row label { font-weight: 500; color: var(--text); font-size: 0.96rem; }
.calc-row label small { display: block; color: var(--mid-gray); font-weight: 400; font-size: 0.82rem; margin-top: 2px; }
.calc-row input, .calc-row select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.95rem; background: var(--white); }
.calc-row input:focus, .calc-row select:focus { outline: none; border-color: var(--orange); }
.calc-result { background: var(--navy); color: var(--white); border-radius: 14px; padding: 28px; margin-top: 24px; }
.calc-result-figure { font-family: 'DM Serif Display', serif; font-size: 3rem; color: var(--orange); margin: 8px 0; line-height: 1; }
.calc-result-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 600; }
.calc-result p { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.6; margin-top: 12px; }

.cta-band { background: var(--navy); color: var(--white); padding: 60px 0; text-align: center; }
.cta-band h2 { font-family: 'DM Serif Display', serif; font-size: 2rem; margin-bottom: 12px; color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

footer.gnv-footer { background: var(--navy-light); color: rgba(255,255,255,0.7); padding: 56px 0 28px; }
footer.gnv-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer.gnv-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
footer.gnv-footer a { color: rgba(255,255,255,0.65); display: block; margin-bottom: 8px; font-size: 0.9rem; text-decoration: none; }
footer.gnv-footer a:hover { color: var(--white); }
footer.gnv-footer p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 8px; }
footer.gnv-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
footer.gnv-footer .footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--white); font-family: 'DM Serif Display', serif; font-size: 1.4rem; }
footer.gnv-footer .footer-brand-logo img { width: 44px; height: 44px; border-radius: 8px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .page-hero h1 { font-size: 2rem; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-grid > div { border-right: none; }
  .calc-row { grid-template-columns: 1fr; gap: 8px; }
  footer.gnv-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
