/* ReliefDesk — deep teal + white, one-page marketing site */
:root {
  --teal: #14646c;
  --teal-dark: #0d4a51;
  --teal-mid: #1a7a83;
  --teal-soft: #e7f3f4;
  --cream: #f7f6f1;
  --cream-2: #efece3;
  --ink: #142326;
  --muted: #4a5c5e;
  --line: #d5ddd7;
  --white: #ffffff;
  --focus: #0d4a51;
  --header-h: 4.25rem;
  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(20, 35, 38, 0.05), 0 8px 24px rgba(20, 35, 38, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 0.35rem;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.brand:hover { color: var(--teal-dark); }
.nav {
  display: flex;
  gap: 1.35rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}
.nav a:hover { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  line-height: 1.2;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--teal-dark);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--teal-dark);
}
.btn-lg { padding: 0.8rem 1.35rem; font-size: 1.05rem; }
.header-cta { flex-shrink: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* Hero */
.hero {
  background: var(--teal);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero-inner { max-width: 44rem; }
.hero .eyebrow { color: #d5eef0; }
.hero h1 { color: var(--white); max-width: 14ch; }
.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: #e7f3f4;
  max-width: 38rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}
.hero-note {
  margin: 0;
  color: #c5e0e3;
  font-size: 0.98rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--white);
}
.section-alt { background: var(--cream); }
.section-intro {
  max-width: 38rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
  counter-reset: none;
}
.steps li {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 1.1rem;
  padding: 1.5rem 1.4rem 1.6rem;
}
.section-alt .steps li,
.section-alt .industries li,
.section-alt .features li {
  background: var(--white);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}
.steps p, .industries p, .features p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.industries,
.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}
.industries li,
.features li {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 1.1rem;
  padding: 1.35rem 1.3rem 1.45rem;
}

.features { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* FAQ */
.faq-wrap { max-width: 44rem; margin-inline: auto; }
.faq { margin-top: 1.75rem; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.35rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.12rem;
  padding: 1rem 2rem 1rem 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  padding-right: 2rem;
}

/* CTA band */
.cta-band {
  background: var(--teal);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  text-align: center;
}
.cta-inner { max-width: 36rem; }
.cta-band h2 { color: var(--white); }
.cta-band p {
  color: #e7f3f4;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d5e0e1;
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand { color: var(--white); margin-bottom: 0.85rem; }
.footer-brand p { max-width: 26rem; color: #b7c5c6; }
.footer-contact h2 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9db3b5;
  margin-bottom: 0.65rem;
}
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { color: #d5eef0; text-decoration: underline; }
.socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.1rem;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}
.footer-bottom {
  padding-top: 1.25rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #8fa0a2;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .steps,
  .industries { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 520px) {
  .wrap { width: min(1120px, calc(100% - 1.75rem)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
