.ctc { background: var(--gradient-soft-surface); color: var(--fg-body); }
.ctc [hidden] { display: none !important; }
.ctc .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ctc h1, .ctc h2, .ctc h3 { font-family: var(--font-display); color: var(--fg); letter-spacing: var(--tracking-tight); }
.ctc :focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 10px; }
.ctc .ctc-input input:focus-visible, .ctc .ctc-input select:focus-visible, .ctc [tabindex="-1"]:focus-visible { box-shadow: none; }

.ctc-hero { padding: 56px 0 36px; background: radial-gradient(circle at 15% 0%, rgba(139, 92, 246, .14), transparent 45%), radial-gradient(circle at 90% 20%, rgba(59, 130, 246, .10), transparent 40%); }
.ctc-hero__inner { max-width: 860px; text-align: center; }
.ctc-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: var(--fs-caption); color: var(--fg-muted); margin-bottom: 18px; }
.ctc-crumbs a { color: var(--fg-muted); text-decoration: none; }
.ctc-crumbs a:hover { color: var(--brand); }
.ctc-hero h1 { font-size: var(--fs-h1); line-height: var(--lh-snug); margin: 12px 0 16px; }
.ctc-lead { font-size: var(--fs-body-lg); line-height: var(--lh-relaxed); margin: 0 auto 26px; max-width: 700px; }
.ctc-hero__actions { display: flex; justify-content: center; }
.ctc-hero__points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: var(--fs-body-sm); color: var(--fg-muted); }
.ctc-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.ctc-hero__points svg, .ctc-hero__points i { width: 16px; height: 16px; color: var(--color-emerald-600); }

.ctc-app-wrap { padding: 8px 0 64px; }
.ctc-card { scroll-margin-top: 96px; max-width: 920px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 24px; box-shadow: 0 24px 60px -30px rgba(17, 24, 39, .25); padding: 32px; }
.ctc-noscript { text-align: center; font-weight: 600; }

.ctc-progress { margin-bottom: 28px; }
.ctc-progress__bar { height: 6px; background: var(--color-cloud); border-radius: 999px; overflow: hidden; }
.ctc-progress__bar span { display: block; height: 100%; width: 16.66%; background: var(--gradient-ai-primary); border-radius: inherit; transition: width .3s ease; }
.ctc-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ctc-steps li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-micro); color: var(--fg-muted); font-weight: 600; }
.ctc-steps__n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--color-cloud); color: var(--fg-muted); font-size: 12px; }
.ctc-steps li[aria-current="step"] { color: var(--fg); }
.ctc-steps li[aria-current="step"] .ctc-steps__n { background: var(--brand); color: #fff; }
.ctc-steps li.is-done .ctc-steps__n { background: var(--color-emerald-100); color: var(--color-emerald-700); }

.ctc-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.ctc-step > legend { padding: 0; margin-bottom: 6px; }
.ctc-step h2 { font-size: var(--fs-h3); line-height: var(--lh-snug); margin: 0; }
.ctc-step__intro { margin: 8px 0 22px; line-height: var(--lh-relaxed); }
.ctc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

.ctc-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.ctc-field label, .ctc-field > legend { display: block; font-weight: 600; font-size: var(--fs-body-sm); color: var(--fg); margin-bottom: 8px; padding: 0; }
.ctc-opt { font-weight: 400; color: var(--fg-muted); }
.ctc-input { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--border-strong); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.ctc-input:focus-within { border-color: var(--color-violet-400); box-shadow: var(--focus-ring); }
.ctc-input input, .ctc-input select { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; padding: 0 14px; font: inherit; font-size: var(--fs-body); color: var(--fg); outline: none; }
.ctc-input select { cursor: pointer; }
.ctc-input--money input { padding-left: 4px; }
.ctc-cur { padding-left: 14px; font-weight: 600; color: var(--fg-muted); }
.ctc-unit { padding-right: 14px; font-size: var(--fs-caption); color: var(--fg-muted); white-space: nowrap; }
.ctc-input--otp input { font-family: var(--font-mono); font-size: 22px; letter-spacing: .4em; text-align: center; }
.ctc-field.has-error .ctc-input { border-color: var(--color-rose-500); }
.ctc-hint { margin: 6px 0 0; font-size: var(--fs-caption); color: var(--fg-muted); }
.ctc-err { margin: 6px 0 0; font-size: var(--fs-caption); color: var(--color-rose-600); font-weight: 600; }
.ctc-err:empty { display: none; }

.ctc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ctc-pill { position: relative; margin: 0 !important; }
.ctc-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ctc-pill span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid var(--border-strong); border-radius: 999px; font-weight: 500; font-size: var(--fs-body-sm); color: var(--fg-body); background: #fff; transition: all .15s; }
.ctc-pill input:checked + span { background: var(--brand-soft); border-color: var(--color-violet-400); color: var(--brand-active); }
.ctc-pill input:focus-visible + span { box-shadow: var(--focus-ring); }
.ctc-chips { list-style: none; padding: 0; margin: -10px 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.ctc-chips li { font-size: var(--fs-micro); font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--color-blue-50); color: var(--color-blue-700); }

.ctc-nav { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--border); }
.ctc-nav__status { flex: 1; margin: 0; font-size: var(--fs-caption); color: var(--fg-muted); text-align: center; }
.ctc-nav [data-ctc-next] { margin-left: auto; }

