/* Strix Tax — 2026 tax season */
:root {
  --bg: #0A0A0B;
  --surface: #111214;
  --surface-2: #181A1D;
  --emerald: #0FA36B;
  --emerald-bright: #1BC88A;
  --emerald-dim: rgba(15, 163, 107, 0.14);
  --line: #222428;
  --line-strong: rgba(15, 163, 107, 0.45);
  --text: #F5F7F6;
  --soft: #C7CBC9;
  --muted: #8B9190;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--emerald); text-decoration: none; }
a:hover { color: var(--emerald-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 0.55em;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

p { margin: 0 0 1em; color: var(--soft); }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--emerald);
  color: var(--bg);
  padding: 0.55rem 0.9rem;
  z-index: 200;
  font-weight: 600;
  border-radius: 8px;
}
.skip:focus { top: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text) !important;
  flex-shrink: 0;
}

.brand-mark { width: 2.2rem; height: 2.2rem; flex-shrink: 0; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.2rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
  font-family: var(--font-body);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }

.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--emerald); padding-bottom: 2px; }

.nav-cta { margin-left: 0.35rem; }

.menu-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--emerald);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--emerald);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s;
}

.btn-emerald {
  background: var(--emerald);
  color: var(--bg) !important;
}

.btn-emerald:hover {
  background: var(--emerald-bright);
  color: var(--bg) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald-bright) !important;
}

.btn-block { width: 100%; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

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

.section { padding: 5rem 0; width: 100%; }
.section-tight { padding: 3.75rem 0; }

.eyebrow {
  display: inline-block;
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.lede {
  font-size: 1.12rem;
  max-width: 36rem;
  color: var(--soft);
}

.section-head { margin-bottom: 2.4rem; max-width: 38rem; }

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 4rem 0 4.25rem;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(15, 163, 107, 0.12), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.hero-owl {
  position: absolute;
  right: -4%;
  top: 46%;
  transform: translateY(-50%);
  width: min(48vw, 460px);
  opacity: 0.11;
  pointer-events: none;
  user-select: none;
}

.hero .wrap { position: relative; z-index: 1; max-width: 48rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.hero .wrap { /* keep centered compact hero, not a wide 3-col under-rule */ }

.hero h1 { margin-bottom: 0.65em; max-width: 16ch; }

.hero .lede { margin-bottom: 1.75rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--soft);
  font-size: 0.82rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.pill strong { color: var(--text); font-weight: 600; }

/* Included tools — single column rows, not a 2x2 card grid */
.included { background: var(--bg); border-top: 1px solid var(--line); }

.tool-rows { border-top: 1px solid var(--line); }

.tool-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.tool-row h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.tool-row p { margin: 0; }

/* Rate table */
.rates { border-top: 1px solid var(--line); }

.rate-row {
  display: grid;
  grid-template-columns: 8.5rem 9rem 8rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.rate-row:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.rate-row:last-of-type { border-radius: 0 0 var(--radius) var(--radius); }

.rate-row.featured {
  background: var(--surface-2);
  box-shadow: inset 3px 0 0 var(--emerald);
  border-color: #2a2d31;
}

.rate-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.rate-year {
  font-weight: 600;
  color: var(--text);
}

.rate-month { color: var(--muted); font-size: 0.92rem; }

.rate-detail { color: var(--soft); font-size: 0.92rem; }

.rate-row .btn { min-width: 8.5rem; }

.fee-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.fee-item {
  display: grid;
  grid-template-columns: 10rem 6.5rem 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--line);
  align-items: start;
}

.fee-item:first-child { border-top: 0; }

.fee-item .amt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.fee-item p, .fee-item .label { margin: 0; }
.fee-item .label { color: var(--text); font-weight: 600; font-size: 0.92rem; }

.notice {
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Affiliate payout list */
.payouts {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--surface);
}

.payout {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-top: 1px solid var(--line);
  align-items: start;
}

.payout:first-child { border-top: 0; }

.payout .figure {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.payout h3 { margin: 0 0 0.25em; }
.payout p { margin: 0; font-size: 0.95rem; }

.approval-note {
  margin: 0 0 1.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--emerald-dim);
  color: var(--text);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Forms */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
}

.form-row { margin-bottom: 0.95rem; }

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid #2a2d31;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--emerald);
  background: #0E0F11;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--emerald) 50%),
    linear-gradient(135deg, var(--emerald) 50%, transparent 50%);
  background-position: calc(100% - 16px) 54%, calc(100% - 11px) 54%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

textarea { min-height: 7rem; resize: vertical; }

.form-note, .form-status {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-status[data-visible="true"] {
  color: var(--emerald-bright);
  border: 1px solid var(--line-strong);
  padding: 0.8rem 0.95rem;
  background: var(--bg);
  border-radius: 8px;
}

/* FAQ */
.faq-list { max-width: 44rem; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  padding: 1.1rem 2.2rem 1.1rem 0;
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--emerald);
  font-family: var(--font-body);
  font-size: 1.3rem;
}

.faq-item[open] button::after { content: "–"; }

.faq-item .answer {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--soft);
  max-width: 40rem;
}

.faq-item[open] .answer { display: block; }

/* Mid-page invite */
.invite {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.invite-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.invite h2 { margin: 0 0 0.3em; }
.invite p { margin: 0; max-width: 34rem; }

/* Footer */
.site-footer {
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.35rem;
}

.footer-nav a {
  color: var(--soft);
  font-size: 0.88rem;
}

.footer-nav a:hover { color: var(--emerald); }

.footer-legal {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
  max-width: 46rem;
}

.footer-legal p { color: var(--muted); margin-bottom: 0.55em; }

/* Inner page intro */
.intro {
  padding: 3.75rem 0 0.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(15, 163, 107, 0.1), transparent 50%),
    var(--bg);
}

.intro h1 { max-width: 16ch; }

@media (max-width: 900px) {
  .rate-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
  }
  .rate-name { grid-column: 1 / -1; }
  .rate-detail { grid-column: 1 / -1; }
  .rate-row .btn { grid-column: 1 / -1; margin-top: 0.4rem; }

  .fee-item { grid-template-columns: 1fr 1fr; }
  .fee-item p { grid-column: 1 / -1; }

  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .tool-row { grid-template-columns: 1fr; gap: 0.3rem; }
}

@media (max-width: 780px) {
  .menu-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0C0D0E;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.5rem 1.3rem;
  }

  body.nav-open .nav { display: flex; }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav a[aria-current="page"] { box-shadow: none; color: var(--emerald); }

  .nav-cta { margin: 1rem 0 0; width: 100%; }

  .form-row-split { grid-template-columns: 1fr; }
  .payout { grid-template-columns: 1fr; gap: 0.25rem; }

  .invite-inner,
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero { min-height: auto; padding: 3rem 0 3.25rem; }
  .hero-owl { width: 80vw; right: -28%; opacity: 0.1; }
  .section { padding: 3.25rem 0; }
  .header-inner, .wrap, .hero .wrap { padding-left: 1.15rem; padding-right: 1.15rem; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* Two affiliate tracks */
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.track {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-offices {
  border-color: var(--line);
}

.track-clients {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(15, 163, 107, 0.08), var(--surface) 42%);
}

.track-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.65rem;
}

.track h2, .track h3 { margin-bottom: 0.35em; }

.track > p { margin-bottom: 1rem; }

.track-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.track-points li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.track-points strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  white-space: nowrap;
}

.track .btn { margin-top: auto; }

.invite-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

@media (max-width: 780px) {
  .tracks,
  .invite-tracks { grid-template-columns: 1fr; }
}
