/* =============================================================
   Rezlynx PMS — theme.css
   Forest palette · Lora + DM Sans · Vanilla CSS
   ============================================================= */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --clr-primary:       #213d2a;
  --clr-primary-dark:  #0d1f12;
  --clr-accent:        #d9891a;
  --clr-accent-light:  #e0a84d;
  --clr-bg:            #f3f6f3;
  --clr-fg:            #111d14;
  --clr-muted:         #ecf0ec;
  --clr-muted-fg:      #5c6e5f;
  --clr-border:        #d8e0d8;
  --clr-card:          #ffffff;
  --clr-cream:         #f5ece0;

  --font-display:      'Lora', Georgia, serif;
  --font-body:         'DM Sans', system-ui, sans-serif;

  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.18);

  --nav-height: 68px;
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-fg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); font-size: 1rem; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--clr-fg);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

strong { font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-8  { padding-top: 2rem; padding-bottom: 2rem; }

.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }

/* ── Grids ──────────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

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

@media (max-width: 768px) {
  .grid-3  { grid-template-columns: 1fr; }
  .grid-2  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-accent   { color: var(--clr-accent); }
.text-muted    { color: var(--clr-muted-fg); }
.text-white    { color: #ffffff; }
.text-primary  { color: var(--clr-primary); }

.bg-muted      { background: var(--clr-muted); }
.bg-primary    { background: var(--clr-primary); }
.bg-white      { background: #ffffff; }
.bg-card       { background: var(--clr-card); }

.w-full        { width: 100%; }
.relative      { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ── Gradient Utilities ─────────────────────────────────────── */
.canopy-veil {
  background: linear-gradient(135deg, rgba(13,31,18,0.92), rgba(33,61,42,0.80));
}

.moss-fade {
  background: linear-gradient(180deg, #f3f6f3, #ecf0ec);
}

.leaf-shine {
  background: linear-gradient(135deg, #d9891a, #e0a84d);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-cream);
  border: 2px solid var(--clr-primary);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-fg);
  border: 2px solid var(--clr-accent);
}
.btn-accent:hover {
  background: var(--clr-accent-light);
  border-color: var(--clr-accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-cream);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 1.5rem;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.timber-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timber-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Navbar ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
}
.nav-brand img { border-radius: 4px; }
.nav-brand span { color: var(--clr-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-muted-fg);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--clr-primary);
  background: var(--clr-muted);
}

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  background: var(--clr-primary);
  color: var(--clr-cream);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-1px);
}

/* Hamburger button */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--clr-fg);
  background: transparent;
  transition: background var(--transition);
}
.menu-toggle:hover { background: var(--clr-muted); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid var(--clr-border);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: flex; }

.mobile-link {
  display: block;
  padding: 0.625rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-muted-fg);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--clr-primary); }
.mobile-link:last-child { border-bottom: none; }

.mobile-cta {
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
  background: var(--clr-primary);
  color: var(--clr-cream) !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  border-bottom: none !important;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(13,31,18,0.92), rgba(33,61,42,0.80));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 { color: #ffffff; margin-bottom: 1.25rem; }
.hero-text p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero form card */
.hero-form-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}
.hero-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  color: var(--clr-primary);
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding: 4rem 0; }
}

/* ── Image absolute fill helper ─────────────────────────────── */
.img-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 5rem 0;
  background: var(--clr-primary);
  color: #ffffff;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,18,0.6), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #ffffff; margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 640px; }

.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-fg);
  margin-bottom: 0.375rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--clr-fg);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(33,61,42,0.15);
}
.form-control::placeholder { color: var(--clr-muted-fg); }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c6e5f' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--clr-muted-fg);
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--clr-primary);
  flex-shrink: 0;
}

/* ── Stats Band ─────────────────────────────────────────────── */
.stats-band {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-accent);
  font-family: var(--font-display);
}
.stat span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

/* ── Feature Cards ──────────────────────────────────────────── */
.feature-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.feature-card-body { padding: 1.5rem; }
.feature-card-body h3 { font-size: 1.2rem; margin-bottom: 0.625rem; color: var(--clr-primary); }
.feature-card-body p  { font-size: 0.925rem; color: var(--clr-muted-fg); margin: 0; }

/* ── Metric Cards ───────────────────────────────────────────── */
.metric-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.metric-label {
  font-size: 0.875rem;
  color: var(--clr-muted-fg);
  font-weight: 500;
}

