/* ==========================================================================
   Tax practice landing page — dark canvas
   Scoped to .tx-landing. Other templates keep the Atomic Blocks styling.
   ========================================================================== */

.tx-landing {
  --void: #0a0c0f;
  --panel: #12161c;
  --panel-2: #191f27;
  --line: #242c36;
  --line-soft: rgba(237, 234, 228, 0.1);
  --cream: #edeae4;
  --muted: #949fad;
  --amber: #f5a524;
  --amber-soft: rgba(245, 165, 36, 0.13);
  --amber-deep: #d98c11;
  --green: #4ade80;

  --display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r: 12px;
  --r-lg: 20px;

  --wrap: 1160px;
  --gutter: 24px;

  background: var(--void);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.tx-landing img { max-width: 100%; height: auto; display: block; }
.tx-landing p { margin: 0; }

.tx-landing h1,
.tx-landing h2,
.tx-landing h3,
.tx-landing h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--cream);
}

.tx-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.tx-kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  flex: none;
}

/* ---------- Buttons ---------- */
.tx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: var(--r);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.tx-btn--amber { background: var(--amber); color: #16120a; }
.tx-btn--amber:hover { background: var(--amber-deep); color: #16120a; }
.tx-btn--outline { border-color: var(--line); color: var(--cream); }
.tx-btn--outline:hover { border-color: var(--cream); color: var(--cream); }
.tx-btn--dark { background: #16120a; color: var(--amber); }
.tx-btn--dark:hover { background: #000; color: var(--amber); }
.tx-btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.tx-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 12, 15, .86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.tx-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; height: 74px; }
.tx-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.tx-brand__mark {
  width: 34px; height: 34px; flex: none;
  border-radius: 9px;
  background: var(--amber); color: #16120a;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.tx-brand__name {
  font-family: var(--display); font-size: 19px; font-weight: 600;
  color: var(--cream); letter-spacing: -0.03em; line-height: 1;
}
.tx-brand__sub {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .19em;
  text-transform: uppercase; color: var(--muted); margin-top: 5px;
}
.tx-nav { display: flex; gap: 28px; }
.tx-nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tx-nav a:hover { color: var(--cream); }

/* ---------- Hero ---------- */
.tx-hero { position: relative; padding: 88px 0 92px; overflow: hidden; }
.tx-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 45% at 15% 0%, rgba(245,165,36,.11) 0%, transparent 68%);
  pointer-events: none;
}
.tx-hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 62px; align-items: start;
}
.tx-hero h1 { font-size: clamp(2.5rem, 5.3vw, 4rem); margin: 24px 0 0; }
.tx-hero h1 span { color: var(--amber); }
.tx-hero__lede { font-size: 18.5px; color: var(--muted); max-width: 48ch; margin-top: 24px; }
.tx-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.tx-hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.tx-hero__proof strong { color: var(--cream); font-weight: 700; }

/* Deadline card */
.tx-deadlines {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
}
.tx-deadlines h3 { font-size: 18px; margin-bottom: 4px; }
.tx-deadlines__note { font-size: 13.5px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tx-deadlines ul { list-style: none; margin: 0; padding: 0; }
.tx-deadlines li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.tx-deadlines li:last-of-type { border-bottom: 0; }
.tx-deadlines li span { color: var(--muted); }
.tx-deadlines li strong {
  color: var(--cream); font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tx-deadlines li.is-next strong { color: var(--amber); }
.tx-deadlines .tx-btn { width: 100%; margin-top: 22px; }

/* ---------- Marquee band ---------- */
.tx-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  padding: 26px 0;
}
.tx-band__inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px;
  list-style: none; margin: 0; padding: 0;
}
.tx-band__inner li {
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}

/* ---------- Sections ---------- */
.tx-section { padding: 100px 0; }
.tx-section--panel { background: var(--panel); }

.tx-head { max-width: 720px; margin-bottom: 58px; }
.tx-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.tx-head h2 { font-size: clamp(2rem, 3.7vw, 2.85rem); margin: 18px 0 16px; }
.tx-head p { font-size: 18px; color: var(--muted); }

