/* =============================================================
   KALIBRI STUDIOS — MONDAY REPORT FUNNEL
   Design system: black #050505, gold #d4af37, white #ffffff
   Fonts: Georgia (headings) + Arial (body) — system only
   ============================================================= */

/* 1. RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { text-decoration: none; }

/* 2. DESIGN TOKENS */
:root {
  /* Colours */
  --color-primary:       #d4af37;
  --color-primary-dark:  #b8942a;
  --color-secondary:     #050505;
  --color-accent:        #e8c84a;
  --color-bg:            #ffffff;
  --color-bg-light:      #f8f5ee;
  --color-bg-card:       #ffffff;
  --color-text:          #111111;
  --color-text-muted:    #555555;
  --color-border:        rgba(0, 0, 0, 0.1);
  --color-border-light:  rgba(0, 0, 0, 0.06);
  --color-success:       #22c55e;

  /* Typography scale — 1.25 modular */
  --text-xs:   0.64rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.563rem;
  --text-2xl:  1.953rem;
  --text-3xl:  2.441rem;
  --text-4xl:  3.052rem;
  --text-5xl:  3.815rem;
  --text-6xl:  4.768rem;

  /* Spacing — 4px base */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 20px rgba(212,175,55,0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Layout */
  --container-max:    1200px;
  --container-narrow: 800px;
  --container-hero:   1060px;
}

/* 3. BASE STYLES */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #111111;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, var(--text-5xl));
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, var(--text-3xl));
  letter-spacing: -0.015em;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, var(--text-xl));
  line-height: 1.2;
}

h4 {
  font-size: var(--text-lg);
  line-height: 1.3;
}

p {
  max-width: 68ch;
  line-height: 1.7;
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent); }

/* 4. LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container-hero {
  width: 100%;
  max-width: var(--container-hero);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section-alt {
  background-color: var(--color-bg-light);
  padding-block: var(--space-20);
}

@media (max-width: 768px) {
  .section,
  .section-alt { padding-block: var(--space-12); }
}

/* 5. BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,175,55,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-primary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.btn-large {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-12);
}

@media (max-width: 768px) {
  .btn-large {
    white-space: normal;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-inline: var(--space-8);
  }
}

/* 6. CARD */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.35);
}

/* 7. TRUST STRIP */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.trust-strip .stars { color: var(--color-primary); letter-spacing: 2px; }
.trust-strip-divider {
  width: 1px;
  height: 1rem;
  background: var(--color-border);
}

/* 8. SECTION HEADING SET */
.section-eyebrow {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
  text-wrap: balance;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* 9. MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: var(--text-xl);
  cursor: pointer;
  line-height: 1;
  padding: var(--space-2);
  transition: color var(--transition-fast);
}
.modal-close:hover { color: var(--color-text); }
body.modal-open { overflow: hidden; }

/* 10. FAQ ACCORDION */
details {
  border-bottom: 1px solid var(--color-border);
}
details:first-of-type { border-top: 1px solid var(--color-border); }
summary {
  list-style: none;
  padding: var(--space-6) 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: var(--text-lg);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--color-primary);
  font-family: Arial, sans-serif;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
details[open] summary::after { transform: rotate(45deg); }
details .faq-body {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 68ch;
}

/* 11. NAV */
nav img,
footer img {
  filter: invert(78%) sepia(56%) saturate(600%) hue-rotate(4deg) brightness(90%);
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #050505;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}
.nav-inner a { flex-shrink: 0; }
.nav-inner .btn-primary { flex-shrink: 0; }

@media (max-width: 480px) {
  .nav-inner img { width: 110px; height: auto; }
  .nav-inner .btn-primary {
    padding-inline: var(--space-5);
    font-size: var(--text-sm);
  }
}
nav.nav-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* 12. VIDEO & IMAGE PLACEHOLDERS */
.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  background: var(--color-bg-card);
}
.video-placeholder svg { opacity: 0.4; }
.image-placeholder {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  background: var(--color-bg-card);
  text-align: center;
  padding: var(--space-4);
}

/* 13. GRADIENT ACCENTS */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.gradient-glow {
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212,175,55,0.08) 0%, transparent 70%);
}

/* 14. UTILITY CLASSES */
.text-muted    { color: var(--color-text-muted); }
.text-center   { text-align: center; }
.text-gold     { color: var(--color-primary); }
.mb-4          { margin-bottom: var(--space-4); }
.mb-8          { margin-bottom: var(--space-8); }
.mb-12         { margin-bottom: var(--space-12); }
.mt-8          { margin-top: var(--space-8); }
.mt-12         { margin-top: var(--space-12); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.highlight {
  color: var(--color-primary);
  position: relative;
  display: inline;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 1px;
  opacity: 0.7;
}

/* 15. RESPONSIVE GRID BREAKPOINTS */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* 16. CHECK / X LISTS */
.check-list, .x-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.check-list li, .x-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.check-icon { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.x-icon     { color: var(--color-text-muted); flex-shrink: 0; margin-top: 2px; opacity: 0.6; }

/* 17. FOOTER */
footer {
  background: #030303;
  border-top: 1px solid #222;
  padding-block: var(--space-10);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer-links {
  display: flex;
  gap: var(--space-6);
}
.footer-links a {
  color: #cccccc;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--color-primary); }
.footer-copy {
  color: #888888;
  font-size: var(--text-sm);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
