@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #0B0B0C;
  --ink-soft: #1C1B19;
  --tan: #9C7B5C;
  --tan-light: #C9AB84;
  --cream: #F1EFE8;
  --white: #FFFFFF;
  --line: rgba(11,11,12,0.12);
  --line-light: rgba(241,239,232,0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; }

.section-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tan);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta-btn:hover { background: var(--tan-light); transform: translateY(-1px); }

/* Top navigation */
.topnav { background: var(--ink); border-bottom: 1px solid var(--line-light); }
.topnav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topnav-logo { display: flex; align-items: center; flex-shrink: 0; }
.topnav-logo img { display: block; }
.topnav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.topnav-links a {
  font-size: 14px;
  color: rgba(241,239,232,0.72);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.topnav-links a:hover, .topnav-links a.active { color: var(--cream); }
.topnav-cta {
  background: var(--tan);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.topnav-cta:hover { background: var(--tan-light); }
.topnav-right { display: flex; align-items: center; gap: 16px; }
.topnav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.topnav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.topnav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav-toggle.active span:nth-child(2) { opacity: 0; }
.topnav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page hero */
.page-hero { background: var(--ink); color: var(--cream); padding: 70px 0 64px; }
.page-hero .section-label { color: var(--tan-light); margin-bottom: 16px; }
.page-hero h1 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(241,239,232,0.82);
  max-width: 640px;
}

/* Content blocks */
.content-block { padding: 90px 0; }
.content-block h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  margin-bottom: 24px;
}
.content-block p {
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 18px;
}
.content-block p:last-child { margin-bottom: 0; }
.content-block-cream { background: var(--cream); }
.content-block-white { background: var(--white); }

/* Service blocks */
.service-block { padding: 80px 0; border-bottom: 1px solid var(--line); }
.service-num { font-family: 'Jost', sans-serif; font-size: 14px; color: var(--tan); font-weight: 500; letter-spacing: 0.08em; margin-bottom: 14px; }
.service-block h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 16px;
}
.service-lede { font-size: 18px; line-height: 1.6; color: #4A4945; max-width: 680px; margin-bottom: 32px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.service-grid h4 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tan); margin-bottom: 14px; }
.service-grid ul { padding-left: 18px; }
.service-grid ul li { font-size: 15.5px; line-height: 1.6; margin-bottom: 10px; color: #35342f; }
.scenario { margin-bottom: 22px; max-width: 720px; }
.scenario .q { font-style: italic; font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.scenario .a { font-size: 15.5px; line-height: 1.6; color: #4A4945; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--cream); padding: 70px 0; text-align: center; }
.cta-band h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 24px;
}
.cta-band .cta-btn { display: inline-block; }

/* Contact section and form */
.footer-cta { background: var(--ink); color: var(--cream); padding: 110px 0 60px; text-align: center; }
.footer-cta h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 4.5vw, 48px);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.25;
}
.contact-intro {
  max-width: 520px;
  margin: -16px auto 34px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(241,239,232,0.68);
}
.optional { color: rgba(241,239,232,0.38); font-weight: 400; }
.contact { max-width: 480px; margin: 0 auto; text-align: left; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: rgba(241,239,232,0.6); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(241,239,232,0.06);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tan-light); }
.field select option { color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; min-height: 90px; }
.submit-btn {
  width: 100%;
  background: var(--tan);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.submit-btn:hover { background: var(--tan-light); }
.form-note { text-align: center; font-size: 13px; color: rgba(241,239,232,0.45); margin-top: 16px; }

/* Quick Check */
.quiz { background: var(--white); border-top: 1px solid var(--line); padding: 100px 0; }
.quiz-head { max-width: 620px; margin-bottom: 48px; }
.quiz-head h2 {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  margin-bottom: 14px;
}
.quiz-head p { font-size: 15.5px; color: #5F5E5A; }
.quiz-box { max-width: 560px; background: var(--cream); border-radius: 8px; padding: 40px; }
.cq-progress-label { font-size: 13px; color: #5F5E5A; margin-bottom: 8px; }
.cq-progress-track { height: 4px; background: var(--white); border-radius: 2px; overflow: hidden; margin-bottom: 28px; }
.cq-progress-bar { height: 100%; background: var(--tan); border-radius: 2px; width: 16.6667%; transition: width 0.25s ease; }
.cq-question {
  font-family: 'Jost', sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 28px;
  min-height: 56px;
  color: var(--ink);
}
.cq-answer-row { display: flex; gap: 12px; }
.cq-btn {
  flex: 1;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border-radius: 4px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cq-btn:hover { background: var(--ink); color: var(--white); }
.cq-result { display: none; }
.cq-result-score { font-size: 14px; color: #5F5E5A; margin-bottom: 8px; }
.cq-result-text {
  font-family: 'Jost', sans-serif;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--ink);
}
.cq-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 4px;
  background: var(--tan);
  color: var(--ink);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.cq-cta:hover { background: var(--tan-light); }
.cq-restart {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #5F5E5A;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* Footer */
.footer-bottom {
  margin-top: 90px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(241,239,232,0.45);
}
.footer-wordmark { display: inline-flex; align-items: center; }
.footer-wordmark img { display: block; }

@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .topnav { position: relative; }
  .topnav-toggle { display: flex; }
  .topnav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 4px 24px 12px;
    border-bottom: 1px solid var(--line-light);
    gap: 0;
    z-index: 80;
  }
  .topnav-links.open { display: flex; }
  .topnav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
  .topnav-inner { padding: 16px 24px; }
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
}
