/* DO THE MATH calculator — v8. Site chrome comes from the shared page styles. */
.dtm {
  padding: 108px 0 112px;
  color: #F6F4EF;
  background:
    radial-gradient(ellipse 60% 50% at 50% 18%, rgba(197, 169, 94, 0.14), transparent 68%),
    #111113;
  position: relative;
}
.dtm::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, var(--gold) 50%, transparent 96%);
  opacity: .55;
  pointer-events: none;
}
.dtm-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.dtm-intro .section-kicker {
  color: var(--gold);
  margin-bottom: 10px;
}
.dtm-intro h1 {
  font-family: var(--serifless);
  font-weight: 800;
  letter-spacing: -.05em;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  color: #F6F4EF;
  margin: 0 0 16px;
}
.dtm-intro h1 span { color: var(--gold); }
.dtm-intro p {
  margin: 0 auto;
  max-width: 42em;
  color: var(--muted-2);
  font-size: 1.08rem;
  line-height: 1.6;
  text-wrap: balance;
}

.dtm-form {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 28px 28px 26px;
  background: #1A1A1D;
  border: 1px solid rgba(197, 169, 94, 0.28);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}
.dtm-mode {
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: rgba(0, 0, 0, .28);
  height: calc(var(--face) + 6px);
  box-sizing: border-box;
}
.dtm-mode { display: flex; }
.dtm-mode button {
  flex: 1;
  min-height: var(--face);
  height: var(--face);
  padding: 0 12px;
  font-family: var(--serifless);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  white-space: nowrap;
}
.dtm-mode button[aria-selected="true"] {
  background: var(--gold);
  color: #1A1A1A;
}
.dtm-mode button:hover { color: var(--gold-bright); }
.dtm-mode button[aria-selected="true"]:hover { color: #1A1A1A; }

.dtm-field { margin: 0 0 22px; }
.dtm-field:last-of-type { margin-bottom: 8px; }
.dtm-field label {
  display: block;
  font-family: var(--serifless);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #F6F4EF;
  margin-bottom: 10px;
}
.dtm-field label em {
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-left: 8px;
}
.dtm-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #2C2C2E;
  margin: 0 0 12px;
  outline: none;
  cursor: pointer;
}
.dtm-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #F6F4EF;
  box-shadow: 0 0 0 3px rgba(197, 169, 94, 0.25);
  cursor: pointer;
}
.dtm-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #F6F4EF;
  box-shadow: 0 0 0 3px rgba(197, 169, 94, 0.25);
  cursor: pointer;
}
.dtm-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.dtm-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dtm-affix {
  font-family: var(--serifless);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold);
}
.dtm-input-row input[type="text"],
.dtm-input-row input[type="number"] {
  font-family: var(--serifless);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold);
  background: #141416;
  border: 1px solid rgba(197, 169, 94, 0.35);
  border-radius: 8px;
  padding: 8px 12px;
  width: 11.5rem;
  min-width: 0;
  max-width: 100%;
}
.dtm-input-row input[type="number"] { width: 6.5rem; }
.dtm-input-row input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}
.dtm-form .button {
  width: 100%;
  margin-top: 18px;
}

.dtm-results { margin: 0 auto; max-width: 1100px; }
.dtm-results-head {
  margin-bottom: 28px;
  text-align: left;
}
.dtm-results-head h2 {
  font-family: var(--serifless);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -.04em;
  font-weight: 800;
  color: #F6F4EF;
  margin: 0 0 8px;
  max-width: none;
}
.dtm-results-head p { margin: 0; color: var(--muted-2); }

.dtm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}
.dtm-card {
  background: #1A1A1D;
  border: 1px solid rgba(197, 169, 94, 0.22);
  border-radius: 24px;
  padding: 26px 26px 24px;
  min-width: 0;
  cursor: default;
}
.dtm-card,
.dtm-card:hover,
.dtm-card:focus {
  transform: none;
  cursor: default;
}
.dtm-card h3 {
  font-family: var(--serifless);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: center;
  color: #F6F4EF;
  margin: 0 0 22px;
}
.dtm-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 1rem;
}
.dtm-row strong {
  font-family: var(--serifless);
  font-weight: 700;
  color: #F6F4EF;
  font-size: 1.1rem;
}
.dtm-row .fee { color: var(--gold); }
.dtm-net {
  margin-top: 18px;
  padding: 20px 16px 18px;
  text-align: center;
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  background: rgba(197, 169, 94, 0.08);
}
.dtm-net .lbl {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.dtm-net .amt {
  font-family: var(--serifless);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--gold);
  line-height: 1.1;
}

