:root {
  --human-purple: #8b85bf;
  --human-purple-dark: #514b7d;
  --human-purple-soft: #efedf8;
  --human-gray: #848688;
  --human-graphite: #2f3034;
  --human-black: #17181c;
  --human-white: #ffffff;
  --human-border: #e5e2ee;
  --human-bg: #fbfbfd;
  --shadow-soft: 0 24px 70px rgba(47, 48, 52, 0.10);
  --shadow-card: 0 14px 40px rgba(47, 48, 52, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--human-graphite);
  background: var(--human-bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

p {
  color: rgba(47, 48, 52, 0.78);
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--human-purple-dark);
  color: var(--human-white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(132, 134, 136, 0.16);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 204px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 650;
  color: rgba(47, 48, 52, 0.78);
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--human-purple);
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--human-purple-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 76px;
  min-height: 44px;
  padding: 10px 14px 10px 16px;
  border: 1px solid var(--human-border);
  border-radius: 999px;
  background: var(--human-white);
  color: var(--human-purple-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(60, 59, 67, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.language-button:hover,
.language-button:focus-visible,
.language-dropdown.is-open .language-button {
  outline: none;
  border-color: var(--human-purple);
  box-shadow: 0 0 0 4px rgba(139, 133, 191, 0.16);
}

.language-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.language-dropdown.is-open .language-chevron {
  transform: rotate(225deg) translate(-2px, -1px);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 90;
  display: none;
  min-width: 126px;
  padding: 8px;
  border: 1px solid var(--human-border);
  border-radius: 18px;
  background: var(--human-white);
  box-shadow: 0 18px 44px rgba(47, 48, 52, 0.14);
}

.language-dropdown.is-open .language-menu {
  display: grid;
  gap: 4px;
}

.language-menu button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--human-graphite);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-checked="true"] {
  outline: none;
  background: var(--human-purple-soft);
  color: var(--human-purple-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--human-purple);
  color: var(--human-white);
  box-shadow: 0 12px 28px rgba(139, 133, 191, 0.27);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--human-purple-dark);
  box-shadow: 0 16px 34px rgba(81, 75, 125, 0.26);
}

.btn-secondary {
  border: 1px solid var(--human-border);
  background: var(--human-white);
  color: var(--human-graphite);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--human-border);
  border-radius: 14px;
  background: var(--human-white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 10px;
  background: var(--human-graphite);
}

.section {
  padding: 100px 0;
}

.section.compact {
  padding: 76px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding-top: 84px;
  background:
    radial-gradient(circle at 15% 15%, rgba(139, 133, 191, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfbfd 54%, #f2f0f8 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -140px -180px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(139, 133, 191, 0.22);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 62px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--human-purple-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 10px;
  background: var(--human-purple);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.84);
}

.eyebrow.light::before {
  background: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3 {
  color: var(--human-graphite);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 780;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 780;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(47, 48, 52, 0.76);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.microcopy {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(47, 48, 52, 0.58);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--human-purple-dark), var(--human-purple));
  color: var(--human-white);
  box-shadow: var(--shadow-soft);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-panel::before {
  right: -150px;
  top: -110px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-panel::after {
  left: -100px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.08);
}

.panel-logo-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 82px;
}

.panel-logo-wrap img {
  width: min(260px, 100%);
}

.route-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.route-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.route-text {
  margin-bottom: 0;
  color: var(--human-white);
  font-size: 24px;
  font-weight: 780;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.mini-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.mini-steps span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 760;
}

.two-column,
.split-grid,
.intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.tinted {
  background: var(--human-purple-soft);
}

.cards,
.pricing-grid,
.legal-grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}

.four-cards {
  grid-template-columns: repeat(4, 1fr);
}

.three-cards {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.price-card,
.legal-card,
.form-placeholder,
.contact-card,
.tax-support-card {
  border: 1px solid var(--human-border);
  border-radius: var(--radius-lg);
  background: var(--human-white);
  box-shadow: var(--shadow-card);
}

.card {
  min-height: 210px;
  padding: 28px;
}

.card p,
.price-card p,
.legal-card p {
  margin-bottom: 0;
}

.problem-list {
  display: grid;
  gap: 14px;
}

.problem-list div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--human-border);
  border-radius: 18px;
  background: var(--human-white);
  box-shadow: var(--shadow-card);
}

.problem-list span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--human-purple-soft);
  color: var(--human-purple-dark);
  font-weight: 820;
}

.problem-list p {
  margin: 0;
  color: var(--human-graphite);
  font-size: 18px;
  font-weight: 680;
}

