﻿/* ==========================================================================
   Dental Tax Advocates — Main Styles
   Container: 1200px | Fonts: Cambo + Poppins
   ========================================================================== */

@font-face {
  font-family: "Cambo";
  src: url("../fonts/Cambo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-lime: #dfe560;
  --color-green: #00990b;
  --color-mint: #d6ffd8;
  --color-cream: #f4f7cd;
  --color-gray: #848484;
  --color-black: #000;
  --color-heading: #161515;
  --color-white: #ffffff;
  --color-off-white: #f8f7f7;
  --color-border: #c8c8c8;

  --font-serif: "Cambo", Georgia, "Times New Roman", serif;
  --font-sans: "Poppins", system-ui, -apple-system, sans-serif;

  --container: 1248px;
  --radius: 16px;
  --radius-sm: 4px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 30px rgba(9, 20, 19, 0.06);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--color-heading);
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.badge--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.badge--lime {
  background: var(--color-lime);
  color: var(--color-black);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.section-head .badge {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 48px;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--color-black);
  font-size: 16px;
  line-height: 1.7;
}

.section-pad {
  padding: 120px 0;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  background: #e8e8e8;
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  min-height: 52px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.header-actions .btn {
  min-height: 41px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn img,
.btn svg {
  width: 17px;
  height: 13px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.btn--green:hover {
  background: #007a09;
}

.btn--lime {
  background: var(--color-lime);
  color: var(--color-black);
}

.btn--lime:hover {
  filter: brightness(0.95);
}

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

.price-card--mint .btn--black {
  align-self: flex-start;
}

.btn--lime img {
  filter: brightness(0);
}

.btn--cream {
  background: var(--color-cream);
  color: var(--color-black);
}

.btn--cream:hover {
  filter: brightness(0.97);
}

.btn--outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

.btn--outline img {
  filter: brightness(0);
}

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

.btn--white img {
  filter: brightness(0);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* --------------------------------------------------------------------------
   Top bar + Header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--color-mint);
  color: var(--color-black);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  line-height: 1.4;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid #E8E8E8;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 16px rgba(9, 20, 19, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 97px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color:#707070;
  transition: color var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color:  var(--color-black);
}

.nav__item--has-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__item--has-sub .chevron {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-right{display: flex;align-items: center;gap: 24px;}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  margin: 5px auto;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 200;
  background: var(--color-white);
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav__links a {
  font-size: 20px;
  font-weight: 500;
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Hero (Home)
   -------------------------------------------------------------------------- */

.hero {
  padding: 120px 0;
  background: var(--color-white);
}

.hero__grid {
  display: flex;
  gap: 121px;
  align-items: center;
  justify-content: space-between;
}

.hero__content .badge {
  margin-bottom: 24px;
}

.hero__content h1 {
  font-size: 48px;
  margin-bottom: 40px;
  line-height: 1.12;
  color: var(--color-black);
}

.hero__content > p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__content .btn-row {
  margin-bottom: 8px;
}

.hero__media {
  overflow: hidden;
  width: 100%;
  max-width: 488px;
  height: 456px;
  justify-self: stretch;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 20px;
  margin-top: 50px;
}

.hero__perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
}

.hero__perk-icon {
  width: 36px;
  height: 36px;  
  border: 1px solid #000;
  border-radius: 50%;  
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__perk img {
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  box-sizing: content-box;
}

/* --------------------------------------------------------------------------
   Logo strip — edge-to-edge marquee slider
   -------------------------------------------------------------------------- */

.logo-strip {
  padding: 40px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--color-white);
}

.logo-strip__label {
  font-size: 16px;  
  margin-bottom: 40px;
  padding: 0 24px;
}

.logo-strip__viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 64px;
  padding: 8px 0;
  animation: dta-logo-marquee 40s linear infinite;
}

.logo-strip__viewport:hover .logo-strip__track {
  animation-play-state: paused;
}

@keyframes dta-logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logo-strip__item {
  height: 52px;
  min-width: 130px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.logo-strip__item img {
  max-height: 42px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.logo-strip__item--on-dark img {
  /* mix-blend-mode: screen; */
}

.logo-strip__ph {
  height: 28px;
  min-width: 110px;
  background: #ddd;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .logo-strip__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    gap: 32px 48px;
  }

  .logo-strip__item[aria-hidden="true"] {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   How we help
   -------------------------------------------------------------------------- */

.how-help.section-pad {
  padding: 120px 0;
}

.how-help__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.how-help__media {
  border-radius: 16px;
  overflow: hidden;
  min-height: 520px;
  background: #111;
  position: relative;
}

.how-help__media img,
.how-help__media .how-help__video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.how-help__video {
  position: absolute;
  inset: 0;
}

.how-help__play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(9, 20, 19, 0.92);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.how-help__play:hover {
  transform: scale(1.05);
  background: #000;
}

.how-help__play-icon {
  display: none;
  width: 14px;
  height: 14px;
  position: relative;
}

.how-help__play.is-playing .how-help__play-icon--pause,
.how-help__play:not(.is-playing) .how-help__play-icon--play {
  display: block;
}

/* Pause = two bars */
.how-help__play-icon--pause::before,
.how-help__play-icon--pause::after {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: #fff;
}

.how-help__play-icon--pause::before {
  left: 2px;
}

.how-help__play-icon--pause::after {
  right: 2px;
}

/* Play = triangle */
.how-help__play-icon--play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.how-help__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#how-we-help {
  background: var(--color-off-white);
}

.service-card {
  background: var(--color-white);
  padding: 20px;
}

.service-card:nth-child(1) {
border-radius: 16px 0 0 0;
}

.service-card:nth-child(2) {
border-radius:0 16px 0 0;
}

.service-card:nth-child(3) {
border-radius: 0 0 0 16px;
}

.service-card:nth-child(4) {
border-radius: 0 0 16px 0;
}

.service-card__icon {
  width: 36px;
  height: 36px;
  padding: 2px;
  box-sizing: border-box;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-mint);
}

.service-card:nth-child(2) .service-card__icon,
.service-card:nth-child(3) .service-card__icon {
  background: var(--color-cream);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 16px;
  color: var(--color-black);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Approach / Accordion
   -------------------------------------------------------------------------- */

.approach.section-pad {
  padding: 120px 0;
}

.approach__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.accordion__item {
  border-radius: 12px;
  background: #F8F7F7;
  padding: 34px 20px;
}

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding-left: 0;
}

.accordion__title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-black);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__panel {
  display: none;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  max-width: 480px;
  color: var(--color-black);
}

.accordion__item.is-open .accordion__panel {
  display: block;
  padding-top: 12px;
}

.approach__media {
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
  height: 100%;
  align-self: stretch;
}

.approach__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Ideal clients (dark)
   -------------------------------------------------------------------------- */

.ideal {
  background: #161515;
  color: var(--color-white);
  padding: 120px 0;
}

.ideal .section-head {
  text-align: left;
  margin: 0 0 50px;
  max-width: 640px;
}

.ideal .section-head h2 {
  color: var(--color-white);
}

.ideal .section-head p {
  color: var(--color-white);
}

.ideal__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ideal-card {
  border-radius: 16px;
  padding: 20px;
  min-height: 230px;
}

.ideal-card:nth-child(odd) {
  background: var(--color-cream);
}

.ideal-card:nth-child(even) {
  background: var(--color-mint);
}

.ideal-card__icon {
  width: auto;
  height: 24px;
  max-width: 30px;
  margin-bottom: 20px;
}

.ideal-card h3 {
  font-size: 24px;  
  margin-bottom: 20px;
  color: var(--color-black);
}

.ideal-card p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #000;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Footer CTA
   -------------------------------------------------------------------------- */

.footer-cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  color: var(--color-white);
  background: var(--color-black);
  overflow: hidden;
  min-height: 560px;
    display: flex;
    align-items: center;
}

.footer-cta__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1);
}