.dtm-compare-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.dtm-compare-note {
  font-size: .82rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.dtm-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.dtm-split:last-of-type { border-bottom: 0; padding-bottom: 0; }
.dtm-split h4 {
  font-family: var(--serifless);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: #F6F4EF;
  letter-spacing: -.02em;
}
.dtm-split .sub { margin: 0; font-size: .78rem; color: var(--muted); }
.dtm-missed {
  text-align: right;
  min-width: 0;
}
.dtm-missed-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 8px 12px 7px;
  border-radius: 10px;
  border: 1px solid rgba(197, 169, 94, 0.45);
  background: rgba(197, 169, 94, 0.1);
}
.dtm-missed-badge .cap {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 2px;
}
.dtm-missed-badge .val {
  font-family: var(--serifless);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #F6F4EF;
  line-height: 1.1;
}
.dtm-take {
  margin: 6px 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.dtm-take strong { color: var(--muted-2); font-weight: 600; }

.dtm-annual-one { text-align: center; }
.dtm-annual-one .lead {
  color: var(--muted-2);
  margin: 0 0 12px;
  font-size: 1rem;
}
.dtm-annual-one .gci-eq {
  padding: 14px;
  background: #141416;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
  color: var(--muted-2);
}
.dtm-annual-one .gci-eq strong {
  display: block;
  font-family: var(--serifless);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #F6F4EF;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: 4px;
}
.dtm-annual-one .gci-eq strong small {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 6px;
}
.dtm-more .lbl-soft {
  color: var(--muted-2);
  margin: 0 0 8px;
  font-size: .95rem;
}
.dtm-more .more-word {
  margin: 8px 0 0;
  font-family: var(--serifless);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: .95rem;
}

.dtm-diff {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(197, 169, 94, 0.08);
  border: 1px solid rgba(197, 169, 94, 0.28);
  border-radius: 20px;
  margin-bottom: 22px;
  cursor: default;
}
.dtm-diff-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #1A1A1A;
  font-family: var(--serifless);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dtm-diff h3 {
  font-family: var(--serifless);
  font-size: 1.05rem;
  margin: 0 0 6px;
  letter-spacing: -.02em;
  color: #F6F4EF;
}
.dtm-diff p {
  margin: 0;
  color: var(--muted-2);
  font-size: .95rem;
  line-height: 1.55;
}

.dtm-disclaimer {
  margin: 0 auto 28px;
  max-width: 760px;
  font-size: .78rem;
  line-height: 1.4;
  font-weight: 400;
  color: #C6C6C6;
  text-align: left;
  text-wrap: pretty;
}
.dtm-disclaimer strong {
  font-weight: 400;
  color: #C6C6C6;
}
.dtm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .dtm-grid { grid-template-columns: 1fr; }
  .dtm-form { padding: 22px 18px 20px; }
}
@media (max-width: 620px) {
  .dtm { padding: 88px 0 72px; }
  .dtm-intro { margin-bottom: 28px; }
  .dtm-form { padding: 18px 14px 16px; border-radius: 18px; margin-bottom: 36px; }
  .dtm-mode button { font-size: 11px; padding: 0 8px; letter-spacing: .04em; }
  .dtm-input-row input[type="text"] { width: 100%; }
  .dtm-card { padding: 20px 16px 18px; border-radius: 18px; }
  .dtm-missed-badge .val { font-size: 1.25rem; }
  .dtm-diff { padding: 16px; }
  .dtm-net .amt { font-size: 2rem; }
}
@media (max-width: 360px) {
  .dtm-mode button { font-size: 10px; padding: 0 6px; }
  .dtm-split { flex-direction: column; align-items: flex-start; }
  .dtm-missed { text-align: left; }
  .dtm-missed-badge { align-items: flex-start; }
}

.dtm-fee-note { margin: 8px 0 14px; font-size: 12px; line-height: 1.4; color: #8C8C8C; text-align: right; }

@media (max-width: 720px) {
  .dtm { padding: 48px 0 40px; }
  .dtm-intro { margin-bottom: 24px; }
  .dtm-form { margin-bottom: 28px; }
  .dtm-actions .button { border-radius: 999px; }
}

/* v11: office label, source line, illustrative disclaimers, intro CTA */
.dtm-office {
  margin: 16px auto 0;
  font-family: var(--serifless);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-2);
}
.dtm-office strong {
  display: inline-block;
  margin-top: 6px;
  padding: 0 12px;
  min-height: var(--face);
  height: var(--face);
  line-height: var(--face);
  border-radius: 999px;
  border: 1px solid rgba(197, 169, 94, 0.45);
  background: rgba(197, 169, 94, 0.1);
  color: #F6F4EF;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
}
.dtm-intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.dtm-legal {
  margin: 0 auto 28px;
  max-width: 760px;
}
.dtm-illustrative {
  margin: 0 0 8px;
  font-size: .82rem;
  line-height: 1.5;
  color: #C6C6C6;
}
.dtm-illustrative-sub {
  font-style: italic;
  color: #8C8C8C;
  margin-bottom: 14px;
}
.dtm-source {
  margin: 12px 0 0;
  font-size: .75rem;
  line-height: 1.4;
  color: #8C8C8C;
}
.dtm-mode button {
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 620px) {
  .dtm-mode button { font-size: 13px; }
  .dtm-office strong { font-size: 12px; padding: 0 10px; }
}
