.dca-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 64px;
  color: var(--coz-text, #f3f5f8);
}

.dca-hero {
  padding: 14px 0 20px;
  text-align: center;
}

.dca-copy {
  max-width: 760px;
  margin: 0 auto;
}

.dca-kicker {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 188, 212, .32);
  border-radius: 999px;
  background: rgba(0, 188, 212, .1);
  color: #00bcd4;
  font-size: 12px;
  font-weight: 900;
}

.dca-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
}

.dca-copy p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 15px;
  line-height: 1.75;
}

.dca-calc-section {
  width: 100%;
  margin: 0 auto 24px;
}

.dca-card,
.dca-result,
.dca-seo,
.dca-faq {
  border: 1px solid var(--coz-section-border, #303748);
  border-radius: 8px;
  background: var(--coz-section-bg, #181b26);
}

.dca-card {
  padding: 20px;
  background: var(--coz-section-bg, #181b26);
}

.dca-card-head {
  text-align: center;
  margin-bottom: 16px;
}

.dca-card-head h2 {
  margin: 0 0 5px;
  font-size: 20px;
}

.dca-card-head p {
  margin: 0;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 12px;
  line-height: 1.5;
}

.dca-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.dca-form label {
  display: grid;
  gap: 7px;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 13px;
  font-weight: 700;
}

.dca-currency-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.dca-frequency-field {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.dca-currency-field legend {
  grid-column: 1 / -1;
  margin-bottom: -1px;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 13px;
  font-weight: 700;
}

.dca-frequency-field legend {
  grid-column: 1 / -1;
  margin-bottom: -1px;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 13px;
  font-weight: 700;
}

.dca-currency-field label,
.dca-frequency-field label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--coz-section-border, #303748);
  border-radius: 8px;
  background: var(--coz-bg, #111219);
  color: var(--coz-text-muted, #98a1b3);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.dca-currency-field label:has(input:checked),
.dca-frequency-field label:has(input:checked) {
  border-color: rgba(0, 188, 212, .8);
  background: rgba(0, 188, 212, .1);
  color: #00bcd4;
}

.dca-currency-field input,
.dca-frequency-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dca-currency-field span,
.dca-frequency-field span {
  font-weight: 900;
}

.dca-form input,
.dca-form select {
  width: 100%;
  border: 1px solid var(--coz-section-border, #303748);
  border-radius: 8px;
  background: var(--coz-bg, #111219);
  color: var(--coz-text, #f3f5f8);
  padding: 13px 12px;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}

.dca-form input:focus,
.dca-form select:focus {
  border-color: #00bcd4;
}

.dca-form button {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 8px;
  background: #00bcd4;
  color: #061217;
  padding: 14px 16px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.dca-form button:disabled {
  opacity: .6;
  cursor: wait;
}

.dca-note {
  margin: 12px 0 0;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 12px;
  line-height: 1.6;
}

.dca-result {
  display: none;
  padding: 18px;
  margin-bottom: 22px;
}

.dca-result.is-visible {
  display: block;
}

.dca-result-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dca-result-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.dca-result-head p,
.dca-updated {
  margin: 0;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 12px;
}

.dca-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dca-metric {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--coz-section-border, #303748);
  border-radius: 8px;
  background: rgba(0, 188, 212, .06);
}

.dca-metric span {
  display: block;
  color: var(--coz-text-muted, #98a1b3);
  font-size: 12px;
  font-weight: 700;
}

.dca-metric strong {
  display: block;
  margin-top: 7px;
  color: var(--coz-text, #f3f5f8);
  font-size: 21px;
  line-height: 1.2;
  word-break: break-word;
}

.dca-profit-up strong {
  color: #16c784;
}

.dca-profit-down strong {
  color: #ea3943;
}

.dca-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.dca-actions button {
  border: 1px solid rgba(0, 188, 212, .45);
  border-radius: 8px;
  background: rgba(0, 188, 212, .10);
  color: #00bcd4;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.dca-actions button:hover {
  background: rgba(0, 188, 212, .16);
}

.dca-error {
  grid-column: 1 / -1;
  min-height: 20px;
  color: #ea3943;
  font-size: 13px;
  line-height: 1.5;
}

.dca-seo,
.dca-faq {
  padding: 22px;
  margin-bottom: 18px;
}

.dca-seo h2,
.dca-faq h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.dca-seo p,
.dca-faq p {
  color: var(--coz-text-muted, #98a1b3);
  line-height: 1.75;
}

.dca-faq h3 {
  margin: 18px 0 6px;
  font-size: 16px;
}

@media (max-width: 860px) {
  .dca-form,
  .dca-grid {
    grid-template-columns: 1fr;
  }

  .dca-card-head {
    display: block;
  }

  .dca-result-head {
    display: block;
  }
}

@media (max-width: 560px) {
  .dca-main {
    width: min(100% - 24px, 1040px);
    padding-top: 12px;
  }
  .dca-card {
    padding: 16px;
  }
}