.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 50%);
}

.footer-cta__inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 800px;
}

.footer-cta h2 {
  color: var(--color-white);
  font-size: 64px;
  margin-bottom: 16px;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Site footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-white);
  padding: 120px 0 100px 0;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 24px;
}

.footer-brand {
  flex: 0 1 488px;
  max-width: 488px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand .logo img {
  height: 50px;
  margin-bottom: 0;
}

.footer-brand p {
  color: var(--color-black);
  font-size: 16px;
  line-height: 1.5;
  max-width: none;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  gap: 76px;
  flex: 0 0 auto;
}

.footer-col {
  min-width: 140px;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}

.footer-social a:hover {
  border-color: var(--color-green);
}

.footer-social img {
  width: 22px;
  height: 22px;
}

.footer-col h4 {  
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-col a {
  font-size: 14px;
  color: var(--color-black);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
  font-size: 16px;
  color: var(--color-black);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}

.footer-legal a:hover {
  color: var(--color-black);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--color-black);
  color: #fff;
  padding: 20px 24px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 720px;
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.cookie-banner .btn {
  min-width: 120px;
}

.schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.schedule-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.schedule-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 50%);
}

.schedule-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px 32px 32px;
}

.schedule-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.schedule-modal__close span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-black);
  position: absolute;
  left: 13px;
  top: 21px;
}

