/* ==========================================================
   Lumera LLC — style.css
   Palette: dark navy, soft blue, white, light gray
   ========================================================== */

:root {
  /* Palette derived from the Lumera wordmark */
  --navy-900: #16222e;        /* deep slate navy */
  --navy-800: #1f3142;
  --navy-700: #2b4257;
  --steel-500: #7090a8;       /* logo shadow tone */
  --steel-400: #90b0d0;       /* logo primary steel blue */
  --steel-100: #e2ebf4;
  --gray-100: #f4f7fa;
  --gray-300: #d7dfe7;
  --gray-600: #57626f;
  --white: #ffffff;
  --text: #243240;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(22, 34, 46, 0.09);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
}

img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle-label:focus-visible {
  outline: 3px solid var(--steel-500);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1, h2 {
  color: var(--navy-900);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", "Segoe UI", Arial, sans-serif;
  font-stretch: condensed;
}
h3 {
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4a6a85;
  margin-bottom: 0.6rem;
}
.eyebrow-light { color: var(--steel-400); }

.section-lede {
  max-width: 46rem;
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  position: relative;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 26px; width: auto; }
.footer-logo { height: 30px; width: auto; margin-bottom: 0.8rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--steel-100);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: var(--white); border-bottom-color: var(--steel-400); }

.nav-cta {
  background: var(--steel-400);
  color: var(--navy-900) !important;
  font-weight: 700;
  padding: 0.45rem 1rem !important;
  border-radius: 6px;
  border-bottom: none !important;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--steel-100); }

/* Mobile nav (CSS-only) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 820px) {
  .nav-toggle-label { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-800);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.25rem;
    border-bottom: none;
  }
  .nav-cta { margin: 0.75rem 1.25rem 1rem; text-align: center; border-radius: 6px; }

  .nav-toggle:checked ~ .nav-links { max-height: 480px; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(144, 176, 208, 0.20), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(112, 144, 168, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--steel-100);
  padding: 5.5rem 0 5rem;
}

.hero-inner { max-width: 50rem; }

.hero h1 { color: var(--white); margin-bottom: 1rem; }

.hero-sub {
  font-size: 1.2rem;
  color: var(--steel-100);
  margin-bottom: 2rem;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-intro {
  border-left: 3px solid var(--steel-400);
  padding-left: 1.1rem;
  color: var(--steel-100);
  max-width: 44rem;
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--steel-400);
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(112, 144, 168, 0.35);
}
.btn-primary:hover { background: var(--steel-100); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }

.section-tint { background: var(--gray-100); }

.section-dark {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(144, 176, 208, 0.16), transparent 60%),
    linear-gradient(165deg, var(--navy-900), var(--navy-800));
  color: var(--steel-100);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-lede { color: var(--steel-100); }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--steel-400);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--steel-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 24px; height: 24px; }

.icon-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--steel-400);
}

.card ul {
  list-style: none;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.card li {
  padding: 0.28rem 0 0.28rem 1.25rem;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel-500);
}

/* ---------- AI feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--steel-400);
  transform: translateY(-3px);
}
.feature p { color: var(--steel-100); font-size: 0.97rem; }

.principle {
  border-left: 3px solid var(--steel-400);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  max-width: 52rem;
}
.principle p { color: var(--white); font-weight: 500; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}

.list-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-700);
  margin-bottom: 1rem;
}

.check-list { list-style: none; }
.check-list li {
  padding: 0.45rem 0 0.45rem 1.9rem;
  position: relative;
  border-bottom: 1px solid var(--gray-300);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--steel-500);
  border-bottom: 2.5px solid var(--steel-500);
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Why Lumera ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.why-item {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.why-item:hover { border-color: var(--steel-400); box-shadow: var(--shadow); }

.why-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel-500), var(--navy-700));
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-cta { font-weight: 600; color: var(--navy-700); }

.contact-form {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--navy-900);
}

.optional { font-weight: 400; color: var(--gray-600); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: 7px;
  background: var(--white);
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: var(--steel-400); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--steel-500);
  box-shadow: 0 0 0 3px rgba(144, 176, 208, 0.30);
  outline: none;
}

.form-field textarea { resize: vertical; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--steel-100);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}


.footer-brand p { font-size: 0.92rem; color: var(--steel-100); max-width: 32rem; }

.disclaimer {
  font-size: 0.88rem;
  color: var(--steel-100);
  border-left: 3px solid var(--steel-400);
  padding-left: 0.9rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--steel-100);
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-links a:hover { color: var(--white); border-bottom-color: var(--steel-400); }

.copyright { font-size: 0.88rem; color: #9bb0c2; }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .section { padding: 3.25rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
}

.footer-contact { margin-top: 0.9rem; }
.footer-contact a {
  color: var(--steel-400);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-contact a:hover { color: var(--white); border-bottom-color: var(--steel-400); }

/* ---------- Contact form: temporarily disabled ---------- */
.form-notice {
  background: var(--steel-100);
  border: 1px solid var(--steel-400);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  color: var(--navy-800);
}
.form-notice a { color: var(--navy-900); font-weight: 700; }

.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-form fieldset[disabled] { opacity: 0.7; }
.contact-form[aria-disabled="true"] .btn-primary {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* ---------- Inner page header band ---------- */
.page-header {
  background:
    radial-gradient(ellipse 60% 60% at 90% 0%, rgba(144, 176, 208, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--steel-100);
  padding: 3.25rem 0 2.75rem;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin: 0;
}

/* ---------- Legal pages ---------- */
.legal { padding: 3.5rem 0 4.5rem; }
.legal-inner { max-width: 50rem; }

.legal-updated {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.legal h2 {
  text-transform: none;
  font-family: inherit;
  font-stretch: normal;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.005em;
  color: var(--navy-900);
  margin-top: 2.3rem;
  margin-bottom: 0.65rem;
}

.legal p { color: var(--text); }
.legal ul {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
  color: var(--text);
}
.legal li { margin-bottom: 0.35rem; }

.legal a {
  color: #2f5b7d;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--navy-900); }

.legal-back {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--gray-300);
}
.legal-back a { font-weight: 600; }

/* ---------- 404 ---------- */
.error-page { padding: 5rem 0 6rem; }
.error-page h1 { margin-bottom: 1rem; }
.btn-secondary-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--gray-300);
}
.btn-secondary-dark:hover {
  background: var(--gray-100);
  border-color: var(--steel-400);
}