.dark-section {
  background: linear-gradient(145deg, var(--human-graphite), #454060);
  color: var(--human-white);
}

.dark-section h2,
.dark-section h3,
.compliance-card h2 {
  color: var(--human-white);
}

.dark-cards .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-cards .card p {
  color: rgba(255, 255, 255, 0.74);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
}

.process-timeline li {
  position: relative;
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--human-border);
  border-radius: 22px;
  background: var(--human-white);
  box-shadow: var(--shadow-card);
}

.process-timeline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--human-purple);
  color: var(--human-white);
  font-weight: 850;
}

.process-timeline p {
  margin-bottom: 0;
  color: var(--human-graphite);
  font-weight: 680;
  line-height: 1.42;
}

.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
}

.price-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
}

.price-card.featured {
  border-color: rgba(139, 133, 191, 0.55);
  transform: translateY(-10px);
}

.price-card.pilot {
  background: linear-gradient(180deg, #ffffff, #f8f6ff);
}

.price {
  margin: 18px 0 18px;
  color: var(--human-purple-dark);
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--human-gray);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--human-purple);
  color: var(--human-white) !important;
  font-size: 12px;
  font-weight: 850;
}

.badge.soft {
  background: var(--human-purple-soft);
  color: var(--human-purple-dark) !important;
}

.tax-support-section {
  background: #12172a;
  color: var(--human-white);
}

.tax-support-card {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 48px;
  align-items: center;
  padding: 46px;
  border: 1px solid rgba(139, 133, 191, 0.28);
  border-radius: var(--radius-xl);
  background: #171b35;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.support-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(139, 133, 191, 0.22);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tax-support-card h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--human-white);
  font-size: clamp(36px, 5vw, 64px);
}

.tax-support-card p {
  color: rgba(255, 255, 255, 0.78);
}

.tax-support-actions {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.btn-outline-dark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--human-white);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: var(--human-white);
  color: #171b35;
}

.tax-note {
  max-width: 280px;
  margin: 0;
  font-size: 13px;
}

.compliance-section {
  padding: 78px 0;
}

.compliance-card {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--human-purple-dark), var(--human-purple));
  box-shadow: var(--shadow-soft);
}

.compliance-card p {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.78);
}

.compliance-card h2 {
  max-width: 980px;
}

.form-placeholder {
  padding: 34px;
  border-style: dashed;
  background: #ffffff;
}

.placeholder-title {
  margin-bottom: 10px;
  color: var(--human-graphite);
  font-weight: 820;
}

.form-placeholder code {
  display: block;
  margin-top: 18px;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid var(--human-border);
  border-radius: 14px;
  background: #f6f6fa;
  color: var(--human-purple-dark);
  font-size: 13px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
}

.contact-card p {
  margin-bottom: 0;
}

.legal-section {
  padding-top: 0;
}

.legal-grid {
  grid-template-columns: repeat(3, 1fr);
}

.legal-card {
  padding: 24px;
  box-shadow: none;
}

.legal-card h3 {
  font-size: 20px;
}