.schedule-modal__close span:first-child {
  transform: rotate(45deg);
}

.schedule-modal__close span:last-child {
  transform: rotate(-45deg);
}

.schedule-modal__panel h2 {
  font-size: 32px;
  margin-bottom: 24px;
  padding-right: 36px;
}

.schedule-modal__form .hs-form-frame,
.schedule-modal__form iframe {
  width: 100%;
  min-height: 240px;
}

.schedule-modal__form input,
.schedule-modal__form select,
.schedule-modal__form textarea,
.schedule-modal__form .hs-input {
  width: 100%;
  max-width: 100%;
  border: 1px solid #dadada;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 16px;
  background: var(--color-white);
}

.schedule-modal__form textarea {
  min-height: 120px;
}

.schedule-modal__form .hs-button,
.schedule-modal__form input[type="submit"] {
  background: var(--color-lime);
  color: var(--color-black);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 120px 0 120px;
  text-align: center;
}

.page-hero .badge {
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size:64px;
  margin-bottom: 56px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  color: var(--color-black);
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-hero__sub {
  color: var(--color-black) !important;
  font-size: 20px !important;
  font-weight: 600;
  margin-bottom: 12px !important;
}

.page-hero .btn-row {
  justify-content: center;
}

.page-hero--legal .page-hero__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-hero--legal h1,
.page-hero--legal p {
  margin-bottom: 0;
  max-width: 100%;
}

.page-hero__legal-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.legal-content {
  padding: 0 0 120px;
}

.legal-block {
  margin-bottom: 56px;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.legal-block p,
.legal-block li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-black);
}

.legal-block p {
  margin: 0 0 20px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  display: block;
  list-style: disc;
  margin: 0 0 20px;
  padding-left: 1.5em;
}

.legal-block li {
  display: list-item;
  margin: 0 0 12px;
}

.legal-block li:last-child {
  margin-bottom: 0;
}

.page-hero--services .btn-row {
  /* margin-bottom: 28px; */
}

.page-hero--services .anchor-nav {
  padding: 0;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */

.anchor-nav {
  padding: 24px 0;
}
.anchor-nav nav{  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.anchor-nav a {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-black);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  background: var(--color-white);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.anchor-nav a:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

.split-section {
  padding: 120px 0;
}

.split-section--muted {
}

.svc-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.svc-dark .section-head h2,
.pricing-dark .section-head h2 {
  color: var(--color-white);
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.badge--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.container--narrow {
  max-width: 920px;
}

.split-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.split-section__grid--bk {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.split-section__grid--reverse > :first-child {
  order: 2;
}

.split-section .badge {
  margin-bottom: 20px;
}

.split-section h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

.split-section__intro {
  margin-bottom: 8px;
  line-height: 1.65;
}

.split-section__media {
  border-radius: 20px;
  overflow: hidden;
  min-height: 667px;
  height: 100%;
}

.split-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 50px;
  font-weight: 500;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.check-list img {
  width: 15px;
  height: 14px;
  object-fit: contain;
  margin-top: 3px;
  flex-shrink: 0;
}

.check-list--light li {
  color: rgba(255, 255, 255, 0.92);
}

.call-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.call-card {
  border-radius: 16px;
  padding: 20px;
}

.call-card:nth-child(odd) {
  background: var(--color-mint);
}

.call-card:nth-child(even) {
  background: var(--color-cream);
}

.call-card__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 20px;
}

.call-card h3 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--color-black);
  line-height: 1.15;
}

.call-card p {
  color: var(--color-black);
  font-size: 16px;
  line-height: 1.4;
}

.bk-month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bk-month {
  border-radius: 18px;
  padding: 18px 16px 20px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bk-month--cream {
  background: var(--color-cream);
}

.bk-month--mint {
  background: var(--color-mint);
}

.bk-month__label {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
}

.bk-month p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0;
}

.req-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 48px;
  align-items: stretch;
}

