/* ECW Revenue Consulting — shared styles for landing pages */
:root {
  --bg: #f7f4ef;
  --bg-2: #f1ece3;
  --text: #142235;
  --muted: rgba(20,34,53,0.74);
  --soft: rgba(20,34,53,0.54);
  --border: rgba(20,34,53,0.12);
  --border-strong: rgba(20,34,53,0.18);
  --navy: #142235;
  --gold: #f4c542;
  --gold-deep: #e3ad1f;
  --nav-bg: rgba(247,244,239,0.80);
  --panel: rgba(255,255,255,0.72);
  --shadow-sm: 0 1px 2px rgba(20,34,53,0.04), 0 2px 8px rgba(20,34,53,0.04);
  --shadow-md: 0 10px 30px -12px rgba(20,34,53,0.18), 0 4px 10px -6px rgba(20,34,53,0.10);
  --shadow-lg: 0 30px 60px -24px rgba(20,34,53,0.30), 0 12px 24px -16px rgba(20,34,53,0.14);
  --radius: 18px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(244,197,66,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(20,34,53,0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--gold); color: #17212b; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--maxw), calc(100% - 44px)); margin: 0 auto; }
.measure { max-width: 760px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: var(--nav-bg); border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.brand .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; margin-right: 10px;
  background: var(--navy); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 18px; vertical-align: middle; transform: translateY(-1px);
}
.brand span { display: block; margin: 3px 0 0 40px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--soft); }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14.5px; color: var(--muted); }
.nav-links a:not(.button) { transition: color .2s ease; }
.nav-links a:not(.button):hover { color: var(--text); }
@media (max-width: 780px) { .nav-links a:not(.button) { display: none; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 24px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease;
}
.button .arrow { transition: transform .25s ease; }
.button:hover .arrow { transform: translateX(3px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.button-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: #1b2e47; }
.button-secondary { background: rgba(255,255,255,0.6); border-color: var(--border-strong); color: var(--navy); }
.button-secondary:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-md); }
.button-gold { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #17212b; box-shadow: 0 10px 30px -10px rgba(227,173,31,0.6); }
.button-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(227,173,31,0.75); }

/* Typography */
h1, h2, h3 { font-family: var(--serif); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.28em; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold-deep); opacity: .8; }

/* Breadcrumb */
.breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--soft); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* Page hero */
.page-hero { padding: 40px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero h1 {
  margin: 0; max-width: 18ch;
  font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 600;
}
.page-hero .lead { margin: 26px 0 0; max-width: 720px; font-size: 19.5px; line-height: 1.75; color: var(--muted); }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Content sections */
section { padding: 64px 0; border-bottom: 1px solid var(--border); }
section h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 18px; }
section h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; margin: 0 0 12px; }
section p { color: var(--muted); font-size: 17px; line-height: 1.85; margin: 0 0 18px; max-width: 760px; }
section p:last-child { margin-bottom: 0; }
section ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 760px; }
section ul li { padding-left: 30px; position: relative; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
section ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3ad1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
section ul li strong { color: var(--text); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card p { font-size: 15.5px; margin: 0; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

/* Proof stat row */
.statline { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.statline div { min-width: 140px; }
.statline strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1; letter-spacing: -0.02em; }
.statline span { font-size: 13.5px; color: var(--muted); }

/* CTA band */
.cta {
  background: radial-gradient(700px 300px at 85% 0%, rgba(244,197,66,0.16), transparent 60%), linear-gradient(180deg, #142235 0%, #0b1727 100%);
  color: #fff; border-bottom: 0; padding: 64px 0;
}
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: rgba(255,255,255,0.80); max-width: 56ch; }
.cta .actions { margin-top: 28px; }

/* Related links */
.related { background: var(--bg-2); border-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.related-grid a { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.related-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-grid strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.related-grid span { font-size: 14px; color: var(--muted); }
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr; } }

/* Footer */
footer { padding: 40px 0; color: var(--soft); font-size: 14px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
