/* ============================================================
   Broker Genius — tariff-classification.css
   Converted from Claude Design "Tariff Classification"
   ============================================================ */

/* ---------- Keyframes (from the design) ---------- */
@keyframes bg-fillin { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.tc-hero {
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
  padding: 80px 28px 0;
}
.tc-hero__inner { max-width: 1280px; margin: 0 auto; }
.tc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-top: 28px;
}
.tc-hero__title {
  font-size: 84px;
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 700;
  font-stretch: 96%;
}
.tc-hero__mark {
  display: inline-block;
  line-height: 1;
  padding: 2px 14px 10px;
  background: var(--accent);
}
.tc-hero__lede {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
  text-wrap: pretty;
}
.tc-hero__note {
  font: 500 13px var(--font-mono);
  color: var(--brown);
  letter-spacing: 0.04em;
  margin-top: 18px;
}
.tc-hero__ctas { display: flex; align-items: center; gap: 14px; margin-top: 26px; }

/* ---------- Spreadsheet preview ---------- */
.tc-sheet {
  margin-top: 52px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  background: var(--card);
}
.tc-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: 600 11px var(--font-mono);
  letter-spacing: 0.12em;
}
.tc-sheet__header-tag { color: var(--accent); }

.tc-sheet__colhead {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 150px minmax(0, 1.2fr) 110px;
  padding: 11px 20px;
  border-bottom: 2px solid var(--line);
  font: 600 9.5px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--sand);
}
.tc-sheet__colhead-new { color: var(--brown); }
.tc-sheet__colhead--right { text-align: right; }

.tc-sheet__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 150px minmax(0, 1.2fr) 110px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  font-size: 14px;
}
.tc-sheet__num { font: 500 12px var(--font-mono); color: var(--sand); }
.tc-sheet__desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.tc-sheet__hs {
  font: 700 13px var(--font-mono);
  background: rgba(251, 206, 108, 0.2); /* #FBCE6C33 */
  padding: 4px 8px;
  width: fit-content;
}
.tc-sheet__clean { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-sheet__conf { text-align: right; font: 600 13px var(--font-mono); color: var(--green); }

/* Fill-in reveals (delays set inline per row, from the design) */
.tc-fill { animation: bg-fillin 0.4s ease-out both; }

/* ---------- Intro ---------- */
.tc-intro { border-bottom: 2px solid var(--ink); padding: 80px 28px; }
.tc-intro__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.tc-intro__title {
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-stretch: 92%;
  text-wrap: balance;
}
.tc-intro__blurb {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 22px auto 0;
  max-width: 62ch;
  text-wrap: pretty;
}

/* ---------- How it works ---------- */
.tc-how { border-bottom: 2px solid var(--ink); padding: 80px 28px; background: var(--tint); }
.tc-how__inner { max-width: 1100px; margin: 0 auto; }
.tc-how__title {
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-stretch: 92%;
  text-align: center;
}
.tc-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.tc-step {
  border: 2px solid var(--ink);
  background: var(--card);
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
}
.tc-step__head {
  border-bottom: 2px solid var(--ink);
  padding: 18px 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background: var(--card);
}
.tc-step__head--accent { background: var(--accent); }
.tc-step__num {
  font: 800 40px var(--font-sans);
  font-stretch: 80%;
  letter-spacing: -0.05em;
}
.tc-step__meta { font: 600 10px var(--font-mono); letter-spacing: 0.12em; color: var(--brown); }
.tc-step__content { padding: 24px 26px 28px; }
.tc-step__title { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.tc-step__body { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin-top: 10px; }

/* ---------- Perfect for ---------- */
.tc-fits { border-bottom: 2px solid var(--ink); padding: 80px 28px; }
.tc-fits__inner { max-width: 1280px; margin: 0 auto; }
.tc-fits__title {
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-stretch: 92%;
  text-align: center;
}
.tc-fits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 2px solid var(--ink);
  background: var(--card);
}
.tc-fit { padding: 32px 28px; border-right: 1px solid var(--line); }
.tc-fit:last-child { border-right: none; }
.tc-fit__box { font: 600 10.5px var(--font-mono); letter-spacing: 0.14em; color: var(--sand); }
.tc-fit__title { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; margin-top: 14px; }
.tc-fit__body { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.tc-faq { border-bottom: 2px solid var(--ink); padding: 80px 28px; background: var(--paper-2); }
.tc-faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}
.tc-faq__aside {
  border: 2px solid var(--ink);
  background: var(--card);
  padding: 36px;
  box-shadow: 6px 6px 0 var(--ink);
  position: sticky;
  top: 100px;
}
.tc-faq__heading {
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-stretch: 92%;
}
.tc-faq__sub { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-top: 22px; }
.tc-faq__blurb { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.tc-faq__cta {
  display: inline-block;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  padding: 13px 22px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.tc-faq__cta:hover { color: var(--ink); background: var(--accent-deep); box-shadow: 1px 1px 0 var(--ink); }

.tc-faq__list { display: flex; flex-direction: column; gap: 12px; }

.faq-item { border: 2px solid var(--ink); background: var(--card); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: var(--card);
  border: 0;
  cursor: pointer;
  font: 700 16.5px var(--font-sans);
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--ink);
}
.faq-item.is-open .faq-item__q { background: rgba(251, 206, 108, 0.2); /* #FBCE6C33 */ }
.faq-item__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 15px var(--font-mono);
}
.faq-item__a {
  display: none;
  padding: 16px 22px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}
.faq-item.is-open .faq-item__a { display: block; }

/* ---------- Trial band ---------- */
.trial-band { border-bottom: 2px solid var(--ink); padding: 88px 28px; background: var(--accent); }
.trial-band__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.trial-band__title {
  font-size: 58px;
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  font-stretch: 92%;
  text-wrap: balance;
}
.trial-band__sub { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 12px; }
.trial-band__blurb { font-size: 16px; line-height: 1.6; color: #4A3A10; margin: 18px auto 0; max-width: 54ch; }
.trial-band__cta {
  display: inline-block;
  margin-top: 28px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 16px 30px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--card);
}
.trial-band__cta:hover { color: var(--accent); box-shadow: 1px 1px 0 var(--card); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tc-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tc-hero__title { font-size: 60px; }
  .tc-how__grid { grid-template-columns: minmax(0, 1fr); }
  .tc-fits__grid { grid-template-columns: repeat(2, 1fr); }
  .tc-fit:nth-child(2n) { border-right: none; }
  .tc-fit:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tc-faq__inner { grid-template-columns: minmax(0, 1fr); }
  .tc-faq__aside { position: static; }
}

@media (max-width: 720px) {
  .tc-hero__title { font-size: 44px; }
  .tc-intro__title, .tc-how__title, .tc-fits__title { font-size: 38px; }
  .tc-fits__grid { grid-template-columns: minmax(0, 1fr); }
  .tc-fit { border-right: none; border-bottom: 1px solid var(--line); }
  .tc-fit:last-child { border-bottom: none; }
  .tc-sheet__colhead, .tc-sheet__row { grid-template-columns: 32px minmax(0, 1fr) 96px minmax(0, 1.2fr) 70px; padding: 11px 12px; font-size: 12.5px; }
  .tc-sheet__hs { font-size: 11px; padding: 3px 5px; }
  .trial-band__title { font-size: 40px; }
  .tc-hero__ctas { flex-wrap: wrap; }
}