.req-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.req-item {
  padding: 22px 20px;
  background: var(--color-white);
  border-radius: 16px;
  color: var(--color-black);
}

.req-item--light {
  background: #f8f7f7;
}

.req-item__num {
  display: inline;
  padding-right: 4px;
}

.req-item h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--color-black);
}

.req-item p {  
}

.req-media {
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
}

.req-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 560px;
  display: block;
}

.pricing-dark {
  background:#161515;
  color: var(--color-white);
  padding: 120px 0;
}

.pricing-dark .section-head {
  text-align: left;
  margin: 0 0 51px;
  max-width: 699px;
}

.pricing-dark .section-head p {
  color: #cacaca;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}

.price-card {
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 377px;
}

.price-card--mint {
  background: var(--color-mint);
  color: var(--color-black);
}

.price-card--outline {
  background: transparent;
  border: 2px solid var(--color-mint);
  color: var(--color-white);
}

.price-card__label {
  font-family: var(--font-serif);
  font-size: 18px;  
  margin-bottom: 0;
}

.price-card__top {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
}

.price-card__starting {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-black);
  margin: 0 0 4px;
}

.price-card__amount {
  font-family: var(--font-serif);
  font-size: 48px;
  margin-bottom: 0;
  line-height: 1.1;
}

.price-card__per {
  font-size: 20px;
  font-weight: 400;
  text-transform: lowercase;
}

.price-card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;  
}

.price-card__waiver {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #2d2e22;
  border: 1px solid var(--color-lime);
  border-radius: 16px;
  padding: 24px;
  margin-top: auto;
}

.price-card__waiver img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  filter: brightness(0) invert(1);
}

.price-card__waiver strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-white);
}

.price-card__waiver p {
  color: var(--color-white) !important;
}

.price-card--mint p {
  color:var(--color-black);
  font-size: 16px;
  opacity: 1;
}

.price-card__rule {
  border: 0;
  border-top: 1px solid rgba(9, 20, 19, 0.25);
  margin: 22px 0 16px;
}
.price-card.price-card--mint .price-card__rule{border-top: 1px solid var(--color-green);}

.price-card__rule--light {
  border-top-color:#FFF;
}

.price-card__note {
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin-top: auto;
  color:#505050!important;
}

.price-card.price-card--outline .price-card__note{color:#CACACA!important;}
.fees-box {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 16px;
  padding: 24px;
}

.fees-box h3 {  
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--color-black);
}

.fees-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}

.fees-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.fees-row:last-child {
  border-bottom: none;
}

.fees-row span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.tax-prep-only {
  padding: 120px 0;
}
.tax-prep-only .section-head{margin-bottom: 50px}

.tax-prep-only__cta {
  justify-content: center;
  margin-top: 8px;
}

.tax-prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
  align-items: stretch;
}

.tier-card {
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.tier-card .btn--outline{border: 2px solid var(--color-black);}

.tier-card--cream {
  background: var(--color-cream);
  color: var(--color-black);
}

.tier-card--green {
  background: var(--color-green);
  color: var(--color-white);
}

.tier-card--green h3,
.tier-card--green .tier-card__price {
  color: var(--color-white);
}

.tier-card h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 24px;
}

.tier-card__price {
  font-family: var(--font-serif);
  font-size: 64px;
  margin-bottom: 24px;
  line-height: 1;
}

.tier-card__list {
  background: var(--color-white);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  flex: 1;
}

.tier-card--green .tier-card__list {
  background: rgba(214, 255, 216, 0.95);
}

.tier-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-black);
}
.tier-card.tier-card--green .tier-card__list li img{
  filter: grayscale(1) !important;
}

.tier-card__list li img {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  filter: none !important;
}

.tier-card__list li.is-excluded span {
  color: #707070;
}

.tier-card .btn {
  width: 100%;
  justify-content: center;
}

.tier-card--cream .btn--outline {
  background: var(--color-cream);
}

.faq-section {
  padding: 120px 0;
}

.faq-list {
  margin: 28px auto 0;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  border-bottom: none;
  background: #F8F7F7;
  border-radius: 16px;
  overflow: hidden;
}


.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 40px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.3;
}
.faq-item.is-open .faq-item__btn{padding-bottom: 20px}

