/* ── RESET & ROOT ──
   Shared design DNA with dgreenejr.com (navy base, same spacing/radius/
   component scale, same button + card language) with iRev Tech's own
   accent (steel-blue/teal) and a lighter, more "operational dashboard"
   hero treatment so the two sites read as one family without looking
   identical. See .web-designer-brain/site.md in the dgreenejr-com repo
   for the split rationale. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0f1a2e;
  --navy2: #16243d;
  --accent: #2f8394;
  --accent2: #256b7a;
  --accent-light: #eaf4f5;
  --panel: #eef2f7;
  --text: #16202e;
  --text-muted: #56637a;
  --text-light: #8994a6;
  --border: #dfe4ea;
  --bg: #ffffff;
  --bg2: #f5f7fa;
  --radius: 12px;
  --radius-sm: 8px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  padding-top: 64px;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent);
  color: #fff; padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── NAVIGATION ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 0.02em; white-space: nowrap; display: flex; align-items: baseline; gap: 2px; }
.nav-logo span { color: var(--accent); }
/* Mobile-first: full nav-links + inline CTA are desktop-only enhancements; mobile relies on the hamburger + slide-down menu below. */
.nav-links { display: none; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.65); padding: 6px 11px; border-radius: 6px; transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-cta { display: none; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: var(--radius-sm); margin-left: 12px; transition: background 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--accent2); }
.nav-mobile-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; cursor: pointer; color: #fff; font-size: 22px; }
.mobile-menu { display: none; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1); padding: 12px 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: rgba(255,255,255,0.75); padding: 13px 14px; min-height: 44px; box-sizing: border-box; font-size: 15px; border-radius: 6px; }
.mobile-menu a:hover { background: rgba(255,255,255,0.07); }

/* ── LAYOUT (mobile-first: single column, tighter spacing by default) ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--navy); }
.two-col { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.three-col { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px;
  letter-spacing: 0.16em; color: var(--text-light); text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
}
.eyebrow .dot { color: var(--accent); }
.eyebrow.on-dark { color: rgba(255,255,255,0.6); }
.eyebrow.on-dark .dot { color: var(--accent); }
.sec-eyebrow { font-size: 11px; letter-spacing: 0.14em; color: var(--accent2); text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.sec-eyebrow.dark { color: var(--accent); }
.sec-title { font-size: 26px; font-weight: 700; margin-bottom: 14px; line-height: 1.2; color: var(--text); }
.sec-title.light { color: #fff; }
.sec-sub { font-size: 15px; color: var(--text-muted); line-height: 1.75; max-width: 620px; margin-bottom: 32px; }
.sec-sub.light { color: rgba(255,255,255,0.6); }
.body-text { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.body-text a, .card p a { color: var(--accent2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.body-text a:hover, .card p a:hover { color: var(--text); }

/* ── HERO (light, executive-dashboard treatment — distinct from
   dgreenejr.com's solid dark hero, same spacing rhythm). Mobile-first:
   compact padding/type by default, motifs hidden until there's room. ── */
.hero { background: linear-gradient(180deg, var(--panel) 0%, #ffffff 100%); padding: 72px 20px 56px; text-align: center; position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--accent2); }
.hero p { font-size: 16px; color: var(--text-muted); line-height: 1.75; max-width: 600px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* Decorative motifs are absolutely positioned overlays (not in normal flow),
   so hiding them below the tablet breakpoint removes no layout space and
   leaves no gap to fill. */
.hero-motif { display: none; position: absolute; opacity: 0.9; pointer-events: none; }
.hero-motif.bars { right: 6%; top: 22%; width: 92px; }
.hero-motif.nodes { left: 4%; bottom: 12%; width: 150px; }

/* ── BUTTONS (min-height 44px keeps every button a comfortable touch target) ── */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; padding: 13px 28px; min-height: 44px; box-sizing: border-box; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--navy); font-size: 14px; font-weight: 600; padding: 13px 28px; min-height: 44px; box-sizing: border-box; border-radius: var(--radius-sm); border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-light); }
.btn-outline-inverse { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: #fff; font-size: 14px; font-weight: 500; padding: 13px 28px; min-height: 44px; box-sizing: border-box; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.3); cursor: pointer; transition: all 0.2s; }
.btn-outline-inverse:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

/* ── CRED / PROOF STRIP ── */
.cred-strip { background: var(--navy); padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; align-items: center; }
.cred-strip span { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: 0.06em; text-transform: uppercase; }
.cred-strip span.accent { color: var(--accent); }
.cred-sep { color: rgba(255,255,255,0.25); }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 4px 24px rgba(15,26,46,0.08); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent2); }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
a.card { display: block; color: inherit; }

/* ── STATS ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 40px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.stat-num { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 8px; }

/* ── QUOTE BLOCK ── */
.quote-block { border-left: 4px solid var(--accent); padding: 20px 24px; background: var(--accent-light); border-radius: 0 var(--radius) var(--radius) 0; margin: 32px 0; }
.quote-block p { font-size: 17px; font-style: italic; color: var(--text); line-height: 1.7; }
.quote-block cite { font-size: 13px; color: var(--text-muted); font-style: normal; margin-top: 8px; display: block; font-weight: 600; }

/* ── CTA BAND ── */
.cta-band { background: var(--navy); padding: 56px 20px; text-align: center; }
.cta-band h2 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 14px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.2; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 24px; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-btns { margin-top: 4px; }

