/*
Theme Name: AltShift
Description: AltShift — GRC Documentation Systems for the EU Regulatory Market
Author: AltShift
Template: kadence
Version: 2.0.0
*/

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --brand:        #1A8FD8;
  --brand-600:    #1380C7;
  --brand-700:    #0E6BA8;
  --brand-50:     #EAF5FC;
  --brand-100:    #D5EBF8;

  --ink-900:      #0E1726;
  --ink-800:      #1A2436;
  --ink-700:      #2A3548;
  --ink-600:      #475569;
  --ink-500:      #64748B;
  --ink-400:      #94A3B8;
  --ink-300:      #CBD5E1;
  --ink-200:      #E2E8F0;
  --ink-100:      #EEF2F7;
  --ink-50:       #F6F8FB;

  --paper:        #FBFBFA;
  --paper-2:      #F4F3EF;
  --line:         #E8E6E0;
  --line-strong:  #D4D2CB;

  --accent:       #C2792B;
  --accent-soft:  #F2E2C3;

  --ok:           #1E8E5A;
  --warn:         #B6791C;
  --risk:         #C0392B;

  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;

  --font-sans:  'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-nav:   'Montserrat', system-ui, sans-serif;
}

/* ============================================
   BASE
   ============================================ */
body {
  font-family: var(--font-sans) !important;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-900);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
::selection { background: var(--brand); color: white; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans) !important;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-top: 0;
}

h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--ink-700); line-height: 1.6; }

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-600);
}

/* ============================================
   HEADER
   ============================================ */
#masthead,
.site-header {
  background: rgba(251, 251, 250, 0.92) !important;
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-branding img,
.custom-logo {
  max-height: 36px !important;
  width: auto !important;
  height: 36px !important;
}

.custom-logo[src$=".svg"],
.site-branding img[src$=".svg"] {
  width: 88px !important;
  height: 36px !important;
  max-height: 36px !important;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-navigation a,
.kadence-navigation a,
#site-navigation a,
.nav-menu a,
.nav-menu li a {
  font-family: var(--font-nav) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--ink-700) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
}

.main-navigation a:hover,
.kadence-navigation a:hover,
#site-navigation a:hover,
.nav-menu a:hover {
  color: var(--ink-900) !important;
}

.kadence-menu-toggle-wrap,
button.menu-toggle,
#mobile-toggle,
.header-mobile-toggle,
[data-toggle-target],
.kadence-mobile-trigger {
  display: none !important;
}

.site-header-row-container-inner .kadence-navigation,
.site-header .kadence-navigation,
#site-navigation {
  display: flex !important;
  align-items: center !important;
}

.site-header .nav-menu,
#site-navigation .nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.wp-block-button__link {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  border-radius: 999px !important;
  padding: 12px 24px !important;
  transition: all .15s ease !important;
  border: none !important;
  cursor: pointer;
}

.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button:not([class*="is-style"]) .wp-block-button__link {
  background: var(--ink-900) !important;
  color: white !important;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--ink-800) !important;
  transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--ink-900) !important;
  border: 1px solid var(--line-strong) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: white !important;
  border-color: var(--ink-900) !important;
}

/* Buy button — used on product pages */
.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink-900);
  color: white !important;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: all .15s ease;
  cursor: pointer;
  border: none;
}

.buy-btn:hover {
  background: var(--ink-800);
  color: white !important;
  transform: translateY(-1px);
}

/* ============================================
   TOP BAR
   ============================================ */
.altshift-topbar {
  background: var(--ink-900);
  color: var(--ink-400);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 9px 0;
}

.altshift-topbar .topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  flex-wrap: wrap;
}

.altshift-topbar b { color: white; font-weight: 600; }

/* ============================================
   UTILITIES
   ============================================ */
.section-pad    { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.container-main { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.text-muted     { color: var(--ink-500); }
.font-mono      { font-family: var(--font-mono); }
.text-serif     { font-family: var(--font-serif); font-style: italic; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

/* ============================================
   FOOTER
   ============================================ */
#colophon,
.site-footer {
  background: var(--paper-2) !important;
  border-top: 1px solid var(--line);
}

.site-info,
.kadence-credit,
#colophon .site-info {
  display: none !important;
}

/* ============================================
   PRODUCT PAGE — Hero
   ============================================ */
.product-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}

.product-framework-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  margin-bottom: 20px;
}

