/* ═══ RaavTek — shared stylesheet ══════════════════════════════════════ */

:root {
  --ink:        #0b1620;
  --body:       #475867;
  --muted:      #7b8b99;
  --line:       #e3e9ee;
  --bg:         #ffffff;
  --bg-alt:     #f6f9f8;
  --green-900:  #052e1c;
  --green-800:  #064e3b;
  --green-700:  #065f46;
  --green-600:  #047857;
  --mint:       #6ee7b7;
  --mint-soft:  #a7f3d0;

  --wrap:       1140px;
  --radius:     16px;
  --radius-sm:  11px;
  --shadow:     0 1px 3px rgba(11,22,32,.06), 0 8px 24px rgba(11,22,32,.05);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px;
  background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .9rem; font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(4,120,87,.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(4,120,87,.34); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #eafaf3; }
.btn-ghost:hover { border-color: var(--mint); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-lg { padding: 15px 30px; font-size: .97rem; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,46,28,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(110,231,183,.14);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 9px;
  background: rgba(110,231,183,.14);
  border: 1px solid rgba(110,231,183,.3);
  color: var(--mint);
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark.small { width: 26px; height: 26px; font-size: .85rem; border-radius: 8px; }
.brand-name { color: #fff; font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a { color: var(--mint-soft); font-size: .88rem; font-weight: 500; transition: color .15s ease; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: #fff; }
.site-nav > a[aria-current="page"] { font-weight: 600; }
.site-nav > a.btn { color: #fff; }

.nav-toggle, .nav-burger { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--green-900) 0%, var(--green-800) 52%, var(--green-700) 100%);
  padding: 96px 0 104px;
  text-align: center;
}
.hero.compact { padding: 66px 0 72px; }
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(520px circle at 18% 12%, rgba(167,243,208,.13), transparent 68%),
    radial-gradient(460px circle at 85% 88%, rgba(110,231,183,.11), transparent 70%);
}
.eyebrow {
  display: inline-block;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--mint);
  padding: 6px 14px; margin-bottom: 22px;
  border: 1px solid rgba(110,231,183,.26);
  border-radius: 999px;
  background: rgba(110,231,183,.07);
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.45rem);
  line-height: 1.12; font-weight: 800;
  letter-spacing: -.028em; color: #fff;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--mint); }
.lede {
  font-size: clamp(1rem, 1.9vw, 1.1rem);
  color: var(--mint-soft);
  max-width: 640px; margin: 0 auto 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { margin-top: 20px; font-size: .82rem; color: rgba(167,243,208,.68); }

/* ── Bands ───────────────────────────────────────────────────────────── */
.band { padding: 86px 0; }
.band-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-title {
  font-size: clamp(1.6rem, 3.3vw, 2.15rem);
  line-height: 1.22; font-weight: 700;
  letter-spacing: -.022em; color: var(--ink);
  text-align: center; margin-bottom: 16px;
}
.section-sub {
  font-size: 1.02rem; color: var(--body);
  text-align: center; max-width: 660px;
  margin: 0 auto 52px;
}

/* ── Grids ───────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

/* ── Cards ───────────────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(4,120,87,.3);
  box-shadow: 0 6px 14px rgba(11,22,32,.07), 0 18px 40px rgba(5,46,28,.09);
}
.card-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(6,95,70,.1), rgba(110,231,183,.2));
  color: var(--green-700);
  font-size: 1.15rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3, .role h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.012em; margin-bottom: 9px;
}
.card p, .role p { font-size: .92rem; color: var(--body); }

.role {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-600);
  border-radius: var(--radius-sm);
  padding: 26px 26px 26px 24px;
}

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}
/* Keeps a short stat row from stretching across the full page width. */
.stats--tight { max-width: 520px; margin: 0 auto; }
.stat-num {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--green-700); line-height: 1.1;
}
.stat-label {
  font-size: .82rem; font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px;
  font-weight: 600; font-size: .96rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--green-600); font-size: 1.3rem; font-weight: 400;
  line-height: 1; flex-shrink: 0;
}
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 16px 22px 20px; font-size: .93rem; }

/* ── CTA band ────────────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  padding: 82px 0; text-align: center;
}
.cta-inner { max-width: 660px; }
.cta h2 {
  font-size: clamp(1.55rem, 3.3vw, 2.1rem);
  font-weight: 700; letter-spacing: -.022em;
  color: #fff; margin-bottom: 15px;
}
.cta p { color: var(--mint-soft); font-size: 1rem; margin-bottom: 28px; }
.cta-note { font-size: .84rem; margin: 20px 0 0; color: rgba(167,243,208,.75); }
.cta-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact-cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 760px; margin: 0 auto;
}
.contact-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: border-color .15s ease, transform .15s ease;
}
a.contact-card:hover { border-color: var(--green-600); transform: translateY(-2px); }
.contact-label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.contact-value { font-size: 1rem; font-weight: 600; color: var(--ink); }

/* ── Prose (legal pages) ─────────────────────────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--ink);
  margin: 36px 0 12px; letter-spacing: -.015em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: .95rem; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

.notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 28px;
  font-size: .9rem; color: #78350f;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--green-900); padding: 54px 0 34px; color: var(--mint-soft); }
.footer-top {
  display: grid; gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(110,231,183,.14);
}
.footer-about { max-width: 330px; }
.footer-brand {
  display: flex; align-items: center; gap: 9px;
  color: #fff; font-weight: 700; font-size: .98rem; margin-bottom: 12px;
}
.footer-about p { font-size: .86rem; color: rgba(167,243,208,.8); }
.footer-col h4 {
  color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col a, .footer-col p { display: block; font-size: .87rem; margin-bottom: 8px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-copy {
  padding-top: 22px;
  font-size: .79rem; color: rgba(167,243,208,.5);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 38px; height: 38px; padding: 8px;
    cursor: pointer; border-radius: 9px;
    border: 1px solid rgba(110,231,183,.26);
  }
  .nav-burger span { display: block; height: 2px; width: 100%; background: var(--mint); border-radius: 2px; }
  .site-nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 4px; padding: 16px 24px 22px;
    background: var(--green-900);
    border-bottom: 1px solid rgba(110,231,183,.14);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav > a { padding: 11px 4px; font-size: .95rem; }
  .site-nav > a.btn { margin-top: 8px; justify-content: center; }

  .hero { padding: 72px 0 80px; }
  .band, .cta { padding: 64px 0; }
  .section-sub { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

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