/* ── CHIPS ── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { font-size: 13px; padding: 8px 18px; border-radius: 20px; background: var(--bg2); border: 1px solid var(--border); color: var(--text-muted); font-weight: 500; }

/* ── CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 20px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; }
.check-circle { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-light); border: 1px solid rgba(47,131,148,0.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 13px; color: var(--accent2); font-weight: 700; }
.check-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.check-item p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── BULLET LIST ── */
.bullet-list { list-style: none; margin-top: 16px; }
.bullet-list li { font-size: 15px; color: var(--text-muted); padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.bullet-list li::before { content: '→'; color: var(--accent2); font-weight: 700; flex-shrink: 0; }

/* ── FORM FIELDS (mobile-first, 44px+ touch targets) ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; min-height: 44px;
  box-sizing: border-box; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-submit { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; padding: 13px 28px; min-height: 44px; box-sizing: border-box; border-radius: var(--radius-sm); border: none; cursor: pointer; }

/* ── PROOF / FAQ GRID ── */
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.proof-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.proof-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.proof-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── AVATAR ── */
.avatar { width: 110px; height: 110px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: var(--accent); margin-bottom: 20px; border: 3px solid rgba(47,131,148,0.3); }

/* ── BREADCRUMBS ── */
.breadcrumbs { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 12px 20px; }
.breadcrumbs-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--text-light); }
.breadcrumbs-inner a { color: var(--text-muted); font-weight: 500; }
.breadcrumbs-inner a:hover { color: var(--accent2); }
.breadcrumbs-inner span.sep { color: var(--text-light); }
.breadcrumbs-inner span.current { color: var(--text); font-weight: 600; }

/* ── FRAMEWORK JOURNEY (RevTech 90 flow). Mobile-first: a single vertical
   column with a top-to-bottom connector; becomes a 3-up horizontal flow
   with a left-to-right connector once there's room (min-width: 901px). ── */
.framework-journey { display: grid; grid-template-columns: 1fr; gap: 34px; position: relative; }
.framework-phase { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; min-height: 0; display: flex; flex-direction: column; }
.framework-phase:not(:last-child)::after { content: ""; position: absolute; top: auto; right: auto; bottom: -34px; left: 32px; width: 1px; height: 34px; background: var(--border); transform: none; }
.framework-phase:not(:last-child)::before { content: ""; position: absolute; top: auto; right: auto; bottom: -34px; left: 28px; width: 8px; height: 8px; border-top: 1px solid var(--accent2); border-right: 1px solid var(--accent2); transform: rotate(135deg); z-index: 1; }
.framework-phase-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.framework-phase-num { color: rgba(15,26,46,0.10); font-size: 52px; font-weight: 800; line-height: 0.9; }
.framework-phase-eyebrow { color: var(--accent2); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.4; text-align: right; text-transform: uppercase; max-width: none; }
.framework-phase h3 { color: var(--text); font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.framework-phase p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.framework-phase-note { border-top: 1px solid var(--border); color: var(--text-light); font-size: 12px; font-weight: 600; line-height: 1.55; margin-top: auto; padding-top: 14px; }

/* ── FOOTER (mobile-first: stacked single column, widens progressively) ── */
.footer { background: var(--navy); padding: 48px 20px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; margin-top: 10px; }
.footer-logo-text { font-size: 18px; font-weight: 800; color: #fff; }
.footer-logo-text span { color: var(--accent); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-col a { display: flex; align-items: center; font-size: 13px; color: rgba(255,255,255,0.45); padding: 4px 0; margin-bottom: 5px; min-height: 44px; box-sizing: border-box; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ── RESPONSIVE (mobile-first: base rules above are the small-screen
   layout; these min-width blocks progressively add the tablet/desktop
   enhancements, at the same 600/900px breakpoints used previously) ── */
@media (min-width: 601px) {
  .container { padding: 0 32px; }
  .hero { padding: 96px 32px 72px; }
  .section { padding: 80px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .breadcrumbs { padding: 14px 32px; }
  .nav-inner { padding: 0 32px; }
  .cred-strip { padding: 14px 32px; }
}
@media (min-width: 901px) {
  .nav-links { display: flex; gap: 2px; align-items: center; }
  .nav-cta { display: inline-flex; align-items: center; }
  .nav-mobile-btn { display: none; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 17px; margin-bottom: 36px; }
  .hero-motif { display: block; }
  .sec-title { font-size: 34px; }
  .sec-sub { font-size: 16px; margin-bottom: 40px; }
  .cta-band { padding: 72px 32px; }
  .cta-band h2 { font-size: 32px; }
  .cta-band p { font-size: 16px; margin-bottom: 28px; }
  .avatar { width: 120px; height: 120px; font-size: 32px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
  .three-col { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 280px 1fr 1fr 1fr; gap: 48px; }
  .framework-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .framework-phase { min-height: 300px; padding: 30px 26px; }
  .framework-phase:not(:last-child)::after { top: 50%; right: -24px; left: auto; bottom: auto; width: 24px; height: 1px; transform: translateY(-50%); }
  .framework-phase:not(:last-child)::before { top: 50%; right: -24px; left: auto; bottom: auto; transform: translateY(-50%) rotate(45deg); }
  .framework-phase-eyebrow { max-width: 150px; }
}