.product-hero h1 {
  font-size: clamp(32px, 4vw, 52px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
  color: var(--ink-900) !important;
  margin: 0 0 16px !important;
}

.product-hero-tagline {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 58ch;
  margin: 0 0 32px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.product-price-main {
  font-size: 42px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.04em;
  line-height: 1;
}

.product-saving-badge {
  display: inline-block;
  background: #E6F7EE;
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 4px 12px;
  border-radius: 999px;
}

.product-price-note {
  font-size: 13px;
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin: 0 0 24px;
}

.product-licence-note {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 10px;
}

.product-licence-note a {
  color: var(--ink-600);
  text-decoration: underline;
}

/* ============================================
   PRODUCT PAGE — What's included
   ============================================ */
.product-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.product-section:last-child {
  border-bottom: none;
}

.product-section-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink-900) !important;
  margin: 0 0 28px !important;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .documents-grid { grid-template-columns: 1fr; }
}

.document-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--ink-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.document-item-icon {
  font-size: 18px;
  color: var(--ink-400);
  flex-shrink: 0;
  margin-top: 1px;
}

.document-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  margin: 0 0 3px;
  line-height: 1.3;
}

.document-item-meta {
  font-size: 12px;
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin: 0;
}

.documents-delivery-note {
  font-size: 13px;
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin-top: 16px;
}

/* ============================================
   PRODUCT PAGE — Outcomes / What it covers
   ============================================ */
.outcomes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.outcomes-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.5;
}

.outcomes-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--ok);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* ============================================
   PRODUCT PAGE — Built for
   ============================================ */
.built-for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 560px) {
  .built-for-grid { grid-template-columns: 1fr; }
}

.built-for-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: white;
}

.built-for-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 3px;
}

.built-for-card span {
  font-size: 13px;
  color: var(--ink-500);
}

/* ============================================
   PRODUCT PAGE — Compare systems
   ============================================ */
.compare-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .compare-systems-grid { grid-template-columns: 1fr; }
}

.compare-system-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: all .15s ease;
}

.compare-system-card:hover {
  border-color: var(--ink-300);
  transform: translateY(-2px);
}

.compare-system-card.is-current {
  border: 2px solid var(--brand);
}

.compare-system-card .cs-badge {
  display: inline-block;
  font-size: 11px;
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.compare-system-card .cs-tier {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-500);
  margin-bottom: 4px;
}

.compare-system-card .cs-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.compare-system-card .cs-docs {
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.compare-system-card .cs-feature {
  font-size: 12px;
  color: var(--ink-600);
  padding: 5px 0;
  border-top: 1px solid var(--line);
  line-height: 1.3;
}

/* ============================================
   PRODUCT PAGE — Country pack note
   ============================================ */
.country-pack-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ink-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.5;
}

.country-pack-note-icon {
  font-size: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

/* ============================================
   PRODUCT PAGE — Legal strip
   ============================================ */
.product-legal-strip {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.product-legal-item {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-500);
  font-family: var(--font-mono);
}

.product-legal-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================
   FRAMEWORK OVERVIEW PAGE
   ============================================ */
.fw-hero {
  padding: 80px 0 64px;
}

.fw-hero-title {
  font-size: clamp(36px, 5vw, 58px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
  color: var(--ink-900) !important;
  margin: 12px 0 20px !important;
}

.fw-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 58ch;
  margin: 0 0 40px;
}

.fw-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.fw-stat-n {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.fw-stat-l {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Systems grid on overview page */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .systems-grid { grid-template-columns: 1fr; }
}

.system-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: all .2s ease;
  position: relative;
}

.system-card:hover {
  border-color: var(--ink-300);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(14, 23, 38, 0.2);
}

.system-card.is-featured {
  background: var(--ink-900);
  border-color: var(--ink-900);
}

.system-card .sc-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
}

.system-card .sc-tier {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

.system-card.is-featured .sc-tier { color: rgba(255,255,255,0.45); }

.system-card .sc-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.04em;
  line-height: 1;
}

.system-card.is-featured .sc-price { color: white; }

.system-card .sc-tagline {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.5;
  flex: 1;
  font-style: italic;
}

.system-card.is-featured .sc-tagline { color: rgba(255,255,255,0.55); }

.system-card .sc-docs {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-400);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.system-card.is-featured .sc-docs {
  color: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.1);
}

.system-card .sc-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-700);
  display: flex;
  align-items: center;
  gap: 4px;
}

.system-card.is-featured .sc-cta { color: rgba(255,255,255,0.7); }

/* ============================================
   HOME PAGE
   ============================================ */
