/* ltt.css — land transfer tax calculator pages.
   Layered on top of styles.css; only what those pages add. */

.ltt { padding: 96px 0 80px; }

.crumbs {
  font-size: 13px; color: var(--mut, #6b7d75);
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-bottom: 22px;
}
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink, #0d1410); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink, #0d1410); font-weight: 600; }

.ltt-h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1; letter-spacing: -.025em;
  margin: 0 0 14px; font-weight: 700;
}
.ltt-lede { font-size: 18px; line-height: 1.6; max-width: 62ch; margin: 0 0 30px; }

.ltt h2 {
  font-size: 23px; letter-spacing: -.015em; font-weight: 700;
  margin: 44px 0 10px;
}
.ltt h3 { font-size: 16px; font-weight: 700; margin: 26px 0 8px; }
.ltt p { max-width: 70ch; line-height: 1.62; }

/* ── the calculator ─────────────────────────────────────── */
.ltt-calc {
  background: #fff; border: 1px solid #dfe7e2; border-radius: 16px;
  padding: 26px 26px 24px; margin: 0 0 30px;
  box-shadow: 0 1px 2px rgba(13,20,16,.04), 0 8px 28px rgba(13,20,16,.05);
}
.ltt-field { display: block; margin-bottom: 16px; }
.ltt-field > span {
  display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: #6b7d75; font-weight: 600; margin-bottom: 7px;
}
.ltt-field input {
  width: 100%; font: 600 26px/1.2 inherit; color: #0d1410;
  padding: 13px 15px; border: 1px solid #cfdad4; border-radius: 11px;
  background: #f8faf9; -webkit-appearance: none; appearance: none;
}
.ltt-field input:focus {
  outline: none; border-color: #137a4a; background: #fff;
  box-shadow: 0 0 0 3px rgba(19,122,74,.13);
}
.ltt-check {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; margin-bottom: 18px; cursor: pointer;
}
.ltt-check input { width: 17px; height: 17px; accent-color: #137a4a; cursor: pointer; }

.ltt-out {
  display: block; font-size: clamp(34px, 7vw, 48px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.05; color: #0d1410;
  font-variant-numeric: tabular-nums;
}
.ltt-parts { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #eef2f0; }
.ltt-parts > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 5px 0; font-size: 14.5px;
}
.ltt-parts dt { color: #6b7d75; margin: 0; }
.ltt-parts dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.ltt-none { margin: 12px 0 0; font-size: 15px; color: #31403a; }

/* ── tables ─────────────────────────────────────────────── */
.ltt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 6px; }
.ltt-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 420px; }
.ltt-table th, .ltt-table td {
  text-align: left; padding: 11px 13px; border-bottom: 1px solid #e7ede9;
}
.ltt-table th {
  font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
  color: #6b7d75; font-weight: 600; white-space: nowrap;
}
.ltt-table .num, .ltt-table th.num {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ltt-table tr.ltt-total td {
  border-top: 2px solid #0d1410; border-bottom: none;
  font-weight: 700; padding-top: 12px;
}

.ltt-work {
  background: #f2f6f4; border-radius: 14px; padding: 20px 22px; margin: 26px 0;
}
.ltt-work h3 { margin-top: 0; }
.ltt-work .ltt-table th { color: #5b6e66; }

/* ── gotchas — the differentiator, so give it presence ──── */
.ltt-gotchas { padding-left: 0; list-style: none; margin: 14px 0; }
.ltt-gotchas li {
  position: relative; padding: 11px 0 11px 30px;
  border-bottom: 1px solid #eef2f0; max-width: 72ch; line-height: 1.55;
}
.ltt-gotchas li:last-child { border-bottom: none; }
.ltt-gotchas li::before {
  content: "!"; position: absolute; left: 0; top: 12px;
  width: 19px; height: 19px; border-radius: 50%;
  background: #fff4e0; color: #8a5a00;
  font-size: 12px; font-weight: 700; line-height: 19px; text-align: center;
}

/* ── cross-sell to the affordability tool ───────────────── */
.ltt-cross {
  margin: 48px 0 30px; padding: 28px;
  background: #0d1410; color: #fff; border-radius: 16px;
}
.ltt-cross h2 { margin-top: 0; color: #fff; }
.ltt-cross p { color: #b6c6bf; max-width: 62ch; }
.ltt-cross .btn { margin-top: 8px; }

.ltt-sources {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid #e7ede9;
  font-size: 13px; color: #6b7d75; line-height: 1.6;
}
.ltt-sources a { color: #137a4a; }

@media (max-width: 640px) {
  .ltt { padding: 78px 0 60px; }
  .ltt-calc { padding: 20px 18px 18px; }
  .ltt-cross { padding: 22px 20px; }
}

/* Combined-total callouts on municipal pages, where a buyer pays both
   the provincial and the municipal tax and only the sum matters. */
.ltt-note {
  background: #fff4e0; border-left: 4px solid #8a5a00;
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 22px 0;
  font-size: 15px; line-height: 1.55;
}
.ltt-work--sum { background: #0d1410; color: #fff; }
.ltt-work--sum h3 { color: #fff; }
.ltt-sum {
  font-size: clamp(19px, 3.6vw, 25px); margin: 6px 0 0;
  font-variant-numeric: tabular-nums; color: #b6c6bf; letter-spacing: -.02em;
}
.ltt-sum b { color: #fff; }

/* Secondary controls — property type and share of title. Smaller than the
   price field so the hierarchy stays: price first, qualifiers after. */
.ltt-field--sm > span:first-child { margin-bottom: 5px; }
.ltt-field--sm select {
  width: 100%; font: 500 16px/1.3 inherit; color: #0d1410;
  padding: 11px 13px; border: 1px solid #cfdad4; border-radius: 10px;
  background: #f8faf9; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b7d75' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 34px; cursor: pointer;
}
.ltt-field--sm select:focus {
  outline: none; border-color: #137a4a; background-color: #fff;
  box-shadow: 0 0 0 3px rgba(19,122,74,.13);
}
.ltt-hint {
  display: block; font-size: 12.5px; color: #6b7d75;
  margin-top: 6px; line-height: 1.45; text-transform: none; letter-spacing: 0;
  font-weight: 400;
}
.ltt-cond[hidden] { display: none; }

/* Registration fee table — for the no-transfer-tax jurisdictions this is
   the whole answer, so it gets the same weight as a tax table. */
.ltt-formula { font-size: 13px; color: #5b6e66; line-height: 1.5; }
.ltt-opt td { color: #6b7d75; }
.ltt-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 999px;
  background: #eef2f0; color: #6b7d75; vertical-align: middle; margin-left: 5px;
}
#ltt-fees { min-width: 560px; }
