/* EnSight IV Energy Management, LLC — prototype styling
 * Palette extracted from the official E4M logo + brand photo.
 *   Brand red  : #e30613  ("En" + buttons + primary accent + rig)
 *   Brand blue : #0d5da6  ("Sight IV" + secondary accent)
 *   Subtitle gray: #8c8c8c  ("Energy Management, LLC")
 *   Header navy: #0e2a4a   (darker than logo blue, matches atmospheric site photo)
 */

:root {
  /* Site chrome navy (header/footer) — dark enough for white text */
  --navy:        #0e2a4a;
  --navy-dark:   #081f3a;
  --navy-light:  #1f4574;

  /* Brand blue from the logo wordmark */
  --brand-blue:        #0d5da6;
  --brand-blue-dark:   #0a4581;
  --brand-blue-light:  #2a78c0;

  /* Brand red from the logo wordmark — used as primary accent */
  --accent:        #e30613;
  --accent-dark:   #b8050f;
  --accent-light:  #f02830;
  --accent-soft:   #fce8ea;

  /* Logo subtitle gray */
  --subtitle-gray: #8c8c8c;
  --subtitle-gray-dark: #6b6b6b;

  /* Body — warm off-white */
  --bg:        #fafaf7;
  --bg-soft:   #f4f1ea;
  --bg-softer: #ede8db;

  --border:      #d4cfc4;
  --border-dark: #a89e8c;
  --text:        #1a1a1a;
  --text-muted:  #6b6b6b;

  /* Status */
  --success:    #15803d;
  --success-bg: #dcfce7;
  --error:      #b91c1c;
  --error-bg:   #fee2e2;
  --warning:    #b45309;
  --warning-bg: #fef3e8;

  /* Fonts — matching the existing ensightenergy.com Weebly site */
  --font-body:    "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
                   system-ui, Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif:   "Cardo", Georgia, "Times New Roman", serif;
  --font-brand:   "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: #515151;                 /* softer paragraph color, matching existing site */
  background: var(--bg);
  line-height: 1.625;             /* 26/16 like existing site */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* Josefin Sans is geometric & elegant — looks best with slightly tighter
   letter-spacing at large sizes and lighter weights for big display copy. */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--navy);
}
h1 { font-weight: 300; letter-spacing: 0.02em; }
h2 { font-weight: 400; }
h3, h4 { font-weight: 700; }
strong, b { color: var(--text); font-weight: 600; }

/* ---------- Test mode banner ---------- */
.test-banner {
  background: #fef3c7;
  color: #78350f;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-bottom: 1px solid #fbbf24;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* ---------- Site header ---------- *
 * Global splash-style: floats transparently over the hero/banner below.
 * Nav centered, logo hidden so the photo or dark banner carries the brand. */
.site-header {
  position: absolute;
  top: 28px;            /* clears the yellow test-banner */
  left: 0;
  right: 0;
  z-index: 10;
  color: white;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid var(--accent);
}
/* Homepage hero: same size as the .page-title banners on the other pages
   for visual continuity (560px). Text on the right, gradient flipped so the
   right side darkens. Photo cropped from the TOP only — bottom stays visible. */
body.home .hero {
  min-height: 560px;
}
/* Use flexbox (not grid) for the homepage hero — reliably vertically centers
   the single text block regardless of min-height quirks. */
body.home .hero .container {
  display: flex;
  align-items: center;        /* vertical center — bulletproof */
  justify-content: flex-end;  /* push the text block to the right */
  min-height: 560px;
  /* Asymmetric padding nudges the centered content down so it sits in the
     visible area BELOW the floating header (which covers the top ~90px). */
  padding-top: 135px;
  padding-bottom: 45px;
}
body.home .hero-content {
  max-width: 460px;
  text-align: left;
  z-index: 3;
}
body.home .hero .hero-overlay {
  background:
    linear-gradient(255deg,
      rgba(8, 22, 42, 0.85) 0%,
      rgba(8, 22, 42, 0.55) 35%,
      rgba(8, 22, 42, 0.15) 65%,
      rgba(8, 22, 42, 0) 100%);
}
/* Crop the photo from the TOP only — anchor the bottom of the photo at the
   bottom of the (now shorter) hero so the cornfield/rig stay visible. */
body.home .hero-photo {
  object-position: center bottom;
}
/* Logo floats in the upper-left "sky" area */
/* On homepage the .hero-logo is a FLEX wrapper holding the split
   globe + wordmark. Vertically centered on the left side of the page. */
body.home .hero-logo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  z-index: 4;
  filter: none;
}
body.home .hero-logo-globe {
  display: block;
  height: 165px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.18));
}
body.home .hero-logo-text {
  display: block;
  height: 113px;
  width: auto;
  transform: scaleX(1.5);
  transform-origin: left center;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.18));
}
/* ---- Homepage hero: responsive stacking ----
   On narrower screens the absolutely-positioned logo (left) and text (right)
   would overlap. Below 960px we drop the absolute positioning, stack them
   vertically (logo on top, text below, both centered), and shrink the logo. */