.altshift-hero {
  padding: 96px 0 80px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-sans) !important;
  font-size: clamp(44px, 5.5vw, 72px) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  color: var(--ink-900) !important;
  margin: 0 0 24px !important;
}

.hero-title .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 56ch;
  margin-bottom: 36px;
}

/* ============================================
   MODAL (kept for potential future use)
   ============================================ */
.as-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.as-modal.is-open { display: flex; }

.as-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 38, 0.55);
  backdrop-filter: blur(4px);
  animation: fadeIn .15s ease;
}

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.as-modal-box {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px -16px rgba(14, 23, 38, 0.35);
  animation: slideUp .2s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 760px) {
  .container-main  { padding: 0 20px; }
  .section-pad     { padding: 64px 0; }
  .altshift-hero   { padding: 64px 0; }
  .product-hero    { padding: 48px 0 40px; }
  .compare-systems-grid { grid-template-columns: 1fr; }
  .ubb-inner       { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ubb-right       { flex-wrap: wrap; gap: 12px; }
  .csg-inner       { flex-direction: column; }
  .csg-links       { width: 100%; }
}

/* ============================================
   UPSELL BUNDLE BAR — EU Cyber Resilience System
   ============================================ */
.upsell-bundle-bar {
  background: var(--ink-900);
  padding: 20px 0;
}
.ubb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ubb-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}
.ubb-sub {
  font-size: 12px;
  color: #9EC8E8;
}
.ubb-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.ubb-price {
  font-size: 20px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 2px;
}
.ubb-save {
  font-size: 11px;
  color: #9FE1CB;
}
.ubb-btn {
  display: inline-block;
  background: white;
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.ubb-btn:hover {
  background: #f0f0f0;
  color: var(--ink-900);
}

/* ============================================
   CROSS-SELL GRC PLATFORM
   ============================================ */
.cross-sell-grc {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.csg-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.csg-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-400);
  margin-bottom: 8px;
}
.csg-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.csg-desc {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 48ch;
}
.csg-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 220px;
}
.csg-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.csg-link:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-100, #dbeafe);
}
.csg-link-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.csg-link-sub {
  font-size: 11px;
  color: var(--ink-500);
}

/* ============================================
   GRC PLATFORM — SHARED COMPONENTS
   ============================================ */

/* Overview page: free tier callout */
.grc-free-tier {
  margin-top: 40px;
  background: #E1F5EE;
  border: 1px solid #9FE1CB;
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.gft-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #085041;
  margin-bottom: 4px;
}
.gft-title {
  font-size: 17px;
  font-weight: 700;
  color: #085041;
  margin-bottom: 4px;
}
.gft-desc {
  font-size: 13px;
  color: #0F6E56;
  line-height: 1.55;
}
.gft-btn {
  display: inline-block;
  background: #0F6E56;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.gft-btn:hover { background: #085041; color: white; }

/* Overview page: compare table */
.grc-compare-table {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.gct-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
}
.gct-header { background: var(--ink-900); }
.gct-header .gct-col {
  font-size: 12px;
  font-weight: 700;
  color: white;
  padding: 10px 14px;
  line-height: 1.4;
}
.gct-header .gct-col span { color: rgba(255,255,255,.5); font-weight: 400; display:block; font-size:10px; }
.gct-col {
  font-size: 13px;
  color: var(--ink-700);
  padding: 9px 14px;
  border-right: 1px solid var(--line);
  line-height: 1.5;
}
.gct-col:last-child { border-right: none; }
.gct-col-feature { font-weight: 600; color: var(--ink-900); background: var(--ink-50); }
.gct-col-platform { color: var(--brand); font-weight: 500; }

/* Dark section links */
.grc-dark-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  text-decoration: none;
  transition: background .15s;
}
.grc-dark-link:hover { background: rgba(255,255,255,.1); }
.grc-dark-link-title { font-size: 14px; font-weight: 600; color: white; }
.grc-dark-link-sub   { font-size: 11px; color: rgba(255,255,255,.45); }

