:root {
  --ink: #101820;
  --muted: #53616f;
  --paper: #f6faf4;
  --panel: #ffffff;
  --line: #dce8df;
  --forest: #0b2417;
  --teal: #00c805;
  --amber: #c99526;
  --red: #b9433f;
  --blue: #2662d9;
  --shadow: 0 22px 80px rgba(16, 24, 32, 0.14);
  --page-max: 1240px;
  --page-pad: clamp(24px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(246, 250, 244, 0.94);
  border-bottom: 1px solid rgba(220, 232, 223, 0.86);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 16px var(--page-pad);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.nav-links {
  align-items: center;
  display: flex;
}

.brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.wordmark {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  gap: 24px;
}

.hero {
  align-items: center;
  background: #ecf6ed;
  display: flex;
  min-height: 76vh;
  overflow: hidden;
  padding: 104px var(--page-pad) 72px;
  position: relative;
}

#ledger-canvas,
.hero-overlay {
  inset: 0;
  position: absolute;
}

#ledger-canvas {
  background: transparent;
  display: block;
  filter: saturate(0.82);
  height: 100%;
  inset: 0 0 0 60%;
  opacity: 0.68;
  width: 40%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 250, 244, 0.99) 0%, rgba(246, 250, 244, 0.96) 44%, rgba(246, 250, 244, 0.5) 58%, rgba(246, 250, 244, 0.22) 80%, rgba(246, 250, 244, 0.14) 100%),
    linear-gradient(180deg, rgba(246, 250, 244, 0.02) 0%, rgba(246, 250, 244, 0.28) 100%);
}

.hero-inner {
  margin: 0 auto;
  max-width: var(--page-max);
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-inner > * {
  max-width: 820px;
}

.eyebrow {
  color: #008f21;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(58px, 8.5vw, 100px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
  text-wrap: balance;
}

.no-break {
  white-space: nowrap;
}

h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.7vw, 58px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 18px;
  text-wrap: balance;
}

h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-copy {
  color: #314150;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.35;
  margin-bottom: 16px;
  max-width: 560px;
}

.hero-benefits {
  color: var(--ink);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: var(--ink);
}

.button.primary:hover {
  background: #00b806;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 24, 32, 0.18);
  color: var(--ink);
}

.section {
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 80px var(--page-pad);
}

.quote-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.quote-grid figure {
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  min-height: 260px;
  padding: 26px;
  position: relative;
}

.quote-grid figure:first-child {
  border-radius: 8px 0 0 8px;
}

.quote-grid figure:last-child {
  border-radius: 0 8px 8px 0;
}

.quote-grid blockquote {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 400;
  line-height: 1.38;
  margin: 0;
  padding-top: 18px;
  text-wrap: pretty;
}

.quote-grid blockquote::before {
  color: rgba(0, 200, 5, 0.34);
  content: "“";
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 400;
  height: 28px;
  line-height: 0.8;
}

.quote-grid figcaption {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 14px;
}

.quote-grid a {
  color: #008f21;
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.pain-coda {
  border-top: 1px solid rgba(0, 200, 5, 0.3);
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  margin: 34px 0 0;
  max-width: 900px;
  padding-top: 28px;
  text-wrap: balance;
}

.pain-coda span {
  color: #008f21;
  display: block;
  margin-top: 10px;
}

.section-heading {
  max-width: 980px;
}

.section-note {
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.45;
  margin: 0;
  max-width: 780px;
}

.workflow-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.workflow-grid article,
.report-card,
.waitlist-form {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.06);
}

.workflow-grid article {
  min-height: 190px;
  padding: 28px;
}

.workflow-grid article:first-child {
  border-radius: 8px 0 0 8px;
}

.workflow-grid article:last-child {
  border-radius: 0 8px 8px 0;
}

.step-number {
  color: #008f21;
  display: block;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 34px;
}

.workflow-grid p,
.waitlist-copy p,
.section-heading > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.report-section {
  max-width: var(--page-max);
}

.report-card {
  border-radius: 8px;
  margin-top: 38px;
  overflow: hidden;
}

.tax-impact-table {
  min-width: 820px;
}

.tax-impact-table th,
.tax-impact-table td {
  padding: 26px 24px;
  vertical-align: top;
}