.site-footer {
  padding: 56px 0;
  background: var(--human-graphite);
  color: var(--human-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 22px;
}

.site-footer h3 {
  color: var(--human-white);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--human-white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .site-header.is-open .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-header.is-open .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-header.is-open .header-actions {
    order: 4;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 12px;
  }

  .site-header.is-open .language-dropdown {
    width: fit-content;
  }

  .hero-grid,
  .two-column,
  .split-grid,
  .intake-grid,
  .tax-support-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .four-cards,
  .pricing-grid,
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .three-cards,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 176px;
  }

  .section {
    padding: 72px 0;
  }

  .section.compact {
    padding: 58px 0;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: clamp(29px, 7.2vw, 38px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .lead {
    font-size: 17px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-actions,
  .contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel,
  .compliance-card,
  .contact-card,
  .tax-support-card,
  .form-placeholder {
    padding: 26px;
    border-radius: 24px;
  }

  .panel-logo-wrap {
    margin-bottom: 54px;
  }

  .four-cards,
  .pricing-grid,
  .process-timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline li {
    min-height: 150px;
  }

  .problem-list div {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .problem-list span {
    width: 40px;
    height: 40px;
  }

  .problem-list p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.legal-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 56px 0;
  background: linear-gradient(180deg, #f7f6fb, #ffffff);
}

.legal-page-card {
  max-width: 880px;
  padding: 44px;
  border: 1px solid var(--human-border);
  border-radius: var(--radius-xl);
  background: var(--human-white);
  box-shadow: var(--shadow-card);
}

.legal-page-card h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.legal-page-brand {
  display: inline-flex;
  margin-bottom: 42px;
}

@media (max-width: 720px) {
  .legal-page-card {
    padding: 28px;
    border-radius: 24px;
  }
}


/* Final intake popup and form polish */
html {
  scroll-padding-top: 104px;
}

.intake-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 46px;
  border: 1px solid var(--human-border);
  border-radius: var(--radius-xl);
  background: var(--human-white);
  box-shadow: var(--shadow-card);
}

.intake-callout h2 {
  max-width: 880px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.4vw, 56px);
}

.form-assurance {
  margin: 14px 0 0;
  color: rgba(47, 48, 52, 0.62);
  font-size: 15px;
}

.intake-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
  min-width: 250px;
}

.btn-large {
  min-width: 220px;
  min-height: 58px;
  padding: 16px 28px;
  border: 0;
  font-size: 16px;
  cursor: pointer;
}

.intake-small {
  max-width: 290px;
  margin: 0;
  text-align: right;
  color: rgba(47, 48, 52, 0.58);
  font-size: 14px;
  line-height: 1.5;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(18, 23, 42, 0.62);
  backdrop-filter: blur(8px);
}

body.is-modal-open {
  overflow: hidden;
}

.intake-modal {
  position: relative;
  width: min(100%, 920px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 36px;
  border: 1px solid rgba(139, 133, 191, 0.28);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(18, 23, 42, 0.28);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--human-border);
  border-radius: 50%;
  background: var(--human-white);
  color: var(--human-graphite);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  outline: none;
  border-color: var(--human-purple);
  color: var(--human-purple-dark);
  box-shadow: 0 0 0 4px rgba(139, 133, 191, 0.16);
}

.modal-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.modal-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.intake-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-form label:not(.checkbox-line):not(.hp-field) {
  display: grid;
  gap: 8px;
  color: var(--human-graphite);
  font-size: 14px;
  font-weight: 760;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--human-border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--human-graphite);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(132, 134, 136, 0.04);
}

.intake-form textarea {
  min-height: 130px;
  resize: vertical;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  outline: none;
  border-color: var(--human-purple);
  box-shadow: 0 0 0 4px rgba(139, 133, 191, 0.16);
}

.intake-form input:invalid:not(:placeholder-shown),
.intake-form textarea:invalid:not(:placeholder-shown),
.intake-form select:invalid:not(:focus) {
  border-color: rgba(173, 66, 66, 0.38);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--human-border);
  border-radius: 16px;
  background: #fbfbfd;
  color: rgba(47, 48, 52, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--human-purple);
}

