:root {
  /* Professional color palette */
  --bg: #f8fafc;           /* page background */
  --paper: #ffffff;        /* section surface */
  --tint: #f1f5f9;         /* subtle alt surface */
  --tint2: #ecfdf5;        /* subtle greenish alt */
  --ink: #0f172a;          /* primary text */
  --muted: #64748b;        /* secondary text */
  --accent: #059669;       /* emerald-600 */
  --accent-2: #10b981;     /* emerald-500 */
  --accent-light: #d1fae5; /* emerald-100 */
  --line: #e2e8f0;         /* borders/dividers */
  --line-light: #f1f5f9;   /* lighter borders */
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 80px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: min(980px, 92%); margin-inline: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Headings */
h1, h2, h3 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight: 600;
  letter-spacing: .1px;
  margin: 0 0 .5rem;
  color: var(--ink);
}
h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 600;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 65ch;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: saturate(120%) blur(8px);
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size: 1.5rem;
  letter-spacing: .1px;
  font-weight: 700;
  color: var(--accent);
}
.nav-menu {
  display: flex;
  gap: 24px;
}
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav a:hover {
  color: var(--accent);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: 1px;
}

.mobile-menu-toggle.active span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero */
.hero { padding: 56px 0 0; }
.hero-inner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  border: 1px solid var(--line-light);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: var(--accent-2);
}
.btn:focus {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
.btn.ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  background: var(--tint);
  border-color: var(--accent);
  color: var(--accent);
}

/* Trust strip */
.strip {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #ffffff;
  margin: 32px 0 0;
}
.strip .inner {
  padding: 16px 0;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.strip small {
  opacity: .9;
  font-weight: 500;
}

/* Sections */
section.section {
  padding: 64px 0;
  background: var(--paper);
}
section.section.alt {
  background: var(--tint);
}
section.section.alt2 {
  background: var(--tint2);
}
section[id] {
  scroll-margin-top: 80px;
}

.title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.title .bar {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 999px;
}
.subtitle {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 70ch;
}

/* Lists & content */
ul { padding-left: 1.1rem; margin: .3rem 0; }
li { margin: .35rem 0; }
.cols-2 { columns: 2; column-gap: 2rem; }
.cols-2 li { break-inside: avoid; }
@media (max-width:720px) { .cols-2 { columns: 1; } }

/* Cards and grids */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin: 0 0 12px 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1px;
}
.card p {
  margin: 0 0 16px 0;
  line-height: 1.6;
  color: var(--muted);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-lg);
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--accent-light);
  color: var(--accent);
  margin-right: 8px;
  margin-bottom: 8px;
}
.quote {
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  background: var(--tint2);
  border-radius: var(--radius);
  margin: 16px 0;
  font-style: italic;
  line-height: 1.6;
}
.quote + p {
  margin-top: 16px;
}
.muted {
  color: var(--muted);
}

/* Notes */
.note {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--tint2);
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Contact */
form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
input, textarea {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
input:focus, textarea:focus {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
  border-color: var(--accent);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
small {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--line-light);
  padding: 32px 0;
  color: var(--muted);
  background: var(--tint);
  text-align: center;
  font-size: 0.9rem;
}

/* FAQ */
details {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
details:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
summary::-webkit-details-marker {
  display: none;
}
details[open] summary {
  margin-bottom: 12px;
}
details p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

/* Mobile nav */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 24px 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-light);
    width: 100%;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }
}

@media (max-width:560px) {
  .hero-inner {
    padding: 24px;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    justify-content: center;
  }
}