@media (max-width: 960px) {
  body.home .hero {
    min-height: auto;
    padding-top: 104px;   /* clear the floating header */
    padding-bottom: 48px;
  }
  body.home .hero .container {
    display: block;
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
  /* Uniform dark overlay so centered text + logo stay legible */
  body.home .hero .hero-overlay {
    background: linear-gradient(to bottom,
      rgba(8, 22, 42, 0.55) 0%,
      rgba(8, 22, 42, 0.72) 100%);
  }
  /* Logo: stop floating, center it above the text, shrink it */
  body.home .hero-logo {
    position: static;
    transform: none;
    justify-content: center;
    width: auto;
    margin: 0 auto 26px;
  }
  body.home .hero-logo-globe { height: 130px; }
  body.home .hero-logo-text  { height: 88px; transform: scaleX(1.4); }
  /* Text: stop floating, center it below the logo, full width */
  body.home .hero-content {
    position: static;
    transform: none;
    right: auto;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }
}

/* Extra-small phones: shrink the logo a touch more */
@media (max-width: 480px) {
  body.home .hero-logo-globe { height: 100px; }
  body.home .hero-logo-text  { height: 68px; transform: scaleX(1.35); }
}
/* Big Weebly-style hero logo sitting over the photo */
.hero-logo {
  display: block;
  width: 460px;
  max-width: 100%;
  height: auto;
  margin: 0 0 32px;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.25));
}
@media (max-width: 800px) {
  .hero-logo { width: 320px; }
}
.site-header .container { display: flex; align-items: center; justify-content: center; }
.site-header .brand-block { display: none; }   /* logo carried by hero/banner */
.site-header .brand-logo {
  height: 80px;
  width: auto;
  display: block;
  background: transparent;
}
.site-header nav a {
  color: white;
  margin-left: 32px;
  font-family: var(--font-body);   /* same as hero body — Open Sans */
  font-size: 16px;
  font-weight: 700;
  opacity: 0.95;
  letter-spacing: 0.4px;
  padding-bottom: 4px;
  text-transform: none;
}
.site-header nav a:hover {
  opacity: 1;
  color: white;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
/* Active page link: stays white, with a red underline to mark the current page */
.site-header nav a.active,
.site-header nav a.active:hover {
  color: white;
  border-bottom: 2px solid var(--accent);
}

/* ---------- Container ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================ */
/* HERO with photographic background                            */
/* ============================================================ */

.hero {
  position: relative;
  min-height: 560px;
  color: white;
  overflow: hidden;
  /* If hero-bg.jpg is missing, the gradient fallback shows */
  background:
    linear-gradient(135deg, rgba(14,42,74,0.85) 0%, rgba(14,42,74,0.35) 60%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to bottom, #1e3a5f 0%, #6b7e95 55%, #d4a87f 78%, #3a2a1c 100%);
}
.hero .hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      rgba(8, 22, 42, 0.85) 0%,
      rgba(8, 22, 42, 0.55) 35%,
      rgba(8, 22, 42, 0.15) 65%,
      rgba(8, 22, 42, 0) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 90px;
  padding-bottom: 90px;
  min-height: 560px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: white;
  margin-bottom: 20px;
  padding: 5px 16px;
  background: var(--accent);
  border-radius: 2px;
}
/* Unified hero / page-title heading and body — applies to Ownership Changes,
   About Us, and Contact (the homepage hero has no h1, so it's unaffected). */
.hero h1,
.page-title h1 {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  color: white;
}
.hero p,
.page-title p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0 0 22px;
  font-weight: 400;
  color: white;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
  max-width: 540px;
}
.hero p:last-of-type,
.page-title p:last-of-type { margin-bottom: 36px; }

