/* ── Tokens (Enlightenso "Grounded Dawn") ───────────── */
:root {
  --color-dawn-base: #1A1614;
  --color-dawn-surface: #24201E;
  --color-dawn-sage: #5B7A61;
  --color-dawn-sage-light: #7A9C81;
  --color-dawn-text: #F5F2EB;
  --color-dawn-border: rgba(245, 242, 235, 0.08);
  --color-dawn-amber: #B07D46;

  --font-sans: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-quote: 'Newsreader', Georgia, serif;

  --container-max: 75rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-dawn-base);
}

body {
  color: var(--color-dawn-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

::selection { background: rgba(176, 125, 70, 0.35); }

a { color: inherit; }

/* Amber morning-light glow */
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 12%, rgba(176, 125, 70, 0.13) 0%, transparent 70%);
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-cta {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--color-dawn-sage-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(245, 242, 235, 0.08);
  border-radius: 9999px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-cta:hover {
  color: var(--color-dawn-text);
  border-color: rgba(245, 242, 235, 0.2);
}

/* ── Shared ──────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-dawn-amber);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-dawn-sage);
  color: var(--color-dawn-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(91, 122, 97, 0.30);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--color-dawn-sage-light);
  box-shadow: 0 12px 32px rgba(91, 122, 97, 0.45);
}

.btn-primary--block {
  width: 100%;
  padding: 0.9375rem 1.5rem;
}

.link-secondary {
  font-size: 0.9375rem;
  color: rgba(245, 242, 235, 0.6);
  text-decoration: none;
  padding: 0.875rem 0.5rem;
  transition: color 0.2s;
}

.link-secondary:hover { color: var(--color-dawn-text); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 5;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 2.5rem 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-family: var(--font-quote);
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(245, 242, 235, 0.72);
  margin: 0;
  max-width: 34rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.8125rem;
  color: rgba(245, 242, 235, 0.4);
  margin: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-mock-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(176, 125, 70, 0.06);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* ── Value props ─────────────────────────────────── */
.value-props {
  position: relative;
  z-index: 5;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 2.5rem 6rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-quote);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Persona grid has 6 cards — force 3 columns so it wraps into two clean
   rows instead of leaving a gap in a 4-column auto-fit layout. */
.persona-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .persona-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.value-card {
  background: var(--color-dawn-surface);
  border: 1px solid rgba(245, 242, 235, 0.08);
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.value-card svg { margin-bottom: 1rem; }

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245, 242, 235, 0.6);
  margin: 0;
}

/* ── Research ─────────────────────────────────────── */
.research {
  position: relative;
  z-index: 5;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 2.5rem 6rem;
}

.research-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.research-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.research-item {
  background: var(--color-dawn-surface);
  border: 1px solid rgba(245, 242, 235, 0.08);
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.research-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.research-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245, 242, 235, 0.6);
  margin: 0 0 0.75rem;
}

.research-source {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 235, 0.4);
}

.research-stat {
  background: var(--color-dawn-surface);
  border: 1px solid rgba(176, 125, 70, 0.25);
  border-radius: 0.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
}

.research-stat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.research-stat-sub {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 235, 0.4);
}

/* Depth stack: a visual metaphor for "how far beneath the surface this
   goes" — the bare quote at top, richest analysis at the bottom. Color and
   left-border weight both deepen top-to-bottom rather than leaning on a
   single number, which tested as unimpressive on its own. */
.depth-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.depth-layer {
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  text-align: center;
  border-left: 2px solid transparent;
  color: rgba(245, 242, 235, 0.55);
}

.depth-layer--quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 0.9375rem;
  color: rgba(245, 242, 235, 0.75);
  border-left-color: rgba(245, 242, 235, 0.2);
}

.depth-layer:nth-child(2) { background: rgba(91, 122, 97, 0.10); border-left-color: rgba(91, 122, 97, 0.4); }
.depth-layer:nth-child(3) { background: rgba(91, 122, 97, 0.18); border-left-color: rgba(91, 122, 97, 0.6); }
.depth-layer:nth-child(4) { background: rgba(122, 156, 129, 0.22); border-left-color: var(--color-dawn-sage-light); color: rgba(245, 242, 235, 0.7); }
.depth-layer:nth-child(5) { background: rgba(176, 125, 70, 0.28); border-left-color: var(--color-dawn-amber); color: rgba(245, 242, 235, 0.85); }
.depth-layer:nth-child(6) {
  background: rgba(176, 125, 70, 0.5);
  border-left-color: var(--color-dawn-amber);
  color: var(--color-dawn-text);
  font-weight: 600;
}