.ctc-results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ctc-results__head h2 { font-size: var(--fs-h5); margin: 0; color: var(--fg-muted); font-family: var(--font-sans); letter-spacing: 0; font-weight: 600; }
.ctc-results__tools { display: flex; gap: 4px; }
.ctc-total { font-family: var(--font-display); font-size: var(--fs-display-lg); font-weight: 800; color: var(--fg); margin: 6px 0 22px; line-height: 1.05; overflow-wrap: anywhere; }
.ctc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 30px; }
.ctc-kpis div { background: var(--bg-soft); border: 1px solid var(--color-violet-100); border-radius: 16px; padding: 16px; }
.ctc-kpis dt { font-size: var(--fs-caption); color: var(--fg-muted); margin-bottom: 6px; }
.ctc-kpis dd { margin: 0; font-size: var(--fs-h5); font-weight: 700; color: var(--fg); overflow-wrap: anywhere; }

.ctc-results h3 { font-size: var(--fs-h5); margin: 0 0 14px; }
.ctc-breakdown, .ctc-insights, .ctc-ops { margin-bottom: 32px; }
.ctc-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: var(--color-cloud); margin-bottom: 14px; }
.ctc-bar span { height: 100%; min-width: 0; }
.ctc-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body-sm); }
.ctc-table th, .ctc-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--border); }
.ctc-table thead th { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--fg-muted); font-weight: 600; }
.ctc-table td:nth-child(n+2), .ctc-table th:nth-child(n+2) { text-align: right; white-space: nowrap; }
.ctc-table tfoot th, .ctc-table tfoot td { font-weight: 700; color: var(--fg); border-bottom: 0; }
.ctc-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: middle; }
.ctc-c0 { background: var(--color-violet-600); }
.ctc-c1 { background: var(--color-blue-500); }
.ctc-c2 { background: var(--color-teal-500); }
.ctc-c3 { background: var(--color-amber-500); }
.ctc-note { font-size: var(--fs-caption); color: var(--fg-muted); margin: 10px 0 0; }
.ctc-note:empty { display: none; }

.ctc-insights ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ctc-insights li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--color-amber-50); border: 1px solid var(--color-amber-100); line-height: var(--lh-normal); }
.ctc-insights li:first-child { background: var(--color-violet-50); border-color: var(--color-violet-100); }
.ctc-insights strong { display: block; color: var(--fg); }
.ctc-insights span { font-size: var(--fs-body-sm); }
.ctc-insights svg, .ctc-insights i { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }

.ctc-ops p { margin: -4px 0 16px; line-height: var(--lh-relaxed); }
.ctc-ops__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ctc-ops__grid li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elevated); }
.ctc-ops__grid svg, .ctc-ops__grid i { grid-row: span 2; width: 20px; height: 20px; color: var(--color-blue-600); margin-top: 2px; }
.ctc-ops__grid strong { color: var(--fg); font-size: var(--fs-body-sm); }
.ctc-ops__grid span { font-size: var(--fs-caption); color: var(--fg-muted); line-height: var(--lh-normal); }

