:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f8fbff;
  --paper: #ffffff;
  --line: #dde6ee;
  --green: #00796f;
  --green-soft: #eefaf6;
  --blue: #0066cc;
  --blue-soft: #f0f7ff;
  --sun: #f6b73c;
  --sun-soft: #fff7df;
  --rust: #b54708;
  --rust-soft: #fff3e8;
  --gold: #8a6a18;
  --violet: #5b4bb7;
  --shadow: 0 18px 46px rgba(34, 57, 88, 0.08);
  --shadow-soft: 0 10px 28px rgba(34, 57, 88, 0.055);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(221, 230, 238, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  font-weight: 750;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: #00877b;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #424245;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #f0fbf8;
  color: var(--green);
}

.nav-links .nav-cta {
  margin-left: 4px;
  background: var(--ink);
  color: #fff;
}

.nav-links .nav-cta:hover {
  background: #000;
  color: #fff;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 64px 0 42px;
}

.home-main .hero {
  padding: 0;
}

.home-screen {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.home-main .home-screen > .container {
  width: calc(100% - 40px);
}

.home-main .hero-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(330px, 0.86fr);
  align-items: center;
}

.home-main .hero-copy {
  display: flex;
  min-height: min(620px, calc(100vh - 170px));
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.home-main h1 {
  max-width: 900px;
}

.home-hero-title span {
  display: block;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-portrait {
  align-self: center;
  min-width: 0;
}

.hero-portrait img {
  display: block;
  width: 100%;
  max-height: min(690px, calc(100vh - 130px));
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.service-hero-copy {
  padding: 54px 42px;
}

.service-hero-title {
  max-width: 980px;
  margin-top: 18px;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.16;
}

.service-hero-title span {
  display: block;
}

.service-lead {
  max-width: 1060px;
  line-height: 1.85;
}

.service-lead > span {
  display: block;
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.valuation-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(210px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.valuation-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  padding-top: 0;
}

.market-link-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.market-link-panel h2 {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.3;
}

.market-link-actions {
  flex-direction: column;
  margin-top: 18px;
}

.market-link-actions .btn {
  width: 100%;
}

.valuation-choice-lead {
  max-width: 980px;
}

.choice-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.choice-chip.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.blue-eyebrow {
  background: var(--blue-soft);
  color: var(--blue);
}

.ab-mark {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.ab-mark.blue {
  background: var(--blue);
}

.tax-lookup-panel h2 {
  margin-top: 10px;
}

.tax-lookup-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.step-link,
.step-block {
  display: block;
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.step-link:hover {
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.step-link strong,
.step-link span,
.step-block strong,
.step-block span {
  display: block;
}

.step-link span,
.step-block span {
  margin-top: 8px;
  color: var(--muted);
}

.tax-calc-step {
  grid-column: 1 / -1;
  scroll-margin-top: 120px;
}

.city-link-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.city-link-grid .btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
}

.value-compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 0;
}

.value-note {
  min-height: 0;
}

.value-note h2 {
  margin-top: 10px;
}

.value-note.tax-base {
  border-left: 4px solid var(--green);
}

.value-note.market-value {
  border-left: 4px solid var(--blue);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sun-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 860px;
  font-size: clamp(40px, 5.1vw, 70px);
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 760;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.tone-blue {
  color: var(--blue);
  font-weight: 800;
}

.tone-red {
  color: #dc2626;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 121, 111, 0.16);
}

.btn-primary:hover {
  background: #0b5f59;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 102, 204, 0.14);
}

.btn-rust {
  background: var(--rust);
  color: #fff;
}

.btn-muted {
  border-color: #dbe7ef;
  background: #fff;
  color: #1d1d1f;
}

.panel {
  border: 1px solid rgba(221, 230, 238, 0.95);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.panel-pad {
  padding: 30px;
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head p {
  max-width: 640px;
  color: var(--muted);
}

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

.home-feature-list {
  display: grid;
  gap: 18px;
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 0.28fr);
  gap: 24px;
  align-items: center;
  min-height: 280px;
}

.home-feature .card-top {
  margin-bottom: 16px;
}

.home-feature h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.home-feature p {
  font-size: 17px;
}

.home-profile {
  width: 100%;
}

.profile-flow-intro {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profile-flow-intro h2 {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.35;
}

.profile-flow-intro p {
  margin-top: 8px;
}

.card {
  min-height: 172px;
  padding: 24px;
  border: 1px solid rgba(221, 230, 238, 0.95);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(29, 29, 31, 0.035);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 183, 60, 0.45);
  box-shadow: 0 18px 38px rgba(34, 57, 88, 0.09);
}

.card p,
.muted {
  color: var(--muted);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #f0fbf8;
  color: var(--green);
  font-weight: 900;
}

.icon.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.icon.rust {
  background: var(--rust-soft);
  color: var(--rust);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.step {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step strong {
  display: block;
  margin-bottom: 4px;
}

.credential-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.credential-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.credential-item strong {
  display: block;
  margin-bottom: 4px;
}

.credential-highlight {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #a8d5c4;
  border-radius: 8px;
  background: var(--green-soft);
}

.credential-highlight strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.main-practice-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.75fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #90cbb8;
  border-radius: 8px;
  background: var(--green-soft);
  box-shadow: var(--shadow-soft);
}

.main-practice-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.25;
}

.main-practice-card p {
  max-width: 720px;
  margin-top: 10px;
  color: #475467;
  font-size: 16px;
  line-height: 1.75;
}

.main-practice-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-practice-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #c9e1d8;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.credential-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.credential-card {
  min-height: 162px;
  padding: 16px;
  border: 1px solid #d8e6e0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.credential-card.featured {
  border-color: #a8d5c4;
  background: var(--green-soft);
}

.credential-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.credential-card strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.credential-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.supporting-credentials {
  margin-top: 16px;
}

.supporting-label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.secondary-credentials {
  margin-top: 12px;
}

.profile-summary {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.profile-card-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
}

.profile-photo-wrap {
  display: flex;
  justify-content: center;
}

.profile-photo {
  width: min(220px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.16);
}

.profile-name {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.1;
}

.profile-role {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-contact span,
.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.line-contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.line-contact-copy h2 {
  margin-top: 10px;
}

.line-contact-copy .profile-contact {
  margin-top: 22px;
}

.line-qr-wrap {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 22px;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.line-qr {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.tax-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tax-standard-image-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.tax-standard-image-wrap {
  display: flex;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7ed;
}

.tax-standard-image {
  width: min(420px, 100%);
  height: auto;
  border-radius: 8px;
}

.tax-standard-notes {
  display: grid;
  gap: 12px;
}

.tax-visual-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tax-visual-card h3 {
  font-size: 30px;
  line-height: 1.25;
}

.estate-card {
  border-left: 4px solid var(--green);
}

.gift-card {
  border-left: 4px solid var(--blue);
}

.tax-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
}

.tax-formula span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.tax-formula b {
  color: var(--muted);
}

.tax-rate-ladder {
  display: grid;
  gap: 10px;
}

.tax-rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tax-rate {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.gift-card .tax-rate {
  background: var(--blue-soft);
  color: var(--blue);
}

.deduction-note,
.tax-client-tip {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.deduction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.deduction-grid span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #344054;
  font-weight: 800;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.asset-rule-hero h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.asset-rule-hero p {
  max-width: 920px;
}

.asset-value-layout {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.asset-value-card {
  min-height: 300px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.asset-tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.asset-value-card h3 {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.25;
}

.asset-value-card p {
  margin-top: 12px;
  color: var(--muted);
}

.asset-value-card small {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #344054;
  font-size: 14px;
  line-height: 1.7;
}

.asset-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stat-number {
  color: var(--green);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.story-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.story-item strong {
  display: block;
  margin-bottom: 6px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.result-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.result-box.green {
  background: var(--green-soft);
  border-color: #a8d5c4;
}

.result-box.blue {
  background: var(--blue-soft);
  border-color: #bdd2ff;
}

.result-box.rust {
  background: var(--rust-soft);
  border-color: #fed7aa;
}

.number {
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.blue .number {
  color: var(--blue);
}

.rust .number {
  color: var(--rust);
}

.notice {
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
}

.tabs,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tab,
.filter {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #475467;
  cursor: pointer;
  font-weight: 800;
}

.tab.active,
.filter.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-prose {
  display: grid;
  gap: 18px;
}

.article-prose h2 {
  margin-top: 10px;
}

.article-prose p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.article-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.article-checklist {
  margin-top: 18px;
}

.article-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.service-flow-preview {
  margin-top: 18px;
  max-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-flow-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.flow-visual-panel {
  overflow: hidden;
}

.flow-chart-link {
  display: block;
  margin-top: 18px;
}

.flow-chart-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-chart-note {
  margin-top: 10px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

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

.table-wrap {
  overflow-x: auto;
}

.property-report-result {
  margin-top: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: #475467;
  font-size: 13px;
}

.report-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.report-table th {
  width: 150px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 15px;
}

.report-table td {
  white-space: normal;
}

.empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  margin-top: 34px;
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .valuation-hero-grid,
  .valuation-help-grid,
  .value-compare-row,
  .home-feature,
  .profile-card-layout,
  .line-contact-card,
  .tax-standard-image-card,
  .tax-visual-grid,
  .asset-value-layout,
  .asset-next-step,
  .article-summary-grid,
  .article-next-step,
  .tool-layout,
  .grid-3,
  .steps,
  .summary-strip,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-copy {
    padding: 24px;
  }

  .home-main .hero-copy {
    min-height: auto;
    align-items: center;
    text-align: center;
  }

  .home-main .hero-grid {
    grid-template-columns: 1fr;
  }

  .home-main h1 {
    max-width: 100%;
  }

  .home-hero-title span {
    text-align: center;
  }

  .home-main .actions {
    justify-content: center;
  }

  .hero-portrait img {
    max-height: none;
    aspect-ratio: 1 / 1;
  }

  .credential-overview {
    grid-template-columns: 1fr;
  }

  .main-practice-card {
    grid-template-columns: 1fr;
  }

  .main-practice-tags {
    justify-content: flex-start;
  }

  .credential-card {
    min-height: auto;
  }

  .service-hero-copy {
    padding: 30px 24px;
  }

  .service-hero-title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .service-lead > span {
    display: inline;
  }

  .field-row,
  .result-grid,
  .tax-lookup-steps,
  .city-link-grid,
  .tax-rate-row,
  .deduction-grid,
  .article-item {
    grid-template-columns: 1fr;
  }
}