.research-stat-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(245, 242, 235, 0.6);
}

@media (max-width: 900px) {
  .research-row {
    grid-template-columns: 1fr;
  }
}

/* ── Gallery ──────────────────────────────────────── */
.gallery {
  position: relative;
  z-index: 5;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem 6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 0.75rem;
  border: 1px solid rgba(245, 242, 235, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.gallery-item figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(245, 242, 235, 0.6);
  text-align: center;
}

.gallery-item img { cursor: zoom-in; }

/* ── Lightbox ─────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(26, 22, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox.is-open { opacity: 1; }

.lightbox img {
  max-width: min(92vw, 560px);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(245, 242, 235, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing ─────────────────────────────────────── */
.pricing {
  position: relative;
  z-index: 5;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 2.5rem 6rem;
  display: flex;
  justify-content: center;
}

.pricing-card {
  width: 100%;
  max-width: 26rem;
  background: var(--color-dawn-surface);
  border: 1px solid rgba(245, 242, 235, 0.08);
  border-radius: 1.5rem;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pricing-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: rgba(91, 122, 97, 0.15);
  border: 1px solid rgba(91, 122, 97, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-title {
  font-family: var(--font-quote);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.35;
  margin: 0;
  text-wrap: pretty;
}

.billing-toggle {
  width: 100%;
  display: flex;
  background: rgba(26, 22, 20, 0.8);
  padding: 0.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(245, 242, 235, 0.08);
  position: relative;
}

.billing-btn {
  flex: 1;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #78716c;
  position: relative;
}

.billing-btn.is-active {
  background: rgba(91, 122, 97, 0.2);
  color: var(--color-dawn-sage-light);
}

.save-badge {
  position: absolute;
  top: -0.625rem;
  right: -0.5rem;
  background: rgba(122, 156, 129, 0.2);
  border: 1px solid rgba(122, 156, 129, 0.35);
  color: var(--color-dawn-sage-light);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.pricing-fine-print {
  font-size: 0.75rem;
  color: rgba(245, 242, 235, 0.4);
  margin: 0;
}

.pricing-fine-print a {
  color: var(--color-dawn-sage-light);
  text-decoration: none;
  transition: color 0.2s;
}

.pricing-fine-print a:hover { color: var(--color-dawn-text); }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(245, 242, 235, 0.08);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.4);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(245, 242, 235, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--color-dawn-amber); }

/* ── Email capture ─────────────────────────────────── */
.email-capture {
  position: relative;
  z-index: 5;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem 6rem;
}

.email-capture-card {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.email-capture-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(245, 242, 235, 0.65);
  margin: 0;
  max-width: 30rem;
}

.email-capture-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 28rem;
  margin-top: 0.5rem;
}

.email-capture-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--color-dawn-surface);
  border: 1px solid rgba(245, 242, 235, 0.12);
  border-radius: 9999px;
  padding: 0.875rem 1.25rem;
  color: var(--color-dawn-text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.email-capture-form input[type="email"]::placeholder {
  color: rgba(245, 242, 235, 0.35);
}

.email-capture-form input[type="email"]:focus {
  border-color: var(--color-dawn-sage-light);
  box-shadow: 0 0 0 3px rgba(91, 122, 97, 0.25);
}

.email-capture-form button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.email-capture-note {
  font-size: 0.75rem;
  color: rgba(245, 242, 235, 0.4);
  margin: 0;
}

.email-capture-note a {
  color: var(--color-dawn-sage-light);
  text-decoration: none;
}

.email-capture-note a:hover { color: var(--color-dawn-text); }

.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;
}

@media (max-width: 600px) {
  .email-capture-form {
    flex-direction: column;
  }

  .email-capture-form input[type="email"],
  .email-capture-form button {
    width: 100%;
  }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem 4rem;
  }

  .hero-visual { order: -1; }

  .hero-title { font-size: 2.5rem; }

  .nav { padding: 1.25rem 1.5rem; }

  .value-props,
  .pricing,
  .email-capture,
  .footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }

  .hero-sub { font-size: 1rem; }

  .section-title { font-size: 1.75rem; }
}