.ctc-cta { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.ctc-cta__main { padding: 26px; border-radius: 20px; background: var(--gradient-dark-intel); color: var(--fg-on-dark-muted); }
.ctc-cta__main h3 { color: #fff; font-size: var(--fs-h4); }
.ctc-cta__main p { line-height: var(--lh-relaxed); margin: 0 0 20px; }
.ctc-cta__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.ctc-cta__actions .btn { justify-content: center; white-space: normal; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.ctc-cta__actions .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.ctc-cta__actions .btn-secondary:hover { background: rgba(255, 255, 255, .08); }
.ctc-cta__report { padding: 26px; border-radius: 20px; border: 1px solid var(--color-violet-100); background: var(--bg-soft); }
.ctc-cta__report > svg, .ctc-cta__report > i { width: 28px; height: 28px; color: var(--brand); }
.ctc-cta__report h3 { margin-top: 10px; }
.ctc-cta__report p { font-size: var(--fs-body-sm); line-height: var(--lh-normal); margin: 0 0 16px; }

.ctc-lead { scroll-margin-top: 96px; margin-top: 28px; padding: 28px; border-radius: 20px; border: 1.5px solid var(--color-violet-200); background: #fff; }
.ctc-lead h2 { font-size: var(--fs-h4); margin: 0 0 6px; }
.ctc-lead__sub { margin: 0 0 22px; }
.ctc-lead__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.ctc-err--form { text-align: right; }
.ctc-fine { font-size: var(--fs-micro); color: var(--fg-muted); margin: 14px 0 0; text-align: right; }
.ctc-fine a { color: var(--brand); }
.ctc-lead__otp .ctc-field { max-width: 320px; }
.ctc-lead__done { text-align: center; padding: 10px 0; }
.ctc-lead__done > svg, .ctc-lead__done > i { width: 40px; height: 40px; color: var(--color-emerald-600); }
.ctc-lead__done h3 { font-size: var(--fs-h4); margin: 10px 0 6px; }

.ctc-method, .ctc-faq { padding: 56px 0; }
.ctc-method .container, .ctc-faq .container { max-width: 860px; }
.ctc-method h2, .ctc-faq h2 { font-size: var(--fs-h3); margin: 0 0 12px; }
.ctc-formulas { padding-left: 20px; line-height: 1.9; }
.ctc-faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.ctc-faq summary { cursor: pointer; font-weight: 600; color: var(--fg); }
.ctc-faq details p { margin: 10px 0 0; line-height: var(--lh-relaxed); }
.ctc-related { margin-top: 28px; font-size: var(--fs-body-sm); }
.ctc-related a { color: var(--brand); text-decoration: none; font-weight: 600; }

@media (max-width: 820px) {
  .ctc-steps__label { display: none; }
  .ctc-steps li[aria-current="step"] .ctc-steps__label { display: inline; }
  .ctc-steps { grid-template-columns: repeat(6, auto); justify-content: space-between; }
  .ctc-kpis { grid-template-columns: 1fr 1fr; }
  .ctc-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ctc-hero { padding-top: 36px; }
  .ctc-card { padding: 20px 16px; border-radius: 18px; }
  .ctc-grid2, .ctc-ops__grid { grid-template-columns: 1fr; }
  .ctc-kpis div { padding: 12px; }
  .ctc-lead { padding: 20px 16px; }
  .ctc-lead__actions .btn { flex: 1 1 auto; justify-content: center; }
  .ctc-table th, .ctc-table td { padding: 10px 4px; }
}
@media print {
  #global-nav, #global-footer, .ctc-hero, .ctc-progress, .ctc-form, .ctc-cta, .ctc-lead, .ctc-method, .ctc-faq, .ctc-results__tools { display: none !important; }
  .ctc-card { box-shadow: none; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .ctc * { transition: none !important; } }
