:root {
  --navy: #1F2937;
  --navy-2: #111827;
  --accent: #3B82F6;
  --orange: #3B82F6;
  --orange-2: #60A5FA;
  --accent2: #60A5FA;
  --text: #111827;
  --muted: #6B7280;
  --line: #D1D5DB;
  --soft: #E0F2FE;
  --paper: #F8FAFC;
  --white: #fff;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --site-shadow: 0 10px 25px rgba(31, 41, 55, 0.1);
  --section-padding: 82px clamp(22px, 7vw, 104px);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: 0.2s; }
.topbar { position: sticky; top: 0; z-index: 100; height: 82px; display: flex; align-items: center; padding: 0 clamp(20px, 6vw, 88px); background: var(--navy); color: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.logo { font-weight: 850; font-size: 1.25rem; white-space: nowrap; display: flex; align-items: center; }
.logo span { color: var(--orange); margin-right: 5px; }
.navlinks { display: flex; gap: 24px; font-weight: 700; font-size: 0.9rem; }
.navlinks a:hover { color: var(--orange); }
.navcta, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 24px; border-radius: var(--radius); font-weight: 800; cursor: pointer; border: none; font-size: 0.95rem; }
.navcta, .btn.primary { background: var(--orange); color: var(--white); }
.navcta:hover, .btn.primary:hover { filter: brightness(1.1); }
.btn.secondary { color: var(--white); border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.1); }
.btn.secondary:hover { background: rgba(255,255,255,0.2); }
.btn.dark { background: var(--navy); color: var(--white); }

/* Nav Styles */
.nav-standard .navlinks { margin-left: auto; margin-right: 28px; }
.nav-minimal .nav-right { margin-left: auto; }
.nav-centered { justify-content: space-between; }
.nav-centered .logo { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-centered .nav-right { margin-left: auto; }
.nav-bold { background: var(--white); color: var(--navy); border-bottom: 2px solid var(--orange); }
.nav-bold .logo span { color: var(--navy); background: var(--orange); padding: 2px 6px; border-radius: 4px; }
.nav-dark { background: #000; border-bottom: 1px solid var(--line); }

/* Hero Archetypes */
.hero { min-height: 650px; display: flex; align-items: center; padding: var(--section-padding); position: relative; color: var(--white); background-color: var(--navy); }
.archetype-professional .hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/assets/insurance-review.webp') center/cover;
  display: flex; /* Make it a flex container */
  align-items: center;
  justify-content: space-between; /* Space out copy and visual */
  text-align: left; /* Default text alignment */
}
.archetype-professional .hero-copy {
  max-width: 600px; /* Reduce max-width */
  margin: 0; /* Remove auto margin */
  padding-right: 40px; /* Add some spacing */
}
.archetype-saas .hero, .archetype-technical .hero { background: var(--navy); overflow: hidden; }
.archetype-saas .hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--orange) 1px, transparent 1px); background-size: 40px 40px; opacity: 0.05; }
.archetype-terminal .hero { background: #020617; font-family: monospace; }

.hero-copy { position: relative; z-index: 2; flex: 1; }
h1, h2, h3 { font-family: var(--display-font); line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero p { font-size: 1.25rem; margin: 24px 0 32px; color: rgba(255,255,255,0.8); max-width: 600px; }
.archetype-professional .hero p { margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 16px; }
.archetype-professional .hero-actions { justify-content: flex-start; }

.hero-visual { flex: 0.8; position: relative; z-index: 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--site-shadow); display: flex; align-items: flex-end; background: #000; }

.hero-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.8; }
.visual-card { position: relative; z-index: 3; background: var(--paper); color: var(--text); padding: 20px; width: 100%; border-top: 4px solid var(--orange); }
.visual-card ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.85rem; font-weight: 700; }
.visual-card li span { color: var(--orange); margin-right: 6px; }

/* Sections */
section { padding: var(--section-padding); position: relative; }
.identity-strip { background: var(--soft); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.identity-strip div { flex: 1; }
.identity-strip p:last-child { flex: 1; font-size: 1.1rem; color: var(--muted); }
.eyebrow { color: var(--orange); text-transform: uppercase; font-weight: 800; font-size: 0.85rem; margin-bottom: 8px; display: block; }

.signature { background: var(--paper); }
.band { background: var(--navy); color: var(--white); }
.band h2 { color: var(--white); }
.cards, .guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.cards article, .guide-grid article { background: rgba(255,255,255,0.05); padding: 32px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); }
.archetype-professional .cards article, .archetype-service-luxe .cards article { background: var(--white); color: var(--text); border: 1px solid var(--line); box-shadow: var(--site-shadow); }
.archetype-professional .cards h3, .archetype-service-luxe .cards h3 { color: var(--navy); }
.cards span { font-size: 2rem; font-weight: 900; color: var(--orange); display: block; margin-bottom: 12px; opacity: 0.5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.visual-panel { margin: 30px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--site-shadow); }
.visual-panel img { width: 100%; display: block; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checklist li { padding: 20px 20px 20px 50px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); position: relative; font-weight: 700; box-shadow: 4px 4px 0 var(--soft); }
.checklist li::before { content: "✓"; position: absolute; left: 20px; color: var(--orange); font-size: 1.2rem; }