/* No-photo helper — visible only when the photo file is missing */
.hero-no-photo {
  position: absolute;
  right: 24px; bottom: 18px;
  z-index: 4;
  font-family: var(--font-body);
  font-size: 11px;
  background: rgba(0,0,0,0.45);
  color: #ffd87a;
  padding: 8px 12px;
  border: 1px dashed #ffd87a;
  border-radius: 2px;
  letter-spacing: 0.4px;
  max-width: 280px;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero h1 { font-size: 36px; }
  .hero .hero-overlay {
    background:
      linear-gradient(to bottom,
        rgba(8, 22, 42, 0.85) 0%,
        rgba(8, 22, 42, 0.55) 50%,
        rgba(8, 22, 42, 0.85) 100%);
  }
}

/* ---------- Sections ---------- */
section.content { padding: 80px 0; }
section.content.alt { background: var(--bg-soft); }
section.content h2 {
  font-size: 32px;
  margin: 0 0 12px;
  color: var(--navy);
}
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-intro {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 680px;
  margin: 0 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.feature {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  padding: 28px 26px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14, 42, 74, 0.1); }
.feature h3 { margin: 0 0 10px; font-size: 19px; color: var(--navy); }
.feature p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s, box-shadow 0.15s;
  text-decoration: none;
  font-family: var(--font-body);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); color: white; text-decoration: none; box-shadow: 0 4px 14px rgba(227, 6, 19, 0.4); }
