.tco-page {
  --tco-brand: #08341f;
  --tco-accent: #f0c14a;
  --tco-surface: #f4f5f7;
  --tco-ink: #1a1a1a;
  --tco-muted: #5a6470;
  max-width: min(1200px, 100%);
  margin: 0 auto;
  padding-bottom: 3rem;
  background: var(--tco-surface);
}

.tco-hero {
  text-align: center;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) clamp(1.75rem, 3vw, 2.5rem);
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(240, 193, 74, 0.16), transparent),
    linear-gradient(165deg, #062818 0%, var(--tco-brand) 48%, #0a4228 100%);
}

.tco-hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tco-accent);
  margin: 0 0 0.85rem;
}

.tco-hero__title {
  font-family: var(--font-editorial, Georgia, serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  margin: 0 auto 1rem;
  max-width: 22ch;
  color: #ffffff !important;
}

.tco-hero__title span {
  color: var(--tco-accent) !important;
}

.tco-hero__lead {
  max-width: 42rem;
  margin: 0 auto 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.tco-hero__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.tco-layout {
  display: grid;
  gap: 2rem;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 0;
}

@media (min-width: 960px) {
  .tco-layout {
    grid-template-columns: minmax(280px, 380px) 1fr;
    align-items: start;
  }
}

.tco-form {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(8, 52, 31, 0.08);
  display: grid;
  gap: 0.75rem;
}

.tco-form__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--tco-brand);
}

.tco-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tco-ink);
}

.tco-form input,
.tco-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d5dbe3;
  border-radius: 10px;
  font-size: 0.95rem;
}

.tco-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.tco-advanced {
  border: 1px dashed #cfd6df;
  border-radius: 10px;
  padding: 0.75rem;
}

.tco-advanced summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--tco-muted);
}

.tco-advanced__grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 520px) {
  .tco-advanced__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tco-btn--primary {
  background: var(--tco-brand);
  color: #fff;
  margin-top: 0.5rem;
}

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

.tco-btn--secondary {
  background: var(--tco-accent);
  color: var(--tco-brand);
}

.tco-btn--ghost {
  background: transparent;
  color: var(--tco-brand);
  border: 1px solid var(--tco-brand);
}

.tco-results {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(8, 52, 31, 0.08);
}

.tco-results__title {
  margin: 0 0 1rem;
  color: var(--tco-brand);
}

.tco-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 1.5rem;
}

.tco-summary__card {
  background: var(--tco-surface);
  border-radius: 12px;
  padding: 1rem;
}

.tco-summary__card--highlight {
  background: linear-gradient(135deg, #08341f, #0d4d2e);
  color: #fff;
}

.tco-summary__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

.tco-summary__value {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
}

.tco-breakdown h3,
.tco-table-wrap h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--tco-brand);
}

.tco-breakdown__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.tco-breakdown__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e8ecf0;
  font-size: 0.92rem;
}

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

.tco-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.tco-table th,
.tco-table td {
  padding: 0.5rem;
  border-bottom: 1px solid #e8ecf0;
  text-align: right;
  white-space: nowrap;
}

.tco-table th:first-child,
.tco-table td:first-child {
  text-align: left;
}

.tco-disclaimer {
  margin: 1.25rem 0;
  font-size: 0.82rem;
  color: var(--tco-muted);
  line-height: 1.5;
}

.tco-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