.guide-band { background: var(--paper); }
.guide-grid article { background: var(--white); border: 1px solid var(--line); color: var(--text); }
.guide-grid h3 { color: var(--navy); margin-bottom: 12px; }

.cta-band { background: var(--orange); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font-size: 3rem; }
.cta-band p { font-size: 1.2rem; margin: 20px auto 30px; max-width: 700px; opacity: 0.9; }

/* Footer Styles */
footer { padding: 60px clamp(20px, 6vw, 88px) 30px; background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-minimal { grid-template-columns: 1fr 1fr; }
.footer-logo { margin-bottom: 20px; }
.footer-grid h3 { color: var(--white); font-size: 1rem; margin-bottom: 15px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--orange); }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Archetype Specifics */
.archetype-contractor .hero { background: linear-gradient(90deg, var(--navy) 40%, transparent 100%), url('/assets/insurance-review.webp') center/cover; }
.archetype-contractor .checklist li { border-radius: 0; border-left: 5px solid var(--orange); }
.archetype-service-luxe { --section-padding: 120px clamp(22px, 10vw, 150px); }
.archetype-service-luxe h1, .archetype-service-luxe h2 { font-weight: 300; letter-spacing: 2px; }
.archetype-service-fresh { --radius: 30px; }
.archetype-editorial { --display-font: Georgia, serif; max-width: 1200px; margin: 0 auto; background: #fff; }
.archetype-editorial .hero { background: #fff; color: var(--navy); text-align: center; border-bottom: 4px double var(--line); }
.archetype-editorial .hero h1 { color: var(--navy); font-weight: 900; }
.archetype-editorial .hero p { color: var(--muted); margin: 20px auto; }
.archetype-editorial .btn.primary { border-radius: 0; }

/* Style for Claim Archetype Visual Card */
.visual-claim .visual-card ul {
  display: block; /* Change from grid to block for stacked appearance */
  padding-left: 0;
  list-style: none;
}
.visual-claim .visual-card ul li {
  position: relative;
  margin-bottom: 8px;
  padding: 8px 10px;
  font-weight: normal;
  font-size: 0.9rem;
  border-radius: 2px;
  background-color: var(--soft);
  color: var(--text);
}
.visual-claim .visual-card ul li span {
  display: inline;
  margin-right: 5px;
  color: var(--muted);
  font-size: 0.8em;
  text-transform: uppercase;
}
.visual-claim .visual-card ul li:nth-child(even) {
  background-color: var(--line); /* Lighter background for redacted lines */
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.05) 2px,
    transparent 2px,
    transparent 4px
  );
  color: transparent; /* Hide text for redaction effect */
  text-shadow: none;
  border: 1px dashed var(--muted);
  padding-left: 20px;
}
.visual-claim .visual-card ul li:nth-child(even)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%; /* Cover the whole line */
  background-color: var(--muted); /* Redaction bar */
  opacity: 0.7;
  z-index: 1;
}
.visual-claim .visual-card ul li:nth-child(even) span {
  color: var(--soft); /* Make span visible */
  position: relative;
  z-index: 2;
}

/* Signature Variations */
.signature { overflow: hidden; }
.file-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.file-stack article { background: #fff; padding: 25px; border: 1px solid var(--line); box-shadow: 5px 5px 0 var(--line); transform: rotate(-1deg); }
.blueprint-board { background: var(--navy); color: #fff; padding: 40px; background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 20px 20px; }
.roadmap article { border-left: 4px solid var(--orange); padding-left: 20px; margin-bottom: 20px; }
.heat-map { display: flex; gap: 30px; align-items: center; }
.heat-gauge { font-size: 4rem; font-weight: 900; color: var(--orange); border: 10px solid var(--orange); width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.texture-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.texture-board article { height: 150px; border: 1px solid var(--line); background: var(--soft); }
.siding-bands article { background: repeating-linear-gradient(0deg, var(--paper), var(--paper) 20px, var(--soft) 21px, var(--soft) 40px); border: 1px solid var(--line); padding: 20px; }
.arcade-screen { background: #000; color: #0f0; padding: 30px; font-family: monospace; border: 4px solid #333; box-shadow: 0 0 20px #0f0; }
.terminal-strip { background: #000; color: #0f0; font-family: monospace; padding: 20px; }
.terminal-strip article::before { content: "> "; }

/* Page Templates */
.page { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.page-head { margin-bottom: 60px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.service-list article, .guide-panel article { margin-bottom: 40px; }
.lead-form { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--site-shadow); border: 1px solid var(--line); display: grid; gap: 20px; }
.lead-form label { font-weight: 700; font-size: 0.9rem; }
.lead-form input, .lead-form textarea { padding: 12px; border: 1px solid var(--line); border-radius: 4px; font-family: inherit; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.consent-row input { margin-top: 4px; }

@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 60px; }
  .hero-visual { display: none; }
  .hero-copy { max-width: 100%; }
  .split { grid-template-columns: 1fr; }
  .identity-strip { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .nav-centered .logo { position: static; transform: none; }
}
