/* RISK+CLEAR — riskclear.ai
 * Brand: Meridian Advisory
 * Single-page marketing site
 */

:root {
  --blue:      #2868B2;
  --dark-blue: #1A4A80;
  --light-blue:#D5E8F0;
  --pale-blue: #EBF3F8;
  --charcoal:  #2D2D2D;
  --dark-grey: #4A4A4A;
  --mid-grey:  #8A8A8A;
  --light-grey:#E5E5E5;
  --off-white: #F7F9FB;
  --white:     #FFFFFF;
  --gold:      #C49A10;
  --red:       #A82010;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Nav */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-grey);
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: baseline; gap: 10px; }
.nav-product { font-family: 'DM Serif Display', Georgia, serif; font-size: 20px; color: var(--dark-blue); }
.nav-product span { color: var(--gold); }
.nav-by { font-size: 11px; color: var(--mid-grey); font-weight: 300; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-cta { background: var(--blue); color: var(--white); text-decoration: none; font-size: 13px; font-weight: 500; padding: 8px 20px; border-radius: 2px; transition: background 0.2s; }
.nav-cta:hover { background: var(--dark-blue); }

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--dark-blue);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-left { padding: 80px 48px 80px 64px; position: relative; z-index: 2; }
.hero-right {
  display: block;
  padding: 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #1E3D5C;
}

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--light-blue); margin-bottom: 28px; }
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.hero-headline { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.08; color: var(--white); margin-bottom: 24px; letter-spacing: -1px; }
.hero-headline em { font-style: italic; color: var(--gold); }
.hero-body { font-size: 17px; color: var(--light-blue); line-height: 1.75; margin-bottom: 40px; font-weight: 300; max-width: 480px; }
.hero-body strong { color: var(--white); font-weight: 500; }
.btn-primary { display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; padding: 14px 32px; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: #3278cc; transform: translateY(-1px); }

.dice-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Stat strip */
.stat-strip { background: var(--blue); padding: 32px 40px; }
.stat-strip-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-item { text-align: center; border-right: 1px solid rgba(255,255,255,0.15); padding: 0 24px; }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'DM Serif Display', Georgia, serif; font-size: 36px; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-number span { color: var(--gold); }
.stat-label { font-size: 12px; color: var(--light-blue); font-weight: 300; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-source { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 4px; font-style: italic; }

/* Section base */
section { padding: 80px 40px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--light-grey); max-width: 60px; }
.section-title { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(26px, 3vw, 38px); color: var(--dark-blue); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-intro { font-size: 17px; color: var(--dark-grey); max-width: 640px; line-height: 1.7; margin-bottom: 48px; font-weight: 300; }

/* Problem */
.problem { background: var(--off-white); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--light-grey); border: 1px solid var(--light-grey); margin-top: 40px; }
.problem-card { background: var(--white); padding: 32px; }
.problem-card-icon { width: 36px; height: 36px; background: var(--pale-blue); border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 16px; }
.problem-card h3 { font-size: 15px; font-weight: 600; color: var(--dark-blue); margin-bottom: 10px; line-height: 1.3; }
.problem-card p { font-size: 14px; color: var(--dark-grey); line-height: 1.6; font-weight: 300; }

/* Explainer */
.explainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.report-mockup {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 32px;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(26, 74, 128, 0.18);
}

.explainer-right-title { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.deliverables-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.deliverables-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: var(--off-white); border-left: 3px solid var(--blue); }
.del-icon { width: 20px; height: 20px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.del-icon svg { width: 10px; height: 10px; fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.del-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--dark-blue); margin-bottom: 2px; }
.del-text span { font-size: 12.5px; color: var(--dark-grey); font-weight: 300; }

/* Process */
.process { background: var(--dark-blue); }
.process .section-label { color: var(--light-blue); }
.process .section-label::after { background: rgba(255,255,255,0.15); }
.process .section-title { color: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: rgba(255,255,255,0.08); margin-top: 40px; }
.process-step { background: var(--dark-blue); padding: 28px 20px; position: relative; }
.process-step::after { content: '\2192'; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.2); font-size: 18px; z-index: 1; }
.process-step:last-child::after { display: none; }
.step-num { font-family: 'DM Serif Display', Georgia, serif; font-size: 28px; color: rgba(255,255,255,0.15); line-height: 1; margin-bottom: 12px; }
.step-title { font-size: 13px; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.step-desc { font-size: 12px; color: var(--light-blue); line-height: 1.5; font-weight: 300; }

/* Sectors */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.sector-card { border: 1px solid var(--light-grey); padding: 28px; transition: border-color 0.2s, box-shadow 0.2s; }
.sector-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(40,104,178,0.08); }
.sector-icon { font-size: 24px; margin-bottom: 16px; display: block; }
.sector-card h3 { font-size: 15px; font-weight: 600; color: var(--dark-blue); margin-bottom: 12px; }
.sector-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sector-card ul li { font-size: 13px; color: var(--dark-grey); font-weight: 300; padding-left: 14px; position: relative; }
.sector-card ul li::before { content: '/'; position: absolute; left: 0; color: var(--blue); font-size: 11px; }