.btn-primary:disabled { background: var(--border-dark); color: white; cursor: not-allowed; transform: none; box-shadow: none; opacity: 0.6; }
.btn-secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: white; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-large { padding: 16px 36px; font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: white;
  padding: 56px 0 24px;
  font-size: 13.5px;
  margin-top: 0;        /* footer butts directly against content, no gap */
  border-top: 3px solid var(--accent);
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.site-footer h4 {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-light);
}
.site-footer a { color: white; opacity: 0.78; display: block; margin-bottom: 8px; }
.site-footer a:hover { opacity: 1; color: white; text-decoration: underline; }
.site-footer .copyright {
  width: 100%;
  border-top: 1px solid var(--navy-light);
  padding-top: 20px;
  margin-top: 28px;
  text-align: center;
  opacity: 0.55;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ============================================================ */
/* FORM-SPECIFIC STYLES                                         */
/* ============================================================ */

/* Page-title banner: hero-sized band (560px min-height, matching .hero on
   the Ownership Changes page) with the panorama photo + dark overlay.
   Used on About Us and Contact. The mid-page form-section title
   (#change-request-form) overrides this back to a smaller bar. */
.page-title {
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-image:
    linear-gradient(105deg,
      rgba(8, 22, 42, 0.85) 0%,
      rgba(8, 22, 42, 0.55) 35%,
      rgba(8, 22, 42, 0.15) 65%,
      rgba(8, 22, 42, 0) 100%),
    url("HiRes-panorama.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--navy-dark);
  padding: 90px 0;
  position: relative;
  color: white;
}
.page-title > .container { width: 100%; }
/* About Us page-title uses the wellhead daylight photo */
.page-title.page-title--team {
  background-image:
    linear-gradient(105deg,
      rgba(8, 22, 42, 0.85) 0%,
      rgba(8, 22, 42, 0.55) 35%,
      rgba(8, 22, 42, 0.15) 65%,
      rgba(8, 22, 42, 0) 100%),
    url("20260303_161415~2.jpg");
}
/* Contact page-title uses the rig 1 photo */
.page-title.page-title--contact {
  background-image:
    linear-gradient(105deg,
      rgba(8, 22, 42, 0.85) 0%,
      rgba(8, 22, 42, 0.55) 35%,
      rgba(8, 22, 42, 0.15) 65%,
      rgba(8, 22, 42, 0) 100%),
    url("rig 1.jpg");
}
/* Top red bar on the page-title removed — keeps the header area clean */
.page-title .section-eyebrow { color: var(--accent-light); }
/* Mid-page page-title (e.g. form section) — not a page hero. Reset to a
   simple band: no min-height, no flex-centering, no photo, less padding. */
#change-request-form.page-title {
  min-height: 0;
  display: block;
  padding: 60px 0 40px;
  background-image: none;
  background-color: var(--navy);
}
/* Compact page-title for text pages (e.g. Privacy & Terms) — solid navy band,
   no photo, top padding clears the floating header. */
.page-title.page-title--compact {
  min-height: 0;
  display: block;
  padding: 130px 0 50px;
  background-image: none;
  background-color: var(--navy);
}
/* Readable column for long-form legal/text content */
.legal {
  max-width: 760px;
}
.legal h2 {
  font-size: 22px;
  margin: 36px 0 10px;
  color: var(--navy);
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #515151; }
.legal ul { padding-left: 22px; margin: 8px 0 16px; }
.legal li { margin-bottom: 8px; }
.legal .effective { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.form-wrapper { max-width: 860px; margin: 48px auto 80px; padding: 0 24px; }

.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 48px;
  box-shadow: 0 2px 8px rgba(14, 42, 74, 0.05);
}

/* ---------- Progress indicator ---------- */
.progress {
  display: flex;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  gap: 4px;
}
.progress-step {
  flex: 1; text-align: center; font-size: 12px; color: var(--text-muted);
  position: relative; padding: 8px 4px;
}
.progress-step .step-num {
  display: inline-flex; width: 32px; height: 32px;
  border-radius: 50%; background: white; border: 2px solid var(--border-dark);
  color: var(--text-muted); font-weight: 700; font-family: var(--font-body);
  font-size: 14px; align-items: center; justify-content: center;
  margin-bottom: 8px; transition: all 0.2s;
}
.progress-step .step-label {
  display: block; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; font-size: 11px;
}
.progress-step.active { color: var(--navy); }
.progress-step.active .step-num { background: var(--accent); color: white; border-color: var(--accent); }
.progress-step.active .step-label { color: var(--navy); }
.progress-step.complete .step-num { background: var(--navy); color: white; border-color: var(--navy); }
.progress-step.complete .step-label { color: var(--navy); }

/* ---------- Form fields ---------- */
.form-page { display: none; }
.form-page.visible { display: block; }
.form-page h2 { margin: 0 0 8px; font-size: 26px; color: var(--navy); }
.form-page h3 { font-family: var(--font-heading); color: var(--navy); font-size: 17px; }
.form-page .subhead { margin: 0 0 28px; color: var(--text-muted); font-size: 15px; }

.field-group { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; letter-spacing: 0.2px;
}
label .req { color: var(--error); margin-left: 2px; }
label .hint {
  display: block; font-weight: 400; font-size: 12.5px; color: var(--text-muted);
  margin-top: 3px; letter-spacing: 0;
}

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 11px 14px; font-size: 15px;
  border: 1px solid var(--border-dark); border-radius: 2px;
  font-family: var(--font-body); background: white;
  transition: border-color 0.15s, box-shadow 0.15s; color: var(--text);
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}
textarea { min-height: 90px; resize: vertical; }
input.invalid { border-color: var(--error); background: #fef2f2; }
.field-error {
  display: block; color: var(--error); font-size: 13px;
  margin-top: 5px; min-height: 17px; font-weight: 500;
}

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; }
.checkbox-row input[type="checkbox"] { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); }
.checkbox-row label { margin: 0; font-weight: 400; cursor: pointer; font-size: 14px; letter-spacing: 0; }

