/* White Feather AI — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --navy: #1B2A4A;
  --navy-dark: #12203A;
  --teal: #0F7C7C;
  --teal-hover: #0C6767;
  --teal-light: #E3F0EF;
  --bg: #F5F7F8;
  --card: #FFFFFF;
  --ink: #22303F;
  --muted: #6B7A8C;
  --border: #E1E6EA;
  --red: #B0413E;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --shell: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Shell */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* Typography */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}
.eyebrow--light { color: #9FD4D0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h1 { font-size: clamp(34px, 4.5vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
h4 { font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-on-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-on-navy:hover { border-color: #fff; }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,247,248,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.wordmark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--navy);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
@media (max-width: 780px) { .nav-links { display: none; } }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #8FA6C4;
  padding: 44px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-inner .wordmark { color: #fff; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: #8FA6C4; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #5E7699;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Sections */
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 60px 0; } }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
}
.card--teal { background: var(--teal-light); border-color: transparent; }
.card--navy { background: var(--navy); color: #fff; }

/* Grid utilities */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

/* Process steps */
.step { border-top: 2px solid var(--teal); padding-top: 18px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.step h4 { font-family: var(--font-display); font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  cursor: pointer; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-q span { font-family: var(--font-display); font-size: 17px; color: var(--navy); }
.faq-q .plus { font-size: 20px; color: var(--teal); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding-bottom: 20px; font-size: 14.5px; color: var(--muted); line-height: 1.65; max-width: 60ch; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
.err { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.thankyou { display: none; text-align: center; padding: 32px 0; }
.thankyou .check {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.thankyou h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.thankyou p { font-size: 14px; color: var(--muted); max-width: 36ch; margin: 0 auto; }

/* Quiz launcher */
.quiz-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: var(--teal); color: #fff; border: none; border-radius: 999px;
  padding: 14px 20px 14px 16px; cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(15,124,124,0.35);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.quiz-launcher:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,124,124,0.45); }
.quiz-launcher .dot-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
@media (max-width: 600px) { .quiz-launcher .lbl { display: none; } .quiz-launcher { padding: 14px; } }

.quiz-backdrop {
  position: fixed; inset: 0; background: rgba(18,32,58,0.55); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.quiz-backdrop.open { display: flex; }
.quiz-modal {
  position: relative; width: 100%; max-width: 660px; max-height: 88vh;
  background: var(--bg); border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity:0; transform: translateY(16px) scale(0.98); } to { opacity:1; transform: translateY(0) scale(1); } }
.quiz-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: #fff; color: var(--navy); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.quiz-close:hover { background: var(--teal-light); }
#quiz-iframe { width: 100%; height: min(720px, 82vh); border: none; display: block; }

/* Service card checklist style */
.o-card { display: flex; flex-direction: column; }
.o-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; display: block; }
.o-card h3 { margin-bottom: 10px; }
.o-card.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.o-for { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.55; }
.o-for strong { color: var(--navy); }
.o-includes { list-style: none; margin-bottom: 22px; flex-grow: 1; }
.o-includes li { font-size: 14px; color: var(--ink); padding: 8px 0 8px 24px; position: relative; border-bottom: 1px solid var(--border); line-height: 1.5; }
.o-includes li:last-child { border-bottom: none; }
.o-includes li::before { content: "\2713"; position: absolute; left: 0; top: 9px; color: var(--teal); font-weight: 700; font-size: 13px; }
.o-card .btn { width: 100%; justify-content: center; }
