/* Fallback chrome + landing styles if Next.js CSS fails to load. */
:root {
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --ink: #14212c;
  --muted: #5d6872;
  --line: #e5e7eb;
  --accent: #0f5c4c;
  --accent-strong: #0a4338;
}

html {
  background: #fff;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  min-height: 100vh;
  font-family: var(--font-body), "Source Sans 3", system-ui, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.site-chrome-inner {
  display: flex;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.site-chrome-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #205081;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.15rem;
}

.site-chrome-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-chrome-menu-btn {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.site-chrome-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 50;
  min-width: 12rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.25rem 0;
  box-shadow: 0 12px 30px rgba(20, 33, 44, 0.12);
}

.site-chrome-dropdown a,
.site-chrome-dropdown button {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1rem;
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.landing-hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f4f7f5;
}

.landing-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-hero-img {
  object-fit: cover;
  object-position: 50% 40%;
}

.landing-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(6, 18, 24, 0.88) 0%,
    rgba(6, 18, 24, 0.62) 42%,
    rgba(6, 18, 24, 0.28) 72%,
    rgba(6, 18, 24, 0.2) 100%
  );
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4.5rem;
}

.landing-headline {
  margin: 1.25rem 0 0;
  max-width: 22ch;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.25;
  font-weight: 500;
  color: rgba(244, 247, 245, 0.92);
}

.landing-lede {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(214, 224, 220, 0.9);
}

.landing-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-cta-ghost {
  border-color: rgba(244, 247, 245, 0.35);
  color: #f4f7f5;
}

.landing-section {
  padding: 4.5rem 1.25rem;
}

.landing-section-alt {
  background: rgba(20, 33, 44, 0.03);
  border-block: 1px solid var(--line);
}

.landing-section-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.landing-section-inner-wide {
  max-width: 46rem;
}

.landing-photo {
  margin: 1.75rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #0b1216;
}

.landing-photo-img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-h2 {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  color: var(--ink);
}

.landing-copy {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.landing-steps {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.landing-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--ink);
  line-height: 1.5;
}

.landing-steps span {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.landing-anim {
  animation: landing-rise 0.7s ease both;
}

.landing-anim-1 {
  animation-delay: 0.05s;
}
.landing-anim-2 {
  animation-delay: 0.18s;
}
.landing-anim-3 {
  animation-delay: 0.3s;
}
.landing-anim-4 {
  animation-delay: 0.42s;
}

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.report-preview {
  position: relative;
  margin-top: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #e8e4db;
}

.report-preview-watermark {
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-18deg);
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(15, 92, 76, 0.12);
  pointer-events: none;
}

.report-preview-page {
  position: relative;
  z-index: 1;
  margin: 1rem auto 1.25rem;
  max-width: 40rem;
  padding: 2rem 1.75rem 1.75rem;
  background: #fffdf8;
}

.report-preview-table {
  width: 100%;
  margin-bottom: 1.15rem;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.report-preview-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.report-preview-photo {
  height: 5.5rem;
  border: 1px solid #d9d2c5;
  border-radius: 0.25rem;
  background: linear-gradient(145deg, #d8d3c8 0%, #ece8df 55%, #cfcabf 100%);
}

@media (prefers-reduced-motion: reduce) {
  .landing-anim {
    animation: none;
  }
}