.faq-item__chevron {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__panel {
  display: none;
  padding: 0 20px 40px 20px;
  color: var(--color-black);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.is-open .faq-item__panel {
  display: block;
}


/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-who {
  padding: 120px 0;
  background: var(--color-off-white);
}

.about-who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-who h2 {
  font-size: 48px;
  margin: 16px 0 20px;
  text-transform: none;
}

.about-who__lead {
  font-size: 24px;
  line-height: 1.35;
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
}

.about-who__copy p {
  color: var(--color-black);
  margin-bottom: 16px;
  line-height: 1.5;
}

.about-who__copy p:nth-child(2) {
  margin-bottom: 48px;
}
.what-sets .section-head{text-align: left;margin:0}

.apart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.apart-card {
  border-radius: var(--radius);
  padding: 20px;
}

.apart-card:nth-child(odd) {
  background: var(--color-mint);
}

.apart-card:nth-child(even) {
  background: var(--color-cream);
}

.apart-card img {
  width: auto;
  height: 24px;
  max-width: 36px;
  object-fit: contain;
  margin-bottom: 20px;
}

.apart-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.apart-card p {
  font-size: 16px;
  color: var(--color-black);
  line-height: 1.65;
}

.why-choose {
  background: var(--color-black);
  color: var(--color-white);
  padding: 120px 0;
}

.why-choose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-choose h2 {
  color: var(--color-white);
  font-size: clamp(28px, 3.5vw, 42px);
  margin: 16px 0 16px;
}

.why-choose p {
  color:var(--color-white);
  line-height: 1.6;
}

.why-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-bar {
  border-radius: 12px;
  padding: 20px;
  font-size: 24px;
  color: var(--color-black);
  font-family: var(--font-serif);
}

.why-bar:nth-child(odd) {
  background: var(--color-mint);
}

.why-bar:nth-child(even) {
  background: var(--color-cream);
}

.buy-stages .section-head{
    margin-left: 0;
    text-align: left;
    margin-bottom: 50px;
  }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-hero {
  padding: 120px 0;
  background: var(--color-white);
  display: flex;
  justify-content: center;
}

.contact-hero > .container {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
}

.contact-info {
  max-width: 480px;
  position: sticky;
  top: 112px;
}

.contact-info .badge {
  margin-bottom: 20px;
}

.contact-info h1 {
  font-size: 64px;
  margin-bottom: 40px;
  line-height: 1.15;
  max-width: 440px;
}

.contact-info > p {
  margin-bottom: 120px;
  line-height: 1.7;
  max-width: 440px;
  font-size: 15px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 440px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-detail:first-child {
  padding-top: 0;
}

.contact-detail img {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail span {
  display: block;
  font-size: 16px;
  color: var(--color-black);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.contact-detail a,
.contact-detail strong {
  font-size: 20px;
  color: var(--color-black);
}

.contact-detail a {
}

.contact-form-wrap {
  background: #f6f6f6;
  border-radius: 24px;
  padding: 32px 32px 8px;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
}

.contact-form-wrap h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--color-black);
}

.contact-form-wrap__hs {
  margin: -20px -40px 0;
}

.contact-form-wrap__hs .hs-form-frame,
.contact-form-wrap__hs iframe {
  width: 100%;
  min-height: 240px;
}

.contact-form-wrap .form-note{margin-bottom: 0;margin-top:32px}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 14px 20px;
  background: var(--color-white);
  color: var(--color-black);
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color var(--transition);
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23091413' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b0b0b0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-green);
}

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

.contact-form-wrap__submit,
.contact-form-wrap .btn {
  width: 100%;
  margin-top: 32px;
  justify-content: center;
  min-height: 52px;
  font-weight: 600;
}

.contact-form-wrap .btn--lime img {
  filter: brightness(0);
}

.form-note {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--color-black);
}

.form-note a {
  font-weight: 700;
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Podcast / Articles
   -------------------------------------------------------------------------- */

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0 80px;
}

.articles-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.article-card {
  border-radius: 20px;
  padding: 20px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.article-card--gray {
  background: var(--color-off-white);
}

.article-card--cream {
  background: var(--color-cream);
  text-align: center;
  align-items: center;
  justify-content: center;
}

.article-card__icon {
  width: auto;
  height: 24px;
  max-width: 36px;
  object-fit: contain;
  margin-bottom: 20px;
}

.article-card h4 {
  font-size: 24px;
  margin-bottom: 24px;
}
.article-card h3 {
  font-size: 40px;
  margin-bottom: 24px;
}

.article-card__media {
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__link {
  margin-top: auto;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-card__link img {
  width: 14px;
  height: 14px;
  filter: brightness(0);
}

.article-card--cream p {
  color: var(--color-black);
  line-height: 1.65;
}
.section-articles{padding: 120px 0;}

/* --------------------------------------------------------------------------
   Buy a Practice
   -------------------------------------------------------------------------- */

.two-teams {
  padding: 120px 0;
}

.two-teams__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.two-teams h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.two-teams__copy p {
  color: var(--color-black);
  margin-bottom: 16px;
  line-height: 1.7;
}

.partner-box {
  background: var(--color-off-white);
  border-radius: 20px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.partner-box__logo {
  max-width: 420px;
  width: 100%;
  min-height: 64px;
  /* background: #e0e0e0; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
}

.partner-box__logo--img {
  /* background: #111; */
}

.partner-box__logo--img img {
  max-height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.partner-box__arrow {
  font-size: 40px;
  color: var(--color-black);
  line-height: 1;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stage-card {
  border-radius: var(--radius);
  padding: 20px;
}

.stage-card:nth-child(odd) {
  background: var(--color-mint);
}

.stage-card:nth-child(even) {
  background: var(--color-cream);
}

.stage-card img {
  width: auto;
  height: 24px;
  max-width: 36px;
  object-fit: contain;
  margin-bottom: 20px;
}

.stage-card h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.stage-card p {
  font-size: 16px;
  color: var(--color-black);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .hero__grid,
  .how-help__layout,
  .approach__layout,
  .split-section__grid,
  .split-section__grid--bk,
  .split-section__grid--reverse > :first-child,
  .req-layout,
  .pricing-cards,
  .fees-cols,
  .about-who__grid,
  .why-choose__grid,
  .contact-grid,
  .articles-grid,
  .two-teams__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__grid {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__media {
    max-width: 100%;
  }

  .contact-info,
  .contact-form-wrap {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .contact-info {
    position: static;
    top: auto;
  }

  .schedule-modal__panel {
    max-width: 600px;
  }

  .split-section__grid--reverse > :first-child {
    order: 0;
  }

  .hero__media,
  .how-help__media,
  .approach__media,
  .split-section__media,
  .req-media {
    min-height: 360px;
    max-height: none;
    height: auto;
    aspect-ratio: 4 / 3;
    position: relative;
  }

  .how-help__media .how-help__video,
  .how-help__media img {
    min-height: 360px;
  }

  .ideal__grid,
  .tax-prep-grid,
  .apart-grid,
  .stage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-brand {
    flex: 1 1 100%;
    max-width: none;
  }

  .footer-nav {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 32px;
  }

  .bk-month-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile — match shared *-Mobile.png layouts */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .header-inner {
    min-height: 72px;
  }

  .logo img {
    height: 40px;
  }

  .topbar {
    font-size: 13px;
    padding: 10px 16px;
  }

  .section-pad,
  .approach.section-pad,
  .how-help.section-pad,
  .ideal,
  .pricing-dark,
  .tax-prep-only,
  .why-choose,
  .split-section,
  .two-teams {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h2 {
    font-size: 40px;
  }

  /* —— Home hero (left stack + image below, per Home-Mobile.png) —— */
  .hero {
    padding: 80px 0;
  }

  .hero__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .hero__content {
    text-align: left;
  }

  .hero__content .badge {
    margin-bottom: 40px;
  }

  .hero__content h1 {
    font-size: 36px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
  }

  .hero__content > p {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
    font-size: 16px;
  }

  .hero__content .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 0;
  }

  .hero__content .btn {
    width: 100%;
  }

  .hero__perks {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 32px 0 0;
  }

  .hero__media {
    min-height: 510px;
    border-radius: 16px 16px 16px 72px;
  }

  .logo-strip {
    padding: 40px 0 64px;
  }

  .logo-strip__label {
    margin-bottom: 24px;
    font-size: 14px;
  }

  /* How we help / approach / ideal */
  .how-help__cards,
  .ideal__grid,
  .tax-prep-grid,
  .apart-grid,
  .stage-grid,
  .req-grid,
  .form-grid,
  .bk-month-grid,
  .call-cards {
    grid-template-columns: 1fr;
  }

  .how-help__media,
  .approach__media,
  .split-section__media {
    min-height: 320px;
    aspect-ratio: 4 / 5;
  }

  .how-help__media .how-help__video,
  .how-help__media img {
    min-height: 320px;
  }

  .how-help__cards {
    gap: 16px;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-radius: 16px;
    padding:20px;
  }

  .accordion__item {
    padding: 20px;
  }

  .ideal .section-head {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .ideal-card {
    min-height: 0;
  }

  /* —— Inner page heroes —— */
  .page-hero {
    padding: 80px 0;
  }

  .page-hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .page-hero p {
    margin-bottom: 40px;
  }
  .section-articles {
    padding: 80px 24px;
}

  .page-hero .btn-row,
  .contact-form-wrap .btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .page-hero .btn {
    width: 100%;
  }

  .legal-content {
    padding-bottom: 80px;
  }

  .legal-block h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .anchor-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 0 8px;
    margin-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .anchor-nav a {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 12px;
  }

  /* —— Services —— */
  .split-section__intro {
    max-width: 100%;
  }
  .check-list img {margin-top: 6px;}

  .call-card {
    padding: 24px 22px;
  }

  .bk-month {
    min-height: 0;    
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .req-layout {
    gap: 48px;
  }
#bookkeeping .split-section__grid--bk{display: flex;flex-direction: column-reverse;row-gap: 60px;}
#bookkeeping .bk-month-grid{width: 100%;}
  .req-media {
    min-height: 280px;
    aspect-ratio: 4 / 5;
    order: -1;
  }

  .req-media img {
    min-height: 280px;
  }

  .req-item {
    padding: 20px 18px;
  }
  .faq-item__btn{font-size: 24px;}

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .price-card {
    min-height: 0;
    padding: 32px 24px;
  }

  .price-card__amount {
    font-size: 40px;
  }

  .price-card--mint .btn--black {
    width: auto;
  }

  .services-page .split-section__media {
    aspect-ratio: 345 / 520;
    min-height: 400px;
  }

  .about-who__lead {
    font-size: 20px;
  }

  .fees-cols {
    gap: 0;
  }

  .tax-prep-grid {
    gap: 16px;
  }

  /* —— About —— */
  .about-who {
    padding: 80px 0;
  }

  .about-who h2 {
    font-size: 32px;
  }

  .apart-grid {
    margin-top: 32px;
    gap: 14px;
  }

  .why-choose__grid {
    gap: 28px;
  }



  /* —— Contact (left-aligned stack) —— */
  .contact-hero {
    padding: 64px 0;
  }
  .anchor-nav nav{gap: 16px;}

  .contact-grid {
    gap: 56px;
    align-items: stretch;
  }

  .contact-info {
    max-width: 100%;
    text-align: left;
  }

  .contact-info h1 {
    font-size: 36px;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .contact-info > p {
    max-width: 100%;
    margin-bottom:80px;
  }

  .contact-details {
    max-width: 100%;
  }

  .contact-form-wrap {
    padding: 28px 20px 4px;
  }

  .contact-form-wrap__hs {
    margin: 0 -16px -4px;
  }

  .contact-form-wrap h2 {
    font-size: 32px;
  }

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

  .contact-form-wrap__submit,
  .contact-form-wrap .btn {
    width: 100%;
  }

  /* —— Buy a Practice —— */
  .two-teams {
    padding: 80px 0;
  }

  .two-teams h2 {
    font-size: 40px;
    text-align: left;
  }

  .two-teams__copy p {
    text-align: left;
  }

  .buy-stages .section-head {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .partner-box {
    margin: 0 auto;
    max-width: 100%;
  }

  .stage-grid {
    margin-top: 32px;
    gap: 14px;
  }

  /* —— Podcast / Articles —— */
  .articles-grid {
    padding: 0;
  }

  .article-card {
    min-height: 0;
    padding: 24px 20px;
  }

  /* —— Footer CTA + footer —— */
  .footer-cta {
    padding: 80px 0;
  }

  .footer-cta h2 {
    font-size: 40px;
    line-height: 1.15;
  }

  .site-footer {
    padding: 80px 0;
  }

  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
  }

  .footer-social {
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  .schedule-modal {
    padding: 16px;
    align-items: flex-end;
  }

  .schedule-modal__panel {
    max-width: 350px;
    max-height: min(90vh, 720px);
    padding: 32px 20px 24px;
    border-radius: 16px 16px 0 0;
  }

  .schedule-modal__panel h2 {
    font-size: 28px;
  }
}
