/*
Theme Name: Meridian Campaign Landing Page
Theme URI: https://meridiancontracts.com
Author: Meridian Contract Partners
Description: A lightweight, conversion-focused landing page for Meridian Contract Partners email campaigns.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: meridian-campaign
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #08111f;
  --bg-deep: #060d18;
  --surface: rgba(23, 32, 51, .72);
  --surface-solid: #172033;
  --border: rgba(248, 250, 252, .13);
  --border-gold: rgba(201, 162, 39, .46);
  --gold: #c9a227;
  --gold-bright: #e2c75f;
  --text: #f8fafc;
  --muted: #b8c2d3;
  --dim: #7b8799;
  --max: 1160px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 7%, rgba(201, 162, 39, .10), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(94, 144, 255, .10), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #0f172a 48%, var(--bg-deep) 100%);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: '';
  opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 82%);
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.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; }
.skip-link:focus { position: fixed; z-index: 999; top: 12px; left: 12px; width: auto; height: auto; padding: 10px 14px; margin: 0; overflow: visible; clip: auto; color: var(--bg); background: var(--gold-bright); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 17, 31, .78);
  backdrop-filter: blur(22px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.brand span { font-size: 18px; font-weight: 500; letter-spacing: .02em; }
.brand strong { color: var(--gold-bright); font-weight: 600; }
.header-link { color: var(--gold-bright); font-size: 13px; font-weight: 600; text-decoration: none; }
.header-link:hover { color: var(--text); }

.hero { min-height: 720px; padding: 168px 0 110px; border-bottom: 1px solid var(--border); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 16px; color: var(--gold-bright); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 76px); font-weight: 300; letter-spacing: -.055em; line-height: 1.02; }
.hero__lead { max-width: 670px; margin-bottom: 32px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 21px; border: 1px solid transparent; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button--primary { color: var(--bg-deep); background: var(--gold); box-shadow: 0 18px 46px rgba(201, 162, 39, .18); font-weight: 600; }
.button--primary:hover { color: var(--bg-deep); background: var(--gold-bright); transform: translateY(-2px); }
.button--secondary { color: var(--text); border-color: var(--border); background: rgba(248, 250, 252, .035); }
.button--secondary:hover { border-color: var(--border-gold); color: var(--gold-bright); }
.badges { display: flex; flex-wrap: wrap; gap: 9px; }
.badges span { padding: 8px 10px; border: 1px solid var(--border); color: var(--muted); background: rgba(248, 250, 252, .035); font-size: 12px; }
.hero__panel { position: relative; padding: 32px; border: 1px solid var(--border-gold); background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: var(--shadow); }
.hero__panel::before { position: absolute; top: 0; right: 26px; width: 82px; height: 3px; content: ''; background: var(--gold); }
.panel-code { margin-bottom: 42px; color: var(--gold-bright); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.panel-title { margin-bottom: 28px; font-size: 26px; font-weight: 400; line-height: 1.2; }
.panel-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.panel-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding-top: 15px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.panel-list li::before { color: var(--gold-bright); content: '0' counter(item); font-family: 'IBM Plex Mono', monospace; }
.panel-list { counter-reset: item; }
.panel-list li { counter-increment: item; }

.section { padding: 100px 0; }
.section--border { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 50px); font-weight: 300; letter-spacing: -.04em; line-height: 1.1; }
.section-heading p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 250px; padding: 28px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.card__code { display: block; margin-bottom: 24px; color: var(--gold-bright); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .08em; }
.card h3 { margin-bottom: 10px; font-size: 20px; font-weight: 500; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.callout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 42px; border: 1px solid var(--border-gold); background: linear-gradient(135deg, rgba(201,162,39,.10), rgba(255,255,255,.035)); }
.callout h2 { max-width: 700px; margin-bottom: 10px; font-size: clamp(28px, 4vw, 44px); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }
.callout p { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.disclaimer { max-width: 780px; margin: 26px auto 0; color: var(--dim); font-size: 12px; line-height: 1.65; text-align: center; }

.site-footer { padding: 42px 0 30px; border-top: 1px solid var(--border); }
.site-footer__top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; }
.site-footer__brand { max-width: 380px; }
.site-footer__brand p, .site-footer__legal p { margin-bottom: 0; color: var(--dim); font-size: 12px; line-height: 1.65; }
.site-footer__brand .brand { margin-bottom: 14px; }
.site-footer__brand .brand img { width: 34px; height: 34px; }
.site-footer__legal { display: flex; align-items: flex-start; gap: 18px; }
.site-footer__legal a { color: var(--muted); font-size: 12px; text-decoration: none; }
.site-footer__legal a:hover { color: var(--gold-bright); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--dim); font-size: 11px; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { width: min(var(--max), calc(100% - 36px)); }
  .site-header__inner { min-height: 64px; }
  .brand span { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .header-link { font-size: 12px; }
  .hero { padding: 124px 0 76px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero__lead { font-size: 16px; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero__panel { padding: 24px; }
  .section { padding: 72px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .callout { padding: 28px 24px; }
  .site-footer__legal, .site-footer__bottom { flex-direction: column; }
}
