/* TariffOwed — Fraunces display + Public Sans body, deep navy / brass / warm paper */

:root {
  --ink: #1b2a38;          /* deep navy, dark sections & headings */
  --ink-2: #233546;
  --body: #34434f;         /* body text */
  --soft: #5e6c77;         /* secondary text */
  --paper: #faf9f5;        /* warm paper background */
  --tint: #f0eee7;         /* section tint */
  --card: #fffefb;
  --line: #e0dcd0;
  --accent: #a64b22;       /* oxide rust, CTAs */
  --accent-dark: #8a3d1a;
  --gold: #ab8434;         /* brass */
  --gold-soft: #d2ab55;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 740px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 0.6em; }
h2.centered { text-align: center; }
h3 { font-size: 1.25rem; margin-bottom: 0.35em; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

/* ---------- header ---------- */
.site-header {
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 12px;
}
.wordmark {
  font-family: var(--display); font-size: 1.45rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em; line-height: 1;
}
.wordmark span { color: var(--gold); }
.header-nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  color: var(--body); text-decoration: none; font-size: 0.92rem; font-weight: 500;
}
.nav-link:hover { color: var(--ink); }
.nav-phone { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
@media (max-width: 760px) {
  .nav-link:not(.nav-phone) { display: none; }
  .header-nav { gap: 14px; }
}
@media (max-width: 560px) { .hide-sm { display: none; } }
@media (max-width: 430px) { .nav-phone { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-family: var(--sans); font-weight: 600; text-decoration: none;
  font-size: 0.98rem; letter-spacing: 0.005em;
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; white-space: nowrap; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(36,26,18,0.18); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: rgba(250,248,244,0.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(250,248,244,0.12); color: #fff; border-color: rgba(250,248,244,0.85); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem;
  font-weight: 600; color: var(--gold); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  font-weight: 600; line-height: 1.14;
  max-width: 34ch; margin: 0 auto 24px;
}
.h1-accent { color: var(--accent); font-style: italic; font-weight: 500; }
.lede {
  font-size: 1.12rem; color: var(--soft); max-width: 66ch;
  margin: 0 auto 36px; line-height: 1.75;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-bottom: 26px;
}
.guarantee-line {
  font-size: 0.98rem; color: var(--ink); max-width: 60ch; margin: 0 auto;
}
.guarantee-line strong { border-bottom: 2px solid var(--gold-soft); padding-bottom: 1px; }
.br-sm { display: none; }
@media (max-width: 560px) {
  .hero { padding: 56px 0 52px; }
  .br-sm { display: inline; }
}

/* ---------- numbers strip ---------- */
.numbers { background: var(--ink); padding: 52px 0; }
.numbers-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px;
  text-align: center;
}
.num-big {
  display: block; font-family: var(--display); font-size: 2.3rem; font-weight: 600;
  color: var(--gold-soft); line-height: 1; margin-bottom: 8px;
}
.num-label {
  font-size: 0.86rem; color: rgba(250,248,244,0.72); line-height: 1.55;
  display: block; max-width: 24ch; margin: 0 auto;
}
@media (min-width: 760px) {
  .numbers-grid { grid-template-columns: repeat(4, 1fr); }
  .num-big { font-size: 2.7rem; }
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .prose p, .section-dark .contact-lede { color: rgba(250,248,244,0.82); }
.section-dark a { color: var(--gold-soft); }
.section-sub {
  color: var(--soft); max-width: 62ch; margin: -0.4em auto 44px; text-align: center;
}
.prose { max-width: 68ch; margin: 0 auto; }
.prose p + p { margin-top: 1.1em; }
.verify-note {
  font-size: 0.9rem; color: var(--soft); font-style: italic;
  border-left: 3px solid var(--gold); padding-left: 16px; margin-top: 1.6em;
}
.section-dark .verify-note { color: rgba(250,248,244,0.65); }

/* ---------- products ---------- */
.product-grid {
  list-style: none; display: grid; grid-template-columns: 1fr;
  gap: 12px; max-width: 980px; margin: 0 auto;
}
.product-grid li {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 15px 18px; font-size: 0.95rem; color: var(--ink); font-weight: 500;
  text-align: center;
}
@media (min-width: 560px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 880px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- math ---------- */
.illustrative-tag {
  display: table; margin: 0 auto 28px;
  font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600; color: var(--soft);
  background: var(--tint); border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 99px;
}
.math-card {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  margin-bottom: 30px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(36,26,18,0.05);
}
.math-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 17px 22px; border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.math-row:last-child { border-bottom: none; }
.math-val { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.math-total { background: var(--ink); color: var(--paper); }
.math-total .math-val { color: var(--gold-soft); font-size: 1.4rem; }

/* ---------- steps ---------- */
.steps {
  list-style: none; display: grid; gap: 40px; margin-top: 14px;
  max-width: 980px; margin-left: auto; margin-right: auto;
}
.steps li { text-align: center; }
.step-num {
  display: block; font-family: var(--display); font-size: 2.1rem; font-weight: 500;
  font-style: italic; color: var(--gold); line-height: 1; margin-bottom: 14px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--soft); font-size: 0.95rem; max-width: 38ch; margin: 0 auto; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 44px; } }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; gap: 20px; margin-top: 30px; max-width: 1020px; margin-left: auto; margin-right: auto; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 34px 30px;
  box-shadow: 0 2px 14px rgba(36,26,18,0.04);
}
.price-card-accent { border: 2px solid var(--gold); }
.price {
  font-family: var(--display); font-size: 2.1rem; font-weight: 600;
  color: var(--ink); margin: 4px 0 14px; line-height: 1;
}
.price-card-accent .price { color: var(--accent); }
.price-card p { font-size: 0.94rem; color: var(--soft); }
.price-note { margin-top: 14px; color: var(--ink) !important; }
@media (min-width: 880px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 34px; }
#faq details { border-bottom: 1px solid var(--line); }
#faq details:first-child { border-top: 1px solid var(--line); }
#faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem; color: var(--ink);
  padding: 19px 36px 19px 2px; list-style: none; position: relative;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%); font-family: var(--display);
  font-size: 1.7rem; font-weight: 500; color: var(--gold); line-height: 1;
}
#faq details[open] summary::after { content: "\2212"; }
#faq details p { padding: 0 2px 22px; color: var(--soft); max-width: 70ch; font-size: 0.96rem; }

/* ---------- contact ---------- */
.centered-block { text-align: center; }
.contact-lede { max-width: 56ch; margin: 0 auto; }
#contact .hero-cta { margin-top: 34px; }
.contact-email { margin-top: 16px; color: rgba(250,248,244,0.82); }
.contact-form {
  margin-top: 56px; background: rgba(250,248,244,0.05);
  border: 1px solid rgba(250,248,244,0.16); border-radius: 14px;
  padding: 34px 28px; text-align: left;
}
.contact-form h3 { color: var(--paper); margin-bottom: 20px; text-align: center; }
.contact-form label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: rgba(250,248,244,0.8); margin-bottom: 16px;
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 13px; border-radius: 8px; border: 1px solid rgba(250,248,244,0.2);
  background: var(--paper); color: var(--ink); font-size: 1rem; font-family: var(--sans);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px;
}
.form-row { display: grid; gap: 0 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form .btn { width: 100%; margin-top: 8px; border: none; }
@media (min-width: 560px) {
  .contact-form .btn { width: auto; display: block; margin-left: auto; margin-right: auto; }
}

/* ---------- footer ---------- */
.site-footer {
  background: #131f2a; color: rgba(250,249,245,0.6);
  padding: 52px 0; font-size: 0.86rem; text-align: center;
}
.site-footer .container { max-width: 760px; }
.footer-brand {
  font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  color: var(--paper); margin-bottom: 14px;
}
.footer-brand span { color: var(--gold); }
.site-footer a { color: rgba(250,248,244,0.85); }
.footer-links { margin-top: 16px; }
.footer-copy { margin-top: 16px; font-size: 0.78rem; }

/* ---------- legal pages ---------- */
.legal-page { padding: 64px 0; }
.legal-page h1 { font-size: 2.4rem; margin-bottom: 10px; }
.draft-banner {
  display: inline-block; background: var(--gold-soft); color: var(--ink);
  font-weight: 700; font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 5px 13px; border-radius: 5px; margin-bottom: 26px;
}
.legal-page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal-page p { margin-top: 0.8em; color: var(--soft); }