/* ── Dark CTA Section ───────────────────────────────────────── */
.dark-cta-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  color: #ffffff;
}
.dark-cta-section .container { position: relative; z-index: 2; text-align: center; }
.dark-cta-section h2 { color: #ffffff; margin-bottom: 1rem; }
.dark-cta-section p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ── Operations / Two-col Image Section ─────────────────────── */
.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ops-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.ops-text h2  { margin-bottom: 1.25rem; }
.ops-text p   { color: var(--clr-muted-fg); margin-bottom: 1.5rem; }

.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--clr-fg);
  border-bottom: 1px solid var(--clr-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  color: var(--clr-accent);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ops-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ops-img  { height: 260px; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-primary);
  color: rgba(255,255,255,0.9);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #ffffff; }

.footer-legal-info {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
}
.footer-legal-info p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}
.footer-legal-info p:last-child { margin-bottom: 0; }
.footer-legal-info a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-legal-info a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-top: 2px solid var(--clr-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.125rem 0;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.9rem;
  color: var(--clr-muted-fg);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-inner p a { color: var(--clr-primary); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-box {
  background: var(--clr-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modal-in 0.25s ease forwards;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(33,61,42,0.1);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}
.modal-icon svg { width: 32px; height: 32px; }

.modal-box h3  { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--clr-primary); }
.modal-box p   { font-size: 0.95rem; color: var(--clr-muted-fg); margin-bottom: 1.5rem; }

.modal-close-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-muted);
  color: var(--clr-muted-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
}
.modal-close-x:hover { background: var(--clr-border); color: var(--clr-fg); }

/* ── Section dividers ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}

.section-title { margin-bottom: 1rem; }
.section-desc  { color: var(--clr-muted-fg); font-size: 1.05rem; max-width: 560px; }
.section-desc-center { margin: 0 auto; text-align: center; }

/* ── Prose / Legal pages ─────────────────────────────────────── */
.page-content {
  padding: 4rem 0 5rem;
}
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.5rem;
  color: var(--clr-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--clr-border);
}
.prose h3 {
  font-size: 1.15rem;
  color: var(--clr-fg);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}
.prose p  { color: var(--clr-muted-fg); line-height: 1.8; margin-bottom: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.1rem; }
.prose ul li { color: var(--clr-muted-fg); margin-bottom: 0.4rem; line-height: 1.7; }
.prose a  { color: var(--clr-accent); text-decoration: underline; }
.prose a:hover { color: var(--clr-primary); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.prose table th,
.prose table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--clr-border);
}
.prose table th { background: var(--clr-muted); font-weight: 600; color: var(--clr-fg); }
.prose table tr:nth-child(even) td { background: #fafcfa; }

/* Legal entity block */
.legal-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--clr-border);
}
.legal-block h3 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--clr-primary); }
.legal-block p  { font-size: 0.875rem; color: var(--clr-muted-fg); margin-bottom: 0.3rem; }
.legal-block a  { color: var(--clr-accent); text-decoration: underline; }

/* ── Cookie toggle (cookies page) ──────────────────────────── */
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--clr-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  margin-bottom: 0.75rem;
}
.cookie-toggle-row strong { font-size: 0.95rem; display: block; color: var(--clr-fg); }
.cookie-toggle-row small  { font-size: 0.825rem; color: var(--clr-muted-fg); }

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--clr-border);
  border-radius: 24px;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--clr-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

/* ── Responsive Utilities ───────────────────────────────────── */
.hidden-mobile  { display: block; }
.hidden-desktop { display: none; }

@media (max-width: 768px) {
  .hidden-mobile  { display: none; }
  .hidden-desktop { display: block; }

  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }

  .stats-band { gap: 1.5rem; justify-content: center; }

  .page-hero { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .modal-box { padding: 2rem 1.5rem; }
}

/* ── Accent / highlight ─────────────────────────────────────── */
.highlight-accent {
  color: var(--clr-accent);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-primary { background: rgba(33,61,42,0.1); color: var(--clr-primary); }
.badge-accent  { background: rgba(217,137,26,0.1); color: var(--clr-accent); }

/* ── CTA Bottom Section ─────────────────────────────────────── */
.cta-section {
  background: var(--clr-muted);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p  { color: var(--clr-muted-fg); font-size: 1.05rem; max-width: 500px; margin: 0 auto 2rem; }

/* ── Alternating image-text rows ────────────────────────────── */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.alt-row:last-child { border-bottom: none; }
.alt-row.reverse    { direction: rtl; }
.alt-row.reverse > * { direction: ltr; }

.alt-row-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.alt-row-text h3 { font-size: 1.5rem; color: var(--clr-primary); margin-bottom: 0.875rem; }
.alt-row-text p  { color: var(--clr-muted-fg); line-height: 1.8; }

@media (max-width: 768px) {
  .alt-row        { grid-template-columns: 1fr; gap: 1.75rem; }
  .alt-row.reverse { direction: ltr; }
  .alt-row-img    { height: 240px; }
}

/* ── Request Access page ────────────────────────────────────── */
.access-section {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.access-left {
  color: #ffffff;
}
.access-left h1 { color: #ffffff; margin-bottom: 1rem; }
.access-left p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

.access-right .card { padding: 2.25rem; }

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

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2   { margin-bottom: 1rem; }
.contact-info p    { color: var(--clr-muted-fg); margin-bottom: 1.5rem; }
.contact-item      { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.contact-item-icon { width: 40px; height: 40px; background: rgba(33,61,42,0.08); color: var(--clr-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-item-text strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--clr-fg); margin-bottom: 0.125rem; }
.contact-item-text span   { font-size: 0.875rem; color: var(--clr-muted-fg); }
.contact-item-text a      { color: var(--clr-accent); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── 404 page ───────────────────────────────────────────────── */
.page-404 {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  text-align: center;
}
.page-404 h1 { font-size: 6rem; color: var(--clr-primary); line-height: 1; margin-bottom: 0.5rem; }
.page-404 h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.page-404 p  { color: var(--clr-muted-fg); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Focus visible ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Smooth transitions on interactive elements ─────────────── */
a, button, input, select, textarea { transition: all var(--transition); }

/* ── Thin scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-muted); }
::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-muted-fg); }