/* ---------- Services ---------- */
.tx-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tx-service {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: border-color .18s ease;
}
.tx-section--panel .tx-service { background: var(--void); }
.tx-service:hover { border-color: #3a4552; }
.tx-service__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tx-service__icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--amber-soft); color: var(--amber);
  display: grid; place-items: center;
}
.tx-service h3 { font-size: 20px; }
.tx-service p { color: var(--muted); font-size: 15.5px; }
.tx-service__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.tx-service__list li { display: flex; gap: 10px; font-size: 14.5px; color: #b9c2cd; }
.tx-service__list svg { flex: none; margin-top: 4px; color: var(--amber); }

/* ---------- Comparison table ---------- */
.tx-table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tx-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tx-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tx-table th, .tx-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tx-table thead th {
  background: var(--panel-2);
  font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--cream);
  letter-spacing: -0.01em;
}
.tx-table thead th:first-child { color: var(--muted); font-weight: 500; }
.tx-table thead th.is-us { color: var(--amber); }
.tx-table tbody th { font-weight: 600; color: var(--cream); width: 34%; }
.tx-table td { color: var(--muted); }
.tx-table td.is-us { color: #cfd6de; background: rgba(245,165,36,.045); }
.tx-table tr:last-child th, .tx-table tr:last-child td { border-bottom: 0; }
.tx-mark { display: inline-flex; align-items: center; gap: 8px; }
.tx-mark svg { flex: none; }
.tx-mark--yes { color: var(--green); }
.tx-mark--no { color: #6b7684; }

/* ---------- Process rail ---------- */
.tx-rail { position: relative; max-width: 780px; padding-left: 62px; }
.tx-rail::before {
  content: "";
  position: absolute; left: 21px; top: 10px; bottom: 10px;
  width: 2px; background: linear-gradient(180deg, var(--amber) 0%, var(--line) 100%);
}
.tx-rail__item { position: relative; padding-bottom: 44px; }
.tx-rail__item:last-child { padding-bottom: 0; }
.tx-rail__dot {
  position: absolute; left: -62px; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--panel-2); border: 2px solid var(--amber);
  color: var(--amber);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.tx-rail h3 { font-size: 21px; margin-bottom: 9px; }
.tx-rail p { color: var(--muted); font-size: 16px; }
.tx-rail__meta {
  display: inline-block; margin-top: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Founder ---------- */
.tx-founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.tx-founder__card {
  background: linear-gradient(160deg, var(--panel-2) 0%, var(--void) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 42px 34px;
  text-align: center;
}
.tx-founder__initials {
  width: 108px; height: 108px; margin: 0 auto 22px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  color: var(--amber);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 36px; font-weight: 600;
}
.tx-founder__photo {
  width: 168px; height: 168px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  background: var(--panel-2);
  box-shadow:
    0 0 0 2px var(--amber),
    0 0 0 10px rgba(245, 165, 36, .12),
    0 22px 44px -20px rgba(0, 0, 0, .8);
}
.tx-founder__card h3 { font-size: 23px; margin-bottom: 5px; }
.tx-founder__role { font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.tx-founder__facts { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; text-align: left; }
.tx-founder__facts li { display: flex; gap: 10px; font-size: 14.5px; color: #b9c2cd; }
.tx-founder__facts svg { flex: none; margin-top: 4px; color: var(--amber); }
.tx-founder h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); margin: 18px 0 20px; }
.tx-founder__body p { color: var(--muted); margin-bottom: 16px; }
.tx-pullquote {
  margin: 28px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--display); font-size: 20px; font-weight: 500;
  color: var(--cream); line-height: 1.4; letter-spacing: -0.02em;
}

/* ---------- Stats ---------- */
.tx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tx-stat { border-left: 2px solid var(--amber); padding-left: 20px; }
.tx-stat__v { font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: -0.04em; color: var(--cream); line-height: 1; }
.tx-stat__l { font-size: 14px; color: var(--muted); margin-top: 9px; }

/* ---------- FAQ ---------- */
.tx-faq { max-width: 840px; margin: 0 auto; }
.tx-faq details { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; background: var(--panel-2); }
.tx-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  font-family: var(--display); font-size: 17.5px; font-weight: 600; color: var(--cream);
}
.tx-faq summary::-webkit-details-marker { display: none; }
.tx-faq summary::after {
  content: "";
  width: 11px; height: 11px; flex: none;
  border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(45deg); margin-top: -4px;
  transition: transform .2s ease;
}
.tx-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.tx-faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA ---------- */
.tx-cta { padding: 0 0 100px; }
.tx-cta__box {
  background: linear-gradient(120deg, var(--amber) 0%, #ffc85c 100%);
  border-radius: var(--r-lg);
  padding: 58px 52px;
  color: #16120a;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.tx-cta h2 { color: #16120a; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.tx-cta p { color: rgba(22,18,10,.75); font-size: 17.5px; max-width: 44ch; }
.tx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tx-cta__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tx-cta__list li { display: flex; gap: 12px; align-items: flex-start; }
.tx-cta__list svg { flex: none; margin-top: 3px; color: #16120a; }
.tx-cta__list span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(22,18,10,.55); margin-bottom: 2px; }
.tx-cta__list a, .tx-cta__list strong { color: #16120a; font-size: 16px; font-weight: 700; text-decoration: none; }
.tx-cta__list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.tx-footer { border-top: 1px solid var(--line); padding: 52px 0 30px; font-size: 15px; color: var(--muted); }
.tx-footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.tx-footer h4 { font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--cream); margin-bottom: 15px; }
.tx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tx-footer a { color: var(--muted); text-decoration: none; }
.tx-footer a:hover { color: var(--amber); }
.tx-footer__blurb { margin-top: 15px; max-width: 32ch; font-size: 14.5px; }
.tx-footer__base { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; }
.tx-footer__legal { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: #6b7684; max-width: 96ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .tx-hero__grid, .tx-founder, .tx-cta__box { grid-template-columns: 1fr; gap: 42px; }
  .tx-services { grid-template-columns: 1fr; }
  .tx-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .tx-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px) {
  .tx-nav { display: none; }
  .tx-header__inner { height: 66px; }
  .tx-section { padding: 70px 0; }
  .tx-hero { padding: 56px 0 64px; }
  .tx-stats { grid-template-columns: 1fr; }
  .tx-footer__cols { grid-template-columns: 1fr; }
  .tx-cta__box { padding: 40px 26px; }
  .tx-rail { padding-left: 50px; }
  .tx-rail::before { left: 15px; }
  .tx-rail__dot { left: -50px; width: 32px; height: 32px; font-size: 13px; }
  .tx-founder__photo { width: 140px; height: 140px; }
  .tx-hero__actions .tx-btn, .tx-cta__actions .tx-btn { flex: 1 1 100%; }

  /* Comparison table collapses to stacked rows */
  .tx-table thead { display: none; }
  .tx-table, .tx-table tbody, .tx-table tr, .tx-table th, .tx-table td { display: block; width: 100%; }
  .tx-table tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .tx-table tr:last-child { border-bottom: 0; }
  .tx-table tbody th { padding-bottom: 6px; }
  .tx-table td { padding-top: 6px; padding-bottom: 10px; border-bottom: 0; }
  .tx-table td::before {
    content: attr(data-label);
    display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: #6b7684; margin-bottom: 4px;
  }
}

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