/* ===== Flint & Quill — style.css ===== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #1a1a2e;
  --charcoal:   #2d2d44;
  --slate:      #4a4a68;
  --brass:      #c8973e;
  --brass-light:#e2b96a;
  --brass-dark: #a07830;
  --cream:      #faf8f4;
  --white:      #ffffff;
  --gray-100:   #f5f3ef;
  --gray-200:   #e8e5de;
  --gray-300:   #d0cdc6;
  --gray-600:   #6b6b7b;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(26,26,46,.08);
  --shadow-lg:  0 8px 30px rgba(26,26,46,.12);
  --max-w:      1140px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brass); }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-bottom: .6em; }
h3 { font-size: 1.3rem; margin-bottom: .4em; }
p + p { margin-top: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8em 2em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass); color: var(--white); }
.btn-primary:hover { background: var(--brass-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--brass-dark); border: 2px solid var(--brass); }
.btn-outline:hover { background: var(--brass); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0;
}
.logo {
  font-family: Georgia, serif;
  font-size: 1.45rem;
  color: var(--brass-light);
  font-weight: 700;
  letter-spacing: .02em;
}
.logo span { color: var(--gray-300); font-weight: 400; }

/* Nav */
.nav-list { list-style: none; display: flex; gap: 1.8rem; }
.nav-list a {
  color: var(--gray-200);
  font-size: .95rem;
  font-weight: 500;
  padding: .3em 0;
  position: relative;
}
.nav-list a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--brass);
  transition: width var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--brass-light); }
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--gray-200); transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--ink);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-list.open { max-height: 400px; }
  .nav-list li { border-top: 1px solid rgba(255,255,255,.06); }
  .nav-list a { display: block; padding: .9rem 5%; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--charcoal) 100%);
  color: var(--cream);
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero h1 { color: var(--cream); margin-bottom: .5em; }
.hero .subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero .btn { margin: 0 .5rem .6rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--brass-light); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

/* ---------- Cards / grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-icon {
  font-size: 2rem;
  margin-bottom: .8rem;
  display: block;
}

/* ---------- Offer highlight ---------- */
.offer-box {
  border: 2px solid var(--brass);
  border-radius: var(--radius);
  padding: 2.5rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.offer-box .price {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--brass-dark);
  font-weight: 700;
  margin: .5rem 0 .4rem;
}
.offer-box ul { padding-left: 1.3em; margin: 1rem 0; }
.offer-box li { margin-bottom: .45em; }

/* ---------- Steps ---------- */
.step { text-align: center; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brass);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: .8rem;
}

/* ---------- Trust / security ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.trust-item { display: flex; align-items: flex-start; gap: .9rem; }
.trust-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .15rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--charcoal), var(--ink));
  color: var(--cream);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--cream); margin-bottom: .4em; }
.cta-banner p { color: var(--gray-300); margin-bottom: 1.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ---------- Teaser (medical billing) ---------- */
.teaser {
  border-left: 4px solid var(--brass);
  background: var(--white);
  padding: 2rem 2.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.teaser .badge {
  display: inline-block;
  background: var(--brass);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25em .9em;
  border-radius: 3px;
  margin-bottom: .8rem;
}

/* ---------- Form ---------- */
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .3rem;
  font-size: .95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: border var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(200,151,62,.15);
}
textarea { resize: vertical; min-height: 120px; }

/* ---------- Guarantee ---------- */
.guarantee {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  font-style: italic;
  color: var(--slate);
  border-left: 4px solid var(--brass);
  margin: 2rem 0;
  line-height: 1.8;
}

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  padding: .6em 0 .6em 1.8em;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--brass);
  font-weight: 700;
}

/* ---------- Not-included list ---------- */
.not-list li::before {
  content: '✕';
  color: var(--gray-600);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--gray-300);
  padding: 2.5rem 0;
  text-align: center;
  font-size: .92rem;
}
.site-footer .footer-brand {
  font-family: Georgia, serif;
  color: var(--brass-light);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.site-footer p { margin-top: .3rem; }
.footer-links { margin-top: .8rem; }
.footer-links a {
  color: var(--gray-300);
  margin: 0 .8rem;
  font-size: .88rem;
}
.footer-links a:hover { color: var(--brass-light); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--ink), var(--charcoal));
  color: var(--cream);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.page-header h1 { color: var(--cream); margin-bottom: .3em; }
.page-header p { color: var(--gray-300); max-width: 600px; margin: 0 auto; }

/* ---------- Content sections ---------- */
.content { padding: 3.5rem 0; }
.content h2 { margin-top: 2rem; }
.content p, .content ul { max-width: 720px; }
.content ul { padding-left: 1.3em; }
.content li { margin-bottom: .4em; }

/* Two-column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .offer-box { padding: 1.5rem; }
  .teaser { padding: 1.5rem; }
}
