:root {
  --navy: #071a2e;
  --navy-deep: #050f1c;
  --navy-soft: #0f2942;
  --gold: #d4af37;
  --gold-light: #e8c766;
  --off-white: #faf8f3;
  --white: #ffffff;
  --ink-muted: rgba(255, 255, 255, 0.74);
  --line: rgba(232, 199, 102, 0.18);
  --panel: rgba(7, 26, 46, 0.68);
  --panel-strong: rgba(5, 15, 28, 0.86);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 0.9, 0.32, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(232, 199, 102, 0.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(15, 41, 66, 0.64), transparent 32%),
    linear-gradient(180deg, var(--navy-deep), #061421 48%, var(--navy-deep));
  color: var(--white);
  font-family: var(--font-body);
}

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s ease,
    background-color 0.3s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.28);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn--outline-navy {
  border: 1px solid rgba(7, 26, 46, 0.2);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold:hover {
  box-shadow: 0 18px 38px rgba(212, 175, 55, 0.38);
}

.tax-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 20px 0;
  color: var(--white);
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    padding 0.3s var(--ease);
}

.tax-navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(5, 15, 28, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.tax-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__home-icon {
  width: 38px;
  height: 38px;
  color: var(--gold-light);
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.24rem;
  letter-spacing: 0.03em;
}

.brand__text small {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.tax-navbar__menu,
.tax-navbar__actions,
.navbar-auth__guest,
.navbar-auth__user {
  display: flex;
  align-items: center;
  gap: 26px;
}

.tax-navbar__menu a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

.tax-navbar__menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.tax-navbar__menu a:hover {
  color: var(--white);
}

.tax-navbar__menu a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.tax-navbar__mobile {
  display: none;
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(250, 248, 243, 0.98);
  color: var(--navy);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.tax-navbar__mobile.is-open {
  display: grid;
  gap: 12px;
}

.tax-navbar__mobile a:not(.btn) {
  font-weight: 800;
}

.tax-navbar__mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tax-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 24px 88px;
}

.tax-hero::before {
  content: "";
  position: absolute;
  inset: 92px 24px auto auto;
  width: 132px;
  height: 132px;
  opacity: 0.26;
  background-image: radial-gradient(var(--gold-light) 1px, transparent 1px);
  background-size: 13px 13px;
}

.tax-hero__inner,
.section,
.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.tax-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: 56px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold-light);
}

.tax-hero h1,
.section__header h2,
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.tax-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.tax-hero p {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.hero-statement {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(7, 26, 46, 0.94), rgba(5, 15, 28, 0.9)),
    radial-gradient(circle at 50% 46%, rgba(232, 199, 102, 0.16), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.hero-statement__glow {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 199, 102, 0.25), transparent 64%);
}

.hero-statement i {
  position: relative;
  font-size: 8rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-statement strong {
  position: absolute;
  top: calc(50% - 27px);
  color: var(--navy-deep);
  font-size: 3rem;
  font-weight: 800;
}

.hero-statement span {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

.section__header {
  max-width: 720px;
  margin-bottom: 30px;
}

.section__header h2,
.final-cta h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}

.flow-card,
.payment-card,
.benefit-card,
.faq-item,
.compare-card,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(7, 26, 46, 0.72), rgba(5, 15, 28, 0.86));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.flow-card,
.benefit-card {
  padding: 26px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.3s var(--ease);
}

.flow-card:hover,
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 199, 102, 0.42);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.card-icon,
.benefit-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid rgba(232, 199, 102, 0.36);
  border-radius: 14px;
  color: var(--gold-light);
  background: rgba(232, 199, 102, 0.08);
}

.flow-card h3,
.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.32;
}

.flow-card p {
  color: var(--ink-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.flow-arrow {
  align-self: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  font-weight: 800;
}

.payment-card {
  max-width: 760px;
  padding: 30px;
}

.payment-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink-muted);
}

.payment-card__row strong {
  color: var(--white);
  font-size: 1.25rem;
}

.payment-card__row--gold strong {
  color: var(--gold-light);
  font-size: 1.65rem;
}

.payment-card__note {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(232, 199, 102, 0.28);
  border-radius: 14px;
  background: rgba(232, 199, 102, 0.08);
}

.payment-card__note span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-weight: 800;
}

.payment-card__note p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card h3 {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  font-weight: 800;
}

.faq-question i {
  color: var(--gold-light);
  transition: transform 0.25s var(--ease);
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
}

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.compare-card {
  overflow-x: auto;
}

.compare-card th,
.compare-card td {
  min-width: 190px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.compare-card th {
  color: var(--gold-light);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-card td {
  color: var(--ink-muted);
  line-height: 1.45;
}

.compare-card td:nth-child(2) {
  color: var(--white);
  font-weight: 800;
}

.compare-card i {
  color: var(--gold-light);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 82px;
  padding: 38px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 15, 28, 0.94);
  padding: 50px 0 24px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-col h3 {
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(232, 199, 102, 0.28);
  border-radius: 50%;
  color: var(--gold-light);
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal--left {
  transform: translateX(24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .tax-navbar__menu,
  .tax-navbar__actions > .navbar-auth {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .tax-hero__inner {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    justify-self: center;
  }

  .benefits-grid,
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tax-navbar__inner,
  .tax-navbar__mobile,
  .tax-hero__inner,
  .section,
  .final-cta,
  .site-footer__inner,
  .copyright {
    width: min(100% - 32px, 1180px);
  }

  .brand__text strong {
    font-size: 1.06rem;
  }

  .brand__text small {
    display: none;
  }

  .tax-hero {
    padding: 136px 0 58px;
  }

  .tax-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-statement {
    min-height: 320px;
  }

  .hero-statement i {
    font-size: 6rem;
  }

  .hero-statement strong {
    top: calc(50% - 20px);
    font-size: 2.2rem;
  }

  .section {
    padding: 52px 0;
  }

  .benefits-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .payment-card,
  .final-cta {
    padding: 24px;
  }

  .payment-card__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta .btn,
  .tax-hero .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal,
  .reveal--left {
    opacity: 1;
    transform: none;
  }
}