.form-footer-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.form-submit {
  min-width: 180px;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: rgba(47, 48, 52, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 760;
}

.inline-status {
  margin-top: 16px;
}

.form-status.is-success {
  color: #2f7d50;
}

.form-status.is-error {
  color: #ad4242;
}

@media (max-width: 820px) {
  .intake-callout {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .intake-actions {
    justify-items: stretch;
    min-width: 0;
  }

  .intake-small {
    max-width: none;
    text-align: left;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .intake-modal {
    max-height: calc(100vh - 24px);
    padding: 26px 18px;
    border-radius: 22px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .form-footer-row {
    display: grid;
  }

  .form-submit,
  .btn-large {
    width: 100%;
  }
}

/* Mobile menu final fix: compact dropdown panel instead of expanded raw header */
.nav-panel {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (min-width: 1081px) {
  .nav-panel .main-nav {
    margin-left: 0;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav-panel {
    display: none;
  }

  .main-nav,
  .header-actions {
    display: flex;
  }

  .site-header.is-open .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    z-index: 120;
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--human-border);
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 22px 60px rgba(47, 48, 52, 0.18);
    backdrop-filter: blur(16px);
  }

  .site-header.is-open .header-inner {
    flex-wrap: nowrap;
    padding: 0;
  }

  .site-header.is-open .main-nav {
    order: initial;
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
  }

  .site-header.is-open .main-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--human-graphite);
    font-size: 15px;
  }

  .site-header.is-open .main-nav a:hover,
  .site-header.is-open .main-nav a:focus-visible {
    background: var(--human-purple-soft);
  }

  .site-header.is-open .main-nav a::after {
    display: none;
  }

  .site-header.is-open .header-actions {
    order: initial;
    width: 100%;
    display: grid;
    gap: 10px;
    padding: 12px 0 0;
    border-top: 1px solid var(--human-border);
  }

  .site-header.is-open .language-dropdown,
  .site-header.is-open .language-button {
    width: 100%;
  }

  .site-header.is-open .language-button {
    justify-content: space-between;
  }

  .site-header.is-open .language-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
  }

  .site-header.is-open .header-actions .btn {
    width: 100%;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle span {
    transition: transform .2s ease, opacity .2s ease;
  }
}


/* v1.1 package expectation block */
.package-expectation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px auto 0;
  max-width: 940px;
  text-align: left;
}

.package-expectation > div {
  padding: 22px 24px;
  border: 1px solid rgba(139, 133, 191, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(47, 48, 52, 0.06);
}

.package-expectation h3 {
  margin-bottom: 8px;
  color: var(--human-graphite);
  font-size: 18px;
}

.package-expectation p {
  margin: 0;
  color: rgba(47, 48, 52, 0.74);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .package-expectation {
    grid-template-columns: 1fr;
  }
}

/* v1.1.2 mobile overflow and popup fit fix */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-copy,
.hero-panel,
.main-nav,
.header-actions,
.intake-modal,
.modal-heading,
.intake-form,
.form-grid,
.form-grid > *,
.package-expectation,
.tax-support-card {
  min-width: 0;
  max-width: 100%;
}

h1,
h2,
h3,
p,
a,
button,
span,
label {
  overflow-wrap: break-word;
}

.eyebrow {
  max-width: 100%;
  flex-wrap: wrap;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    overflow: visible;
  }

  .header-inner {
    width: 100%;
  }

  .brand img {
    width: 172px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .eyebrow {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.075em;
  }

  .eyebrow::before {
    flex: 0 0 22px;
    margin-top: 8px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(28px, 8.3vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.045em;
  }

  .lead {
    max-width: 100%;
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.52;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .microcopy {
    font-size: 13px;
    line-height: 1.5;
  }

  .process-timeline li,
  .card,
  .price-card,
  .legal-card {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand img {
    width: 168px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .modal-backdrop {
    align-items: stretch;
    justify-items: stretch;
    padding: 8px;
  }

  .intake-modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 16px);
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .modal-heading {
    padding-right: 42px;
  }

  .modal-heading h2 {
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1.16;
  }

  .modal-heading p {
    font-size: 14px;
    line-height: 1.5;
  }

  .intake-form {
    gap: 14px;
  }

  .form-grid,
  .form-grid.two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .intake-form input,
  .intake-form select,
  .intake-form textarea {
    min-width: 0;
    font-size: 16px;
  }

  .checkbox-line {
    padding: 14px;
    font-size: 13px;
  }
}


/* v1.1.3 hero soft typography polish */
.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(34px, 3.25vw, 48px);
  line-height: 1.16;
  font-weight: 740;
  letter-spacing: -0.032em;
}

.hero-copy .lead {
  max-width: 690px;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.58;
}

.hero-copy .eyebrow {
  font-weight: 800;
  letter-spacing: 0.105em;
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(24px, 7.05vw, 30px);
    line-height: 1.16;
    font-weight: 730;
    letter-spacing: -0.032em;
    margin-bottom: 16px;
  }

  .hero-copy .lead {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-copy .eyebrow {
    font-size: 10px;
    letter-spacing: 0.07em;
    line-height: 1.35;
  }

  .microcopy {
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: clamp(23px, 6.65vw, 28px);
  }

  .hero-copy .lead {
    font-size: 15px;
  }
}


/* v1.1.4 final lighter hero typography */
.hero-copy h1 {
  max-width: 660px;
  font-size: clamp(31px, 2.85vw, 43px);
  line-height: 1.20;
  font-weight: 700;
  letter-spacing: -0.026em;
}

.hero-copy .lead {
  max-width: 660px;
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.62;
  color: rgba(47, 48, 52, 0.72);
}

.hero-copy .eyebrow {
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.095em;
}

@media (max-width: 720px) {
  .hero-copy h1 {
    font-size: clamp(22px, 6.35vw, 27px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.024em;
    margin-bottom: 16px;
  }

  .hero-copy .lead {
    font-size: 14.5px;
    line-height: 1.58;
    margin-bottom: 22px;
  }

  .hero-copy .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.065em;
    line-height: 1.35;
    margin-bottom: 13px;
  }

  .microcopy {
    font-size: 11.5px;
    line-height: 1.55;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: clamp(21px, 5.95vw, 25px);
  }

  .hero-copy .lead {
    font-size: 14px;
  }
}

/* =========================================================
   v1.1.5 — GLOBAL TYPOGRAPHY / VISUAL HIERARCHY POLISH
   Purpose: make the whole landing feel consistent, calmer and
   more professional. This is a CSS-only patch: no forms, analytics,
   Search Console, /12proc, sitemap, robots, legal or PHP changes.
   ========================================================= */

:root {
  --type-heading-tight: -0.026em;
  --type-heading-soft: -0.018em;
}

body {
  color: #303136;
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  letter-spacing: var(--type-heading-tight);
  line-height: 1.18;
  font-weight: 700;
}

/* Hero should be the strongest headline, but not poster-heavy. */
.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(36px, 3.55vw, 52px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin-bottom: 24px;
}

.hero-copy .lead {
  max-width: 690px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
  color: rgba(47, 48, 52, 0.72);
  margin-bottom: 30px;
}

.hero-copy .microcopy,
.microcopy {
  max-width: 640px;
  font-size: 13px;
  line-height: 1.58;
  color: rgba(47, 48, 52, 0.56);
}

.hero-copy .eyebrow,
.eyebrow {
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.105em;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(48px, 6vw, 82px);
}

/* All non-hero section titles are intentionally calmer than H1. */
.section-heading h2,
.split-grid h2,
.two-column h2,
.intake-callout h2,
.modal-heading h2 {
  max-width: 720px;
  font-size: clamp(28px, 3.05vw, 40px);
  line-height: 1.20;
  font-weight: 700;
  letter-spacing: -0.024em;
}

.section-heading.centered h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.two-column .section-heading h2 {
  max-width: 560px;
}

.section-heading > p:not(.eyebrow),
.section-heading.centered > p:not(.eyebrow),
.two-column p,
.split-grid p {
  font-size: 16.5px;
  line-height: 1.66;
}

.card h3,
.price-card h3,
.legal-card h3 {
  font-size: 20px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.card p,
.price-card p,
.legal-card p {
  font-size: 15.5px;
  line-height: 1.62;
}

.problem-list p {
  font-size: 17px;
  line-height: 1.42;
  font-weight: 650;
}

.process-timeline p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}

.package-expectation h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.package-expectation p {
  font-size: 15.5px;
  line-height: 1.62;
}

.price-card .price {
  letter-spacing: -0.03em;
}

.tax-support-card h2,
.compliance-card h2 {
  max-width: 820px;
  font-size: clamp(28px, 3.15vw, 42px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.024em;
}

.tax-support-card p,
.compliance-card p,
.contact-card p,
.intake-callout p {
  font-size: 16px;
  line-height: 1.62;
}

/* Keep modal professional and prevent text from feeling cramped. */
.modal-heading h2 {
  font-size: clamp(27px, 3vw, 38px);
}

.modal-heading p:not(.eyebrow) {
  font-size: 15.5px;
  line-height: 1.62;
}

/* Mobile: no horizontal overflow, softer hierarchy, readable buttons. */
@media (max-width: 1080px) {
  .hero-grid {
    gap: 40px;
  }

  .section-heading h2,
  .split-grid h2,
  .two-column h2,
  .intake-callout h2,
  .modal-heading h2,
  .tax-support-card h2,
  .compliance-card h2 {
    font-size: clamp(28px, 4.6vw, 38px);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section.compact {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 58px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(26px, 6.7vw, 32px);
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -0.024em;
    margin-bottom: 18px;
  }

  .hero-copy .lead {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.58;
    margin-bottom: 24px;
  }

  .hero-copy .eyebrow,
  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.075em;
    line-height: 1.35;
  }

  .hero-copy .microcopy,
  .microcopy {
    font-size: 11.5px;
    line-height: 1.55;
  }

  .section-heading h2,
  .split-grid h2,
  .two-column h2,
  .intake-callout h2,
  .modal-heading h2,
  .tax-support-card h2,
  .compliance-card h2 {
    max-width: 100%;
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.022em;
  }

  .section-heading > p:not(.eyebrow),
  .section-heading.centered > p:not(.eyebrow),
  .two-column p,
  .split-grid p,
  .tax-support-card p,
  .compliance-card p,
  .contact-card p,
  .intake-callout p {
    font-size: 15px;
    line-height: 1.6;
  }

  .card,
  .price-card,
  .legal-card {
    padding: 22px;
  }

  .card h3,
  .price-card h3,
  .legal-card h3,
  .package-expectation h3 {
    font-size: 18px;
    line-height: 1.24;
  }

  .card p,
  .price-card p,
  .legal-card p,
  .package-expectation p {
    font-size: 14.5px;
    line-height: 1.58;
  }

  .problem-list p,
  .process-timeline p {
    font-size: 15px;
    line-height: 1.46;
    font-weight: 650;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: clamp(25px, 6.45vw, 30px);
  }

  .section-heading h2,
  .split-grid h2,
  .two-column h2,
  .intake-callout h2,
  .modal-heading h2,
  .tax-support-card h2,
  .compliance-card h2 {
    font-size: clamp(24px, 7vw, 31px);
  }
}
