/* onlineformtemplates.com — warm gray gallery + orange accent */

:root {
  --bg: #faf9f7;
  --bg-soft: #f5f4f2;
  --surface: #ffffff;
  --surface-2: #f0eeeb;
  --border: #e8e6e3;
  --border-strong: #d4d0cb;
  --text: #2d2a26;
  --text-body: #4a4540;
  --muted: #6b6560;
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-light: #fff7ed;
  --orange-muted: #fdba74;
  --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(45, 42, 38, 0.08);
  --shadow-lg: 0 12px 32px rgba(234, 88, 12, 0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --content-max: 76rem;
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 4.2vw, 2.65rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { margin: 0 0 1em; }

a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(194, 65, 12, 0.35);
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover { color: var(--orange); text-decoration-color: var(--orange); }

img, svg { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 16px; background: var(--orange); color: #fff;
  border-radius: var(--radius-pill); z-index: 1000; text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main { flex: 1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 247, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--text);
}

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

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-links a:hover,
.nav-links a.nav-active { color: var(--orange); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .site-header { position: relative; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--border-strong);
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand { display: inline-block; margin-bottom: 0.75rem; text-decoration: none; }
.footer-logo { height: 34px; width: auto; }
.footer-desc { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; max-width: 28rem; }

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: var(--text-body); text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-util { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.footer-util a { color: var(--muted); text-decoration: none; }
.footer-util a:hover { color: var(--orange); }
.footer-util-sep { color: var(--border-strong); }

.footer-sisters {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1.25rem 0 0;
  line-height: 1.6;
}

.footer-sisters-label { font-weight: 600; color: var(--text-body); margin-right: 0.35rem; }
.footer-sisters a { color: var(--muted); text-decoration: none; }
.footer-sisters a:hover { color: var(--orange); }

/* Content pages */
.page-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.page-hero--left { text-align: left; }

.page-hero p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.page-hero--left p { margin-left: 0; }

.content-section {
  padding: 2rem 0 3rem;
}

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }

/* Provider buttons */
.provider-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.provider-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.provider-btn:hover {
  border-color: var(--orange-muted);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.provider-btn__icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
}

.provider-btn--formsapp .provider-btn__icon { background: #7c3aed; }
.provider-btn--jotform .provider-btn__icon { background: #ff6100; }
.provider-btn--tally .provider-btn__icon { background: #000; }

/* FAQ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 2rem 1rem 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--muted);
}

.faq-item.is-open .faq-question::after { content: "−"; }

.faq-answer {
  display: none;
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-answer { display: block; }

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--muted);
  margin: 0.15rem;
}

.quick-answer {
  background: var(--orange-light);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.quick-answer__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-dark);
  margin: 0 0 0.35rem;
}

.quick-answer p { margin: 0; color: var(--text-body); }
