/* ---------- Design tokens ---------- */
:root {
  --purple-900: #3d2952;
  --purple-700: #6b4a8a;
  --purple-500: #8b5fbf;
  --purple-300: #b794d6;
  --lavender-100: #f3ecfa;
  --lavender-50: #faf7fd;
  --ink: #2d2438;
  --muted: #6b6275;
  --white: #ffffff;
  --border: #e6dcf2;
  --shadow: 0 10px 30px rgba(61, 41, 82, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: 1120px;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 800; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--purple-500);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--purple-500);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--purple-700); }
.btn-outline {
  background: transparent;
  border-color: var(--purple-500);
  color: var(--purple-700);
}
.btn-outline:hover { background: var(--lavender-100); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--purple-900);
}
.site-nav ul {
  display: flex;
  gap: 32px;
}
.site-nav a {
  font-weight: 600;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--purple-500); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--purple-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, var(--lavender-50) 0%, var(--white) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-500);
  margin-bottom: 12px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--purple-900);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-art {
  position: relative;
}
.hero-illustration { position: relative; z-index: 1; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.5;
}
.blob-1 {
  width: 160px; height: 160px;
  background: var(--purple-300);
  top: -20px; right: 10px;
}
.blob-2 {
  width: 120px; height: 120px;
  background: var(--purple-500);
  bottom: -10px; left: 0;
  opacity: 0.25;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--purple-900);
  color: var(--white);
  padding: 24px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  justify-content: center;
  text-align: center;
}
.trust-icon { font-size: 1.2rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--lavender-50); }
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-heading h2 { color: var(--purple-900); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-sub { color: var(--muted); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-copy h2 { color: var(--purple-900); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-copy p { color: var(--muted); }
.checklist { margin-top: 20px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 600;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-500);
  font-weight: 800;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.card h3 {
  color: var(--purple-900);
  font-size: 1.1rem;
}
.card p { color: var(--muted); margin: 0; }

/* Testimonial */
.testimonial-section { padding: 64px 0; }
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}
.testimonial p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--purple-900);
}
.testimonial footer {
  color: var(--muted);
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { color: var(--purple-900); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-copy p { color: var(--muted); }
.contact-details { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--purple-500);
}
.contact-details a { font-weight: 700; color: var(--purple-900); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 700; font-size: 0.9rem; color: var(--purple-900); }
.form-row input,
.form-row textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--purple-500);
  outline: none;
}
.form-status {
  margin-top: 12px;
  font-weight: 700;
  color: var(--purple-700);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: var(--lavender-100);
  padding-top: 56px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand { max-width: 360px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.7); margin-top: 8px; }
.footer-inner nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-inner nav a { font-weight: 600; color: rgba(255,255,255,0.85); }
.footer-inner nav a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 24px 24px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 280px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 300px; }
  .site-nav ul {
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