/* Product hero */
.grc-hero { padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.grc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.grc-badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.grc-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}
.grc-badge-dora   { background: #E6F1FB; color: #0C447C; }
.grc-badge-nis2   { background: #E1F5EE; color: #085041; }
.grc-badge-ai     { background: #EEEDFE; color: #3C3489; }
.grc-badge-notion { background: var(--ink-100); color: var(--ink-700); }
.grc-badge-soc2   { background: #FAEEDA; color: #633806; }
.grc-badge-hipaa  { background: #FCEBEB; color: #791F1F; }
.grc-badge-nist   { background: var(--ink-100); color: var(--ink-700); }
.grc-scope {
  font-size: 12px;
  color: var(--ink-400);
  font-family: var(--font-mono);
  margin-bottom: 10px;
  line-height: 1.5;
}
.grc-tagline {
  font-size: 15px;
  color: var(--ink-500);
  border-left: 3px solid var(--brand);
  padding-left: 12px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Pricing cards in hero */
.grc-hero-right { display: flex; flex-direction: column; gap: 12px; }
.grc-pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  background: white;
  position: relative;
}
.grc-pricing-card-featured {
  border: 2px solid var(--brand);
}
.grc-pc-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--brand);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}
.grc-pc-tier  { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-400); margin-bottom: 4px; }
.grc-pc-price { font-size: 24px; font-weight: 700; color: var(--ink-900); margin-bottom: 2px; letter-spacing: -.02em; }
.grc-pc-sub   { font-size: 11px; color: var(--ink-400); margin-bottom: 12px; }
.grc-pc-perks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.grc-pc-perk  { font-size: 12px; color: var(--ink-600); display: flex; align-items: flex-start; gap: 5px; }
.grc-perk-check { color: #1D9E75; font-size: 12px; flex-shrink: 0; }
.grc-pc-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.grc-pc-btn-primary  { background: var(--brand); color: white; }
.grc-pc-btn-primary:hover { background: var(--brand-600); color: white; }
.grc-pc-btn-outline  { background: transparent; color: var(--ink-900); border: 1px solid var(--ink-300); }
.grc-pc-btn-outline:hover { border-color: var(--ink-600); color: var(--ink-900); }

/* Free strip */
.grc-free-strip { background: #E1F5EE; border-bottom: 1px solid #9FE1CB; padding: 10px 0; }
.grc-free-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #085041;
}
.grc-free-strip-btn {
  font-size: 12px;
  font-weight: 600;
  color: #085041;
  border: 1px solid #5DCAA5;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.grc-free-strip-btn:hover { background: #0F6E56; color: white; border-color: #0F6E56; }

/* Databases grid */
.grc-db-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.grc-db-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.grc-db-cell:nth-child(4n)   { border-right: none; }
.grc-db-cell:nth-last-child(-n+4) { border-bottom: none; }
.grc-db-icon { font-size: 18px; margin-bottom: 6px; }
.grc-db-name { font-size: 12px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.grc-db-desc { font-size: 11px; color: var(--ink-500); line-height: 1.5; }

/* Steps */
.grc-steps { display: flex; flex-direction: column; gap: 0; }
.grc-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.grc-step:last-child { border-bottom: none; }
.grc-step-n {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-100);
  letter-spacing: -.04em;
  min-width: 40px;
  line-height: 1;
  padding-top: 2px;
}
.grc-step-title { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.grc-step-desc  { font-size: 13px; color: var(--ink-500); line-height: 1.6; }

/* Licence grid */
.grc-licence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grc-licence-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  background: white;
}
.grc-licence-card-featured { border: 2px solid var(--brand); }
.grc-lc-title { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 2px; }
.grc-lc-sub   { font-size: 12px; color: var(--ink-400); margin-bottom: 14px; }
.grc-lc-list  { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.grc-lc-list li {
  font-size: 13px;
  color: var(--ink-600);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.grc-lc-list li::before { content: '✓'; position: absolute; left: 0; color: #1D9E75; font-size: 12px; }

/* FAQ */
.grc-faq { display: flex; flex-direction: column; gap: 0; }
.grc-faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.grc-faq-item:last-child { border-bottom: none; }
.grc-faq-q { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.grc-faq-a { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

/* GRC responsive */
@media (max-width: 900px) {
  .grc-hero-inner { grid-template-columns: 1fr; }
  .grc-db-grid { grid-template-columns: repeat(2, 1fr); }
  .grc-db-cell:nth-child(2n)   { border-right: none; }
  .grc-db-cell:nth-child(4n)   { border-right: none; }
  .grc-db-cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .grc-db-cell:nth-last-child(-n+2) { border-bottom: none; }
  .grc-licence-grid { grid-template-columns: 1fr; }
  .gct-row { grid-template-columns: 140px 1fr 1fr; }
  .grc-free-tier { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .grc-db-grid { grid-template-columns: 1fr; }
  .grc-db-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .grc-db-cell:last-child { border-bottom: none; }
  .gct-row { grid-template-columns: 1fr; }
  .gct-col-feature { background: var(--ink-900); color: white; font-size: 11px; }
}