/* Independence */
.independence { background: var(--pale-blue); }
.independence-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.independence-statement { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(19px, 2.2vw, 26px); color: var(--dark-blue); line-height: 1.35; font-style: italic; border-left: 4px solid var(--blue); padding-left: 24px; margin-bottom: 24px; }
.independence-body { font-size: 15px; color: var(--dark-grey); line-height: 1.7; font-weight: 300; }
.independence-pillars { display: flex; flex-direction: column; gap: 20px; }
.pillar { display: flex; align-items: flex-start; gap: 16px; }
.pillar-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.pillar-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--dark-blue); margin-bottom: 3px; }
.pillar-text span { font-size: 13px; color: var(--dark-grey); font-weight: 300; line-height: 1.5; }

/* CTA */
.cta-section { background: var(--dark-blue); text-align: center; padding: 80px 40px; }
.cta-eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--light-blue); margin-bottom: 20px; font-weight: 500; }
.cta-headline { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(28px, 4vw, 48px); color: var(--white); line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.5px; }
.cta-headline em { color: var(--gold); font-style: italic; }
.cta-sub { font-size: 16px; color: var(--light-blue); margin-bottom: 40px; font-weight: 300; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-email-block { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-email-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); font-weight: 500; }
.cta-email-link { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(18px, 2.5vw, 26px); color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 4px; transition: border-color 0.2s, color 0.2s; }
.cta-email-link:hover { color: var(--gold); border-color: var(--gold); }
.cta-subject-hint { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 300; margin-top: 8px; font-style: italic; }

/* Footer */
footer {
  background: #0A1E35;
  border-top: 2px solid var(--blue);
  padding: 40px 40px 28px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-brand-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.footer-brand-name span { color: var(--gold); }
.footer-brand-by {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  line-height: 1.5;
}
.footer-entity-label,
.footer-contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.footer-contact-label { margin-bottom: 12px; }
.footer-entity-row {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 8px;
}
.footer-entity-row strong {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  display: block;
  margin-bottom: 1px;
  font-size: 11.5px;
}
.footer-contact-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-contact-link:hover { color: var(--white); }
.footer-contact-link.primary {
  font-size: 14px;
  color: var(--light-blue);
  font-weight: 400;
}
.footer-bottom {
  max-width: 960px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
}

/* Responsive */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 80px 24px 32px; }
  .hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px 60px;
  }
  .dice-image {
    width: auto;
    height: auto;
    max-width: 300px;
    object-fit: initial;
  }
  nav { padding: 0 20px; }
  section { padding: 60px 20px; }
  .stat-strip { padding: 24px 20px; }
  .stat-strip-inner,
  .problem-grid,
  .explainer-grid,
  .sectors-grid,
  .independence-inner,
  .footer-inner { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 0 0 16px; }
  .stat-item:last-child { border-bottom: none; }
  .independence-inner { gap: 32px; }
  .cta-section { padding: 60px 20px; }
  footer { padding: 32px 20px 24px; }
}
