.kkt-static-page {
  width: 100%;
  max-width: 1120px;
  margin: clamp(0.75rem, 2vw, 1.5rem) auto clamp(1.5rem, 3vw, 2.4rem);
  padding: 0 clamp(0.8rem, 2.4vw, 1.8rem);
}

.kkt-static-page.is-narrow {
  max-width: 760px;
}

.kkt-static-stack {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.35rem);
}

.kkt-static-hero,
.kkt-static-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.kkt-static-hero {
  padding: clamp(1.15rem, 2.8vw, 1.65rem);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.kkt-static-card__header,
.kkt-static-card__body {
  padding: clamp(1rem, 2.2vw, 1.25rem);
}

.kkt-static-card__header {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.86);
}

.kkt-static-title,
.kkt-static-section-title,
.kkt-static-subtitle {
  margin: 0;
  color: #0f172a;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.kkt-static-title {
  margin-bottom: 0.45rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.kkt-static-section-title {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.kkt-static-subtitle {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.kkt-static-copy,
.kkt-static-muted {
  color: #64748b;
  line-height: 1.75;
}

.kkt-static-copy {
  margin: 0;
  font-size: 0.96rem;
}

.kkt-static-muted {
  font-size: 0.86rem;
}

.kkt-static-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.8;
}

.kkt-static-list li + li {
  margin-top: 0.25rem;
}

.kkt-static-actions,
.kkt-static-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.kkt-static-button,
.kkt-static-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.kkt-static-button.is-primary,
.kkt-static-tab.active {
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.kkt-static-button.is-secondary {
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.kkt-static-divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: #e2e8f0;
}

.kkt-static-pane {
  display: block;
}

.kkt-static-pane[hidden] {
  display: none;
}

.kkt-static-note {
  padding: 0.9rem 1rem;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background: #eff6ff;
  color: #1d4ed8;
  line-height: 1.65;
}

.kkt-static-note.is-warning {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #92400e;
}

.kkt-static-form {
  display: grid;
  gap: 1rem;
}

.kkt-static-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kkt-static-field {
  display: grid;
  gap: 0.42rem;
}

.kkt-static-label {
  color: #334155;
  font-weight: 800;
  line-height: 1.35;
}

.kkt-static-field input,
.kkt-static-field select,
.kkt-static-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  outline: none;
}

.kkt-static-field textarea {
  min-height: 168px;
  resize: vertical;
}

.kkt-static-field input:focus,
.kkt-static-field select:focus,
.kkt-static-field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.kkt-static-error {
  color: #dc2626;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.55;
}

.kkt-static-inline-label {
  color: #0f172a;
  font-weight: 850;
}

.kkt-static-toplink {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10;
}

.kkt-static-block-sm { margin-bottom: 0.52rem; }
.kkt-static-block-md { margin-bottom: 0.9rem; }
.kkt-static-stack-sm { margin-top: 0.62rem; }
.kkt-static-stack-md { margin-top: 0.9rem; }

@media (max-width: 575.98px) {
  .kkt-static-actions,
  .kkt-static-tabs {
    flex-direction: column;
  }

  .kkt-static-form-grid {
    grid-template-columns: 1fr;
  }

  .kkt-static-button,
  .kkt-static-tab {
    width: 100%;
  }
}