/* ---------- File upload slots ---------- */
.upload-slot {
  border: 1px solid var(--border); border-left: 3px solid var(--border-dark);
  border-radius: 2px; padding: 22px 24px; margin-bottom: 18px;
  background: white; transition: border-color 0.2s, background 0.2s;
}
.upload-slot.satisfied { border-left-color: var(--success); background: #f0fdf4; }
.upload-slot .slot-label {
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  color: var(--navy); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.upload-slot .slot-desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.upload-slot .upload-area {
  border: 2px dashed var(--border-dark); border-radius: 2px;
  padding: 28px; text-align: center; background: var(--bg);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.upload-slot .upload-area:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload-slot .upload-area.dragover { border-color: var(--accent); background: var(--accent-soft); }
.upload-slot .upload-area input[type="file"] { display: none; }
.upload-slot .upload-area .icon { font-size: 24px; margin-bottom: 6px; color: var(--text-muted); }
.upload-slot .upload-area .label {
  font-weight: 700; font-size: 12px; color: var(--navy);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0;
}
.upload-slot .upload-area .sublabel { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.upload-slot .file-list { list-style: none; padding: 0; margin: 14px 0 0; }
.upload-slot .file-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 2px; margin-bottom: 4px; font-size: 14px;
}
.upload-slot .file-list li .file-meta { color: var(--text-muted); font-size: 12px; }
.upload-slot .file-list li button {
  background: transparent; border: none; color: var(--error);
  font-size: 20px; cursor: pointer; padding: 0 6px; line-height: 1; font-weight: 700;
}
.upload-slot .file-list li button:hover { color: var(--error); opacity: 0.7; }
.check-icon, .slot-check { color: var(--success); font-weight: 700; }

/* ---------- Status callouts ---------- */
.callout { padding: 14px 18px; border-radius: 2px; margin-bottom: 18px; font-size: 14px; line-height: 1.55; }
.callout.info { background: #eff6ff; border-left: 3px solid var(--brand-blue); color: #0a4581; }
.callout.warning { background: var(--warning-bg); border-left: 3px solid var(--warning); color: #78350f; }
.callout.error { background: var(--error-bg); border-left: 3px solid var(--error); color: #7f1d1d; }
.callout.success { background: var(--success-bg); border-left: 3px solid var(--success); color: #14532d; }

/* ---------- Review page ---------- */
.review-section {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: 2px;
  padding: 20px 24px; margin-bottom: 18px;
}
.review-section h3 {
  margin: 0 0 14px; font-family: var(--font-body); font-size: 11px;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700;
}
.review-section dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; gap: 8px 18px; font-size: 14.5px; }
.review-section dt { color: var(--text-muted); font-weight: 500; }
.review-section dd { margin: 0; color: var(--text); }
.review-section ul.file-summary { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.review-section ul.file-summary li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.review-section ul.file-summary li:last-child { border-bottom: none; }

/* ---------- Confirmation page ---------- */
.conf-number {
  font-size: 38px; font-weight: 700; text-align: center; color: var(--navy);
  background: var(--bg-soft); border: 1px solid var(--border-dark);
  border-top: 3px solid var(--accent); border-radius: 2px;
  padding: 28px; margin: 24px 0; letter-spacing: 2px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
.email-preview {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--navy); border-radius: 2px;
  padding: 18px 22px; font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 12px; line-height: 1.7; white-space: pre-wrap; color: var(--text);
  margin: 16px 0; max-height: 500px; overflow-y: auto;
}

/* ---------- Navigation buttons ---------- */
.form-nav {
  display: flex; justify-content: space-between;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border);
}
.form-nav .left, .form-nav .right { display: flex; gap: 10px; }

/* ---------- Management team cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 22px;
  margin-top: 12px;
}
.team-member {
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  padding: 24px 24px 22px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.team-member:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14, 42, 74, 0.08); }
.team-member h3 {
  margin: 0 0 4px;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.25;
}
.team-member .title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}
.team-member .education {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.team-member .education-line { display: block; }
.team-member .experience {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

/* ---------- Homepage list style ---------- */
ul.checklist {
  list-style: none; padding: 0; font-size: 16px; line-height: 1.9;
}
ul.checklist li { padding-left: 28px; position: relative; }
ul.checklist li::before {
  content: "▸"; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
