/* Founders Tax Advisory LLC — stylesheet */

:root {
  --ink: #16211E;
  --ink-soft: #3D4742;
  --stone: #6B7169;
  --paper: #FAFAF8;
  --surface: #F1F2EE;
  --sage: #2F5D50;
  --sage-deep: #234840;
  --sage-tint: #E7EEEA;
  --rule: #DCDED8;
  --measure: 34rem;
  --gut: 1.5rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; margin-top: 0; }
h3 { font-size: 1.15rem; line-height: 1.3; font-family: "Public Sans", sans-serif; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
ul { margin: 0 0 1.1em; padding-left: 1.1em; max-width: var(--measure); }
li { margin-bottom: 0.4em; }

a { color: var(--sage); text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
a:hover { color: var(--sage-deep); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 var(--gut); }

/* ---- masthead ---- */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 2rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.wordmark { font-family: Newsreader, Georgia, serif; font-size: 1.2rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--sage-deep); }
.nav { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-left: auto; font-size: 0.94rem; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sage); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---- year rule: the recurring structural motif ---- */
.yearrule { margin: 3.2rem 0; }
.yearrule svg { display: block; width: 100%; height: auto; }

/* ---- sections ---- */
.band { padding: 3.4rem 0; }
.band + .band { padding-top: 0; }
.band-surface { background: var(--surface); padding: 3.4rem 0; }

.hero { padding: 4.2rem 0 0; }
.hero h1 { max-width: 18ch; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; margin-bottom: 2rem; }

.actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-bottom: 0.5rem; }
.btn {
  display: inline-block; background: var(--sage); color: #fff; text-decoration: none;
  padding: 0.78rem 1.5rem; border-radius: 3px; font-size: 0.98rem; font-weight: 500;
}
.btn:hover { background: var(--sage-deep); color: #fff; }
.btn-quiet { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 0.2em; font-size: 0.98rem; }

.marks { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 0.9rem; color: var(--stone); margin: 0; padding: 0; list-style: none; max-width: none; }

/* ---- content blocks ---- */
.block { margin-bottom: 2.6rem; }
.block:last-child { margin-bottom: 0; }
.block h2 + p, .block h3 + p { margin-top: 0; }

.rows { border-top: 1px solid var(--rule); margin: 1.6rem 0 0; }
.row { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.row h3 { margin-bottom: 0.25rem; }
.row p { margin-bottom: 0; color: var(--ink-soft); }

.tier { border-top: 2px solid var(--ink); padding-top: 1.1rem; margin-bottom: 2.8rem; }
.tier-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1rem; margin-bottom: 0.4rem; }
.tier-name { font-family: Newsreader, Georgia, serif; font-size: 1.5rem; }
.tier-price { font-size: 1.05rem; color: var(--sage); font-weight: 600; }
.tier-for { color: var(--stone); font-size: 0.96rem; margin-bottom: 1rem; max-width: var(--measure); }
.tier h4 { font-size: 0.95rem; font-weight: 600; margin: 1.2rem 0 0.4rem; }
.tier ul { margin-bottom: 0; }
.excl { color: var(--stone); }

table { border-collapse: collapse; width: 100%; margin: 1.4rem 0; font-size: 0.95rem; }
caption { text-align: left; color: var(--stone); font-size: 0.9rem; padding-bottom: 0.6rem; }
th, td { text-align: left; padding: 0.62rem 0.8rem 0.62rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }
thead th { border-bottom: 1px solid var(--ink); }

.note { background: var(--sage-tint); padding: 1.3rem 1.5rem; border-radius: 3px; margin: 1.8rem 0; }
.note p { margin-bottom: 0; max-width: none; }

.portrait { border: 1px dashed var(--rule); background: var(--surface); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; color: var(--stone); font-size: 0.9rem; text-align: center; padding: 1rem; }

.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.6rem; align-items: start; }

/* ---- form ---- */
form { max-width: var(--measure); }
label { display: block; font-size: 0.93rem; font-weight: 600; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 3px;
  padding: 0.62rem 0.7rem; margin-bottom: 1.15rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
textarea { min-height: 6.5rem; resize: vertical; }
button[type="submit"] { border: 0; cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -9999px; }
.formnote { font-size: 0.88rem; color: var(--stone); max-width: var(--measure); }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--rule); margin-top: 4rem; padding: 2.4rem 0 3rem; font-size: 0.9rem; color: var(--stone); }
.foot p { max-width: 46rem; margin-bottom: 0.9rem; }
.foot a { color: var(--sage); }
.fine { font-size: 0.83rem; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .two { grid-template-columns: 1fr; gap: 1.8rem; }
  .band, .band-surface { padding: 2.4rem 0; }
  .hero { padding-top: 2.6rem; }
  .yearrule { margin: 2.4rem 0; }
  .nav { gap: 1rem; font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
