/*
Theme Name: Compass MarTech
Theme URI: https://compassmartech.com/
Author: Von Ralls
Description: A lightweight, responsive one-page theme for Compass Marketing Technology.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: compass-martech
*/
:root {
  --compass-navy: #10243a;
  --compass-blue: #2563eb;
  --compass-ink: #17212b;
  --compass-muted: #5d6875;
  --compass-paper: #fafaf7;
  --compass-white: #ffffff;
  --compass-line: #dce2e8;
  --compass-soft-blue: #edf3ff;
  --compass-radius: 18px;
  --compass-width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--compass-paper); color: var(--compass-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--compass-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--compass-navy); }
img { max-width: 100%; height: auto; }
.container { width: min(var(--compass-width), calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.96); border-bottom: 1px solid rgba(220,226,232,.85); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; text-decoration: none; line-height: 1; min-width: 0; }
.brand-logo { display: block; width: clamp(220px, 26vw, 320px); max-width: 100%; height: auto; object-fit: contain; image-rendering: auto; }
.brand-mark { width: 38px; height: 38px; border: 2px solid var(--compass-blue); border-radius: 50%; display: grid; place-items: center; color: var(--compass-blue); font-size: 22px; font-weight: 500; }
.brand-name { display: block; font-size: 17px; }
.brand-sub { display: block; margin-top: 4px; color: var(--compass-muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 650; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a { color: var(--compass-ink); font-size: 13px; font-weight: 650; text-decoration: none; }
.primary-nav a:hover { color: var(--compass-blue); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--compass-blue); border-radius: 999px; background: var(--compass-blue); color: white; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.nav-cta { min-height: 40px; padding: 9px 16px; font-size: 12px; }
.button:hover, .nav-cta:hover { color: white; background: var(--compass-navy); border-color: var(--compass-navy); transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--compass-navy); border-color: #b9c5d1; }
.button-secondary:hover { color: white; }
.hero { padding: 104px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--compass-blue); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.eyebrow:before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3 { color: var(--compass-navy); font-family: "Space Grotesk", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.12; letter-spacing: -.045em; }
h1 { max-width: 760px; margin: 22px 0 24px; font-size: clamp(44px, 6.1vw, 76px); font-weight: 700; }
h1 em { color: var(--compass-blue); font-style: normal; }
.hero-copy { max-width: 650px; color: var(--compass-muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; color: var(--compass-muted); font-size: 12px; }
.hero-art { min-height: 340px; position: relative; display: grid; place-items: center; }
.compass-orbit { position: relative; width: min(300px, 75vw); aspect-ratio: 1; border: 1px solid #c9d7e9; border-radius: 50%; display: grid; place-items: center; }
.compass-orbit:before, .compass-orbit:after { content: ""; position: absolute; border: 1px solid #d9e3ef; border-radius: 50%; }
.compass-orbit:before { inset: 13%; }
.compass-orbit:after { inset: 27%; }
.compass-core { width: 100px; height: 100px; border: 1px solid var(--compass-blue); border-radius: 50%; display: grid; place-items: center; color: var(--compass-blue); font-size: 52px; background: var(--compass-paper); z-index: 1; }
.orbit-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--compass-blue); border: 3px solid var(--compass-paper); box-shadow: 0 0 0 1px var(--compass-blue); }
.dot-one { top: 12%; left: 27%; }.dot-two { right: 7%; top: 47%; }.dot-three { bottom: 10%; left: 37%; }
.art-label { position: absolute; right: -6px; bottom: 12px; padding: 12px 16px; background: white; border: 1px solid var(--compass-line); border-radius: 12px; color: var(--compass-muted); font-size: 11px; box-shadow: 0 12px 36px rgba(16,36,58,.07); }
.art-label strong { display: block; color: var(--compass-navy); font-size: 13px; }
.trust-strip { padding: 22px 0; background: var(--compass-navy); color: white; }
.trust-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.trust-inner span { color: #c6d2df; font-size: 12px; letter-spacing: .04em; }
.trust-inner strong { font-size: 13px; font-weight: 650; }
.section { padding: 96px 0; }
.section-white { background: white; }
.section-blue { background: var(--compass-soft-blue); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { margin: 15px 0 16px; font-size: clamp(32px, 4vw, 48px); }
.section-head p { margin: 0; color: var(--compass-muted); font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.service-card { min-height: 260px; padding: 28px; border: 1px solid var(--compass-line); border-radius: var(--compass-radius); background: white; }
.card-index { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--compass-soft-blue); color: var(--compass-blue); font-size: 12px; font-weight: 800; }
.service-card h3 { margin: 22px 0 12px; font-size: 23px; }
.service-card p { margin: 0; color: var(--compass-muted); font-size: 14px; }
.service-card ul { padding-left: 18px; margin: 16px 0 0; color: var(--compass-muted); font-size: 13px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { margin: 15px 0 20px; font-size: clamp(32px, 4vw, 48px); }
.split p { color: var(--compass-muted); }
.check-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--compass-ink); font-size: 14px; }
.check-list li:before { content: "✓"; display: inline-grid; place-items: center; flex: 0 0 23px; height: 23px; border-radius: 50%; background: #dbeafe; color: var(--compass-blue); font-weight: 800; font-size: 12px; }
.rescue-panel { padding: 42px; border-radius: 24px; background: var(--compass-navy); color: white; }
.rescue-panel h3 { margin: 0 0 16px; color: white; font-size: 28px; }
.rescue-panel p { color: #d4deea; }
.rescue-panel .check-list li { color: #edf3fa; }
.rescue-panel .check-list li:before { background: #dbeafe; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience { padding: 25px; border-top: 2px solid var(--compass-blue); background: #f7f9fc; }
.audience h3 { font-size: 20px; margin: 0 0 10px; }
.audience p { color: var(--compass-muted); font-size: 14px; margin: 0; }
.resource-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 36px 40px; border: 1px solid var(--compass-line); border-radius: 20px; background: white; }
.resource-band h2 { margin: 10px 0; font-size: 30px; }
.resource-band p { margin: 0; max-width: 700px; color: var(--compass-muted); }
.resource-price { display: block; color: var(--compass-navy); font-size: 12px; margin-top: 10px; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.contact-grid h2 { font-size: clamp(34px, 4vw, 48px); margin: 14px 0 18px; }
.contact-grid p { color: var(--compass-muted); }
.contact-box { padding: 30px; background: white; border: 1px solid var(--compass-line); border-radius: var(--compass-radius); }
.contact-box input, .contact-box textarea, .contact-box select { width: 100%; padding: 13px 14px; border: 1px solid #cbd5df; border-radius: 9px; background: white; color: var(--compass-ink); font: inherit; font-size: 14px; }
.contact-box label { display: block; margin: 0 0 7px; color: var(--compass-navy); font-size: 12px; font-weight: 750; }
.contact-box p { margin: 0 0 16px; }
.contact-box input:focus, .contact-box textarea:focus, .contact-box select:focus { outline: 2px solid #93b4ff; border-color: var(--compass-blue); }
.contact-box textarea { min-height: 130px; resize: vertical; }
.form-note { margin: 12px 0 0 !important; font-size: 11px; }
.site-footer { padding: 30px 0; background: #0b1a2a; color: #d0d9e3; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { margin: 0; font-size: 12px; }
.footer-inner a { color: white; }
.footer-brand { color: white; font-weight: 750; font-size: 13px; }
.menu-toggle { display: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .brand-logo { width: clamp(170px, 42vw, 230px); }
  .hero { padding: 74px 0 68px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { min-height: 270px; }
  .cards, .audience-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .resource-band { grid-template-columns: 1fr; padding: 28px; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 12px; }
}
@media (max-width: 620px) {
  .container { width: min(var(--compass-width), calc(100% - 30px)); }
  .header-inner { min-height: 70px; flex-wrap: wrap; padding: 12px 0; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 8px; order: 3; padding: 4px 0 2px; }
  .primary-nav a { font-size: 11px; }
  .nav-cta { display: none; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding: 58px 0 50px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .section { padding: 68px 0; }
  .trust-inner { justify-content: center; text-align: center; }
  .rescue-panel { padding: 28px; }
  .contact-box { padding: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
