:root {
  --navy: #102f4a;
  --navy-2: #183d5a;
  --teal: #0f969b;
  --teal-dark: #08767a;
  --teal-soft: #e8f6f6;
  --ink: #18384f;
  --muted: #657d90;
  --line: #dbe6ec;
  --soft: #f6fafc;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(16, 47, 74, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.section-pad { padding: 92px 0; }
.soft-section { background: var(--soft); border-block: 1px solid #edf3f6; }
.dark-section { background: var(--navy); color: #fff; }
.cta-section { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff; }

.preview-bar { padding: 8px 16px; text-align: center; font-size: 12px; font-weight: 700; background: #fff3cd; color: #6d5512; border-bottom: 1px solid #f0dfab; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(219,230,236,.8); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { font-weight: 800; letter-spacing: -.03em; font-size: 22px; color: var(--navy); }
.brand span { color: var(--teal); }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a, .login-link { font-size: 14px; color: #405b6f; font-weight: 600; }
.main-nav a:hover, .login-link:hover { color: var(--teal-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-btn { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 8px 10px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 12px 18px; font-weight: 700; transition: .2s ease; border: 1px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(15,150,155,.22); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary.inverted { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-lg { padding: 14px 22px; }

.hero { padding-top: 100px; background: radial-gradient(circle at 80% 10%, #e7f8f8 0, rgba(231,248,248,0) 36%); }
.hero-grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: 56px; align-items: center; }
.eyebrow, .section-kicker, .mini-kicker { color: var(--teal-dark); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.section-kicker.light { color: #8fe7e7; }
h1, h2, h3, h4 { margin-top: 0; color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(48px, 6vw, 76px); letter-spacing: -.055em; margin: 14px 0 24px; max-width: 820px; }
h2 { font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -.04em; margin: 10px 0 18px; }
h3 { font-size: 20px; }
.dark-section h2, .cta-section h2 { color: #fff; }
.hero-lead { font-size: 21px; max-width: 760px; color: #405e73; }
.hero-copy, .section-lead { color: var(--muted); font-size: 18px; max-width: 860px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.leak-link { margin: 24px 0; display: grid; gap: 4px; color: #526c7e; }
.leak-link a { color: var(--teal-dark); font-weight: 800; }
.leak-link small { color: #8293a0; }
.price-strip { font-size: 13px; font-weight: 700; color: #536d80; padding-top: 18px; border-top: 1px solid var(--line); }

.snapshot-card, .activity-panel, .next-action-card, .creative-card, .calc-card, .industry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.snapshot-card { padding: 28px; }
.snapshot-title { font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.snapshot-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.snapshot-stats div { padding: 16px; background: var(--soft); border-radius: 14px; }
.snapshot-stats strong { display: block; font-size: 25px; color: var(--navy); }
.snapshot-stats span { font-size: 13px; color: var(--muted); }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.score-grid div { text-align: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; }
.score-grid span { display: block; font-size: 12px; color: var(--muted); }
.score-grid strong { color: var(--teal-dark); font-size: 22px; }
.microcopy { color: #81929f; font-size: 12px; margin: 14px 0 0; }

.journey-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey-card { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid #cfe0e7; border-radius: 16px; min-height: 190px; box-shadow: 0 9px 30px rgba(16,47,74,.05); }
.journey-card::after { content: '→'; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 22px; font-weight: 800; }
.journey-card:nth-child(3n)::after { content: none; }
.journey-card h3 { margin: 26px 0 10px; text-transform: uppercase; font-size: 17px; }
.journey-card p { margin: 0; color: #4f687b; }
.step { position: absolute; top: 18px; left: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.loop-note { margin: 24px auto 0; width: max-content; max-width: 100%; color: var(--teal-dark); font-size: 13px; font-weight: 800; border-bottom: 2px dotted var(--teal); padding: 0 16px 8px; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.five-col { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.platform-links { margin-top: 38px; }
.feature-link-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: .2s ease; }
.feature-link-card:hover { transform: translateY(-3px); border-color: #a8d6d8; box-shadow: var(--shadow); }
.feature-link-card strong { display: block; margin: 8px 0; color: var(--navy); font-size: 18px; }
.feature-link-card p { color: var(--muted); font-size: 14px; }
.link-arrow { color: var(--teal-dark); font-weight: 800; font-size: 14px; }

.intelligence-cards { margin-top: 36px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.info-card em, .pricing-card em { font-size: 11px; font-style: normal; color: var(--teal-dark); background: var(--teal-soft); padding: 4px 7px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.icon-dot { display: inline-grid; width: 42px; height: 42px; border-radius: 50%; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font-size: 22px; margin-bottom: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row span { font-size: 12px; font-weight: 700; color: #496579; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; }

.compact-cards { margin-top: 32px; }
.compact-cards article, .included-grid article { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.compact-cards h3, .included-grid h3 { font-size: 17px; margin-bottom: 10px; }
.compact-cards p, .included-grid p { color: var(--muted); font-size: 14px; margin: 0; }

.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 28px; color: #456276; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 900; }
.check-list.compact { gap: 8px; font-size: 14px; }
.activity-panel, .next-action-card, .creative-card, .calc-card { padding: 28px; }
.activity-title { font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.activity-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.activity-row:last-child { border-bottom: 0; }
.activity-row span { color: var(--muted); }
.activity-row strong { color: var(--navy); text-align: right; }

.flow-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }
.flow-line span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-weight: 700; font-size: 13px; }
.flow-line b { color: var(--teal); }
.creative-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.creative-grid span { padding: 10px 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: #476478; }

.industry-grid { margin-top: 28px; }
.industry-card { padding: 26px; box-shadow: none; }
.industry-card p { color: var(--muted); margin: 0; }

.compare-journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 28px 0; }
.compare-journey span { text-align: center; padding: 11px 8px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; font-size: 12px; }
.accordion { display: grid; gap: 12px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.accordion summary { cursor: pointer; list-style: none; padding: 18px 20px; color: var(--navy); font-weight: 800; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; float: right; color: var(--teal); font-size: 22px; line-height: 1; }
.accordion details[open] summary::after { content: '–'; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid #edf2f5; font-size: 14px; }
th { background: #f8fbfc; color: var(--navy); }
td:nth-child(2), th:nth-child(2) { color: var(--teal-dark); font-weight: 800; width: 160px; }

.provider-notes { margin-top: 26px; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.dark-section p { color: #cfe0ea; }
.pricing-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; }
.pricing-card p { color: var(--muted); }
.plan-name { color: var(--teal-dark); font-weight: 800; letter-spacing: .08em; font-size: 12px; }
.plan-price { display: flex; align-items: end; gap: 10px; margin: 16px 0; }
.plan-price strong { font-size: 54px; line-height: 1; color: var(--navy); }
.plan-price span { color: var(--muted); padding-bottom: 7px; }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.calc-grid label { font-size: 13px; font-weight: 700; color: #4c697c; }
.calc-grid input { width: 100%; margin-top: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.calc-grid input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,150,155,.10); }
.calc-card { display: grid; gap: 12px; }
.calc-card > div { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.calc-card strong { color: var(--navy); font-size: 24px; }
.calc-card .savings strong { color: var(--teal-dark); font-size: 30px; }

.included-grid { margin-top: 30px; }
.cta-inner { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.faq-list p { color: var(--muted); }

.site-footer { background: #0b2438; color: #c8d7e1; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 38px; }
.footer-brand { color: #fff; display: inline-block; margin-bottom: 12px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer a { display: block; color: #c8d7e1; margin: 8px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 26px; font-size: 12px; color: #91a7b6; }

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .hero-grid, .two-col, .pricing-grid { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col, .five-col { grid-template-columns: 1fr 1fr; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-card:nth-child(3n)::after { content: '→'; }
  .journey-card:nth-child(2n)::after { content: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 68px 0; }
  .nav-actions .login-link, .language-btn { display: none; }
  .nav-wrap { min-height: 66px; }
  h1 { font-size: 46px; }
  .hero { padding-top: 70px; }
  .three-col, .four-col, .five-col, .journey-grid, .included-grid, .footer-grid, .calc-grid { grid-template-columns: 1fr; }
  .journey-card::after { content: '↓' !important; right: 50%; top: auto; bottom: -18px; transform: translateX(50%); }
  .journey-card:last-child::after { content: none !important; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .compare-journey { grid-template-columns: 1fr 1fr; }
  .cta-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .plan-price { align-items: flex-start; flex-direction: column; }
}


/* ===== Multi-page platform additions ===== */
.main-nav .nav-drop { position: relative; }
.main-nav .nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.main-nav .nav-drop > a::after { content: '▾'; font-size: 10px; color: var(--teal-dark); }
.mega-menu { position: absolute; top: calc(100% + 17px); left: 50%; transform: translateX(-50%); width: min(820px, 86vw); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); display: none; grid-template-columns: repeat(3,1fr); gap: 10px; z-index: 50; }
.nav-drop:hover .mega-menu, .nav-drop:focus-within .mega-menu { display: grid; }
.mega-menu a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--navy); font-size: 13px; font-weight: 800; }
.mega-menu a:hover { background: var(--soft); color: var(--teal-dark); }
.journey-card-link { display:block; color:inherit; }
.journey-card-link .journey-card { height:100%; transition:.2s ease; }
.journey-card-link:hover .journey-card { transform: translateY(-3px); border-color:#9fd6d8; box-shadow:var(--shadow); }
.journey-card-link .journey-card::after { content:none; }
.platform-map-wrap { margin-top: 38px; background:#fff; border:1px solid var(--line); border-radius:20px; padding:18px; box-shadow:0 10px 34px rgba(16,47,74,.05); }
.platform-map-wrap img { display:block; width:100%; height:auto; border-radius:12px; }
.page-hero { padding: 92px 0 76px; background: linear-gradient(180deg,#f8fcfd 0%,#fff 100%); border-bottom:1px solid var(--line); }
.page-hero .breadcrumbs { color:#6f8391; font-size:13px; font-weight:700; margin-bottom:20px; }
.page-hero .breadcrumbs a { color:var(--teal-dark); }
.page-hero h1 { max-width:900px; }
.page-hero .hero-lead { max-width:860px; }
.module-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:34px; }
.module-card { padding:26px; border:1px solid var(--line); border-radius:16px; background:#fff; min-height:210px; }
.module-card .num { color:var(--teal-dark); font-size:12px; font-weight:900; letter-spacing:.08em; }
.module-card h3 { margin:10px 0 10px; }
.module-card p { color:var(--muted); font-size:14px; }
.module-card .link-arrow { display:inline-block; margin-top:10px; }
.outcome-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:28px; }
.outcome-strip > div { padding:18px; border-radius:14px; border:1px solid var(--line); background:var(--soft); }
.outcome-strip strong { display:block; color:var(--navy); }
.outcome-strip span { display:block; color:var(--muted); font-size:13px; margin-top:4px; }
.flow-box { margin-top:34px; border:1px solid var(--line); border-radius:18px; background:#fff; padding:28px; }
.flow-steps { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:18px; }
.flow-steps span { background:var(--soft); border:1px solid var(--line); padding:10px 12px; border-radius:10px; color:var(--navy); font-weight:800; font-size:13px; }
.flow-steps b { color:var(--teal); }
.related-pages { margin-top:32px; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.related-pages a { border:1px solid var(--line); background:#fff; border-radius:14px; padding:18px; color:var(--navy); font-weight:800; }
.related-pages a:hover { border-color:#9fd6d8; color:var(--teal-dark); }
.layer-nav { margin-top:24px; display:flex; flex-wrap:wrap; gap:8px; }
.layer-nav a { font-size:12px; font-weight:800; padding:8px 10px; background:var(--teal-soft); color:var(--teal-dark); border-radius:999px; }
.callout { padding:24px 26px; border-left:4px solid var(--teal); background:var(--soft); border-radius:0 14px 14px 0; margin-top:28px; }
.callout strong { color:var(--navy); }
.module-detail-list { columns:2; column-gap:40px; margin-top:22px; padding-left:20px; }
.module-detail-list li { break-inside:avoid; margin-bottom:10px; color:#456276; }
.page-cta { padding:38px; border-radius:20px; background:var(--navy); color:#fff; display:flex; justify-content:space-between; align-items:center; gap:30px; }
.page-cta h2 { color:#fff; margin-bottom:8px; }
.page-cta p { color:#cfe0ea; margin:0; }
@media (max-width:1050px){.mega-menu{display:none!important}.module-grid,.related-pages{grid-template-columns:1fr 1fr}.outcome-strip{grid-template-columns:1fr 1fr}}
@media (max-width:720px){.module-grid,.related-pages,.outcome-strip{grid-template-columns:1fr}.module-detail-list{columns:1}.page-cta{flex-direction:column;align-items:flex-start}.page-hero{padding:70px 0 58px}}


/* ===== Updated homepage marketing pitch ===== */
.hero-updated {
  background:
    radial-gradient(circle at 82% 18%, rgba(15,150,155,.10), transparent 34%),
    linear-gradient(180deg,#f8fcfd 0%,#fff 100%);
}
.hero-updated h1 { max-width: 820px; }
.hero-promise {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #cfe5e7;
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  background: rgba(236,249,249,.72);
  display: grid;
  gap: 6px;
}
.hero-promise strong { color: var(--navy); font-size: 16px; }
.hero-promise span { color: var(--muted); font-size: 14px; line-height: 1.65; }
.hero-outcome-line {
  margin: 20px 0 0;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: -.015em;
}
.market-difference {
  padding: 64px 0 70px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.difference-heading { max-width: 940px; }
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 30px;
}
.difference-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg,#fff 0%,#fbfefe 100%);
  padding: 26px;
}
.difference-card > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}
.difference-card h3 { margin: 16px 0 9px; }
.difference-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.journey-ribbon {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--navy);
}
.journey-ribbon span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.journey-ribbon b { color: #5bd1d3; font-weight: 800; }
@media (max-width: 900px) {
  .difference-grid { grid-template-columns: 1fr; }
  .journey-ribbon { gap: 6px; }
}
@media (max-width: 720px) {
  .market-difference { padding: 48px 0 54px; }
  .hero-promise { padding: 16px; }
  .hero-outcome-line { line-height: 1.6; }
  .journey-ribbon b { display:none; }
  .journey-ribbon span { padding:7px 9px; border:1px solid rgba(255,255,255,.16); border-radius:999px; }
}

/* ===== RevenuivaAI.com light visual language + video showcase + legacy matrix ===== */
:root {
  --page-wash: #fbfdfe;
  --panel-wash: #f7fbfc;
  --aqua-wash: #eef9f9;
  --soft-blue: #f2f8fb;
  --line-light: #e5eef2;
  --live-shadow: 0 14px 42px rgba(16,47,74,.07);
}
body {
  background: #ffffff;
  color: #1b3b51;
}
.section-pad { background: #fff; }
.soft-section {
  background: linear-gradient(180deg, #f8fcfd 0%, #fbfdfe 100%);
  border-block-color: #eef4f6;
}
.hero-updated {
  background:
    radial-gradient(circle at 84% 12%, rgba(27,171,176,.09), transparent 30%),
    radial-gradient(circle at 5% 72%, rgba(129,208,211,.06), transparent 30%),
    linear-gradient(180deg,#fbfefe 0%,#ffffff 100%);
}
.snapshot-card, .activity-panel, .next-action-card, .creative-card, .calc-card, .industry-card,
.info-card, .module-card, .feature-link-card, .difference-card {
  box-shadow: var(--live-shadow);
  border-color: var(--line-light);
}
.market-difference {
  background: linear-gradient(180deg,#ffffff 0%,#fbfefe 100%);
  border-color: #eef4f6;
}
.journey-card {
  background: linear-gradient(180deg,#ffffff 0%,#fbfefe 100%);
  border-color: #d8e8ed;
  box-shadow: 0 10px 32px rgba(16,47,74,.045);
}
.dark-section {
  background: linear-gradient(135deg,#102f4a 0%,#173f5c 100%);
}
.site-footer {
  background: linear-gradient(180deg,#102f4a 0%,#0b2438 100%);
}

.video-showcase-section {
  background: linear-gradient(180deg,#ffffff 0%,#f7fbfc 100%);
  border-block: 1px solid #eef4f6;
}
.video-showcase-section code {
  background: #eef7f7;
  border: 1px solid #d9ecec;
  color: var(--teal-dark);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: .9em;
}
.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
  margin-top: 34px;
}
.video-card {
  overflow: hidden;
  border: 1px solid #dce9ee;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--live-shadow);
}
.video-card-featured { grid-column: 1 / -1; }
.video-frame {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg,#e8f6f6,#f2f8fb);
  border-bottom: 1px solid #e3edf1;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #edf7f8; }
.video-copy { padding: 24px 26px 28px; }
.video-copy h3 { margin: 8px 0 8px; }
.video-copy p { margin: 0; color: var(--muted); }
.video-note { max-width: 900px; }

.legacy-comparison-section {
  background: linear-gradient(180deg,#f8fcfd 0%,#ffffff 100%);
  border-block: 1px solid #edf3f6;
}
.comparison-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  color: #60798a;
  font-size: 12px;
}
.mark { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:999px; margin-right:5px; }
.mark.yes { background:#e4f7f5; color:#08767a; }
.mark.partial { background:#fff6dc; color:#936b00; }
.mark.no { background:#f1f4f6; color:#738593; }
.legacy-table-shell {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #dce9ee;
  border-radius: 18px;
  box-shadow: var(--live-shadow);
  scrollbar-color: #9fcfd2 #edf5f6;
}
.legacy-matrix {
  min-width: 1320px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.legacy-matrix th, .legacy-matrix td {
  padding: 14px 14px;
  border-right: 1px solid #edf2f4;
  border-bottom: 1px solid #edf2f4;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.legacy-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #f4fafb;
  color: var(--navy);
  font-weight: 800;
}
.legacy-matrix th:first-child,
.legacy-matrix td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 330px;
  max-width: 330px;
  white-space: normal;
  text-align: left;
  background: #fff;
}
.legacy-matrix thead th:first-child { z-index: 6; background:#f4fafb; }
.legacy-matrix td:first-child strong { display:block; color:var(--navy); margin-bottom:3px; }
.legacy-matrix td:first-child small { display:block; color:#748a99; line-height:1.45; font-size:11px; }
.legacy-matrix .revenuiva-col {
  color: var(--teal-dark);
  background: #eefafa;
  font-weight: 900;
}
.legacy-matrix .group-row th {
  position: static;
  padding: 10px 14px;
  text-align: left;
  color: #0b7c80;
  background: #eaf8f8;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.legacy-matrix tbody tr:hover td { background:#fbfefe; }
.legacy-matrix tbody tr:hover td.revenuiva-col { background:#e9f8f8; }
.swipe-note { text-align:right; color:var(--teal-dark); font-size:12px; font-weight:800; margin:10px 4px 0; }

@media (max-width: 900px) {
  .video-showcase-grid { grid-template-columns:1fr; }
  .video-card-featured { grid-column:auto; }
}
