:root {
  --primary: #214c40;
  --primary-dark: #173b31;
  --primary-light: #3d7562;
  --primary-50: #f0f4ee;
  --primary-100: #e1eade;
  --dark: #263b33;
  --text: #36483f;
  --text-light: #5e6c64;
  --text-muted: #718077;
  --bg: #faf9f5;
  --bg-alt: #f1f1e9;
  --border: #d9dfd3;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
*:focus-visible {
  outline: 2px solid #92722f;
  outline-offset: 4px;
}
.btn {
  border-radius: 7px;
  font-weight: 600;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.site-header {
  background: #faf9f5;
  border-bottom: 1px solid var(--border);
}
.site-header .logo-icon {
  background: var(--primary);
}
.eyebrow {
  font:
    11px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: #536f5e;
  margin: 0 0 18px;
}
.foncier-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 82px;
}
.foncier-hero h1,
.work-heading h1,
.section-intro h2,
.decision-grid h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
  line-height: 1.09;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 60px);
  color: var(--dark);
  margin: 0 0 24px;
}
.foncier-hero h1 em {
  font-weight: 400;
  color: var(--primary);
  font-style: italic;
}
.hero-description {
  font-size: 18px;
  line-height: 1.75;
  max-width: 560px;
  color: var(--text-light);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0 16px;
}
.quiet-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--primary);
}
.hero-caption {
  font-size: 12px;
  color: var(--text-light);
}
.paper-example {
  padding: 32px;
  background: white;
  border: 1px solid #dce1d4;
  box-shadow:
    8px 10px 0 #eceee3,
    0 16px 40px #233b3010;
  transform: rotate(1.5deg);
}
.paper-top {
  display: flex;
  justify-content: space-between;
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  color: #6c7869;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.paper-example h2 {
  font:
    32px/1.15 Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 26px 0;
}
.paper-example dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #e9ece4;
  font-size: 14px;
}
.paper-example dd {
  margin: 0;
  font:
    18px ui-monospace,
    monospace;
}
.paper-example .paper-result {
  color: var(--primary);
  font-weight: 600;
}
.paper-result dd {
  font-size: 25px;
}
.paper-note {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #edf3eb;
  margin-top: 22px;
  padding: 16px;
}
.paper-note span {
  font-size: 28px;
  color: #507e57;
}
.paper-note p {
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}
.paper-foot {
  font-size: 11px;
  line-height: 1.6;
  color: #667464;
  margin: 20px 0 0;
}
.scope-strip {
  border-block: 1px solid var(--border);
  padding: 23px 0;
  background: #eef0e6;
  font-size: 13px;
}
.scope-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.section-intro {
  margin-bottom: 40px;
}
.section-intro h2,
.decision-grid h2 {
  font-size: 40px;
}
.section-intro p {
  color: var(--text-light);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.method-grid article {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.method-grid article > span {
  font:
    13px ui-monospace,
    monospace;
  color: #708168;
}
.method-grid h3 {
  font-size: 19px;
  margin: 24px 0 12px;
}
.method-grid p,
.decision-grid p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
}
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
}
.regime-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.regime-explain article {
  border-left: 1px solid #ccd5c5;
  padding-left: 24px;
}
.regime-explain strong {
  display: block;
  font:
    32px Georgia,
    serif;
  margin: 25px 0;
}
.foncier-pricing {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  max-width: 960px;
}
.foncier-pricing article {
  padding: 32px;
  border: 1px solid var(--border);
  background: #fff;
}
.foncier-pricing .featured {
  background: #eff4ec;
  border-color: #92aa8e;
}
.foncier-pricing strong {
  display: block;
  font:
    42px Georgia,
    serif;
  margin: 24px 0;
}
.foncier-pricing small {
  font: 13px var(--font-sans);
  color: var(--text-light);
}
.foncier-pricing p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.foncier-pricing .small {
  font-size: 11px;
  max-width: 340px;
  margin: 20px 0 0;
}
.source-line {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 30px;
}
.faq-list {
  margin-top: 32px;
}
.faq-summary {
  font-size: 16px;
}
.site-footer {
  background: #20392f;
}
.work-heading {
  padding: 50px 0 38px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
.work-heading h1 {
  font-size: 40px;
}
.work-heading p:not(.eyebrow) {
  font-size: 14px;
  color: var(--text-light);
}
.draft-tools {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-direction: column;
  font-size: 11px;
  color: var(--text-light);
}
.draft-tools .btn {
  font-size: 12px;
  padding: 9px 14px;
}
.work-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}
.work-sidebar {
  position: sticky;
  top: 92px;
}
.wizard-progress {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  background: none;
}
.wizard-step {
  display: flex;
  flex: none;
  gap: 12px;
  align-items: center;
  border: 0;
  border-radius: 6px;
  background: none;
  padding: 14px 12px;
  color: #657566;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}
.wizard-step:after {
  display: none;
}
.wizard-step span {
  width: 25px;
  height: 25px;
  font:
    12px ui-monospace,
    monospace;
  border: 1px solid #cdd6c7;
  background: none;
  color: inherit;
  flex-shrink: 0;
}
.wizard-step.is-active {
  background: #e6eedf;
  color: #214c40;
  font-weight: 600;
}
.wizard-step.is-active span {
  background: #214c40;
  color: #fff;
  border-color: #214c40;
}
.sidebar-note {
  border-top: 1px solid var(--border);
  padding: 26px 12px;
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.8;
}
.sidebar-note p {
  margin-top: 12px;
  color: var(--text-light);
}
.sidebar-total {
  background: #f0f2e9;
  padding: 20px;
  display: grid;
  gap: 7px;
  font-size: 11px;
}
.sidebar-total strong {
  font:
    25px ui-monospace,
    monospace;
  color: var(--primary);
  margin-bottom: 12px;
}
.work-form {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 34px;
}
.wizard-panel {
  display: none;
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}
.wizard-panel.is-active {
  display: block;
}
.wizard-panel h2 {
  font:
    30px/1.2 Georgia,
    serif;
  margin: 0 0 14px;
}
.wizard-help {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}
.scope-card {
  padding: 20px;
  background: #f2f5ee;
  border: 1px solid #d7e2ce;
  border-radius: 6px;
  margin: 24px 0;
}
.scope-card label,
.scope-option {
  font-size: 14px;
  line-height: 1.8;
  display: block;
}
.scope-card input,
.scope-option input {
  margin-right: 8px;
  accent-color: var(--primary);
}
.scope-card p {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-group {
  margin: 15px 0;
  min-width: 0;
}
.form-label {
  font-size: 13px;
  line-height: 1.5;
}
.form-input,
.form-select {
  font-size: 16px;
  width: 100%;
  background: white;
  border: 1px solid #cbd5c5;
  border-radius: 5px;
  min-height: 46px;
}
.form-hint {
  font-size: 11px;
  line-height: 1.7;
  color: #647460;
  margin-top: 7px;
}
.report-input {
  border-top: 1px solid var(--border);
  margin-top: 25px;
  padding-top: 25px;
}
.report-input summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.report-input p {
  font-size: 12px;
  line-height: 1.7;
  margin: 15px 0;
}
.deficit-row {
  display: grid;
  grid-template-columns: 1fr 1fr 30px;
  gap: 12px;
  align-items: end;
  margin-bottom: 15px;
}
.deficit-row label {
  font-size: 12px;
}
.deficit-row button {
  height: 45px;
  background: none;
  border: 0;
  color: #9b3225;
  font-size: 22px;
}
.property-editor,
.amount-editor {
  border: 1px solid var(--border);
  padding: 22px;
  margin: 20px 0;
  border-radius: 6px;
}
.property-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.property-top h3 {
  font:
    23px Georgia,
    serif;
  margin: 0;
}
.property-top span,
.property-top button {
  font-size: 11px;
  color: var(--text-light);
}
.property-top button {
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}
.property-top button:disabled {
  opacity: 0.3;
  cursor: default;
}
.money-input {
  position: relative;
}
.money-input input {
  padding-right: 35px;
  font-variant-numeric: tabular-nums;
}
.money-input span {
  position: absolute;
  right: 15px;
  top: 12px;
  color: #85927e;
}
.charge-group {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.charge-group summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.charge-group .form-row {
  margin-top: 10px;
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 30px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.wizard-nav .btn {
  font-size: 13px;
}
.form-error {
  padding: 15px;
  border: 1px solid #dfaaa2;
  background: #fff2ef;
  color: #8a3026;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.result-verdict {
  padding: 26px;
  background: #eaf2e5;
  border-left: 3px solid var(--primary);
  margin: 25px 0;
}
.result-verdict span {
  font-size: 11px;
}
.result-verdict h3 {
  font:
    32px Georgia,
    serif;
  margin: 10px 0;
}
.result-verdict p {
  font-size: 13px;
}
.result-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.regime-card {
  text-align: left;
  padding: 22px;
  border-radius: 6px;
}
.regime-card.is-best {
  border: 1px solid #76916a;
  background: #f7faf3;
  box-shadow: none;
}
.regime-card h3 {
  font-size: 15px;
}
.regime-card .regime-amount {
  font:
    30px ui-monospace,
    monospace;
  display: block;
  margin: 18px 0;
}
.regime-card p {
  font-size: 11px;
  color: var(--text-light);
  min-height: 32px;
}
.regime-card dl {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 20px;
}
.regime-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--border);
}
.regime-card dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
}
.calculation-note {
  margin: 20px 0;
  padding: 22px;
  background: #faf8ee;
  border: 1px solid #e5dcc0;
  border-radius: 6px;
}
.calculation-note h3 {
  font-size: 16px;
  margin: 0 0 12px;
}
.calculation-note p,
.detail-block p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-light);
}
.detail-block {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 20px 0;
}
.detail-block h3,
.detail-block summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
}
.tax-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.tax-boxes div {
  padding: 15px;
  background: #f6f7f1;
  display: grid;
  gap: 8px;
}
.tax-boxes code {
  font-size: 12px;
  color: var(--primary);
}
.tax-boxes strong {
  font:
    22px ui-monospace,
    monospace;
}
.tax-boxes span {
  font-size: 11px;
  color: var(--text-light);
}
.table-scroll {
  overflow-x: auto;
}
.detail-table {
  width: 100%;
  font-size: 12px;
  min-width: 340px;
}
.detail-table td:last-child {
  text-align: right;
}
.estimate-note {
  font-size: 11px;
  line-height: 1.9;
  color: var(--text-light);
}
.document-offer {
  border-top: 1px solid var(--border);
  margin-top: 35px;
  padding-top: 30px;
}
.document-offer h3 {
  font:
    27px Georgia,
    serif;
}
.document-offer p {
  font-size: 13px;
  line-height: 1.8;
  margin: 15px 0;
}
.document-offer .btn {
  margin-top: 10px;
}
.method-note {
  max-width: 760px;
  margin: 65px auto;
  font-size: 12px;
  line-height: 1.9;
  color: var(--text-light);
}
.method-note h2 {
  font:
    26px Georgia,
    serif;
  margin-bottom: 18px;
}
.method-note p {
  margin: 12px 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .foncier-hero {
    gap: 35px;
  }
  .work-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
  }
  .work-form {
    padding: 24px;
  }
  .work-heading h1 {
    font-size: 35px;
  }
  .decision-grid {
    gap: 35px;
  }
  .regime-explain {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 640px) {
  .foncier-hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .foncier-hero h1 {
    font-size: 44px;
  }
  .hero-description {
    font-size: 16px;
  }
  .paper-example {
    transform: none;
    padding: 24px;
  }
  .method-grid,
  .decision-grid,
  .foncier-pricing {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .section-intro h2,
  .decision-grid h2 {
    font-size: 34px;
  }
  .work-heading {
    display: block;
    padding: 32px 0 24px;
  }
  .work-heading h1 {
    font-size: 33px;
  }
  .draft-tools {
    margin-top: 20px;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
  .work-layout {
    grid-template-columns: 1fr;
  }
  .work-sidebar {
    position: static;
  }
  .wizard-progress {
    flex-direction: row;
    gap: 4px;
  }
  .wizard-step {
    font-size: 0;
    justify-content: center;
    flex: 1;
    padding: 10px;
  }
  .wizard-step span {
    font-size: 12px;
  }
  .wizard-step.is-active {
    font-size: 11px;
  }
  .sidebar-note,
  .sidebar-total {
    display: none;
  }
  .work-form {
    padding: 20px 16px;
  }
  .property-editor,
  .amount-editor {
    padding: 16px;
  }
  .wizard-panel h2 {
    font-size: 27px;
  }
  .wizard-nav {
    flex-wrap: wrap;
  }
  .result-summary {
    grid-template-columns: 1fr;
  }
  .tax-boxes {
    grid-template-columns: 1fr 1fr;
  }
  .detail-block {
    padding: 16px;
  }
  .work-heading br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