.tax-impact-table thead th {
  color: #008f21;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.tax-impact-table th:nth-child(3),
.tax-impact-table td:nth-child(3) {
  background: rgba(0, 200, 5, 0.08);
  border-left: 1px solid rgba(0, 200, 5, 0.22);
  border-right: 1px solid rgba(0, 200, 5, 0.22);
}

.tax-impact-table th:nth-child(3) {
  color: #007a1c;
}

.tax-impact-table tbody th[scope="row"] {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  min-width: 130px;
  text-transform: none;
}

.tax-impact-table td {
  min-width: 190px;
}

.tax-impact-table strong {
  color: var(--ink);
  display: block;
  font-family: "Roboto Mono", monospace;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.18;
}

.tax-impact-table td:nth-child(3) strong {
  color: #007a1c;
}

.tax-summary {
  align-items: flex-end;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 24px;
  text-align: right;
}

.tax-summary p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.tax-summary strong {
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.18;
}

.watchlist-heading {
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px;
}

.watchlist-heading h3,
.watchlist-heading p {
  margin-bottom: 0;
}

.watchlist-heading p {
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

td {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
}

.status-pill.active {
  background: rgba(0, 200, 5, 0.14);
  color: #007a1c;
}

.status-pill.closed {
  background: rgba(38, 98, 217, 0.1);
  color: var(--blue);
}

.waitlist-section {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.55fr);
  padding-bottom: 92px;
}

#waitlist-title {
  font-size: clamp(32px, 3.6vw, 46px);
  max-width: 760px;
}

.privacy-note {
  border-left: 4px solid var(--amber);
  padding-left: 14px;
}

.waitlist-form {
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 24px;
  position: relative;
}

.waitlist-form::before {
  background: var(--teal);
  content: "";
  height: 4px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.waitlist-form label {
  color: var(--ink);
  display: grid;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
}

.brokerage-field {
  border: 0;
  margin: 2px 0 0;
  padding: 0;
}

.brokerage-field legend {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.brokerage-title {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.brokerage-title small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.brokerage-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brokerage-options label {
  align-items: center;
  background: #fbfcfa;
  border: 1px solid #ccd7d1;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  gap: 9px;
  min-height: 42px;
  padding: 10px 11px;
}

.brokerage-options input {
  accent-color: var(--teal);
  min-height: 0;
  padding: 0;
}

.brokerage-options label:has(input:checked) {
  background: rgba(0, 200, 5, 0.08);
  border-color: rgba(0, 200, 5, 0.5);
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  background: #fbfcfa;
  border: 1px solid #ccd7d1;
  border-radius: 7px;
  color: var(--ink);
  min-height: 46px;
  padding: 11px 12px;
  resize: vertical;
}

.waitlist-form .brokerage-options input {
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 200, 5, 0.16);
}

.submit-button {
  margin-top: 4px;
  width: 100%;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  min-height: 20px;
}

.form-status.success {
  color: #008f21;
}

.form-status.error {
  color: var(--red);
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 13px;
  gap: 24px;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  padding: 22px var(--page-pad);
}

.site-footer > div {
  align-items: center;
  display: flex;
  gap: 12px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  justify-content: center;
}

.copyright {
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.site-footer a {
  color: var(--muted);
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--ink);
}

.legal-page {
  margin: 0 auto;
  max-width: 860px;
  padding: 132px clamp(20px, 4vw, 48px) 84px;
}

.legal-page h1 {
  font-size: clamp(48px, 8vw, 84px);
  margin-bottom: 18px;
}

.legal-page h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.legal-page section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.legal-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 0;
}

.legal-page a {
  color: var(--ink);
  font-weight: 700;
}

.legal-updated {
  margin-bottom: 44px;
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 80px 20px 20px;
  }

  .hero-overlay {
    background: rgba(246, 250, 244, 0.9);
  }

  #ledger-canvas {
    display: none;
  }

  h1 {
    font-size: clamp(46px, 13vw, 64px);
  }

  h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .workflow-grid,
  .quote-grid,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .workflow-grid article,
  .workflow-grid article:first-child,
  .workflow-grid article:last-child,
  .quote-grid figure,
  .quote-grid figure:first-child,
  .quote-grid figure:last-child {
    border-radius: 8px;
  }

  .watchlist-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tax-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .tax-summary strong {
    text-align: left;
  }

  .waitlist-section {
    gap: 28px;
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
  }

  .copyright {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 540px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .tax-impact-table {
    min-width: 680px;
  }

  .brokerage-options {
    grid-template-columns: 1fr;
  }
}
